HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RU_PixelEngine.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: RU_PixelEngine.h
7  *
8  * COMMENTS:
9  * Performs a variety of pixel functions on each pixel.
10  */
11 #ifndef RU_PIXELENGINE_H
12 #define RU_PIXELENGINE_H
13 
14 #include "RU_API.h"
15 #include <UT/UT_ValArray.h>
16 #include <UT/UT_Lock.h>
17 
18 #include "RU_Algorithm.h"
19 
20 class ru_lut8;
21 class ru_lut16;
22 class ru_lut16fp;
23 class RU_PixelFunction;
24 
26 {
27 public:
29  ~RU_PixelEngine() override;
30 
31  DECLARE_PIXEL_OP(RU_PixelEngineOp, override)
32 
33  // Parameters.
34  RU_PixelFunction *myFunctionList;
35 
36 // The remainder of this class should be treated as private.
37 
38  // Lookup table optimizations. Called internally, do not call.
39  ru_lut8 *buildLUT8(unsigned int b, unsigned w);
40  ru_lut16 *buildLUT16(unsigned int b, unsigned w);
41  ru_lut16fp *buildLUT16FP();
42 
43  UT_Lock myLUTLock8, myLUTLock16, myLUTLock16FP;
44 
45  UT_ValArray<ru_lut8 *> myLUT8;
46  UT_ValArray<ru_lut16 *> myLUT16;
47  ru_lut16fp *myLUT16FP;
48 };
49 
50 
51 #endif
#define RU_API
Definition: RU_API.h:10
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222
#define DECLARE_PIXEL_OP(name, override_)
GLubyte GLubyte GLubyte GLubyte w
Definition: glcorearb.h:857