|
FFmpeg
|
Various defines for YUV<->RGB conversion. More...
Go to the source code of this file.
Macros | |
| #define | SCALEBITS 10 |
| #define | ONE_HALF (1 << (SCALEBITS - 1)) |
| #define | FIX(x) |
| #define | YUV_TO_RGB1_CCIR(cb1, cr1) |
| #define | YUV_TO_RGB1_CCIR_BT709(cb1, cr1) |
| #define | YUV_TO_RGB2_CCIR(r, g, b, y1) |
| #define | YUV_TO_RGB1(cb1, cr1) |
| #define | YUV_TO_RGB2(r, g, b, y1) |
| #define | Y_CCIR_TO_JPEG(y) |
| #define | Y_JPEG_TO_CCIR(y) |
| #define | C_CCIR_TO_JPEG(y) |
| #define | RGB_TO_Y_CCIR(r, g, b) |
| #define | RGB_TO_U_CCIR(r1, g1, b1, shift) |
| #define | RGB_TO_V_CCIR(r1, g1, b1, shift) |
| #define | RGB_TO_Y_JPEG(r, g, b) |
| #define | RGB_TO_U_JPEG(r1, g1, b1) |
| #define | RGB_TO_V_JPEG(r1, g1, b1) |
| #define | RGB_TO_Y_BT709(r, g, b) |
| #define | RGB_TO_U_BT709(r1, g1, b1, shift) |
| #define | RGB_TO_V_BT709(r1, g1, b1, shift) |
| #define | RGB_TO_Y_BT709_FULL(r, g, b) |
| #define | RGB_TO_U_BT709_FULL(r1, g1, b1) |
| #define | RGB_TO_V_BT709_FULL(r1, g1, b1) |
Functions | |
| static int | C_JPEG_TO_CCIR (int y) |
Various defines for YUV<->RGB conversion.
Definition in file colorspace.h.
| #define SCALEBITS 10 |
Definition at line 30 of file colorspace.h.
Referenced by C_JPEG_TO_CCIR(), ff_dvdclut_yuv_to_rgb(), and rgb24_to_yuv420p().
| #define ONE_HALF (1 << (SCALEBITS - 1)) |
Definition at line 31 of file colorspace.h.
Referenced by C_JPEG_TO_CCIR(), and rgb24_to_yuv420p().
| #define FIX | ( | x | ) |
Definition at line 32 of file colorspace.h.
Referenced by C_JPEG_TO_CCIR().
| #define YUV_TO_RGB1_CCIR | ( | cb1, | |
| cr1 ) |
Definition at line 34 of file colorspace.h.
Referenced by dvbsub_parse_clut_segment(), ff_dvdclut_yuv_to_rgb(), parse_ifo_palette(), parse_palette_segment(), and yuv_a_to_rgba().
| #define YUV_TO_RGB1_CCIR_BT709 | ( | cb1, | |
| cr1 ) |
Definition at line 44 of file colorspace.h.
Referenced by parse_palette_segment().
Definition at line 55 of file colorspace.h.
Referenced by dvbsub_parse_clut_segment(), parse_ifo_palette(), parse_palette_segment(), and yuv_a_to_rgba().
| #define YUV_TO_RGB1 | ( | cb1, | |
| cr1 ) |
| #define Y_CCIR_TO_JPEG | ( | y | ) |
| #define Y_JPEG_TO_CCIR | ( | y | ) |
| #define C_CCIR_TO_JPEG | ( | y | ) |
Definition at line 98 of file colorspace.h.
Referenced by config_input(), dvbsub_encode(), and init().
Definition at line 102 of file colorspace.h.
Referenced by config_input(), dvbsub_encode(), and init().
Definition at line 106 of file colorspace.h.
Referenced by config_input(), dvbsub_encode(), and init().
| #define RGB_TO_U_JPEG | ( | r1, | |
| g1, | |||
| b1 ) |
| #define RGB_TO_V_JPEG | ( | r1, | |
| g1, | |||
| b1 ) |
| #define RGB_TO_U_BT709_FULL | ( | r1, | |
| g1, | |||
| b1 ) |
| #define RGB_TO_V_BT709_FULL | ( | r1, | |
| g1, | |||
| b1 ) |
|
inlinestatic |
Definition at line 90 of file colorspace.h.