HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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>
19
class
PXL_Convert
20
{
21
public
:
22
// conversion function from any type to any type.
23
inline
static
void
convert
(
PXL_Pixel<ToType, fast1>
&,
24
const
PXL_Pixel<FromType,fast2>
&);
25
};
26
27
#include "
PXL_ConvertImpl.h
"
28
29
#endif
PXL_Pixel
Definition:
PXL_Pixel.h:20
PXL_Pixel.h
PXL_API.h
PXL_Convert
Definition:
PXL_Convert.h:19
PXL_Convert::convert
static void convert(PXL_Pixel< ToType, fast1 > &, const PXL_Pixel< FromType, fast2 > &)
Definition:
PXL_ConvertImpl.h:19
PXL_ConvertImpl.h
PXL
PXL_Convert.h
Generated on Sat Dec 21 2024 02:47:30 for HDK by
1.8.6