11 #ifndef _COP2_PIXELOP_H_
12 #define _COP2_PIXELOP_H_
23 #define ARG_PIXELOP_CC_IN_UNPREMULT "dounpremult"
24 #define ARG_PIXELOP_QUANTIZE_HERE "quantize"
56 float t,
int xres,
int yres,
62 int array_index,
float t,
68 int array_index,
float t,
75 virtual bool checkAlignment(
int x1,
int y1,
int x2,
int y2,
78 int tilex,
int tiley);
89 bool docooked,
bool isalphaconst);
91 static int editCurves(
void *,
int,
float,
100 int array_index,
float t,
110 int myPixelOpParmBase;
117 : myEngine(0), myGPUEngine(0), myFunction(0) {}
#define ARG_PIXELOP_CC_IN_UNPREMULT
virtual OP_ERROR doCookMyTile(COP2_Context &context, TIL_TileList *tiles)=0
virtual void getInputDependenciesForOutputArea(COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
virtual bool createPerRes() const
virtual bool createPerThread() const
COP2_PixelFunction * myFunction
RU_PixelEngine * myEngine
virtual COP2_Node * getPassThroughInput(COP2_Context &)
RU_GPUPixelEngine * myGPUEngine
virtual TIL_ViewerType getCurveEditorType()
friend class COP2_PixelOp
virtual bool isSlowOperation() const
#define ARG_PIXELOP_QUANTIZE_HERE
virtual void getMaxNumThreadsInCook(COP2_Context &, int &plane, int &node, int &op) const
GLfloat GLfloat GLfloat alpha
virtual bool createPerPlane() const
virtual COP2_ContextData * newContextData(const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread, int max_threads)
GLuint const GLchar * name
static OP_TemplatePair myTemplatePair
virtual bool updateParmsFlags()
virtual void getPixelFunction(const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread, COP2_PixelFunction *&function, bool concatenate, bool dependent_too)
virtual bool isGPUAssisted(const TIL_Plane &, int, float, int, int, int)
exint evalInt(int pi, int vi, fpreal t) const