filters.c File Reference

Go to the source code of this file.

Functions

void c_zoom (unsigned int *expix1, unsigned int *expix2, unsigned int prevX, unsigned int prevY, signed int *brutS, signed int *brutD)
void zoom_filter_xmmx (int prevX, int prevY, unsigned int *expix1, unsigned int *expix2, int *brutS, int *brutD, int buffratio, int precalCoef[16][16])
int zoom_filter_xmmx_supported ()
void zoom_filter_mmx (int prevX, int prevY, unsigned int *expix1, unsigned int *expix2, int *brutS, int *brutD, int buffratio, int precalCoef[16][16])
int zoom_filter_mmx_supported ()
static void select_zoom_filter ()
const void ppc_zoom (unsigned int *frompixmap, unsigned int *topixmap, unsigned int sizex, unsigned int sizey, unsigned int *brutS, unsigned int *brutD, unsigned int buffratio, int precalCoef[16][16])
void generatePrecalCoef (void)
void calculatePXandPY (int x, int y, int *px, int *py)
void setPixelRGB (Uint *buffer, Uint x, Uint y, Color c)
void setPixelRGB_ (Uint *buffer, Uint x, Color c)
void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c)
void getPixelRGB_ (Uint *buffer, Uint x, Color *c)
void setAsmUse (int useIt)
int getAsmUse (void)
void zoomFilterFastRGB (Uint *pix1, Uint *pix2, ZoomFilterData *zf, Uint resx, Uint resy, int switchIncr, float switchMult)
void pointFilter (Uint *pix1, Color c, float t1, float t2, float t3, float t4, Uint cycle)

Variables

volatile guint32 resolx
volatile guint32 c_resoly
static int zf_use_xmmx = 0
static int zf_use_mmx = 0
guint32 mmx_zoom_size
unsigned int useAltivec
unsigned int * coeffs = 0
unsigned int * freecoeffs = 0
signed int * brutS = 0
signed int * freebrutS = 0
signed int * brutD = 0
signed int * freebrutD = 0
signed int * brutT = 0
signed int * freebrutT = 0
guint32 * expix1 = 0
guint32 * expix2 = 0
guint32 zoom_width
unsigned int prevX = 0
unsigned int prevY = 0
static int sintable [0x10000]
static int vitesse = 127
static char theMode = AMULETTE_MODE
static int waveEffect = 0
static int hypercosEffect = 0
static int vPlaneEffect = 0
static int hPlaneEffect = 0
static char noisify = 2
static int middleX
static int middleY
int buffratio = 0
 modif by jeko : fixedpoint : buffration = (16:16) (donc 0<=buffration<=2^16)
static int * firedec = 0
int precalCoef [16][16]
 modif d'optim by Jeko : precalcul des 4 coefs résultant des 2 pos
static int use_asm = 1

Function Documentation

void c_zoom ( unsigned int *  expix1,
unsigned int *  expix2,
unsigned int  prevX,
unsigned int  prevY,
signed int *  brutS,
signed int *  brutD 
)
void zoom_filter_xmmx ( int  prevX,
int  prevY,
unsigned int *  expix1,
unsigned int *  expix2,
int *  brutS,
int *  brutD,
int  buffratio,
int  precalCoef[16][16] 
)
int zoom_filter_xmmx_supported (  ) 
void zoom_filter_mmx ( int  prevX,
int  prevY,
unsigned int *  expix1,
unsigned int *  expix2,
int *  brutS,
int *  brutD,
int  buffratio,
int  precalCoef[16][16] 
)
int zoom_filter_mmx_supported (  ) 
static void select_zoom_filter (  )  [static]

Definition at line 68 of file mythplugins/mythmusic/mythmusic/goom/filters.c.

Referenced by zoomFilterFastRGB().

const void ppc_zoom ( unsigned int *  frompixmap,
unsigned int *  topixmap,
unsigned int  sizex,
unsigned int  sizey,
unsigned int *  brutS,
unsigned int *  brutD,
unsigned int  buffratio,
int  precalCoef[16][16] 
)
void generatePrecalCoef ( void   ) 
void calculatePXandPY ( int  x,
int  y,
int *  px,
int *  py 
)
void setPixelRGB ( Uint buffer,
Uint  x,
Uint  y,
Color  c 
)
void setPixelRGB_ ( Uint buffer,
Uint  x,
Color  c 
)
void getPixelRGB ( Uint buffer,
Uint  x,
Uint  y,
Color c 
) [inline]
void getPixelRGB_ ( Uint buffer,
Uint  x,
Color c 
)
void setAsmUse ( int  useIt  ) 
int getAsmUse ( void   ) 
void zoomFilterFastRGB ( Uint pix1,
Uint pix2,
ZoomFilterData zf,
Uint  resx,
Uint  resy,
int  switchIncr,
float  switchMult 
)
void pointFilter ( Uint pix1,
Color  c,
float  t1,
float  t2,
float  t3,
float  t4,
Uint  cycle 
)

Variable Documentation

volatile guint32 resolx
volatile guint32 c_resoly
int zf_use_xmmx = 0 [static]

Definition at line 45 of file mythplugins/mythmusic/mythmusic/goom/filters.c.

Referenced by zoomFilterFastRGB().

int zf_use_mmx = 0 [static]

Definition at line 46 of file mythplugins/mythmusic/mythmusic/goom/filters.c.

Referenced by zoomFilterFastRGB().

guint32 mmx_zoom_size
unsigned int useAltivec
unsigned int* coeffs = 0
unsigned int * freecoeffs = 0
signed int* brutS = 0
signed int * freebrutS = 0
signed int* brutD = 0
signed int * freebrutD = 0
signed int* brutT = 0
signed int * freebrutT = 0
guint32* expix1 = 0
guint32* expix2 = 0
guint32 zoom_width
unsigned int prevX = 0
unsigned int prevY = 0
int sintable[0x10000] [static]
int vitesse = 127 [static]
char theMode = AMULETTE_MODE [static]
int waveEffect = 0 [static]
int hypercosEffect = 0 [static]
int vPlaneEffect = 0 [static]
int hPlaneEffect = 0 [static]
char noisify = 2 [static]
int middleX [static]
int middleY [static]
int buffratio = 0

modif by jeko : fixedpoint : buffration = (16:16) (donc 0<=buffration<=2^16)

Definition at line 122 of file mythplugins/mythmusic/mythmusic/goom/filters.c.

int* firedec = 0 [static]
int precalCoef[16][16]

modif d'optim by Jeko : precalcul des 4 coefs résultant des 2 pos

Definition at line 141 of file mythplugins/mythmusic/mythmusic/goom/filters.c.

int use_asm = 1 [static]

Definition at line 481 of file mythplugins/mythmusic/mythmusic/goom/filters.c.

Referenced by getAsmUse(), and setAsmUse().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:47 2012 for MythTV by  doxygen 1.6.3