summaryrefslogtreecommitdiff
path: root/vpx
diff options
context:
space:
mode:
authorAlex Converse <aconverse@google.com>2015-03-20 14:55:43 -0700
committerAlex Converse <aconverse@google.com>2015-03-24 11:19:47 -0700
commit4dcb839607efdcff4be3936bc07ab557bc59b7ea (patch)
tree5197fadc9073a3d48945259dfca78ce6c28f4b3c /vpx
parenta1e20ec58f3b562af536be80f8dd061878cbaffd (diff)
downloadlibvpx-4dcb839607efdcff4be3936bc07ab557bc59b7ea.tar
libvpx-4dcb839607efdcff4be3936bc07ab557bc59b7ea.tar.gz
libvpx-4dcb839607efdcff4be3936bc07ab557bc59b7ea.tar.bz2
libvpx-4dcb839607efdcff4be3936bc07ab557bc59b7ea.zip
VP9E_GET_ACTIVE_MAP API function.
This is useful when aq mode 3 (cyclic refresh) reactivates segments for refresh. Change-Id: I3ad1d9410b899ede393d82bb8db14e2da4d84eca
Diffstat (limited to 'vpx')
-rw-r--r--vpx/vp8cx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h
index 60b588f0e..0e8adc134 100644
--- a/vpx/vp8cx.h
+++ b/vpx/vp8cx.h
@@ -508,6 +508,12 @@ enum vp8e_enc_control_id {
* Supported in codecs: VP9
*/
VP9E_SET_COLOR_SPACE,
+
+ /*!\brief Codec control function to get an Active map back from the encoder.
+ *
+ * Supported in codecs: VP9
+ */
+ VP9E_GET_ACTIVEMAP,
};
/*!\brief vpx 1-D scaling mode
@@ -691,6 +697,8 @@ VPX_CTRL_USE_TYPE(VP9E_SET_NOISE_SENSITIVITY, unsigned int)
VPX_CTRL_USE_TYPE(VP9E_SET_TUNE_CONTENT, int) /* vp9e_tune_content */
VPX_CTRL_USE_TYPE(VP9E_SET_COLOR_SPACE, int)
+
+VPX_CTRL_USE_TYPE(VP9E_GET_ACTIVEMAP, vpx_active_map_t *)
/*! @} - end defgroup vp8_encoder */
#ifdef __cplusplus
} // extern "C"