summaryrefslogtreecommitdiff
path: root/vpx
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2021-07-02 11:28:48 -0700
committerJerome Jiang <jianj@google.com>2021-07-02 11:33:04 -0700
commitc64022fa3c3019da117fbafbe80535a9ffbd8163 (patch)
tree665d8ac4cbe5b00c832861736e6cab0355272f0c /vpx
parent40e7b4a5bec4c2f1f482b3db72cbaad22bac901f (diff)
downloadlibvpx-c64022fa3c3019da117fbafbe80535a9ffbd8163.tar.gz
Add codec control to get loopfilter level
Change-Id: I70d417da900082160e7ba53315af98eceede257c
Diffstat (limited to 'vpx')
-rw-r--r--vpx/vp8cx.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h
index 37ad07d33..a5dd324b7 100644
--- a/vpx/vp8cx.h
+++ b/vpx/vp8cx.h
@@ -712,6 +712,12 @@ enum vp8e_enc_control_id {
* Supported in codecs: VP9
*/
VP9E_SET_EXTERNAL_RATE_CONTROL,
+
+ /*!\brief Codec control function to get loopfilter level in the encoder.
+ *
+ * Supported in codecs: VP9
+ */
+ VP9E_GET_LOOPFILTER_LEVEL,
};
/*!\brief vpx 1-D scaling mode
@@ -1037,6 +1043,9 @@ VPX_CTRL_USE_TYPE(VP9E_SET_ROW_MT, unsigned int)
VPX_CTRL_USE_TYPE(VP9E_GET_LEVEL, int *)
#define VPX_CTRL_VP9E_GET_LEVEL
+VPX_CTRL_USE_TYPE(VP9E_GET_LOOPFILTER_LEVEL, int *)
+#define VPX_CTRL_VP9E_GET_LOOPFILTER_LEVEL
+
VPX_CTRL_USE_TYPE(VP9E_ENABLE_MOTION_VECTOR_UNIT_TEST, unsigned int)
#define VPX_CTRL_VP9E_ENABLE_MOTION_VECTOR_UNIT_TEST