13 #ifndef IMG_FILE_FILTER_SCALE_H
14 #define IMG_FILE_FILTER_SCALE_H
38 const
char *className()
const override {
return "IMG_FileFilterScale"; }
45 const void *readPlaneScanline(
int y,
const IMG_Plane &
pi)
override;
47 int writePlaneScanline(
const void *
data,
int y,
54 bool grabScan(
void *
buffer,
int y,
int pi,
int comp);
55 void finishedScanline(
int scan)
override;
61 friend class img_PlaneScale;
Describes the format and layout of a single plane in an image The plane specifies the format and name...
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
__hostdev__ constexpr T pi()
Pi constant taken from Boost to match old behaviour.
File options for manipulating image data on load or save. This class allows you to modify the incomin...
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter