Commit e1ba9b00 by vigneshv Committed by Oliver Woodman

vp9_extension: Enable fast loop filtering

Turn on flag to enable fast loop filtering. This improves
multi-threaded decode performance by starting loop filtering early
if there are free threads available to do so.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=218239442
parent 4343dc60
Showing with 8 additions and 0 deletions
......@@ -460,6 +460,14 @@ DECODER_FUNC(jlong, vpxInit, jboolean disableLoopFilter,
if (err) {
LOGE("ERROR: Failed to shut off libvpx loop filter, error = %d.", err);
}
#ifdef VPX_CTRL_VP9_SET_LOOP_FILTER_OPT
} else {
err = vpx_codec_control(context->decoder, VP9D_SET_LOOP_FILTER_OPT, true);
if (err) {
LOGE("ERROR: Failed to enable loop filter optimization, error = %d.",
err);
}
#endif
}
if (enableBufferManager) {
err = vpx_codec_set_frame_buffer_functions(
......
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 sign in to comment