12 #ifndef IMG_FILE_FILTER_LUT_H
13 #define IMG_FILE_FILTER_LUT_H
32 const char *
className()
const override {
return "IMG_FileFilterLUT"; }
34 void init(
const char *lutname,
const char *lut_scope,
35 fpreal gamma,
const char *gamma_scope,
36 bool is_ocio,
const char *ocio_colorspace,
37 const char *ocio_looks);
47 void applyGammaLUT(
void *dest,
const void *sdata,
49 void applyOCIO(
int y,
void *dest,
const void *sdata,
virtual int writePlaneScanline(const void *data, int y, const IMG_Plane &pi)
Describes the format and layout of a single plane in an image The plane specifies the format and name...
void computeCommonData() override
Generic interface for reading and writing image files. This class handles the reading and writing of ...
constexpr T pi()
Pi constant taken from Boost to match old behaviour.
virtual const void * readPlaneScanline(int y, const IMG_Plane &pi)
const char * className() const override