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 112 of file swscale_template.c.
Definition at line 137 of file swscale_template.c.
Referenced by yuv2rgb32_X_TMPL().
#define YSCALEYUV2PACKEDX |
Definition at line 156 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 160 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 167 of file swscale_template.c.
#define YSCALEYUV2PACKEDX_ACCURATE_YA | ( | offset | ) |
Definition at line 219 of file swscale_template.c.
Referenced by yuv2rgb32_X_ar_TMPL().
#define YSCALEYUV2PACKEDX_ACCURATE |
Definition at line 264 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 268 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 304 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 326 of file swscale_template.c.
Referenced by yuv2rgb32_1_TMPL(), yuv2rgb32_2_TMPL(), yuv2rgb32_X_ar_TMPL(), and yuv2rgb32_X_TMPL().
Definition at line 390 of file swscale_template.c.
#define WRITERGB16 | ( | dst, | |
dstw, | |||
index | |||
) | REAL_WRITERGB16(dst, dstw, index) |
Definition at line 416 of file swscale_template.c.
Referenced by yuv2rgb565_1_TMPL(), yuv2rgb565_2_TMPL(), yuv2rgb565_X_ar_TMPL(), and yuv2rgb565_X_TMPL().
Definition at line 466 of file swscale_template.c.
#define WRITERGB15 | ( | dst, | |
dstw, | |||
index | |||
) | REAL_WRITERGB15(dst, dstw, index) |
Definition at line 493 of file swscale_template.c.
Referenced by yuv2rgb555_1_TMPL(), yuv2rgb555_2_TMPL(), yuv2rgb555_X_ar_TMPL(), and yuv2rgb555_X_TMPL().
Definition at line 543 of file swscale_template.c.
Definition at line 596 of file swscale_template.c.
#define WRITEBGR24 | ( | dst, | |
dstw, | |||
index | |||
) | WRITEBGR24MMX(dst, dstw, index) |
Definition at line 649 of file swscale_template.c.
Referenced by yuv2bgr24_1_TMPL(), yuv2bgr24_2_TMPL(), yuv2bgr24_X_ar_TMPL(), and yuv2bgr24_X_TMPL().
Definition at line 700 of file swscale_template.c.
#define WRITEYUY2 | ( | dst, | |
dstw, | |||
index | |||
) | REAL_WRITEYUY2(dst, dstw, index) |
Definition at line 715 of file swscale_template.c.
Referenced by yuv2yuyv422_1_TMPL(), yuv2yuyv422_2_TMPL(), yuv2yuyv422_X_ar_TMPL(), and yuv2yuyv422_X_TMPL().
Definition at line 759 of file swscale_template.c.
Definition at line 786 of file swscale_template.c.
#define REAL_YSCALEYUV2RGB_COEFF | ( | c | ) |
Definition at line 800 of file swscale_template.c.
#define YSCALEYUV2RGB_YA | ( | index, | |
c, | |||
b1, | |||
b2 | |||
) | REAL_YSCALEYUV2RGB_YA(index, c, b1, b2) |
Definition at line 829 of file swscale_template.c.
Referenced by yuv2rgb32_2_TMPL().
Definition at line 831 of file swscale_template.c.
Referenced by yuv2bgr24_2_TMPL(), yuv2rgb32_2_TMPL(), yuv2rgb555_2_TMPL(), and yuv2rgb565_2_TMPL().
Definition at line 984 of file swscale_template.c.
#define YSCALEYUV2PACKED | ( | index, | |
c | |||
) | REAL_YSCALEYUV2PACKED(index, c) |
Definition at line 1022 of file swscale_template.c.
Referenced by yuv2yuyv422_2_TMPL().
Definition at line 1046 of file swscale_template.c.
#define YSCALEYUV2RGB1 | ( | index, | |
c | |||
) | REAL_YSCALEYUV2RGB1(index, c) |
Definition at line 1095 of file swscale_template.c.
Referenced by yuv2bgr24_1_TMPL(), yuv2rgb32_1_TMPL(), yuv2rgb555_1_TMPL(), and yuv2rgb565_1_TMPL().
Definition at line 1098 of file swscale_template.c.
#define YSCALEYUV2RGB1b | ( | index, | |
c | |||
) | REAL_YSCALEYUV2RGB1b(index, c) |
Definition at line 1151 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 1153 of file swscale_template.c.
#define YSCALEYUV2RGB1_ALPHA | ( | index | ) | REAL_YSCALEYUV2RGB1_ALPHA(index) |
Definition at line 1159 of file swscale_template.c.
Referenced by yuv2rgb32_1_TMPL().
Definition at line 1374 of file swscale_template.c.
#define YSCALEYUV2PACKED1 | ( | index, | |
c | |||
) | REAL_YSCALEYUV2PACKED1(index, c) |
Definition at line 1389 of file swscale_template.c.
Referenced by yuv2yuyv422_1_TMPL().
Definition at line 1391 of file swscale_template.c.
#define YSCALEYUV2PACKED1b | ( | index, | |
c | |||
) | REAL_YSCALEYUV2PACKED1b(index, c) |
Definition at line 1409 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 328 of file swscale_template.c.
|
static |
Definition at line 361 of file swscale_template.c.
|
static |
Definition at line 418 of file swscale_template.c.
|
static |
Definition at line 442 of file swscale_template.c.
|
static |
Definition at line 495 of file swscale_template.c.
|
static |
Definition at line 519 of file swscale_template.c.
|
static |
Definition at line 652 of file swscale_template.c.
|
static |
Definition at line 676 of file swscale_template.c.
|
static |
Definition at line 717 of file swscale_template.c.
|
static |
Definition at line 738 of file swscale_template.c.
|
static |
vertical bilinear scale YV12 to RGB
Definition at line 839 of file swscale_template.c.
|
static |
Definition at line 903 of file swscale_template.c.
|
static |
Definition at line 926 of file swscale_template.c.
|
static |
Definition at line 955 of file swscale_template.c.
|
static |
Definition at line 1024 of file swscale_template.c.
|
static |
YV12 to RGB without scaling or interpolating.
Definition at line 1164 of file swscale_template.c.
|
static |
Definition at line 1233 of file swscale_template.c.
|
static |
Definition at line 1272 of file swscale_template.c.
|
static |
Definition at line 1323 of file swscale_template.c.
|
static |
Definition at line 1411 of file swscale_template.c.
|
static |
Definition at line 1632 of file swscale_template.c.