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(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 | YUV2RGB_SETUP |
#define | YUV2RGB(y, u, v, R, G, B, offset, coeff, y_temp, v2r, v2g, u2g, u2b) |
#define | WRITE_FULL_A(r, g, b, a, t1, s) |
#define | WRITE_FULL(r, g, b, t1, s) |
Functions | |
void | ff_yuv2planeX_8_lasx (const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset) |
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_lasx (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 y, enum AVPixelFormat target, int hasAlpha) |
static void | yuv2rgb_2_template_lasx (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, enum AVPixelFormat target, int hasAlpha) |
static void | yuv2rgb_1_template_lasx (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, enum AVPixelFormat target, int hasAlpha) |
static av_always_inline void | yuv2rgb_write_full (SwsContext *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_lasx (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 y, enum AVPixelFormat target, int hasAlpha) |
static void | yuv2rgb_full_2_template_lasx (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, enum AVPixelFormat target, int hasAlpha) |
static void | yuv2rgb_full_1_template_lasx (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, enum AVPixelFormat target, int hasAlpha) |
av_cold void | ff_sws_init_output_lasx (SwsContext *c) |
#define r_b ((target == AV_PIX_FMT_RGB24) ? r : b) |
#define b_r ((target == AV_PIX_FMT_RGB24) ? b : r) |
Definition at line 784 of file output_lasx.c.
Definition at line 797 of file output_lasx.c.
Definition at line 808 of file output_lasx.c.
#define YUV2RGB_SETUP |
Definition at line 969 of file output_lasx.c.
Definition at line 996 of file output_lasx.c.
void ff_yuv2planeX_8_lasx | ( | const int16_t * | filter, |
int | filterSize, | ||
const int16_t ** | src, | ||
uint8_t * | dest, | ||
int | dstW, | ||
const uint8_t * | dither, | ||
int | offset | ||
) |
Definition at line 25 of file output_lasx.c.
Referenced by ff_sws_init_swscale_loongarch().
|
static |
Definition at line 107 of file output_lasx.c.
Referenced by yuv2rgb_1_template_lasx(), yuv2rgb_2_template_lasx(), and yuv2rgb_X_template_lasx().
|
static |
Definition at line 230 of file output_lasx.c.
|
static |
Definition at line 518 of file output_lasx.c.
|
static |
Definition at line 628 of file output_lasx.c.
|
static |
Definition at line 837 of file output_lasx.c.
Referenced by yuv2rgb_full_1_template_lasx(), yuv2rgb_full_2_template_lasx(), and yuv2rgb_full_X_template_lasx().
|
static |
Definition at line 1018 of file output_lasx.c.
|
static |
Definition at line 1225 of file output_lasx.c.
|
static |
Definition at line 1438 of file output_lasx.c.
av_cold void ff_sws_init_output_lasx | ( | SwsContext * | c | ) |
Definition at line 1778 of file output_lasx.c.
Referenced by ff_sws_init_swscale_loongarch().