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 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 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 
)

Definition at line 399 of file filters.c.

Referenced by zoomFilterFastRGB().

void zoom_filter_xmmx ( int  prevX,
int  prevY,
unsigned int *  expix1,
unsigned int *  expix2,
int *  brutS,
int *  brutD,
int  buffratio,
int  precalCoef[16][16] 
)

Definition at line 251 of file zoom_filter_xmmx.c.

Referenced by zoomFilterFastRGB().

int zoom_filter_xmmx_supported (  ) 

Definition at line 248 of file zoom_filter_xmmx.c.

Referenced by select_zoom_filter().

void zoom_filter_mmx ( int  prevX,
int  prevY,
unsigned int *  expix1,
unsigned int *  expix2,
int *  brutS,
int *  brutD,
int  buffratio,
int  precalCoef[16][16] 
)

Definition at line 121 of file zoom_filter_mmx.c.

Referenced by zoomFilterFastRGB().

int zoom_filter_mmx_supported (  ) 

Definition at line 117 of file zoom_filter_mmx.c.

Referenced by select_zoom_filter().

static void select_zoom_filter (  )  [static]

Definition at line 48 of file 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] 
)

Referenced by zoomFilterFastRGB().

void generatePrecalCoef (  ) 

Definition at line 144 of file filters.c.

Referenced by zoomFilterFastRGB().

void calculatePXandPY ( int  x,
int  y,
int *  px,
int *  py 
) [inline]

Definition at line 197 of file filters.c.

Referenced by zoomFilterFastRGB().

void setPixelRGB ( Uint buffer,
Uint  x,
Uint  y,
Color  c 
) [inline]

Definition at line 320 of file filters.c.

Referenced by pointFilter().

void setPixelRGB_ ( Uint buffer,
Uint  x,
Color  c 
) [inline]

Definition at line 336 of file filters.c.

Referenced by c_zoom().

void getPixelRGB ( Uint buffer,
Uint  x,
Uint  y,
Color c 
) [inline]

Definition at line 351 of file filters.c.

void getPixelRGB_ ( Uint buffer,
Uint  x,
Color c 
) [inline]

Definition at line 372 of file filters.c.

Referenced by c_zoom().

void setAsmUse ( int  useIt  ) 

Definition at line 472 of file filters.c.

int getAsmUse (  ) 

Definition at line 478 of file filters.c.

void zoomFilterFastRGB ( Uint pix1,
Uint pix2,
ZoomFilterData zf,
Uint  resx,
Uint  resy,
int  switchIncr,
float  switchMult 
)

Definition at line 486 of file filters.c.

Referenced by goom_update().

void pointFilter ( Uint pix1,
Color  c,
float  t1,
float  t2,
float  t3,
float  t4,
Uint  cycle 
)

Definition at line 722 of file filters.c.

Referenced by goom_update().


Variable Documentation

volatile guint32 resolx

volatile guint32 c_resoly

int zf_use_xmmx = 0 [static]

Definition at line 45 of file filters.c.

Referenced by select_zoom_filter(), and zoomFilterFastRGB().

int zf_use_mmx = 0 [static]

Definition at line 46 of file filters.c.

Referenced by select_zoom_filter(), and zoomFilterFastRGB().

guint32 mmx_zoom_size

Definition at line 79 of file filters.c.

unsigned int useAltivec

unsigned int* coeffs = 0

unsigned int * freecoeffs = 0

Definition at line 93 of file filters.c.

signed int* brutS = 0

Definition at line 95 of file filters.c.

Referenced by zoom_filter_xmmx().

signed int * freebrutS = 0

Definition at line 95 of file filters.c.

Referenced by zoomFilterFastRGB().

signed int* brutD = 0

Definition at line 96 of file filters.c.

Referenced by zoom_filter_xmmx().

signed int * freebrutD = 0

Definition at line 96 of file filters.c.

Referenced by zoomFilterFastRGB().

signed int* brutT = 0

Definition at line 97 of file filters.c.

signed int * freebrutT = 0

Definition at line 97 of file filters.c.

Referenced by zoomFilterFastRGB().

guint32* expix1 = 0

Definition at line 100 of file filters.c.

guint32* expix2 = 0

Definition at line 101 of file filters.c.

guint32 zoom_width

Definition at line 104 of file filters.c.

unsigned int prevX = 0

Definition at line 106 of file filters.c.

unsigned int prevY = 0

Definition at line 106 of file filters.c.

Referenced by zoomFilterFastRGB().

int sintable[0x10000] [static]

Definition at line 108 of file filters.c.

int vitesse = 127 [static]

Definition at line 109 of file filters.c.

char theMode = AMULETTE_MODE [static]

Definition at line 110 of file filters.c.

int waveEffect = 0 [static]

Definition at line 111 of file filters.c.

int hypercosEffect = 0 [static]

Definition at line 112 of file filters.c.

int vPlaneEffect = 0 [static]

Definition at line 113 of file filters.c.

int hPlaneEffect = 0 [static]

Definition at line 114 of file filters.c.

char noisify = 2 [static]

Definition at line 115 of file filters.c.

int middleX [static]

Definition at line 116 of file filters.c.

int middleY [static]

Definition at line 116 of file filters.c.

int buffratio = 0

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

Definition at line 122 of file filters.c.

int* firedec = 0 [static]

Definition at line 134 of file filters.c.

int precalCoef[16][16]

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

Definition at line 141 of file filters.c.

int use_asm = 1 [static]

Definition at line 470 of file filters.c.


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5