vp9-rtc: Fix to interp_filter for segment skip
authorMarco Paniconi <marpan@google.com>
Thu, 12 May 2022 18:18:19 +0000 (11:18 -0700)
committerMarco Paniconi <marpan@google.com>
Fri, 13 May 2022 01:28:08 +0000 (18:28 -0700)
commita6bff83a603affa2799bbacedc24f9ca8632a5c6
tree97d63b12b6a1b341c6ecc57ed5f7572d7ded24fc
parente8579cc3d4302214805bb28fbc27b771b1047325
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
test/active_map_test.cc
vp9/encoder/vp9_encodeframe.c