summaryrefslogtreecommitdiff
path: root/va/va.h
diff options
context:
space:
mode:
Diffstat (limited to 'va/va.h')
-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 */