libswscale/swscale_template.c File Reference

Go to the source code of this file.

Defines

#define EMMS   "femms"
#define PREFETCH   "prefetch"
#define PREFETCHW   "prefetchw"
#define SFENCE   "sfence"
#define PAVGB(a, b)   "pavgb " #a ", " #b " \n\t"
#define REAL_MOVNTQ(a, b)   "movntq " #a ", " #b " \n\t"
#define MOVNTQ(a, b)   REAL_MOVNTQ(a,b)
#define YSCALEYUV2YV12X(x, offset, dest, width)
#define YSCALEYUV2YV12X_ACCURATE(x, offset, dest, width)
#define YSCALEYUV2YV121
#define YSCALEYUV2PACKEDX
#define YSCALEYUV2PACKEDX_END
#define YSCALEYUV2PACKEDX_ACCURATE
#define YSCALEYUV2RGBX
#define REAL_YSCALEYUV2PACKED(index, c)
#define YSCALEYUV2PACKED(index, c)   REAL_YSCALEYUV2PACKED(index, c)
#define REAL_YSCALEYUV2RGB(index, c)
#define YSCALEYUV2RGB(index, c)   REAL_YSCALEYUV2RGB(index, c)
#define REAL_YSCALEYUV2PACKED1(index, c)
#define YSCALEYUV2PACKED1(index, c)   REAL_YSCALEYUV2PACKED1(index, c)
#define REAL_YSCALEYUV2RGB1(index, c)
#define YSCALEYUV2RGB1(index, c)   REAL_YSCALEYUV2RGB1(index, c)
#define REAL_YSCALEYUV2PACKED1b(index, c)
#define YSCALEYUV2PACKED1b(index, c)   REAL_YSCALEYUV2PACKED1b(index, c)
#define REAL_YSCALEYUV2RGB1b(index, c)
#define YSCALEYUV2RGB1b(index, c)   REAL_YSCALEYUV2RGB1b(index, c)
#define REAL_WRITEBGR32(dst, dstw, index)
#define WRITEBGR32(dst, dstw, index)   REAL_WRITEBGR32(dst, dstw, index)
#define REAL_WRITEBGR16(dst, dstw, index)
#define WRITEBGR16(dst, dstw, index)   REAL_WRITEBGR16(dst, dstw, index)
#define REAL_WRITEBGR15(dst, dstw, index)
#define WRITEBGR15(dst, dstw, index)   REAL_WRITEBGR15(dst, dstw, index)
#define WRITEBGR24OLD(dst, dstw, index)
#define WRITEBGR24MMX(dst, dstw, index)
#define WRITEBGR24MMX2(dst, dstw, index)
#define WRITEBGR24(dst, dstw, index)   WRITEBGR24MMX2(dst, dstw, index)
#define REAL_WRITEYUY2(dst, dstw, index)
#define WRITEYUY2(dst, dstw, index)   REAL_WRITEYUY2(dst, dstw, index)

Functions

static void yuv2yuvX_TMPL (SwsContext *c, int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, uint8_t *dest, uint8_t *uDest, uint8_t *vDest, long dstW, long chrDstW)
static void yuv2nv12X_TMPL (SwsContext *c, int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, uint8_t *dest, uint8_t *uDest, int dstW, int chrDstW, int dstFormat)
static void yuv2yuv1_TMPL (int16_t *lumSrc, int16_t *chrSrc, uint8_t *dest, uint8_t *uDest, uint8_t *vDest, long dstW, long chrDstW)
static void yuv2packedX_TMPL (SwsContext *c, int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, uint8_t *dest, long dstW, long dstY)
 vertical scale YV12 to RGB
static void yuv2packed2_TMPL (SwsContext *c, uint16_t *buf0, uint16_t *buf1, uint16_t *uvbuf0, uint16_t *uvbuf1, uint8_t *dest, int dstW, int yalpha, int uvalpha, int y)
 vertical bilinear scale YV12 to RGB
static void yuv2packed1_TMPL (SwsContext *c, uint16_t *buf0, uint16_t *uvbuf0, uint16_t *uvbuf1, uint8_t *dest, int dstW, int uvalpha, int dstFormat, int flags, int y)
 YV12 to RGB without scaling or interpolating.
static void yuy2ToY_TMPL (uint8_t *dst, uint8_t *src, long width)
static void yuy2ToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, long width)
static void uyvyToY_TMPL (uint8_t *dst, uint8_t *src, long width)
static void uyvyToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, long width)
static void bgr32ToY_TMPL (uint8_t *dst, uint8_t *src, int width)
static void bgr32ToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
static void bgr24ToY_TMPL (uint8_t *dst, uint8_t *src, long width)
static void bgr24ToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, long width)
static void rgb16ToY_TMPL (uint8_t *dst, uint8_t *src, int width)
static void rgb16ToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
static void rgb15ToY_TMPL (uint8_t *dst, uint8_t *src, int width)
static void rgb15ToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
static void rgb32ToY_TMPL (uint8_t *dst, uint8_t *src, int width)
static void rgb32ToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
static void rgb24ToY_TMPL (uint8_t *dst, uint8_t *src, int width)
static void rgb24ToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
static void bgr16ToY_TMPL (uint8_t *dst, uint8_t *src, int width)
static void bgr16ToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
static void bgr15ToY_TMPL (uint8_t *dst, uint8_t *src, int width)
static void bgr15ToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
static void palToY_TMPL (uint8_t *dst, uint8_t *src, int width, uint32_t *pal)
static void palToUV_TMPL (uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width, uint32_t *pal)
static void hScale_TMPL (int16_t *dst, int dstW, uint8_t *src, int srcW, int xInc, int16_t *filter, int16_t *filterPos, long filterSize)
static void hyscale_TMPL (uint16_t *dst, long dstWidth, uint8_t *src, int srcW, int xInc, int flags, int canMMX2BeUsed, int16_t *hLumFilter, int16_t *hLumFilterPos, int hLumFilterSize, void *funnyYCode, int srcFormat, uint8_t *formatConvBuffer, int16_t *mmx2Filter, int32_t *mmx2FilterPos, uint8_t *pal)
static void hcscale_TMPL (uint16_t *dst, long dstWidth, uint8_t *src1, uint8_t *src2, int srcW, int xInc, int flags, int canMMX2BeUsed, int16_t *hChrFilter, int16_t *hChrFilterPos, int hChrFilterSize, void *funnyUVCode, int srcFormat, uint8_t *formatConvBuffer, int16_t *mmx2Filter, int32_t *mmx2FilterPos, uint8_t *pal)
static int swScale_TMPL (SwsContext *c, uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])


Define Documentation

#define EMMS   "femms"

Definition at line 34 of file swscale_template.c.

#define MOVNTQ ( a,
 )     REAL_MOVNTQ(a,b)

Definition at line 67 of file swscale_template.c.

#define PAVGB ( a,
 )     "pavgb " #a ", " #b " \n\t"

Definition at line 57 of file swscale_template.c.

#define PREFETCH   "prefetch"

Definition at line 40 of file swscale_template.c.

#define PREFETCHW   "prefetchw"

Definition at line 41 of file swscale_template.c.

#define REAL_MOVNTQ ( a,
 )     "movntq " #a ", " #b " \n\t"

Definition at line 63 of file swscale_template.c.

#define REAL_WRITEBGR15 ( dst,
dstw,
index   ) 

Value:

"pand "MANGLE(bF8)", %%mm2  \n\t" /* B */\
    "pand "MANGLE(bF8)", %%mm4  \n\t" /* G */\
    "pand "MANGLE(bF8)", %%mm5  \n\t" /* R */\
    "psrlq           $3, %%mm2  \n\t"\
    "psrlq           $1, %%mm5  \n\t"\
\
    "movq         %%mm2, %%mm1  \n\t"\
    "movq         %%mm4, %%mm3  \n\t"\
\
    "punpcklbw    %%mm7, %%mm3  \n\t"\
    "punpcklbw    %%mm5, %%mm2  \n\t"\
    "punpckhbw    %%mm7, %%mm4  \n\t"\
    "punpckhbw    %%mm5, %%mm1  \n\t"\
\
    "psllq           $2, %%mm3  \n\t"\
    "psllq           $2, %%mm4  \n\t"\
\
    "por          %%mm3, %%mm2  \n\t"\
    "por          %%mm4, %%mm1  \n\t"\
\
    MOVNTQ(%%mm2,  (dst, index, 2))\
    MOVNTQ(%%mm1, 8(dst, index, 2))\
\
    "add             $8, "#index"   \n\t"\
    "cmp        "#dstw", "#index"   \n\t"\
    " jb             1b             \n\t"

Definition at line 719 of file swscale_template.c.

#define REAL_WRITEBGR16 ( dst,
dstw,
index   ) 

Value:

"pand "MANGLE(bF8)", %%mm2  \n\t" /* B */\
    "pand "MANGLE(bFC)", %%mm4  \n\t" /* G */\
    "pand "MANGLE(bF8)", %%mm5  \n\t" /* R */\
    "psrlq           $3, %%mm2  \n\t"\
\
    "movq         %%mm2, %%mm1  \n\t"\
    "movq         %%mm4, %%mm3  \n\t"\
\
    "punpcklbw    %%mm7, %%mm3  \n\t"\
    "punpcklbw    %%mm5, %%mm2  \n\t"\
    "punpckhbw    %%mm7, %%mm4  \n\t"\
    "punpckhbw    %%mm5, %%mm1  \n\t"\
\
    "psllq           $3, %%mm3  \n\t"\
    "psllq           $3, %%mm4  \n\t"\
\
    "por          %%mm3, %%mm2  \n\t"\
    "por          %%mm4, %%mm1  \n\t"\
\
    MOVNTQ(%%mm2,  (dst, index, 2))\
    MOVNTQ(%%mm1, 8(dst, index, 2))\
\
    "add             $8, "#index"   \n\t"\
    "cmp        "#dstw", "#index"   \n\t"\
    " jb             1b             \n\t"

Definition at line 691 of file swscale_template.c.

#define REAL_WRITEBGR32 ( dst,
dstw,
index   ) 

Value:

/* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */\
    "movq      %%mm2, %%mm1     \n\t" /* B */\
    "movq      %%mm5, %%mm6     \n\t" /* R */\
    "punpcklbw %%mm4, %%mm2     \n\t" /* GBGBGBGB 0 */\
    "punpcklbw %%mm7, %%mm5     \n\t" /* 0R0R0R0R 0 */\
    "punpckhbw %%mm4, %%mm1     \n\t" /* GBGBGBGB 2 */\
    "punpckhbw %%mm7, %%mm6     \n\t" /* 0R0R0R0R 2 */\
    "movq      %%mm2, %%mm0     \n\t" /* GBGBGBGB 0 */\
    "movq      %%mm1, %%mm3     \n\t" /* GBGBGBGB 2 */\
    "punpcklwd %%mm5, %%mm0     \n\t" /* 0RGB0RGB 0 */\
    "punpckhwd %%mm5, %%mm2     \n\t" /* 0RGB0RGB 1 */\
    "punpcklwd %%mm6, %%mm1     \n\t" /* 0RGB0RGB 2 */\
    "punpckhwd %%mm6, %%mm3     \n\t" /* 0RGB0RGB 3 */\
\
    MOVNTQ(%%mm0,   (dst, index, 4))\
    MOVNTQ(%%mm2,  8(dst, index, 4))\
    MOVNTQ(%%mm1, 16(dst, index, 4))\
    MOVNTQ(%%mm3, 24(dst, index, 4))\
\
    "add      $8, "#index"      \n\t"\
    "cmp "#dstw", "#index"      \n\t"\
    " jb      1b                \n\t"

Definition at line 666 of file swscale_template.c.

#define REAL_WRITEYUY2 ( dst,
dstw,
index   ) 

Value:

"packuswb  %%mm3, %%mm3     \n\t"\
    "packuswb  %%mm4, %%mm4     \n\t"\
    "packuswb  %%mm7, %%mm1     \n\t"\
    "punpcklbw %%mm4, %%mm3     \n\t"\
    "movq      %%mm1, %%mm7     \n\t"\
    "punpcklbw %%mm3, %%mm1     \n\t"\
    "punpckhbw %%mm3, %%mm7     \n\t"\
\
    MOVNTQ(%%mm1, (dst, index, 2))\
    MOVNTQ(%%mm7, 8(dst, index, 2))\
\
    "add          $8, "#index"  \n\t"\
    "cmp     "#dstw", "#index"  \n\t"\
    " jb          1b            \n\t"

Definition at line 913 of file swscale_template.c.

#define REAL_YSCALEYUV2PACKED ( index,
c   ) 

Definition at line 425 of file swscale_template.c.

#define REAL_YSCALEYUV2PACKED1 ( index,
c   ) 

Value:

"xor            "#index", "#index"  \n\t"\
    ASMALIGN(4)\
    "1:                                 \n\t"\
    "movq     (%2, "#index"), %%mm3     \n\t" /* uvbuf0[eax]*/\
    "movq 4096(%2, "#index"), %%mm4     \n\t" /* uvbuf0[eax+2048]*/\
    "psraw                $7, %%mm3     \n\t" \
    "psraw                $7, %%mm4     \n\t" \
    "movq  (%0, "#index", 2), %%mm1     \n\t" /*buf0[eax]*/\
    "movq 8(%0, "#index", 2), %%mm7     \n\t" /*buf0[eax]*/\
    "psraw                $7, %%mm1     \n\t" \
    "psraw                $7, %%mm7     \n\t" \

Definition at line 530 of file swscale_template.c.

#define REAL_YSCALEYUV2PACKED1b ( index,
c   ) 

Value:

"xor "#index", "#index"             \n\t"\
    ASMALIGN(4)\
    "1:                                 \n\t"\
    "movq     (%2, "#index"), %%mm2     \n\t" /* uvbuf0[eax]*/\
    "movq     (%3, "#index"), %%mm3     \n\t" /* uvbuf1[eax]*/\
    "movq 4096(%2, "#index"), %%mm5     \n\t" /* uvbuf0[eax+2048]*/\
    "movq 4096(%3, "#index"), %%mm4     \n\t" /* uvbuf1[eax+2048]*/\
    "paddw             %%mm2, %%mm3     \n\t" /* uvbuf0[eax] + uvbuf1[eax]*/\
    "paddw             %%mm5, %%mm4     \n\t" /* uvbuf0[eax+2048] + uvbuf1[eax+2048]*/\
    "psrlw                $8, %%mm3     \n\t" \
    "psrlw                $8, %%mm4     \n\t" \
    "movq  (%0, "#index", 2), %%mm1     \n\t" /*buf0[eax]*/\
    "movq 8(%0, "#index", 2), %%mm7     \n\t" /*buf0[eax]*/\
    "psraw                $7, %%mm1     \n\t" \
    "psraw                $7, %%mm7     \n\t"

Definition at line 594 of file swscale_template.c.

#define REAL_YSCALEYUV2RGB ( index,
c   ) 

Definition at line 464 of file swscale_template.c.

#define REAL_YSCALEYUV2RGB1 ( index,
c   ) 

Definition at line 545 of file swscale_template.c.

#define REAL_YSCALEYUV2RGB1b ( index,
c   ) 

Definition at line 613 of file swscale_template.c.

#define SFENCE   "sfence"

Definition at line 51 of file swscale_template.c.

#define WRITEBGR15 ( dst,
dstw,
index   )     REAL_WRITEBGR15(dst, dstw, index)

Definition at line 746 of file swscale_template.c.

Referenced by yuv2packed1_TMPL(), yuv2packed2_TMPL(), and yuv2packedX_TMPL().

#define WRITEBGR16 ( dst,
dstw,
index   )     REAL_WRITEBGR16(dst, dstw, index)

Definition at line 717 of file swscale_template.c.

Referenced by yuv2packed1_TMPL(), yuv2packed2_TMPL(), and yuv2packedX_TMPL().

#define WRITEBGR24 ( dst,
dstw,
index   )     WRITEBGR24MMX2(dst, dstw, index)

Definition at line 907 of file swscale_template.c.

Referenced by yuv2packed1_TMPL(), yuv2packed2_TMPL(), and yuv2packedX_TMPL().

#define WRITEBGR24MMX ( dst,
dstw,
index   ) 

Definition at line 804 of file swscale_template.c.

#define WRITEBGR24MMX2 ( dst,
dstw,
index   ) 

Definition at line 857 of file swscale_template.c.

#define WRITEBGR24OLD ( dst,
dstw,
index   ) 

Definition at line 748 of file swscale_template.c.

#define WRITEBGR32 ( dst,
dstw,
index   )     REAL_WRITEBGR32(dst, dstw, index)

Definition at line 689 of file swscale_template.c.

Referenced by yuv2packed1_TMPL(), yuv2packed2_TMPL(), and yuv2packedX_TMPL().

#define WRITEYUY2 ( dst,
dstw,
index   )     REAL_WRITEYUY2(dst, dstw, index)

Definition at line 928 of file swscale_template.c.

Referenced by yuv2packed1_TMPL(), yuv2packed2_TMPL(), and yuv2packedX_TMPL().

#define YSCALEYUV2PACKED ( index,
c   )     REAL_YSCALEYUV2PACKED(index, c)

Definition at line 462 of file swscale_template.c.

Referenced by yuv2packed2_TMPL().

#define YSCALEYUV2PACKED1 ( index,
c   )     REAL_YSCALEYUV2PACKED1(index, c)

Definition at line 543 of file swscale_template.c.

Referenced by yuv2packed1_TMPL().

#define YSCALEYUV2PACKED1b ( index,
c   )     REAL_YSCALEYUV2PACKED1b(index, c)

Definition at line 610 of file swscale_template.c.

Referenced by yuv2packed1_TMPL().

#define YSCALEYUV2PACKEDX

Definition at line 191 of file swscale_template.c.

Referenced by yuv2packedX_TMPL().

#define YSCALEYUV2PACKEDX_ACCURATE

Definition at line 240 of file swscale_template.c.

Referenced by yuv2packedX_TMPL().

#define YSCALEYUV2PACKEDX_END

Value:

:: "r" (&c->redDither),                   \
        "m" (dummy), "m" (dummy), "m" (dummy),\
        "r" (dest), "m" (dstW)                \
    : "%"REG_a, "%"REG_d, "%"REG_S            \
    );

Definition at line 233 of file swscale_template.c.

Referenced by yuv2packedX_TMPL().

#define YSCALEYUV2RGB ( index,
c   )     REAL_YSCALEYUV2RGB(index, c)

Definition at line 528 of file swscale_template.c.

Referenced by yuv2packed2_TMPL().

#define YSCALEYUV2RGB1 ( index,
c   )     REAL_YSCALEYUV2RGB1(index, c)

Definition at line 592 of file swscale_template.c.

Referenced by yuv2packed1_TMPL().

#define YSCALEYUV2RGB1b ( index,
c   )     REAL_YSCALEYUV2RGB1b(index, c)

Definition at line 664 of file swscale_template.c.

Referenced by yuv2packed1_TMPL().

#define YSCALEYUV2RGBX

Definition at line 334 of file swscale_template.c.

Referenced by yuv2packedX_TMPL().

#define YSCALEYUV2YV121

Value:

"mov %2, %%"REG_a"                    \n\t"\
    ASMALIGN(4) /* FIXME Unroll? */\
    "1:                                   \n\t"\
    "movq  (%0, %%"REG_a", 2), %%mm0      \n\t"\
    "movq 8(%0, %%"REG_a", 2), %%mm1      \n\t"\
    "psraw                 $7, %%mm0      \n\t"\
    "psraw                 $7, %%mm1      \n\t"\
    "packuswb           %%mm1, %%mm0      \n\t"\
    MOVNTQ(%%mm0, (%1, %%REGa))\
    "add                   $8, %%"REG_a"  \n\t"\
    "jnc                   1b             \n\t"

Definition at line 171 of file swscale_template.c.

Referenced by yuv2yuv1_TMPL().

#define YSCALEYUV2YV12X ( x,
offset,
dest,
width   ) 

Definition at line 73 of file swscale_template.c.

Referenced by yuv2yuvX_TMPL().

#define YSCALEYUV2YV12X_ACCURATE ( x,
offset,
dest,
width   ) 

Definition at line 109 of file swscale_template.c.

Referenced by yuv2yuvX_TMPL().


Function Documentation

static void bgr15ToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
int  width 
) [inline, static]

Definition at line 2257 of file swscale_template.c.

static void bgr15ToY_TMPL ( uint8_t dst,
uint8_t src,
int  width 
) [inline, static]

Definition at line 2243 of file swscale_template.c.

static void bgr16ToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
int  width 
) [inline, static]

Definition at line 2224 of file swscale_template.c.

static void bgr16ToY_TMPL ( uint8_t dst,
uint8_t src,
int  width 
) [inline, static]

Definition at line 2210 of file swscale_template.c.

static void bgr24ToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
long  width 
) [inline, static]

Definition at line 1943 of file swscale_template.c.

static void bgr24ToY_TMPL ( uint8_t dst,
uint8_t src,
long  width 
) [inline, static]

Definition at line 1858 of file swscale_template.c.

static void bgr32ToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
int  width 
) [inline, static]

Definition at line 1839 of file swscale_template.c.

static void bgr32ToY_TMPL ( uint8_t dst,
uint8_t src,
int  width 
) [inline, static]

Definition at line 1826 of file swscale_template.c.

static void hcscale_TMPL ( uint16_t *  dst,
long  dstWidth,
uint8_t src1,
uint8_t src2,
int  srcW,
int  xInc,
int  flags,
int  canMMX2BeUsed,
int16_t *  hChrFilter,
int16_t *  hChrFilterPos,
int  hChrFilterSize,
void *  funnyUVCode,
int  srcFormat,
uint8_t formatConvBuffer,
int16_t *  mmx2Filter,
int32_t *  mmx2FilterPos,
uint8_t pal 
) [inline, static]

Definition at line 2686 of file swscale_template.c.

static void hScale_TMPL ( int16_t *  dst,
int  dstW,
uint8_t src,
int  srcW,
int  xInc,
int16_t *  filter,
int16_t *  filterPos,
long  filterSize 
) [inline, static]

Definition at line 2301 of file swscale_template.c.

static void hyscale_TMPL ( uint16_t *  dst,
long  dstWidth,
uint8_t src,
int  srcW,
int  xInc,
int  flags,
int  canMMX2BeUsed,
int16_t *  hLumFilter,
int16_t *  hLumFilterPos,
int  hLumFilterSize,
void *  funnyYCode,
int  srcFormat,
uint8_t formatConvBuffer,
int16_t *  mmx2Filter,
int32_t *  mmx2FilterPos,
uint8_t pal 
) [inline, static]

Definition at line 2484 of file swscale_template.c.

static void palToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
int  width,
uint32_t *  pal 
) [inline, static]

Definition at line 2287 of file swscale_template.c.

static void palToY_TMPL ( uint8_t dst,
uint8_t src,
int  width,
uint32_t *  pal 
) [inline, static]

Definition at line 2276 of file swscale_template.c.

static void rgb15ToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
int  width 
) [inline, static]

Definition at line 2127 of file swscale_template.c.

static void rgb15ToY_TMPL ( uint8_t dst,
uint8_t src,
int  width 
) [inline, static]

Definition at line 2113 of file swscale_template.c.

static void rgb16ToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
int  width 
) [inline, static]

Definition at line 2091 of file swscale_template.c.

static void rgb16ToY_TMPL ( uint8_t dst,
uint8_t src,
int  width 
) [inline, static]

Definition at line 2077 of file swscale_template.c.

static void rgb24ToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
int  width 
) [inline, static]

Definition at line 2195 of file swscale_template.c.

static void rgb24ToY_TMPL ( uint8_t dst,
uint8_t src,
int  width 
) [inline, static]

Definition at line 2182 of file swscale_template.c.

static void rgb32ToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
int  width 
) [inline, static]

Definition at line 2163 of file swscale_template.c.

static void rgb32ToY_TMPL ( uint8_t dst,
uint8_t src,
int  width 
) [inline, static]

Definition at line 2150 of file swscale_template.c.

static int swScale_TMPL ( SwsContext c,
uint8_t src[],
int  srcStride[],
int  srcSliceY,
int  srcSliceH,
uint8_t dst[],
int  dstStride[] 
) [static]

Definition at line 2925 of file swscale_template.c.

static void uyvyToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
long  width 
) [inline, static]

Definition at line 1791 of file swscale_template.c.

static void uyvyToY_TMPL ( uint8_t dst,
uint8_t src,
long  width 
) [inline, static]

Definition at line 1767 of file swscale_template.c.

static void yuv2nv12X_TMPL ( SwsContext c,
int16_t *  lumFilter,
int16_t **  lumSrc,
int  lumFilterSize,
int16_t *  chrFilter,
int16_t **  chrSrc,
int  chrFilterSize,
uint8_t dest,
uint8_t uDest,
int  dstW,
int  chrDstW,
int  dstFormat 
) [inline, static]

Definition at line 964 of file swscale_template.c.

static void yuv2packed1_TMPL ( SwsContext c,
uint16_t *  buf0,
uint16_t *  uvbuf0,
uint16_t *  uvbuf1,
uint8_t dest,
int  dstW,
int  uvalpha,
int  dstFormat,
int  flags,
int  y 
) [inline, static]

YV12 to RGB without scaling or interpolating.

Definition at line 1501 of file swscale_template.c.

static void yuv2packed2_TMPL ( SwsContext c,
uint16_t *  buf0,
uint16_t *  buf1,
uint16_t *  uvbuf0,
uint16_t *  uvbuf1,
uint8_t dest,
int  dstW,
int  yalpha,
int  uvalpha,
int  y 
) [inline, static]

vertical bilinear scale YV12 to RGB

Definition at line 1185 of file swscale_template.c.

static void yuv2packedX_TMPL ( SwsContext c,
int16_t *  lumFilter,
int16_t **  lumSrc,
int  lumFilterSize,
int16_t *  chrFilter,
int16_t **  chrSrc,
int  chrFilterSize,
uint8_t dest,
long  dstW,
long  dstY 
) [inline, static]

vertical scale YV12 to RGB

Definition at line 1037 of file swscale_template.c.

static void yuv2yuv1_TMPL ( int16_t *  lumSrc,
int16_t *  chrSrc,
uint8_t dest,
uint8_t uDest,
uint8_t vDest,
long  dstW,
long  chrDstW 
) [inline, static]

Definition at line 973 of file swscale_template.c.

static void yuv2yuvX_TMPL ( SwsContext c,
int16_t *  lumFilter,
int16_t **  lumSrc,
int  lumFilterSize,
int16_t *  chrFilter,
int16_t **  chrSrc,
int  chrFilterSize,
uint8_t dest,
uint8_t uDest,
uint8_t vDest,
long  dstW,
long  chrDstW 
) [inline, static]

Definition at line 931 of file swscale_template.c.

static void yuy2ToUV_TMPL ( uint8_t dstU,
uint8_t dstV,
uint8_t src1,
uint8_t src2,
long  width 
) [inline, static]

Definition at line 1731 of file swscale_template.c.

static void yuy2ToY_TMPL ( uint8_t dst,
uint8_t src,
long  width 
) [inline, static]

Definition at line 1706 of file swscale_template.c.


Generated on Thu Apr 2 07:15:44 2009 for ffmpeg by  doxygen 1.5.6