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 | 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 (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_lasx (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_lasx (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_lasx (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_lasx (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_lasx (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_lasx (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 | ( | vec_y1, | |
vec_y2, | |||
vec_u, | |||
vec_v, | |||
t1, | |||
t2, | |||
t3, | |||
t4 | |||
) |
Definition at line 215 of file output_lasx.c.
Definition at line 763 of file output_lasx.c.
Definition at line 776 of file output_lasx.c.
Definition at line 787 of file output_lasx.c.
#define YUV2RGB_SETUP |
Definition at line 948 of file output_lasx.c.
Definition at line 975 of file output_lasx.c.
void 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_output_lasx().
|
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 816 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 997 of file output_lasx.c.
|
static |
Definition at line 1204 of file output_lasx.c.
|
static |
Definition at line 1417 of file output_lasx.c.
av_cold void ff_sws_init_output_lasx | ( | 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 1757 of file output_lasx.c.
Referenced by ff_sws_init_swscale_loongarch().