26 #define TIL_RASTER_COMPLETE 0
27 #define TIL_RASTER_INCOMPLETE 1
28 #define TIL_RASTER_CORRUPT -1
64 void reset(
int full = 0)
override;
71 bool try_preserve_bit_values=
false)
const;
73 void scaleFromRasterToScale(
TIL_Raster *scaled,
76 bool try_preserve_bit_values=
false)
const;
91 static void scaleRasterToSize(
PXL_Raster *scaled,
95 bool try_preserve_bit_values=
false);
96 static void scaleRasterToScale(
PXL_Raster *scaled,
108 float black,
float white,
109 float scale,
float shift,
110 float gamma,
exint comp = -1);
112 void adjustGamma(
float gamma,
138 float tolerance = 0.1f,
145 void setIncomplete(
int inc = 1);
157 int myIncompleteState;
OIIO_UTIL_API bool copy(string_view from, string_view to, std::string &err)
virtual void reset(int full=0)
virtual void copy(const PXL_Raster &src)
virtual void attemptRealloc(int64 size)
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
GA_API const UT_StringHolder scale
virtual void initialize()
GLsizei GLsizei GLchar * source
const UT_TokenString * getID() const
HUSD_API const char * raster()
GLfloat GLfloat GLfloat alpha
virtual void copyProperties(const PXL_Raster &src)
void setUserData(void *data)
virtual int64 getMemoryUsage(bool inclusive) const
GLdouble GLdouble GLdouble y2
SIM_API const UT_StringHolder distance
png_structrp int png_fixed_point red