HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TIL_IntScale.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: TIL_IntScale.h
7  *
8  * COMMENTS:
9  * Scales an image down by an integer factor.
10  *
11  */
12 #ifndef TIL_INTSCALE_H
13 #define TIL_INTSCALE_H
14 
15 #include "TIL_API.h"
16 #include "TIL_Defines.h"
17 
19 {
20 public:
22  unsigned int myBlack, myWhite;
23 
24  const void *mySource;
25  int mySStride;
26 
27  const void *myDest;
28  int myDStride;
29  int myDXOff;
30  int myDYOff;
31 
35 
37 };
38 
40 {
41 public:
42  static void reduce(const TIL_IntScaleParms &parms);
43 };
44 
45 
46 #endif
#define TIL_DataFormat
Definition: TIL_Defines.h:65
const void * myDest
Definition: TIL_IntScale.h:27
TIL_DataFormat myType
Definition: TIL_IntScale.h:21
T reduce(RangeT range, const T &identity, const FuncT &func, const JoinT &join)
Definition: Reduce.h:42
const void * mySource
Definition: TIL_IntScale.h:24
unsigned int myWhite
Definition: TIL_IntScale.h:22
#define TIL_API
Definition: TIL_API.h:10