FFmpeg
|
Go to the source code of this file.
Macros | |
#define | r_b ((target == AV_PIX_FMT_RGB24) ? r : b) |
#define | b_r ((target == AV_PIX_FMT_RGB24) ? b : r) |
#define | WRITE_YUV2RGB_LSX(vec_y1, vec_y2, vec_u, vec_v, t1, t2, t3, t4) |
#define | YUV2RGBWRAPPERX(name, base, ext, fmt, hasAlpha) |
#define | YUV2RGBWRAPPERX2(name, base, ext, fmt, hasAlpha) |
#define | YUV2RGBWRAPPER(name, base, ext, fmt, hasAlpha) |
#define | A_DITHER(u, v) (((((u)+((v)*236))*119)&0xff)) |
#define | X_DITHER(u, v) (((((u)^((v)*237))*181)&0x1ff)/2) |
#define | YUVTORGB_SETUP_LSX |
#define | YUVTORGB_LSX(y, u, v, R, G, B, offset, coeff, y_temp, v2r, v2g, u2g, u2b) |
#define | WRITE_FULL_A_LSX(r, g, b, a, t1, s) |
#define | WRITE_FULL_LSX(r, g, b, t1, s) |
Functions | |
static av_always_inline void | yuv2rgb_write (uint8_t *_dest, int i, int Y1, int Y2, unsigned A1, unsigned A2, const void *_r, const void *_g, const void *_b, int y, enum AVPixelFormat target, int hasAlpha) |
static void | yuv2rgb_X_template_lsx (SwsInternal *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 y, enum AVPixelFormat target, int hasAlpha) |
static void | yuv2rgb_2_template_lsx (SwsInternal *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, enum AVPixelFormat target, int hasAlpha) |
static void | yuv2rgb_1_template_lsx (SwsInternal *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, enum AVPixelFormat target, int hasAlpha) |
static av_always_inline void | yuv2rgb_write_full (SwsInternal *c, uint8_t *dest, int i, int R, int A, int G, int B, int y, enum AVPixelFormat target, int hasAlpha, int err[4]) |
static void | yuv2rgb_full_X_template_lsx (SwsInternal *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 y, enum AVPixelFormat target, int hasAlpha) |
static void | yuv2rgb_full_2_template_lsx (SwsInternal *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, enum AVPixelFormat target, int hasAlpha) |
static void | yuv2rgb_full_1_template_lsx (SwsInternal *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, enum AVPixelFormat target, int hasAlpha) |
av_cold void | ff_sws_init_output_lsx (SwsInternal *c, yuv2planar1_fn *yuv2plane1, yuv2planarX_fn *yuv2planeX, yuv2interleavedX_fn *yuv2nv12cX, yuv2packed1_fn *yuv2packed1, yuv2packed2_fn *yuv2packed2, yuv2packedX_fn *yuv2packedX, yuv2anyX_fn *yuv2anyX) |
#define r_b ((target == AV_PIX_FMT_RGB24) ? r : b) |
#define b_r ((target == AV_PIX_FMT_RGB24) ? b : r) |
#define WRITE_YUV2RGB_LSX | ( | vec_y1, | |
vec_y2, | |||
vec_u, | |||
vec_v, | |||
t1, | |||
t2, | |||
t3, | |||
t4 | |||
) |
Definition at line 136 of file output_lsx.c.
Definition at line 720 of file output_lsx.c.
Definition at line 733 of file output_lsx.c.
Definition at line 744 of file output_lsx.c.
#define YUVTORGB_SETUP_LSX |
Definition at line 904 of file output_lsx.c.
Definition at line 930 of file output_lsx.c.
|
static |
Definition at line 28 of file output_lsx.c.
Referenced by yuv2rgb_1_template_lsx(), yuv2rgb_2_template_lsx(), and yuv2rgb_X_template_lsx().
|
static |
Definition at line 151 of file output_lsx.c.
|
static |
Definition at line 479 of file output_lsx.c.
|
static |
Definition at line 586 of file output_lsx.c.
|
static |
Definition at line 772 of file output_lsx.c.
Referenced by yuv2rgb_full_1_template_lsx(), yuv2rgb_full_2_template_lsx(), and yuv2rgb_full_X_template_lsx().
|
static |
Definition at line 952 of file output_lsx.c.
|
static |
Definition at line 1131 of file output_lsx.c.
|
static |
Definition at line 1320 of file output_lsx.c.
av_cold void ff_sws_init_output_lsx | ( | SwsInternal * | c, |
yuv2planar1_fn * | yuv2plane1, | ||
yuv2planarX_fn * | yuv2planeX, | ||
yuv2interleavedX_fn * | yuv2nv12cX, | ||
yuv2packed1_fn * | yuv2packed1, | ||
yuv2packed2_fn * | yuv2packed2, | ||
yuv2packedX_fn * | yuv2packedX, | ||
yuv2anyX_fn * | yuv2anyX | ||
) |
Definition at line 1612 of file output_lsx.c.
Referenced by ff_sws_init_swscale_loongarch().