14 #ifndef __UT_FILE_LUT_H__
15 #define __UT_FILE_LUT_H__
51 int load(
const char *
name,
int lutsize,
int lutrange,
52 int mode = LOAD_FORWARD_LUT);
55 int createCineon(
int white_point,
fpreal gamma,
int full_range,
56 int mode = LOAD_FORWARD_LUT,
int imagepnt = 4095);
59 int mode = LOAD_FORWARD_LUT,
61 int whitepoint = 65535);
65 unsigned short *
getLUT() {
return myLUT; }
66 const unsigned short *
getLUT()
const {
return myLUT; }
70 const unsigned short *
getInvLUT()
const {
return myInvLUT; }
73 {
return myComputedWhitePoint; }
76 int compareExistingLUT(
const char *
name,
int mode);
77 int compareExistingLUT(
int white,
fpreal gamma,
78 int mode,
int iwhite);
80 void debugOut(
const char *file);
85 unsigned short *myLUT;
87 unsigned short *myInvLUT;
97 time_t myFileCreationTime;
101 int myComputedWhitePoint;
GT_API const UT_StringHolder filename
unsigned short * getInvLUT()
OIIO_UTIL_API bool copy(string_view from, string_view to, std::string &err)
UT_FileLUT(const UT_FileLUT ©)
int getInvLUTSize() const
int getWhitePoint() const
const unsigned short * getInvLUT() const
GLuint const GLchar * name
const unsigned short * getLUT() const
LeafData & operator=(const LeafData &)=delete
unsigned short * getLUT()