|
FFmpeg
4.0
|
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 RENAME() | yuv420_rgb15 (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
| static int RENAME() | yuv420_rgb16 (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
| static int RENAME() | yuv420_rgb24 (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
| static int RENAME() | yuv420_bgr24 (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
| static int RENAME() | yuv420_rgb32 (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
| static int RENAME() | yuv420_bgr32 (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.
Referenced by yuv420_bgr24(), yuv420_bgr32(), yuv420_rgb24(), and yuv420_rgb32().
| #define REG_RED "1" |
Definition at line 42 of file yuv2rgb_template.c.
Referenced by yuv420_bgr24(), yuv420_bgr32(), yuv420_rgb24(), and yuv420_rgb32().
| #define REG_GREEN "2" |
Definition at line 43 of file yuv2rgb_template.c.
Referenced by yuv420_bgr32(), and yuv420_rgb32().
| #define REG_ALPHA "3" |
Definition at line 44 of file yuv2rgb_template.c.
Referenced by yuv420_bgr32(), and yuv420_rgb32().
| #define YUV2RGB_LOOP | ( | depth | ) |
Definition at line 46 of file yuv2rgb_template.c.
Referenced by yuv420_bgr24(), yuv420_bgr32(), yuv420_rgb15(), yuv420_rgb16(), yuv420_rgb24(), and yuv420_rgb32().
| #define YUV2RGB_INITIAL_LOAD |
Definition at line 61 of file yuv2rgb_template.c.
Referenced by yuv420_bgr24(), yuv420_bgr32(), yuv420_rgb15(), yuv420_rgb16(), yuv420_rgb24(), and yuv420_rgb32().
| #define YUV2RGB |
Definition at line 84 of file yuv2rgb_template.c.
Referenced by yuv420_bgr24(), yuv420_bgr32(), yuv420_rgb15(), yuv420_rgb16(), yuv420_rgb24(), and yuv420_rgb32().
| #define RGB_PACK_INTERLEAVE |
Definition at line 123 of file yuv2rgb_template.c.
Referenced by yuv420_bgr32(), yuv420_rgb15(), yuv420_rgb16(), and yuv420_rgb32().
| #define YUV2RGB_ENDLOOP | ( | depth | ) |
Definition at line 134 of file yuv2rgb_template.c.
Referenced by yuv420_bgr24(), yuv420_bgr32(), yuv420_rgb15(), yuv420_rgb16(), yuv420_rgb24(), and yuv420_rgb32().
| #define RGB_PACK24_B_OPERANDS |
Definition at line 147 of file yuv2rgb_template.c.
| #define YUV2RGB_OPERANDS |
Definition at line 150 of file yuv2rgb_template.c.
Referenced by yuv420_bgr24(), yuv420_bgr32(), yuv420_rgb15(), yuv420_rgb16(), yuv420_rgb24(), and yuv420_rgb32().
| #define YUV2RGB_OPERANDS_ALPHA |
Definition at line 160 of file yuv2rgb_template.c.
Referenced by yuv420_bgr32(), and yuv420_rgb32().
| #define YUV2RGB_ENDFUNC |
Definition at line 169 of file yuv2rgb_template.c.
Referenced by yuv420_bgr24(), yuv420_bgr32(), yuv420_rgb15(), yuv420_rgb16(), yuv420_rgb24(), and yuv420_rgb32().
| #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.
Referenced by yuv420_rgb15(), and yuv420_rgb16().
| #define DITHER_RGB |
Definition at line 195 of file yuv2rgb_template.c.
Referenced by yuv420_rgb15(), and yuv420_rgb16().
| #define RGB_PACK24 | ( | blue, | |
| red | |||
| ) |
Definition at line 258 of file yuv2rgb_template.c.
Referenced by yuv420_bgr24(), and yuv420_rgb24().
| #define RGB_PACK24_B |
Definition at line 303 of file yuv2rgb_template.c.
Definition at line 356 of file yuv2rgb_template.c.
Referenced by yuv420_bgr32(), and yuv420_rgb32().
| #define LOAD_ALPHA "movq (%6, %0, 2), %%mm"REG_ALPHA"\n\t" \ |
Definition at line 359 of file yuv2rgb_template.c.
Referenced by yuv420_bgr32(), and yuv420_rgb32().
| #define RGB_PACK32 | ( | red, | |
| green, | |||
| blue, | |||
| alpha | |||
| ) |
Definition at line 362 of file yuv2rgb_template.c.
Referenced by yuv420_bgr32(), and yuv420_rgb32().
|
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.
1.8.13