FFmpeg
|
Go to the source code of this file.
Functions | |
static av_always_inline void | dither_8to16 (const uint8_t *srcDither, int rot) |
static void | yuv2yuvX_TMPL (const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset) |
static void | yuv2rgb32_X_ar_TMPL (SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int dstY) |
static void | yuv2rgb32_X_TMPL (SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int dstY) |
static void | yuv2rgb565_X_ar_TMPL (SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int dstY) |
static void | yuv2rgb565_X_TMPL (SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int dstY) |
static void | yuv2rgb555_X_ar_TMPL (SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int dstY) |
static void | yuv2rgb555_X_TMPL (SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int dstY) |
static void | yuv2bgr24_X_ar_TMPL (SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int dstY) |
static void | yuv2bgr24_X_TMPL (SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int dstY) |
static void | yuv2yuyv422_X_ar_TMPL (SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int dstY) |
static void | yuv2yuyv422_X_TMPL (SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int dstY) |
static void | yuv2rgb32_2_TMPL (SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) |
vertical bilinear scale YV12 to RGB | |
static void | yuv2bgr24_2_TMPL (SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) |
static void | yuv2rgb555_2_TMPL (SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) |
static void | yuv2rgb565_2_TMPL (SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) |
static void | yuv2yuyv422_2_TMPL (SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) |
static void | yuv2rgb32_1_TMPL (SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) |
YV12 to RGB without scaling or interpolating. | |
static void | yuv2bgr24_1_TMPL (SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) |
static void | yuv2rgb555_1_TMPL (SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) |
static void | yuv2rgb565_1_TMPL (SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) |
static void | yuv2yuyv422_1_TMPL (SwsContext *c, const int16_t *buf0, const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int y) |
static av_cold void | sws_init_swscale_TMPL (SwsContext *c) |
#define PREFETCH " # nop" |
Definition at line 29 of file swscale_template.c.
Definition at line 36 of file swscale_template.c.
#define MOVNTQ2 "movq " |
Definition at line 37 of file swscale_template.c.
Referenced by yuv2yuvX_TMPL().
#define MOVNTQ | ( | a, | |
b | |||
) | REAL_MOVNTQ(a,b) |
Definition at line 39 of file swscale_template.c.
#define YSCALEYUV2PACKEDX_UV |
Definition at line 123 of file swscale_template.c.
Definition at line 148 of file swscale_template.c.
Referenced by yuv2rgb32_X_TMPL().
#define YSCALEYUV2PACKEDX |
Definition at line 167 of file swscale_template.c.
Referenced by yuv2bgr24_X_TMPL(), yuv2rgb32_X_TMPL(), yuv2rgb555_X_TMPL(), yuv2rgb565_X_TMPL(), and yuv2yuyv422_X_TMPL().
#define YSCALEYUV2PACKEDX_END |
Definition at line 171 of file swscale_template.c.
Referenced by yuv2rgb32_X_ar_TMPL(), yuv2rgb32_X_TMPL(), yuv2rgb555_X_ar_TMPL(), yuv2rgb555_X_TMPL(), yuv2rgb565_X_ar_TMPL(), yuv2rgb565_X_TMPL(), yuv2yuyv422_X_ar_TMPL(), and yuv2yuyv422_X_TMPL().
#define YSCALEYUV2PACKEDX_ACCURATE_UV |
Definition at line 178 of file swscale_template.c.
#define YSCALEYUV2PACKEDX_ACCURATE_YA | ( | offset | ) |
Definition at line 230 of file swscale_template.c.
Referenced by yuv2rgb32_X_ar_TMPL().
#define YSCALEYUV2PACKEDX_ACCURATE |
Definition at line 275 of file swscale_template.c.
Referenced by yuv2bgr24_X_ar_TMPL(), yuv2rgb32_X_ar_TMPL(), yuv2rgb555_X_ar_TMPL(), yuv2rgb565_X_ar_TMPL(), and yuv2yuyv422_X_ar_TMPL().
#define YSCALEYUV2RGBX |
Definition at line 279 of file swscale_template.c.
Referenced by yuv2bgr24_X_ar_TMPL(), yuv2bgr24_X_TMPL(), yuv2rgb32_X_ar_TMPL(), yuv2rgb32_X_TMPL(), yuv2rgb555_X_ar_TMPL(), yuv2rgb555_X_TMPL(), yuv2rgb565_X_ar_TMPL(), and yuv2rgb565_X_TMPL().
Definition at line 315 of file swscale_template.c.
#define WRITEBGR32 | ( | dst, | |
dstw, | |||
index, | |||
b, | |||
g, | |||
r, | |||
a, | |||
q0, | |||
q2, | |||
q3, | |||
t | |||
) | REAL_WRITEBGR32(dst, dstw, index, b, g, r, a, q0, q2, q3, t) |
Definition at line 337 of file swscale_template.c.
Referenced by yuv2rgb32_1_TMPL(), yuv2rgb32_2_TMPL(), yuv2rgb32_X_ar_TMPL(), and yuv2rgb32_X_TMPL().
#define REAL_WRITERGB16 | ( | dst, | |
dstw, | |||
index | |||
) |
Definition at line 401 of file swscale_template.c.
#define WRITERGB16 | ( | dst, | |
dstw, | |||
index | |||
) | REAL_WRITERGB16(dst, dstw, index) |
Definition at line 427 of file swscale_template.c.
Referenced by yuv2rgb565_1_TMPL(), yuv2rgb565_2_TMPL(), yuv2rgb565_X_ar_TMPL(), and yuv2rgb565_X_TMPL().
#define REAL_WRITERGB15 | ( | dst, | |
dstw, | |||
index | |||
) |
Definition at line 477 of file swscale_template.c.
#define WRITERGB15 | ( | dst, | |
dstw, | |||
index | |||
) | REAL_WRITERGB15(dst, dstw, index) |
Definition at line 504 of file swscale_template.c.
Referenced by yuv2rgb555_1_TMPL(), yuv2rgb555_2_TMPL(), yuv2rgb555_X_ar_TMPL(), and yuv2rgb555_X_TMPL().
#define WRITEBGR24MMX | ( | dst, | |
dstw, | |||
index | |||
) |
Definition at line 554 of file swscale_template.c.
#define WRITEBGR24MMXEXT | ( | dst, | |
dstw, | |||
index | |||
) |
Definition at line 607 of file swscale_template.c.
#define WRITEBGR24 | ( | dst, | |
dstw, | |||
index | |||
) | WRITEBGR24MMX(dst, dstw, index) |
Definition at line 660 of file swscale_template.c.
Referenced by yuv2bgr24_1_TMPL(), yuv2bgr24_2_TMPL(), yuv2bgr24_X_ar_TMPL(), and yuv2bgr24_X_TMPL().
#define REAL_WRITEYUY2 | ( | dst, | |
dstw, | |||
index | |||
) |
Definition at line 711 of file swscale_template.c.
#define WRITEYUY2 | ( | dst, | |
dstw, | |||
index | |||
) | REAL_WRITEYUY2(dst, dstw, index) |
Definition at line 726 of file swscale_template.c.
Referenced by yuv2yuyv422_1_TMPL(), yuv2yuyv422_2_TMPL(), yuv2yuyv422_X_ar_TMPL(), and yuv2yuyv422_X_TMPL().
Definition at line 770 of file swscale_template.c.
Definition at line 797 of file swscale_template.c.
#define REAL_YSCALEYUV2RGB_COEFF | ( | c | ) |
Definition at line 811 of file swscale_template.c.
#define YSCALEYUV2RGB_YA | ( | index, | |
c, | |||
b1, | |||
b2 | |||
) | REAL_YSCALEYUV2RGB_YA(index, c, b1, b2) |
Definition at line 840 of file swscale_template.c.
Referenced by yuv2rgb32_2_TMPL().
Definition at line 842 of file swscale_template.c.
Referenced by yuv2bgr24_2_TMPL(), yuv2rgb32_2_TMPL(), yuv2rgb555_2_TMPL(), and yuv2rgb565_2_TMPL().
Definition at line 995 of file swscale_template.c.
#define YSCALEYUV2PACKED | ( | index, | |
c | |||
) | REAL_YSCALEYUV2PACKED(index, c) |
Definition at line 1033 of file swscale_template.c.
Referenced by yuv2yuyv422_2_TMPL().
Definition at line 1057 of file swscale_template.c.
#define YSCALEYUV2RGB1 | ( | index, | |
c | |||
) | REAL_YSCALEYUV2RGB1(index, c) |
Definition at line 1106 of file swscale_template.c.
Referenced by yuv2bgr24_1_TMPL(), yuv2rgb32_1_TMPL(), yuv2rgb555_1_TMPL(), and yuv2rgb565_1_TMPL().
Definition at line 1109 of file swscale_template.c.
#define YSCALEYUV2RGB1b | ( | index, | |
c | |||
) | REAL_YSCALEYUV2RGB1b(index, c) |
Definition at line 1162 of file swscale_template.c.
Referenced by yuv2bgr24_1_TMPL(), yuv2rgb32_1_TMPL(), yuv2rgb555_1_TMPL(), and yuv2rgb565_1_TMPL().
#define REAL_YSCALEYUV2RGB1_ALPHA | ( | index | ) |
Definition at line 1164 of file swscale_template.c.
#define YSCALEYUV2RGB1_ALPHA | ( | index | ) | REAL_YSCALEYUV2RGB1_ALPHA(index) |
Definition at line 1170 of file swscale_template.c.
Referenced by yuv2rgb32_1_TMPL().
Definition at line 1385 of file swscale_template.c.
#define YSCALEYUV2PACKED1 | ( | index, | |
c | |||
) | REAL_YSCALEYUV2PACKED1(index, c) |
Definition at line 1400 of file swscale_template.c.
Referenced by yuv2yuyv422_1_TMPL().
Definition at line 1402 of file swscale_template.c.
#define YSCALEYUV2PACKED1b | ( | index, | |
c | |||
) | REAL_YSCALEYUV2PACKED1b(index, c) |
Definition at line 1420 of file swscale_template.c.
Referenced by yuv2yuyv422_1_TMPL().
|
static |
Definition at line 43 of file swscale_template.c.
Referenced by yuv2yuvX_TMPL().
|
static |
Definition at line 69 of file swscale_template.c.
|
static |
Definition at line 339 of file swscale_template.c.
|
static |
Definition at line 372 of file swscale_template.c.
|
static |
Definition at line 429 of file swscale_template.c.
|
static |
Definition at line 453 of file swscale_template.c.
|
static |
Definition at line 506 of file swscale_template.c.
|
static |
Definition at line 530 of file swscale_template.c.
|
static |
Definition at line 663 of file swscale_template.c.
|
static |
Definition at line 687 of file swscale_template.c.
|
static |
Definition at line 728 of file swscale_template.c.
|
static |
Definition at line 749 of file swscale_template.c.
|
static |
vertical bilinear scale YV12 to RGB
Definition at line 850 of file swscale_template.c.
|
static |
Definition at line 914 of file swscale_template.c.
|
static |
Definition at line 937 of file swscale_template.c.
|
static |
Definition at line 966 of file swscale_template.c.
|
static |
Definition at line 1035 of file swscale_template.c.
|
static |
YV12 to RGB without scaling or interpolating.
Definition at line 1175 of file swscale_template.c.
|
static |
Definition at line 1244 of file swscale_template.c.
|
static |
Definition at line 1283 of file swscale_template.c.
|
static |
Definition at line 1334 of file swscale_template.c.
|
static |
Definition at line 1422 of file swscale_template.c.
|
static |
Definition at line 1643 of file swscale_template.c.