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,
58 int max_threads)
override;
62 int array_index,
float t,
68 int array_index,
float t,
73 bool dependent_too)
override;
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,
97 int &op)
const override;
100 int array_index,
float t,
102 int thread_index)
override;
110 int myPixelOpParmBase;
117 : myEngine(0), myGPUEngine(0), myFunction(0) {}
#define ARG_PIXELOP_CC_IN_UNPREMULT
void getInputDependenciesForOutputArea(COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas) override
virtual OP_ERROR doCookMyTile(COP2_Context &context, TIL_TileList *tiles)=0
virtual bool createPerThread() const
COP2_PixelFunction * myFunction
bool createPerRes() const override
RU_PixelEngine * myEngine
virtual COP2_Node * getPassThroughInput(COP2_Context &)
RU_GPUPixelEngine * myGPUEngine
virtual TIL_ViewerType getCurveEditorType()
friend class COP2_PixelOp
bool updateParmsFlags() override
bool isSlowOperation() const override
#define ARG_PIXELOP_QUANTIZE_HERE
virtual void getMaxNumThreadsInCook(COP2_Context &, int &plane, int &node, int &op) const
GLfloat GLfloat GLfloat alpha
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
**Note that the tasks the is the thread number *for the or if it s being executed by a non pool thread(this *can happen in cases where the whole pool is occupied and the calling *thread contributes to running the work load).**Thread pool.Have fun
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)
bool createPerPlane() const override
virtual bool isGPUAssisted(const TIL_Plane &, int, float, int, int, int)
exint evalInt(int pi, int vi, fpreal t) const
GLdouble GLdouble GLdouble y2