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 | 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 34 of file swscale_template.c.
Definition at line 41 of file swscale_template.c.
#define MOVNTQ2 "movq " |
Definition at line 42 of file swscale_template.c.
Referenced by yuv2yuvX_TMPL().
#define MOVNTQ | ( | a, | |
b | |||
) | REAL_MOVNTQ(a,b) |
Definition at line 44 of file swscale_template.c.
#define YSCALEYUV2PACKEDX_UV |
Definition at line 128 of file swscale_template.c.
Definition at line 153 of file swscale_template.c.
Referenced by yuv2rgb32_X_TMPL().
#define YSCALEYUV2PACKEDX |
Definition at line 172 of file swscale_template.c.
Referenced by yuv2rgb32_X_TMPL(), yuv2rgb555_X_TMPL(), yuv2rgb565_X_TMPL(), and yuv2yuyv422_X_TMPL().
#define YSCALEYUV2PACKEDX_END |
Definition at line 176 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 184 of file swscale_template.c.
#define YSCALEYUV2PACKEDX_ACCURATE_YA | ( | offset | ) |
Definition at line 236 of file swscale_template.c.
Referenced by yuv2rgb32_X_ar_TMPL().
#define YSCALEYUV2PACKEDX_ACCURATE |
Definition at line 281 of file swscale_template.c.
Referenced by yuv2rgb32_X_ar_TMPL(), yuv2rgb555_X_ar_TMPL(), yuv2rgb565_X_ar_TMPL(), and yuv2yuyv422_X_ar_TMPL().
#define YSCALEYUV2RGBX |
Definition at line 285 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(), and yuv2rgb565_X_TMPL().
Definition at line 321 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 343 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 407 of file swscale_template.c.
#define WRITERGB16 | ( | dst, | |
dstw, | |||
index | |||
) | REAL_WRITERGB16(dst, dstw, index) |
Definition at line 433 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 483 of file swscale_template.c.
#define WRITERGB15 | ( | dst, | |
dstw, | |||
index | |||
) | REAL_WRITERGB15(dst, dstw, index) |
Definition at line 510 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 560 of file swscale_template.c.
#define WRITEBGR24MMXEXT | ( | dst, | |
dstw, | |||
index | |||
) |
Definition at line 613 of file swscale_template.c.
#define WRITEBGR24 | ( | dst, | |
dstw, | |||
index | |||
) | WRITEBGR24MMX(dst, dstw, index) |
Definition at line 666 of file swscale_template.c.
Referenced by yuv2bgr24_1_TMPL(), and yuv2bgr24_2_TMPL().
#define REAL_WRITEYUY2 | ( | dst, | |
dstw, | |||
index | |||
) |
Definition at line 721 of file swscale_template.c.
#define WRITEYUY2 | ( | dst, | |
dstw, | |||
index | |||
) | REAL_WRITEYUY2(dst, dstw, index) |
Definition at line 736 of file swscale_template.c.
Referenced by yuv2yuyv422_1_TMPL(), yuv2yuyv422_2_TMPL(), yuv2yuyv422_X_ar_TMPL(), and yuv2yuyv422_X_TMPL().
Definition at line 780 of file swscale_template.c.
Definition at line 807 of file swscale_template.c.
#define REAL_YSCALEYUV2RGB_COEFF | ( | c | ) |
Definition at line 821 of file swscale_template.c.
#define YSCALEYUV2RGB_YA | ( | index, | |
c, | |||
b1, | |||
b2 | |||
) | REAL_YSCALEYUV2RGB_YA(index, c, b1, b2) |
Definition at line 850 of file swscale_template.c.
Referenced by yuv2rgb32_2_TMPL().
Definition at line 852 of file swscale_template.c.
Referenced by yuv2bgr24_2_TMPL(), yuv2rgb32_2_TMPL(), yuv2rgb555_2_TMPL(), and yuv2rgb565_2_TMPL().
Definition at line 1005 of file swscale_template.c.
#define YSCALEYUV2PACKED | ( | index, | |
c | |||
) | REAL_YSCALEYUV2PACKED(index, c) |
Definition at line 1043 of file swscale_template.c.
Referenced by yuv2yuyv422_2_TMPL().
Definition at line 1066 of file swscale_template.c.
#define YSCALEYUV2RGB1 | ( | index, | |
c | |||
) | REAL_YSCALEYUV2RGB1(index, c) |
Definition at line 1115 of file swscale_template.c.
Referenced by yuv2bgr24_1_TMPL(), yuv2rgb32_1_TMPL(), yuv2rgb555_1_TMPL(), and yuv2rgb565_1_TMPL().
Definition at line 1118 of file swscale_template.c.
#define YSCALEYUV2RGB1b | ( | index, | |
c | |||
) | REAL_YSCALEYUV2RGB1b(index, c) |
Definition at line 1171 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 1173 of file swscale_template.c.
#define YSCALEYUV2RGB1_ALPHA | ( | index | ) | REAL_YSCALEYUV2RGB1_ALPHA(index) |
Definition at line 1179 of file swscale_template.c.
Referenced by yuv2rgb32_1_TMPL().
Definition at line 1400 of file swscale_template.c.
#define YSCALEYUV2PACKED1 | ( | index, | |
c | |||
) | REAL_YSCALEYUV2PACKED1(index, c) |
Definition at line 1415 of file swscale_template.c.
Referenced by yuv2yuyv422_1_TMPL().
Definition at line 1417 of file swscale_template.c.
#define YSCALEYUV2PACKED1b | ( | index, | |
c | |||
) | REAL_YSCALEYUV2PACKED1b(index, c) |
Definition at line 1435 of file swscale_template.c.
Referenced by yuv2yuyv422_1_TMPL().
|
static |
Definition at line 48 of file swscale_template.c.
Referenced by yuv2yuvX_TMPL().
|
static |
Definition at line 74 of file swscale_template.c.
|
static |
Definition at line 345 of file swscale_template.c.
|
static |
Definition at line 378 of file swscale_template.c.
|
static |
Definition at line 435 of file swscale_template.c.
|
static |
Definition at line 459 of file swscale_template.c.
|
static |
Definition at line 512 of file swscale_template.c.
|
static |
Definition at line 536 of file swscale_template.c.
|
static |
Definition at line 738 of file swscale_template.c.
|
static |
Definition at line 759 of file swscale_template.c.
|
static |
vertical bilinear scale YV12 to RGB
Definition at line 860 of file swscale_template.c.
|
static |
Definition at line 924 of file swscale_template.c.
|
static |
Definition at line 947 of file swscale_template.c.
|
static |
Definition at line 976 of file swscale_template.c.
|
static |
Definition at line 1045 of file swscale_template.c.
|
static |
YV12 to RGB without scaling or interpolating.
Definition at line 1184 of file swscale_template.c.
|
static |
Definition at line 1253 of file swscale_template.c.
|
static |
Definition at line 1294 of file swscale_template.c.
|
static |
Definition at line 1347 of file swscale_template.c.
|
static |
Definition at line 1437 of file swscale_template.c.
|
static |
Definition at line 1658 of file swscale_template.c.