HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PXL_Convert.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: PXL_Convert.h
7  *
8  * COMMENTS:
9  * Conversion routines for converting a pixel to other pixel types.
10  */
11 
12 #ifndef PXL_CONVERT_H
13 #define PXL_CONVERT_H
14 
15 #include "PXL_API.h"
16 #include "PXL_Pixel.h"
17 
18 template<class ToType, int fast1, class FromType, int fast2>
20 {
21 public:
22  // conversion function from any type to any type.
23  inline static void convert( PXL_Pixel<ToType, fast1> &,
25 };
26 
27 #include "PXL_ConvertImpl.h"
28 
29 #endif
static void convert(PXL_Pixel< ToType, fast1 > &, const PXL_Pixel< FromType, fast2 > &)