Bump VPX_EXT_RATECTRL_ABI_VERSION
Fix the order of the newly added codec control
Bug: webm:384672478
Change-Id: I045c58865399ea9d74c91c1a5521215a0d2032f7
diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h
index 94516d4..4e29725 100644
--- a/vpx/vp8cx.h
+++ b/vpx/vp8cx.h
@@ -673,14 +673,6 @@
*/
VP9E_SET_TPL,
- /*!\brief Codec control function to enable key frame temporal filtering.
- *
- * Vp9 allows the encoder to run key frame temporal filtering and use it to
- * improve the compression performance. To enable, set this parameter to be
- * 1. The default value is set to be 0.
- */
- VP9E_SET_KEY_FRAME_FILTERING,
-
/*!\brief Codec control function to enable postencode frame drop.
*
* This will allow encoder to drop frame after it's encoded.
@@ -776,6 +768,14 @@
*
*/
VP9E_SET_QUANTIZER_ONE_PASS,
+
+ /*!\brief Codec control function to enable key frame temporal filtering.
+ *
+ * Vp9 allows the encoder to run key frame temporal filtering and use it to
+ * improve the compression performance. To enable, set this parameter to be
+ * 1. The default value is set to be 0.
+ */
+ VP9E_SET_KEY_FRAME_FILTERING,
};
/*!\brief vpx 1-D scaling mode
@@ -1086,8 +1086,6 @@
#define VPX_CTRL_VP9E_SET_SVC_SPATIAL_LAYER_SYNC
VPX_CTRL_USE_TYPE(VP9E_SET_TPL, int)
#define VPX_CTRL_VP9E_SET_TPL
-VPX_CTRL_USE_TYPE(VP9E_SET_KEY_FRAME_FILTERING, int)
-#define VPX_CTRL_VP9E_SET_KEY_FRAME_FILTERING
VPX_CTRL_USE_TYPE(VP9E_SET_POSTENCODE_DROP, unsigned int)
#define VPX_CTRL_VP9E_SET_POSTENCODE_DROP
VPX_CTRL_USE_TYPE(VP9E_SET_DELTA_Q_UV, int)
@@ -1108,6 +1106,8 @@
#define VPX_CTRL_VP8E_SET_RTC_EXTERNAL_RATECTRL
VPX_CTRL_USE_TYPE(VP9E_SET_QUANTIZER_ONE_PASS, int)
#define VPX_CTRL_VP9E_SET_QUANTIZER_ONE_PASS
+VPX_CTRL_USE_TYPE(VP9E_SET_KEY_FRAME_FILTERING, int)
+#define VPX_CTRL_VP9E_SET_KEY_FRAME_FILTERING
/*!\endcond */
/*! @} - end defgroup vp8_encoder */
diff --git a/vpx/vpx_ext_ratectrl.h b/vpx/vpx_ext_ratectrl.h
index 2396f87..4820d36 100644
--- a/vpx/vpx_ext_ratectrl.h
+++ b/vpx/vpx_ext_ratectrl.h
@@ -30,7 +30,7 @@
* types, removing or reassigning enums, adding/removing/rearranging
* fields to structures.
*/
-#define VPX_EXT_RATECTRL_ABI_VERSION (5 + VPX_TPL_ABI_VERSION)
+#define VPX_EXT_RATECTRL_ABI_VERSION (6 + VPX_TPL_ABI_VERSION)
/*!\brief Corresponds to MAX_STATIC_GF_GROUP_LENGTH defined in vp9_ratectrl.h
*/