levels

levels

Synopsis

                    Levels;
void                levels_init                         (Levels *levels);
gfloat              levels_lut_func                     (Levels *levels,
                                                         gint n_channels,
                                                         gint channel,
                                                         gfloat value);

Description

Details

Levels

typedef struct {
  gdouble gamma[5];

  gint    low_input[5];
  gint    high_input[5];

  gint    low_output[5];
  gint    high_output[5];
} Levels;


levels_init ()

void                levels_init                         (Levels *levels);


levels_lut_func ()

gfloat              levels_lut_func                     (Levels *levels,
                                                         gint n_channels,
                                                         gint channel,
                                                         gfloat value);