18 #include <sys/types.h>
43 void clear(
float value = 0.0F,
int scanstep=1,
46 void lineDouble(
bool odd);
49 int tilex,
int tiley)
const;
52 int tilex,
int tiley)
const;
58 void setVectorName(
const char *
name,
int vector =0);
60 void setCompName(
const char *name);
77 void setBlackWhitePoints(
int black,
int white);
78 int usesBlackWhitePoints()
const;
80 unsigned int &white)
const
81 { black = myBlackLevel; white = myWhiteLevel; }
86 { x=myXOffset; y=myYOffset; }
89 void setSize(
int x,
int y);
91 { x = myXSize; y = myYSize; }
93 int getNumPixels()
const;
101 void setNodePath(
const char *
path);
106 { myImageIdentifier = token; }
108 {
return myImageIdentifier; }
116 void incrementCheckpointCount();
117 void decrementCheckpointCount();
119 bool determineIfConstant();
121 float getConstantColor()
const;
125 void setConstantTile(
bool constant);
129 int lock(
int access,
int block = 1);
131 void lockWriteToRead(
int score);
141 int64 getMemoryUsage(
bool inclusive)
const;
146 { myImageData =
data; }
148 void getImageData(
const unsigned char *&
data)
const;
149 void getImageData(
const unsigned short *&
data)
const;
150 void getImageData(
const unsigned int *&
data)
const;
151 void getImageData(
const float *&
data)
const;
155 void getImageData(
unsigned char *&
data);
156 void getImageData(
unsigned short *&
data);
157 void getImageData(
unsigned int *&
data);
158 void getImageData(
float *&
data);
171 int isCacheLocked()
const;
172 bool isReadLocked()
const;
173 bool isWriteLocked()
const;
183 static void setNewTileSize(
int xsize,
int ysize);
186 static int getTileSizeX();
187 static int getTileSizeY();
188 static int getTile8Mem();
189 static int getTile16Mem();
190 static int getTile32Mem();
195 void print(std::ostream &os)
const;
196 static void setCop2PrintCallback(
void(*callback)(
void *,std::ostream &));
205 const char *myVectorName;
206 const char *myCompName;
212 unsigned int myBlackLevel;
213 unsigned int myWhiteLevel;
223 unsigned int myPriority;
226 int myCheckpointCount;
229 unsigned int myCompNameAlloc : 1,
230 myConstantTileFlag : 1,
231 myBorrowedImageFlag : 1,
234 myVectorNameAlloc : 1;
int getVectorIndex() const
unsigned int myConstantVal32
const char * getVectorName() const
unsigned short myConstantVal16
getFileOption("OpenEXR:storage") storage
GLsizei const GLchar *const * path
**And then you can **find out if it s done
void setParent(void *parent)
int getCheckpointCount() const
void setBorrowedImage(bool b)
void getBlackWhitePoints(unsigned int &black, unsigned int &white) const
void setImageData(til_AlignedBlock *data)
TIL_Storage getStorage() const
TIL_DataFormat getFormat() const
CompareResults OIIO_API compare(const ImageBuf &A, const ImageBuf &B, float failthresh, float warnthresh, ROI roi={}, int nthreads=0)
void getOffset(int &x, int &y) const
GLuint GLint GLboolean GLint GLenum access
const UT_TokenString * getImageIdentifier() const
void setProxyHold(bool on)
GLuint const GLchar * name
til_AlignedBlock * getImageBlock()
GLboolean GLboolean GLboolean b
void getSize(int &x, int &y) const
void setCooked(bool done=true)
const void * getImageData() const
const char * getCompName() const
void setImageIdentifier(UT_TokenString *token)
bool isBorrowedImage() const
void setStorage(TIL_Storage storage)
void setPriority(unsigned int p)
const char * getNodePath() const
FMT_INLINE void print(format_string< T...> fmt, T &&...args)
bool isConstantTile() const
unsigned char myConstantVal8
void setOffset(int x, int y)
bool isCheckpoint() const