diff options
author | Jerome Jiang <jianj@google.com> | 2020-10-02 10:47:47 -0700 |
---|---|---|
committer | Jerome Jiang <jianj@google.com> | 2020-10-02 12:09:01 -0700 |
commit | 7e8ea22e4056a3da04b139fcc812a3f6937bbed7 (patch) | |
tree | afe4b9b2c9562ccfda7c4941960851823d32b577 /examples | |
parent | d017a63feba93bb4ecaee5515e466edfc51712e3 (diff) | |
download | libvpx-7e8ea22e4056a3da04b139fcc812a3f6937bbed7.tar libvpx-7e8ea22e4056a3da04b139fcc812a3f6937bbed7.tar.gz libvpx-7e8ea22e4056a3da04b139fcc812a3f6937bbed7.tar.bz2 libvpx-7e8ea22e4056a3da04b139fcc812a3f6937bbed7.zip |
Add codec control to disable loopfilter for vp9
Change-Id: I6d693e84570c353d20ec314acea43363956c0590
Diffstat (limited to 'examples')
-rw-r--r-- | examples/vp9_spatial_svc_encoder.c | 1 | ||||
-rw-r--r-- | examples/vpx_temporal_svc_encoder.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/vp9_spatial_svc_encoder.c b/examples/vp9_spatial_svc_encoder.c index 5bb5a3183..630557297 100644 --- a/examples/vp9_spatial_svc_encoder.c +++ b/examples/vp9_spatial_svc_encoder.c @@ -1054,6 +1054,7 @@ int main(int argc, const char **argv) { vpx_codec_control(&encoder, VP9E_SET_TUNE_CONTENT, app_input.tune_content); vpx_codec_control(&encoder, VP9E_SET_DISABLE_OVERSHOOT_MAXQ_CBR, 0); + vpx_codec_control(&encoder, VP9E_SET_DISABLE_LOOPFILTER, 0); svc_drop_frame.framedrop_mode = FULL_SUPERFRAME_DROP; for (sl = 0; sl < (unsigned int)svc_ctx.spatial_layers; ++sl) diff --git a/examples/vpx_temporal_svc_encoder.c b/examples/vpx_temporal_svc_encoder.c index c5a3228b1..ffeae2abc 100644 --- a/examples/vpx_temporal_svc_encoder.c +++ b/examples/vpx_temporal_svc_encoder.c @@ -841,6 +841,7 @@ int main(int argc, char **argv) { vpx_codec_control(&codec, VP8E_SET_STATIC_THRESHOLD, 1); vpx_codec_control(&codec, VP9E_SET_TUNE_CONTENT, 0); vpx_codec_control(&codec, VP9E_SET_TILE_COLUMNS, get_msb(cfg.g_threads)); + vpx_codec_control(&codec, VP9E_SET_DISABLE_LOOPFILTER, 0); #if ROI_MAP set_roi_map(encoder->name, &cfg, &roi); if (vpx_codec_control(&codec, VP9E_SET_ROI_MAP, &roi)) |