11 #ifndef __COP2_Levels__
12 #define __COP2_Levels__
14 #define ARG_LEVELS_GAMMA (myParmBase + 2)
15 #define ARG_LEVELS_GAMMA_RED (myParmBase + 6)
16 #define ARG_LEVELS_GAMMA_GREEN (myParmBase + 10)
17 #define ARG_LEVELS_GAMMA_BLUE (myParmBase + 14)
18 #define ARG_LEVELS_GAMMA_A (myParmBase + 18)
19 #define ARG_LEVELS_GAMMA_W (myParmBase + 22)
21 #define ARG_LEVELS_INPUT (myParmBase + 1)
22 #define ARG_LEVELS_RED_INPUT (myParmBase + 5)
23 #define ARG_LEVELS_GREEN_INPUT (myParmBase + 9)
24 #define ARG_LEVELS_BLUE_INPUT (myParmBase + 13)
25 #define ARG_LEVELS_ALPHA_INPUT (myParmBase + 17)
26 #define ARG_LEVELS_W_INPUT (myParmBase + 21)
28 #define ARG_LEVELS_OUTPUT (myParmBase + 4)
29 #define ARG_LEVELS_RED_OUTPUT (myParmBase + 8)
30 #define ARG_LEVELS_GREEN_OUTPUT (myParmBase + 12)
31 #define ARG_LEVELS_BLUE_OUTPUT (myParmBase + 16)
32 #define ARG_LEVELS_ALPHA_OUTPUT (myParmBase + 20)
33 #define ARG_LEVELS_W_OUTPUT (myParmBase + 24)
47 static const char * myInputLabels[];
54 virtual const char *className()
const;
58 int array_index,
float t,
62 static int editHist(
void *,
int,
float,
74 float GAMMA_RED(
float t)
76 float GAMMA_GREEN(
float t)
78 float GAMMA_BLUE(
float t)
80 float GAMMA_W(
float t)
82 float GAMMA_ALPHA(
float t)
85 void INPUT_MAP(
float t,
float &range_min,
float &range_max)
89 void INPUT_RED_MAP(
float t,
float &range_min,
float &range_max)
93 void INPUT_GREEN_MAP(
float t,
float &range_min,
float &range_max)
97 void INPUT_BLUE_MAP(
float t,
float &range_min,
float &range_max)
101 void INPUT_ALPHA_MAP(
float t,
float &range_min,
float &range_max)
105 void INPUT_W_MAP(
float t,
float &range_min,
float &range_max)
110 void OUTPUT_MAP(
float t,
float &range_min,
float &range_max)
114 void OUTPUT_RED_MAP(
float t,
float &range_min,
float &range_max)
118 void OUTPUT_GREEN_MAP(
float t,
float &range_min,
float &range_max)
122 void OUTPUT_BLUE_MAP(
float t,
float &range_min,
float &range_max)
126 void OUTPUT_ALPHA_MAP(
float t,
float &range_min,
float &range_max)
130 void OUTPUT_W_MAP(
float t,
float &range_min,
float &range_max)
134 void loadMapParm(
const int pi,
float t,
135 float& range_min,
float& range_max);
#define ARG_LEVELS_ALPHA_OUTPUT
#define ARG_LEVELS_RED_OUTPUT
static OP_VariablePair myVariablePair
#define ARG_LEVELS_GAMMA_GREEN
#define ARG_LEVELS_OUTPUT
static const char * theName
#define ARG_LEVELS_W_INPUT
static const char * theEnglish
fpreal evalFloat(int pi, int vi, fpreal t) const
static const float theGammaMax
virtual const char * getOperationInfo()
static OP_TemplatePair myTemplatePair
#define ARG_LEVELS_GAMMA_RED
#define ARG_LEVELS_GREEN_OUTPUT
#define ARG_LEVELS_GAMMA_W
#define ARG_LEVELS_BLUE_INPUT
static const float theGammaMin
GLuint const GLchar * name
#define ARG_LEVELS_GAMMA_BLUE
#define ARG_LEVELS_GAMMA_A
#define ARG_LEVELS_W_OUTPUT
#define ARG_LEVELS_GREEN_INPUT
**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
__hostdev__ constexpr T pi()
Pi constant taken from Boost to match old behaviour.
#define ARG_LEVELS_BLUE_OUTPUT
#define ARG_LEVELS_ALPHA_INPUT
#define ARG_LEVELS_RED_INPUT
virtual RU_PixelFunction * addPixelFunction(const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread)=0