diff options
author | Marco Paniconi <marpan@google.com> | 2022-05-12 11:18:19 -0700 |
---|---|---|
committer | Marco Paniconi <marpan@google.com> | 2022-05-12 18:28:08 -0700 |
commit | a6bff83a603affa2799bbacedc24f9ca8632a5c6 (patch) | |
tree | 97d63b12b6a1b341c6ecc57ed5f7572d7ded24fc /test/active_map_test.cc | |
parent | e8579cc3d4302214805bb28fbc27b771b1047325 (diff) | |
download | libvpx-a6bff83a603affa2799bbacedc24f9ca8632a5c6.tar libvpx-a6bff83a603affa2799bbacedc24f9ca8632a5c6.tar.gz libvpx-a6bff83a603affa2799bbacedc24f9ca8632a5c6.tar.bz2 libvpx-a6bff83a603affa2799bbacedc24f9ca8632a5c6.zip |
vp9-rtc: Fix to interp_filter for segment skip
For segment skip feature: allow for setting the
mi->interp_filter to BILINEAR, if cm->interp_filter
is set BILIENAR. This can happen at speed 9 when the
segment skip feature is used (e.g., active_maps)
Without this fix the assert can be triggered with the
active_map_test.cc for speed 9 included.
Updated the test.
Fixes the assert triggered in the issue:
Bug: webm:1762
Change-Id: I462e0bdd966e4f3cb5b7bc746685916ac8808358
Diffstat (limited to 'test/active_map_test.cc')
-rw-r--r-- | test/active_map_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/active_map_test.cc b/test/active_map_test.cc index 9c55f9a8b..7f41009e0 100644 --- a/test/active_map_test.cc +++ b/test/active_map_test.cc @@ -37,6 +37,7 @@ class ActiveMapTest ::libvpx_test::Encoder *encoder) { if (video->frame() == 0) { encoder->Control(VP8E_SET_CPUUSED, cpu_used_); + encoder->Control(VP9E_SET_AQ_MODE, 3); } else if (video->frame() == 3) { vpx_active_map_t map = vpx_active_map_t(); /* clang-format off */ @@ -87,5 +88,5 @@ TEST_P(ActiveMapTest, Test) { VP9_INSTANTIATE_TEST_SUITE(ActiveMapTest, ::testing::Values(::libvpx_test::kRealTime), - ::testing::Range(0, 9)); + ::testing::Range(0, 10)); } // namespace |