Pentagram::hq2xScalerInternal< uintX, Manip, uintS > Class Template Reference

List of all members.

Static Public Member Functions

static void InitLUTs (void)
static bool hq2x_32 (Texture *tex, sint32 sx, sint32 sy, sint32 Xres, sint32 Yres, uint8 *pOut, sint32 dw, sint32 dh, sint32 BpL, bool clamp_src)

Static Private Member Functions

static void Interp1 (uint8 *pc, uintS c1, uintS c2)
static void Interp2 (uint8 *pc, uintS c1, uintS c2, uintS c3)
static void Interp5 (uint8 *pc, uintS c1, uintS c2)
static void Interp6 (uint8 *pc, uintS c1, uintS c2, uintS c3)
static void Interp7 (uint8 *pc, uintS c1, uintS c2, uintS c3)
static void Interp9 (uint8 *pc, uintS c1, uintS c2, uintS c3)
static void Interp10 (uint8 *pc, uintS c1, uintS c2, uintS c3)
static bool Diff (unsigned int w1, unsigned int w2)

Detailed Description

template<class uintX, class Manip, class uintS = uintX>
class Pentagram::hq2xScalerInternal< uintX, Manip, uintS >

Definition at line 44 of file hq2xScaler.cpp.


Member Function Documentation

template<class uintX, class Manip, class uintS = uintX>
static bool Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::Diff ( unsigned int  w1,
unsigned int  w2 
) [inline, static, private]

Definition at line 226 of file hq2xScaler.cpp.

References Pentagram::RGBtoYUV, Pentagram::trU, Pentagram::trV, Pentagram::trY, Pentagram::Umask, Pentagram::Vmask, Pentagram::Ymask, Pentagram::YUV1, and Pentagram::YUV2.

Referenced by Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::hq2x_32().

template<class uintX, class Manip, class uintS = uintX>
static bool Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::hq2x_32 ( Texture tex,
sint32  sx,
sint32  sy,
sint32  Xres,
sint32  Yres,
uint8 pOut,
sint32  dw,
sint32  dh,
sint32  BpL,
bool  clamp_src 
) [inline, static]

Definition at line 258 of file hq2xScaler.cpp.

References Texture::buffer, Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::Diff(), Texture::height, Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::InitLUTs(), Pentagram::RGBtoYUV, Pentagram::trU, Pentagram::trV, Pentagram::trY, Pentagram::Umask, Pentagram::Vmask, Texture::width, Pentagram::Ymask, Pentagram::YUV1, and Pentagram::YUV2.

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::InitLUTs ( void   )  [inline, static]

Definition at line 237 of file hq2xScaler.cpp.

References Pentagram::InitedLUT, and Pentagram::RGBtoYUV.

Referenced by Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::hq2x_32().

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::Interp1 ( uint8 pc,
uintS  c1,
uintS  c2 
) [inline, static, private]

Definition at line 46 of file hq2xScaler.cpp.

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::Interp10 ( uint8 pc,
uintS  c1,
uintS  c2,
uintS  c3 
) [inline, static, private]

Definition at line 156 of file hq2xScaler.cpp.

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::Interp2 ( uint8 pc,
uintS  c1,
uintS  c2,
uintS  c3 
) [inline, static, private]

Definition at line 61 of file hq2xScaler.cpp.

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::Interp5 ( uint8 pc,
uintS  c1,
uintS  c2 
) [inline, static, private]

Definition at line 79 of file hq2xScaler.cpp.

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::Interp6 ( uint8 pc,
uintS  c1,
uintS  c2,
uintS  c3 
) [inline, static, private]

Definition at line 95 of file hq2xScaler.cpp.

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::Interp7 ( uint8 pc,
uintS  c1,
uintS  c2,
uintS  c3 
) [inline, static, private]

Definition at line 115 of file hq2xScaler.cpp.

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::hq2xScalerInternal< uintX, Manip, uintS >::Interp9 ( uint8 pc,
uintS  c1,
uintS  c2,
uintS  c3 
) [inline, static, private]

Definition at line 136 of file hq2xScaler.cpp.


The documentation for this class was generated from the following file:
Generated on Fri Jul 27 22:30:33 2007 for pentagram by  doxygen 1.4.7