summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2012-01-19 09:35:08 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-01-19 09:35:08 +0800
commit05577797b9b11830db742226f9cd2b5a1b657e5f (patch)
tree5b51420eaef74260359385096fc37209bb8f52ae
parent52b9efce61080b0944d8c31198f5d762601cc9e6 (diff)
test/decode/jpegdecode: remove JPEG component id macros
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--test/decode/jpegdecode.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/decode/jpegdecode.cpp b/test/decode/jpegdecode.cpp
index 7ac1bba..d787a03 100644
--- a/test/decode/jpegdecode.cpp
+++ b/test/decode/jpegdecode.cpp
@@ -96,19 +96,19 @@ static VAPictureParameterBufferJPEG pic_param={
num_components:3,
components: {
{
- component_id:VA_JPEG_COMPONENT_ID_Y,
+ component_id:1,
h_sampling_factor:2,
v_sampling_factor:2,
quantiser_table_selector:0,
},
{
- component_id:VA_JPEG_COMPONENT_ID_U,
+ component_id:2,
h_sampling_factor:1,
v_sampling_factor:1,
quantiser_table_selector:1,
},
{
- component_id:VA_JPEG_COMPONENT_ID_V,
+ component_id:3,
h_sampling_factor:1,
v_sampling_factor:1,
quantiser_table_selector:1,
@@ -167,17 +167,17 @@ static VASliceParameterBufferJPEG slice_param={
num_components:3,
components: {
{
- component_id:VA_JPEG_COMPONENT_ID_Y,
+ component_id:1,
dc_selector:0,
ac_selector:0,
},
{
- component_id:VA_JPEG_COMPONENT_ID_U,
+ component_id:2,
dc_selector:1,
ac_selector:1,
},
{
- component_id:VA_JPEG_COMPONENT_ID_V,
+ component_id:3,
dc_selector:1,
ac_selector:1,
},