Turn on codec behavior unit tests for vp10
This commit adds codec behavior unit tests for vp10.
Change-Id: Ieb49cb66f0b29679ff2a3e2c0804d1ebbf48f986
diff --git a/test/vp9_encoder_parms_get_to_decoder.cc b/test/vp9_encoder_parms_get_to_decoder.cc
index 2049466..a02070e 100644
--- a/test/vp9_encoder_parms_get_to_decoder.cc
+++ b/test/vp9_encoder_parms_get_to_decoder.cc
@@ -86,17 +86,17 @@
return !strcmp(dot, ".y4m");
}
-class Vp9EncoderParmsGetToDecoder
+class VpxEncoderParmsGetToDecoder
: public ::libvpx_test::EncoderTest,
public ::libvpx_test::CodecTestWith2Params<EncodeParameters, \
EncodePerfTestVideo> {
protected:
- Vp9EncoderParmsGetToDecoder()
+ VpxEncoderParmsGetToDecoder()
: EncoderTest(GET_PARAM(0)),
encode_parms(GET_PARAM(1)) {
}
- virtual ~Vp9EncoderParmsGetToDecoder() {}
+ virtual ~VpxEncoderParmsGetToDecoder() {}
virtual void SetUp() {
InitializeConfig();
@@ -166,7 +166,7 @@
// TODO(hkuang): This test conflicts with frame parallel decode. So disable it
// for now until fix.
-TEST_P(Vp9EncoderParmsGetToDecoder, DISABLED_BitstreamParms) {
+TEST_P(VpxEncoderParmsGetToDecoder, DISABLED_BitstreamParms) {
init_flags_ = VPX_CODEC_USE_PSNR;
libvpx_test::VideoSource *video;
@@ -187,8 +187,12 @@
}
VP9_INSTANTIATE_TEST_CASE(
- Vp9EncoderParmsGetToDecoder,
+ VpxEncoderParmsGetToDecoder,
::testing::ValuesIn(kVP9EncodeParameterSet),
::testing::ValuesIn(kVP9EncodePerfTestVectors));
+VP10_INSTANTIATE_TEST_CASE(
+ VpxEncoderParmsGetToDecoder,
+ ::testing::ValuesIn(kVP9EncodeParameterSet),
+ ::testing::ValuesIn(kVP9EncodePerfTestVectors));
} // namespace