summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2012-01-12 13:32:10 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-01-12 13:37:01 +0800
commite5c02f94c8826f49dee505fab7094bae9955ba6f (patch)
treefbd75fd34faf16336f4d2332e6995c954689e580
parent17c4703c5492436c2256ed765018508e1b9aa6ca (diff)
Directly use component id instead of component index in VASliceParameterBufferJPEG
The user application doesn't need to calculate the index anymore. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--va/va.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/va/va.h b/va/va.h
index 4925108..bfe4ea5 100644
--- a/va/va.h
+++ b/va/va.h
@@ -803,7 +803,7 @@ typedef struct _VASliceParameterBufferJPEG
unsigned int num_components;
struct {
- int index; /* index to the ARRAY components in VAPictureParameterBufferJPEG */
+ int component_id; /* Csj, it must match one of component_ids specified in VAPictureParameterBufferJPEG */
int dc_selector; /* Tdj(0,1,2,3) */
int ac_selector; /* Taj(0,1,2,3) */
} components[4];