gimplut

gimplut

Synopsis

                    GimpLut;
gfloat              (*GimpLutFunc)                      (gpointer user_data,
                                                         gint nchannels,
                                                         gint channel,
                                                         gfloat value);
GimpLut *           gimp_lut_new                        (void);
void                gimp_lut_free                       (GimpLut *lut);
void                gimp_lut_setup                      (GimpLut *lut,
                                                         GimpLutFunc func,
                                                         gpointer user_data,
                                                         gint nchannels);
void                gimp_lut_setup_exact                (GimpLut *lut,
                                                         GimpLutFunc func,
                                                         gpointer user_data,
                                                         gint nchannels);
void                gimp_lut_process                    (GimpLut *lut,
                                                         PixelRegion *srcPR,
                                                         PixelRegion *destPR);
void                gimp_lut_process_inline             (GimpLut *lut,
                                                         PixelRegion *src_destPR);

Description

Details

GimpLut

typedef struct {
  guchar **luts;
  gint     nchannels;
} GimpLut;


GimpLutFunc ()

gfloat              (*GimpLutFunc)                      (gpointer user_data,
                                                         gint nchannels,
                                                         gint channel,
                                                         gfloat value);


gimp_lut_new ()

GimpLut *           gimp_lut_new                        (void);


gimp_lut_free ()

void                gimp_lut_free                       (GimpLut *lut);


gimp_lut_setup ()

void                gimp_lut_setup                      (GimpLut *lut,
                                                         GimpLutFunc func,
                                                         gpointer user_data,
                                                         gint nchannels);


gimp_lut_setup_exact ()

void                gimp_lut_setup_exact                (GimpLut *lut,
                                                         GimpLutFunc func,
                                                         gpointer user_data,
                                                         gint nchannels);


gimp_lut_process ()

void                gimp_lut_process                    (GimpLut *lut,
                                                         PixelRegion *srcPR,
                                                         PixelRegion *destPR);


gimp_lut_process_inline ()

void                gimp_lut_process_inline             (GimpLut *lut,
                                                         PixelRegion *src_destPR);