shithub: libvpx

Download patch

ref: 4c3d05f13e0fce53d0622c75c1cce13edfdb4a7c
parent: 16154dae714c3e88bfa17c25d5d6ad8198fac63a
parent: 8b8b15e086dae3ff99c6096c5c6b6b85eb2d017a
author: Jerome Jiang <jianj@google.com>
date: Tue Oct 27 18:33:20 EDT 2020

Merge "Add cmd line option to control loopfilter for vpxenc"

--- a/vpxenc.c
+++ b/vpxenc.c
@@ -465,6 +465,13 @@
 static const arg_def_t row_mt =
     ARG_DEF(NULL, "row-mt", 1,
             "Enable row based non-deterministic multi-threading in VP9");
+
+static const arg_def_t disable_loopfilter =
+    ARG_DEF(NULL, "disable-loopfilter", 1,
+            "Control Loopfilter in VP9\n"
+            "0: Loopfilter on for all frames (default)\n"
+            "1: Loopfilter off for non reference frames\n"
+            "2: Loopfilter off for all frames");
 #endif
 
 #if CONFIG_VP9_ENCODER
@@ -495,6 +502,7 @@
                                        &max_gf_interval,
                                        &target_level,
                                        &row_mt,
+                                       &disable_loopfilter,
 #if CONFIG_VP9_HIGHBITDEPTH
                                        &bitdeptharg,
                                        &inbitdeptharg,
@@ -527,6 +535,7 @@
                                         VP9E_SET_MAX_GF_INTERVAL,
                                         VP9E_SET_TARGET_LEVEL,
                                         VP9E_SET_ROW_MT,
+                                        VP9E_SET_DISABLE_LOOPFILTER,
                                         0 };
 #endif