diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2012-01-19 09:13:07 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-01-19 09:13:07 +0800 |
commit | 52b9efce61080b0944d8c31198f5d762601cc9e6 (patch) | |
tree | 34236defd4185f6616a5c9c300e793a553586a7a | |
parent | bbe4a8dce3212415949461afa1f27f46702ae4a1 (diff) |
Remove the macros for JPEG components
The range of component id is 0-255 (see B.2.2)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r-- | va/va.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -753,11 +753,6 @@ typedef struct _VAIQMatrixBufferJPEG #define VA_JPEG_SOF13 0xCD #define VA_JPEG_SOF14 0xCE -#define VA_JPEG_COMPONENT_ID_Y 1 -#define VA_JPEG_COMPONENT_ID_U 2 -#define VA_JPEG_COMPONENT_ID_V 3 -#define VA_JPEG_COMPONENT_ID_A 4 - /* JPEG Picture Parameter Buffer */ typedef struct _VAPictureParameterBufferJPEG { @@ -767,7 +762,7 @@ typedef struct _VAPictureParameterBufferJPEG unsigned int image_height; unsigned int num_components; struct { - unsigned char component_id; + unsigned char component_id; /* Ci, the range is 0-255, see B.2.2 */ unsigned char h_sampling_factor; unsigned char v_sampling_factor; unsigned char quantiser_table_selector; /* Tqi, quantization table destination selector */ |