|
| PXL_Lookup () |
|
| ~PXL_Lookup () |
|
| PXL_Lookup (BuildGammaTag, fpreal gamma, PXL_Lookup::Dir dir=LINEAR_TO_GAMMA, int lutsize=1024) |
|
| PXL_Lookup (BuildSRGBTag, PXL_Lookup::Dir dir=LINEAR_TO_GAMMA, int lutsize=1024) |
|
| PXL_Lookup (BuildRec709Tag, PXL_Lookup::Dir dir=LINEAR_TO_GAMMA, int lutsize=1024) |
|
| PXL_Lookup (BuildOCIOTag, const char *src_color_space, const char *dest_color_space) |
|
| PXL_Lookup (const PXL_Lookup &)=delete |
|
PXL_Lookup & | operator= (const PXL_Lookup &)=delete |
|
int64 | getMemoryUsage (bool inclusive) const |
|
void | reset () |
|
void | evalLUT (float color[3]) const |
|
void | setLUT (const CL_Clip &clip) |
|
void | set3DLUT (int size, float *lut) |
|
void | applyLUT (PXL_Raster &r, float gamma=1.0f, float black=0.0f, float white=1.0f, int comp=-1) const |
|
fpreal | indexToValue (int i) const |
|
bool | isValid () const |
|
PXL_LookupType | getType () const |
|
bool | getLogSampling () const |
|
float | getLogBias () const |
|
int | getNumChannels () const |
|
int | getTableSize () const |
|
float | getBlackPoint () const |
|
float | getWhitePoint () const |
|
void | getDomain (float &s, float &e) const |
|
void | getRange (float &s, float &e) const |
|
float | getPreShift () const |
|
bool | hasSpecificFormat (PXL_DataFormat &format) const |
|
bool | hasLUTfor (PXL_LookupType type) const |
|
void | setType (PXL_LookupType type) |
|
void | setLogSampling (bool log) |
|
void | setLogBias (float bias) |
|
void | setSpecificFormat (PXL_DataFormat format) |
|
void | setNumChannels (int num) |
|
void | setTableSize (int size) |
|
void | setBlackWhitePoints (float b, float w) |
|
void | setDomain (float s, float e) |
|
void | setRange (float s, float e) |
|
void | invert (int newsize=0) |
|
bool | isHalfPrec () const |
|
bool | is3DLUT () const |
|
int | get3DSize () const |
|
fpreal * | getRawLUT (PXL_LookupType type) |
|
const fpreal * | getRawLUT (PXL_LookupType type) const |
|
bool | evalLUT (PXL_LookupType, int nsamples, float *data, unsigned b=0, unsigned w=0) const |
|
bool | evalLUT (PXL_LookupType, int nsamples, float *data, float black, float white, float from=0.0f, float to=1.0f) const |
|
float | evalLUT (PXL_LookupType, float pos) const |
|
void | eval1DLUT (float color[3]) const |
|
void | get1DLUT (float *lut[4], int size, float b, float w, float sc, float sh, float gamma) const |
|
void | apply1DLUT (PXL_Raster &raster, float gamma=1.0f, float black=0.0f, float white=1.0f, int comp=-1) const |
|
void | eval3DLUT (float color[3]) const |
|
void | copy3DLUT (float *lut, float *prelut=0) const |
|
void | copy3DLUT (fpreal16 *lut, fpreal16 *prelut=0) const |
|
void | clamp3DLUT () |
|
void | apply3DLUT (PXL_Raster &r, float gamma=1.0f, float black=0.0f, float white=1.0f, int component=-1) const |
|
bool | load (const char *filename, bool header_only=false) |
|
bool | save (const char *filename, bool half_prec=false) const |
|
bool | load (FILE *fp, bool header_only) |
|
bool | loadBinary (FILE *fp, bool header_only) |
|
bool | save (FILE *fp) const |
|
bool | saveBinary (FILE *fp, bool half_prec=false) const |
|
bool | buildGamma (fpreal gamma, PXL_Lookup::Dir dir=LINEAR_TO_GAMMA, int lutsize=1024) |
|
bool | buildSRGB (PXL_Lookup::Dir dir=LINEAR_TO_GAMMA, int lutsize=1024) |
|
bool | buildREC709 (PXL_Lookup::Dir dir=LINEAR_TO_GAMMA, int lutsize=1024) |
|
bool | buildOpenColorIOView (const char *src_color_space, const char *display_name, const char *view_name, const char *baked_display=nullptr, const char *baked_view=nullptr, bool inverse=false) |
|
bool | buildOpenColorIO (const char *src_color_space, const char *dest_color_space) |
| Transform from one colorspace to another. More...
|
|
UT_UniquePtr< UT_FileLUT > | getCineonLUT (bool forward, const char *filename=0) const |
|
bool | mergeLUTs (const PXL_Lookup &first_lut, const PXL_Lookup &second_lut) |
|
void | setTextureID (void *id) |
|
void * | getTextureID () const |
|
void | clearTextureID () |
|
void | setPreLutID (void *id) |
|
void * | getPreLutID () const |
|
Definition at line 53 of file PXL_Lookup.h.