summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2015-10-16 16:25:08 -0700
committerYaowu Xu <yaowu@google.com>2015-10-16 16:27:18 -0700
commit568429512eb932b7576a50c563b77db271a13e8e (patch)
treec7f99cf215966fd2fcfe1e01ef3c239d61f3d700 /test
parent7dd7a7da206bddb7d3d3deffa23984719bb89d87 (diff)
downloadlibvpx-568429512eb932b7576a50c563b77db271a13e8e.tar.gz
Add a new enum type vpx_color_range_t
to make meaning of color_range obvious. Change-Id: I303582e448b82b3203b497e27b22601cc718dfff
Diffstat (limited to 'test')
-rw-r--r--test/vp9_encoder_parms_get_to_decoder.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/vp9_encoder_parms_get_to_decoder.cc b/test/vp9_encoder_parms_get_to_decoder.cc
index 0984e6a42..6dc7d2f9e 100644
--- a/test/vp9_encoder_parms_get_to_decoder.cc
+++ b/test/vp9_encoder_parms_get_to_decoder.cc
@@ -40,17 +40,17 @@ struct EncodeParameters {
int32_t lossless;
int32_t error_resilient;
int32_t frame_parallel;
- int32_t color_range;
+ vpx_color_range_t color_range;
vpx_color_space_t cs;
int render_size[2];
// TODO(JBB): quantizers / bitrate
};
const EncodeParameters kVP9EncodeParameterSet[] = {
- {0, 0, 0, 1, 0, 0, VPX_CS_BT_601},
- {0, 0, 0, 0, 0, 1, VPX_CS_BT_709},
- {0, 0, 1, 0, 0, 1, VPX_CS_BT_2020},
- {0, 2, 0, 0, 1, 0, VPX_CS_UNKNOWN, { 640, 480 }},
+ {0, 0, 0, 1, 0, VPX_CR_STUDIO_RANGE, VPX_CS_BT_601},
+ {0, 0, 0, 0, 0, VPX_CR_FULL_RANGE, VPX_CS_BT_709},
+ {0, 0, 1, 0, 0, VPX_CR_FULL_RANGE, VPX_CS_BT_2020},
+ {0, 2, 0, 0, 1, VPX_CR_STUDIO_RANGE, VPX_CS_UNKNOWN, { 640, 480 }},
// TODO(JBB): Test profiles (requires more work).
};