diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2012-01-12 13:32:10 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-01-12 13:37:01 +0800 |
commit | e5c02f94c8826f49dee505fab7094bae9955ba6f (patch) | |
tree | fbd75fd34faf16336f4d2332e6995c954689e580 | |
parent | 17c4703c5492436c2256ed765018508e1b9aa6ca (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |