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

List of all members.

Static Public Member Functions

static uintX Interpolate_2xSaI (uintS colorA, uintS colorB)
static uintX OInterpolate_2xSaI (uintS colorA, uintS colorB, uintS colorC)
static uintX QInterpolate_2xSaI (uintS colorA, uintS colorB, uintS colorC, uintS colorD)
static int GetResult1 (uintS A, uintS B, uintS C, uintS D)
static int GetResult2 (uintS A, uintS B, uintS C, uintS D)
static void Scale_2xSaI (uintS *source, int srcx, int srcy, int srcw, int srch, const int sline_pixels, const int sheight, uintX *dest, const int dline_pixels)
static void Scale_Super2xSaI (uintS *source, int srcx, int srcy, int srcw, int srch, const int sline_pixels, const int sheight, uintX *dest, const int dline_pixels)
static void Scale_SuperEagle (uintS *source, int srcx, int srcy, int srcw, int srch, const int sline_pixels, const int sheight, uintX *dest, const int dline_pixels)
static bool Scale2xSaI (Texture *tex, sint32 sx, sint32 sy, sint32 sw, sint32 sh, uint8 *pixel, sint32 dw, sint32 dh, sint32 pitch, bool clamp_src)
static bool ScaleSuper2xSaI (Texture *tex, sint32 sx, sint32 sy, sint32 sw, sint32 sh, uint8 *pixel, sint32 dw, sint32 dh, sint32 pitch, bool clamp_src)
static bool ScaleSuperEagle (Texture *tex, sint32 sx, sint32 sy, sint32 sw, sint32 sh, uint8 *pixel, sint32 dw, sint32 dh, sint32 pitch, bool clamp_src)

Detailed Description

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

Definition at line 29 of file 2xSaIScalers.cpp.


Member Function Documentation

template<class uintX, class Manip, class uintS = uintX>
static int Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::GetResult1 ( uintS  A,
uintS  B,
uintS  C,
uintS  D 
) [inline, static]

Definition at line 83 of file 2xSaIScalers.cpp.

References x, and y.

Referenced by Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_2xSaI(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_Super2xSaI(), and Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_SuperEagle().

template<class uintX, class Manip, class uintS = uintX>
static int Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::GetResult2 ( uintS  A,
uintS  B,
uintS  C,
uintS  D 
) [inline, static]

Definition at line 95 of file 2xSaIScalers.cpp.

References x, and y.

Referenced by Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_2xSaI(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_Super2xSaI(), and Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_SuperEagle().

template<class uintX, class Manip, class uintS = uintX>
static uintX Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Interpolate_2xSaI ( uintS  colorA,
uintS  colorB 
) [inline, static]

2xSaI scaling filter source code adapted for Exult August 29 2000, originally written in May 1999 by Derek Liauw Kie Fa (DerekL666@yahoo.com/D.A.K.L.LiauwKieFa@student.tudelft.nl) This source is made available under the terms of the GNU GPL I'd appreciate it I am given credit in the program or documentation

Definition at line 42 of file 2xSaIScalers.cpp.

Referenced by Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_2xSaI(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_Super2xSaI(), and Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_SuperEagle().

template<class uintX, class Manip, class uintS = uintX>
static uintX Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::OInterpolate_2xSaI ( uintS  colorA,
uintS  colorB,
uintS  colorC 
) [inline, static]

Definition at line 54 of file 2xSaIScalers.cpp.

Referenced by Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_SuperEagle().

template<class uintX, class Manip, class uintS = uintX>
static uintX Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::QInterpolate_2xSaI ( uintS  colorA,
uintS  colorB,
uintS  colorC,
uintS  colorD 
) [inline, static]

Definition at line 68 of file 2xSaIScalers.cpp.

Referenced by Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_2xSaI(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_Super2xSaI(), and Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_SuperEagle().

template<class uintX, class Manip, class uintS = uintX>
static bool Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale2xSaI ( Texture tex,
sint32  sx,
sint32  sy,
sint32  sw,
sint32  sh,
uint8 pixel,
sint32  dw,
sint32  dh,
sint32  pitch,
bool  clamp_src 
) [inline, static]

Definition at line 785 of file 2xSaIScalers.cpp.

References Texture::buffer, Texture::height, Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_2xSaI(), and Texture::width.

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_2xSaI ( uintS *  source,
int  srcx,
int  srcy,
int  srcw,
int  srch,
const int  sline_pixels,
const int  sheight,
uintX *  dest,
const int  dline_pixels 
) [inline, static]

Definition at line 111 of file 2xSaIScalers.cpp.

References Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::GetResult1(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::GetResult2(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Interpolate_2xSaI(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::QInterpolate_2xSaI(), x, and y.

Referenced by Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale2xSaI().

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_Super2xSaI ( uintS *  source,
int  srcx,
int  srcy,
int  srcw,
int  srch,
const int  sline_pixels,
const int  sheight,
uintX *  dest,
const int  dline_pixels 
) [inline, static]

Definition at line 348 of file 2xSaIScalers.cpp.

References Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::GetResult1(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::GetResult2(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Interpolate_2xSaI(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::QInterpolate_2xSaI(), x, and y.

Referenced by Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::ScaleSuper2xSaI().

template<class uintX, class Manip, class uintS = uintX>
static void Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_SuperEagle ( uintS *  source,
int  srcx,
int  srcy,
int  srcw,
int  srch,
const int  sline_pixels,
const int  sheight,
uintX *  dest,
const int  dline_pixels 
) [inline, static]

Definition at line 557 of file 2xSaIScalers.cpp.

References Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::GetResult1(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::GetResult2(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Interpolate_2xSaI(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::OInterpolate_2xSaI(), Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::QInterpolate_2xSaI(), x, and y.

Referenced by Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::ScaleSuperEagle().

template<class uintX, class Manip, class uintS = uintX>
static bool Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::ScaleSuper2xSaI ( Texture tex,
sint32  sx,
sint32  sy,
sint32  sw,
sint32  sh,
uint8 pixel,
sint32  dw,
sint32  dh,
sint32  pitch,
bool  clamp_src 
) [inline, static]

Definition at line 805 of file 2xSaIScalers.cpp.

References Texture::buffer, Texture::height, Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_Super2xSaI(), and Texture::width.

template<class uintX, class Manip, class uintS = uintX>
static bool Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::ScaleSuperEagle ( Texture tex,
sint32  sx,
sint32  sy,
sint32  sw,
sint32  sh,
uint8 pixel,
sint32  dw,
sint32  dh,
sint32  pitch,
bool  clamp_src 
) [inline, static]

Definition at line 825 of file 2xSaIScalers.cpp.

References Texture::buffer, Texture::height, Pentagram::_2xSaIScalerInternal< uintX, Manip, uintS >::Scale_SuperEagle(), and Texture::width.


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