From 52b9efce61080b0944d8c31198f5d762601cc9e6 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Thu, 19 Jan 2012 09:13:07 +0800 Subject: Remove the macros for JPEG components The range of component id is 0-255 (see B.2.2) Signed-off-by: Xiang, Haihao --- va/va.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/va/va.h b/va/va.h index ff5789a..64694a1 100644 --- a/va/va.h +++ b/va/va.h @@ -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 */ -- cgit v1.2.1