R:/projects/actioncube/_svn/trunk/ac/source/src/scale.h File Reference

This graph shows which files directly or indirectly include this file:


Defines

#define OP(c, n)   dst[n] = (uint(src[n]) + uint(src[n+BPP]) + uint(src[stride+n]) + uint(src[stride+n+BPP]))>>2
#define OP(c, n)   c##t = 0
#define OP(c, n)   c##t += xcur[n]
#define OP(c, n)   dst[n] = (c##t)>>tshift
#define OP(c, n)   c##t = 0
#define OP(c, n)   c = (ycur[n]*xlow)>>12
#define OP(c, n)   c += xcur[n]
#define OP(c, n)   c += (xend[n]*xhigh)>>12
#define OP(c, n)   c = (c<<12)/w
#define OP(c, n)   c##t += (c*ylow)>>12
#define OP(c, n)   c##t += (c*yhigh)>>12
#define OP(c, n)   c##t += c
#define OP(c, n)   dst[n] = ((c##t)<<12)/h

Functions

static void FUNCNAME() halvetexture (uchar *src, uint sw, uint sh, uchar *dst)
static void FUNCNAME() shifttexture (uchar *src, uint sw, uint sh, uchar *dst, uint dw, uint dh)
static void FUNCNAME() scaletexture (uchar *src, uint sw, uint sh, uchar *dst, uint dw, uint dh)

Define Documentation

#define OP ( c,
n   )     dst[n] = ((c##t)<<12)/h

#define OP ( c,
n   )     c##t += c

#define OP ( c,
n   )     c##t += (c*yhigh)>>12

#define OP ( c,
n   )     c##t += (c*ylow)>>12

#define OP ( c,
n   )     c = (c<<12)/w

#define OP ( c,
n   )     c += (xend[n]*xhigh)>>12

#define OP ( c,
n   )     c += xcur[n]

#define OP ( c,
n   )     c = (ycur[n]*xlow)>>12

#define OP ( c,
n   )     c##t = 0

#define OP ( c,
n   )     dst[n] = (c##t)>>tshift

#define OP ( c,
n   )     c##t += xcur[n]

#define OP ( c,
n   )     c##t = 0

#define OP ( c,
n   )     dst[n] = (uint(src[n]) + uint(src[n+BPP]) + uint(src[stride+n]) + uint(src[stride+n+BPP]))>>2


Function Documentation

static void FUNCNAME() halvetexture ( uchar *  src,
uint  sw,
uint  sh,
uchar *  dst 
) [static]

static void FUNCNAME() scaletexture ( uchar *  src,
uint  sw,
uint  sh,
uchar *  dst,
uint  dw,
uint  dh 
) [static]

static void FUNCNAME() shifttexture ( uchar *  src,
uint  sw,
uint  sh,
uchar *  dst,
uint  dw,
uint  dh 
) [static]


Generated on Mon Dec 8 21:41:33 2008 for AssaultCube by  doxygen 1.5.7.1