ref: 2d0f3b23a908bb54dbeddf6d1dcc666600470e2e
parent: c36a4d8d8ea1489f229942bcdd004aba14a459fe
parent: 8c1c7471f88978a21db872fa866ed0228a3e1fe2
author: James Zern <jzern@google.com>
date: Fri May 8 17:56:25 EDT 2020
Merge "vpx_dec_fuzzer: add coverage for VP9D_SET_LOOP_FILTER_OPT"
--- a/examples/vpx_dec_fuzzer.cc
+++ b/examples/vpx_dec_fuzzer.cc
@@ -94,6 +94,13 @@
return 0;
}
+ if (threads > 1) {
+ const int enable = (data[IVF_FILE_HDR_SZ] & 0xa0) != 0;
+ const vpx_codec_err_t err =
+ vpx_codec_control(&codec, VP9D_SET_LOOP_FILTER_OPT, enable);
+ static_cast<void>(err);
+ }
+
data += IVF_FILE_HDR_SZ;
size -= IVF_FILE_HDR_SZ;