Commit a0d12207 authored by Zoe Liu's avatar Zoe Liu Committed by Gerrit Code Review
Browse files

Merge "Fix the superframe unit test for BIDIR_PRED" into nextgenv2

parents 8192010e 1aa674b5
......@@ -112,7 +112,13 @@ TEST_P(SuperframeTest, TestSuperframeIndexIsOptional) {
::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
30, 1, 0, 40);
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
#if CONFIG_BIDIR_PRED
// NOTE: The use of BWDREF_FRAME will enable the coding of more non-show
// frames besides ALTREF_FRAME.
EXPECT_GE(sf_count_, 1);
#else
EXPECT_EQ(sf_count_, 1);
#endif // CONFIG_BIDIR_PRED
}
VP9_INSTANTIATE_TEST_CASE(SuperframeTest, ::testing::Combine(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment