summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2012-01-19 09:13:07 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-01-19 09:13:07 +0800
commit52b9efce61080b0944d8c31198f5d762601cc9e6 (patch)
tree34236defd4185f6616a5c9c300e793a553586a7a
parentbbe4a8dce3212415949461afa1f27f46702ae4a1 (diff)
downloadlibva-52b9efce61080b0944d8c31198f5d762601cc9e6.tar.gz
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.h7
1 files changed, 1 insertions, 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 */