FFmpeg
|
Go to the source code of this file.
Macros | |
#define | MOVNTQ "movq" |
#define | SFENCE " # nop" |
#define | REG_BLUE "0" |
#define | REG_RED "1" |
#define | REG_GREEN "2" |
#define | REG_ALPHA "3" |
#define | YUV2RGB_LOOP(depth) |
#define | YUV2RGB_INITIAL_LOAD |
#define | YUV2RGB |
#define | RGB_PACK_INTERLEAVE |
#define | YUV2RGB_ENDLOOP(depth) |
#define | RGB_PACK24_B_OPERANDS |
#define | YUV2RGB_OPERANDS |
#define | YUV2RGB_OPERANDS_ALPHA |
#define | YUV2RGB_ENDFUNC |
#define | IF0(x) |
#define | IF1(x) x |
#define | RGB_PACK16(gmask, is15) |
#define | DITHER_RGB |
#define | RGB_PACK24(blue, red) |
#define | RGB_PACK24_B |
#define | SET_EMPTY_ALPHA "pcmpeqd %%mm"REG_ALPHA", %%mm"REG_ALPHA"\n\t" /* set alpha to 0xFF */ \ |
#define | LOAD_ALPHA "movq (%6, %0, 2), %%mm"REG_ALPHA"\n\t" \ |
#define | RGB_PACK32(red, green, blue, alpha) |
Functions | |
static int | yuv420_rgb15_TMPL (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
static int | yuv420_rgb16_TMPL (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
static int | yuv420_rgb24_TMPL (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
static int | yuv420_bgr24_TMPL (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
static int | yuv420_rgb32_TMPL (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
static int | yuv420_bgr32_TMPL (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
#define MOVNTQ "movq" |
Definition at line 37 of file yuv2rgb_template.c.
#define SFENCE " # nop" |
Definition at line 38 of file yuv2rgb_template.c.
#define REG_BLUE "0" |
Definition at line 41 of file yuv2rgb_template.c.
#define REG_RED "1" |
Definition at line 42 of file yuv2rgb_template.c.
#define REG_GREEN "2" |
Definition at line 43 of file yuv2rgb_template.c.
#define REG_ALPHA "3" |
Definition at line 44 of file yuv2rgb_template.c.
#define YUV2RGB_LOOP | ( | depth | ) |
Definition at line 46 of file yuv2rgb_template.c.
#define YUV2RGB_INITIAL_LOAD |
Definition at line 61 of file yuv2rgb_template.c.
#define YUV2RGB |
Definition at line 84 of file yuv2rgb_template.c.
#define RGB_PACK_INTERLEAVE |
Definition at line 123 of file yuv2rgb_template.c.
#define YUV2RGB_ENDLOOP | ( | depth | ) |
Definition at line 134 of file yuv2rgb_template.c.
#define RGB_PACK24_B_OPERANDS |
Definition at line 147 of file yuv2rgb_template.c.
#define YUV2RGB_OPERANDS |
#define YUV2RGB_OPERANDS_ALPHA |
Definition at line 160 of file yuv2rgb_template.c.
#define YUV2RGB_ENDFUNC |
Definition at line 169 of file yuv2rgb_template.c.
#define IF0 | ( | x | ) |
Definition at line 174 of file yuv2rgb_template.c.
#define IF1 | ( | x | ) | x |
Definition at line 175 of file yuv2rgb_template.c.
#define RGB_PACK16 | ( | gmask, | |
is15 | |||
) |
Definition at line 177 of file yuv2rgb_template.c.
#define DITHER_RGB |
Definition at line 195 of file yuv2rgb_template.c.
#define RGB_PACK24 | ( | blue, | |
red | |||
) |
Definition at line 258 of file yuv2rgb_template.c.
#define RGB_PACK24_B |
Definition at line 303 of file yuv2rgb_template.c.
Definition at line 356 of file yuv2rgb_template.c.
#define LOAD_ALPHA "movq (%6, %0, 2), %%mm"REG_ALPHA"\n\t" \ |
Definition at line 359 of file yuv2rgb_template.c.
#define RGB_PACK32 | ( | red, | |
green, | |||
blue, | |||
alpha | |||
) |
Definition at line 362 of file yuv2rgb_template.c.
|
inlinestatic |
Definition at line 201 of file yuv2rgb_template.c.
|
inlinestatic |
Definition at line 229 of file yuv2rgb_template.c.
|
inlinestatic |
Definition at line 319 of file yuv2rgb_template.c.
|
inlinestatic |
Definition at line 337 of file yuv2rgb_template.c.
|
inlinestatic |
Definition at line 381 of file yuv2rgb_template.c.
|
inlinestatic |
Definition at line 424 of file yuv2rgb_template.c.