summaryrefslogtreecommitdiff
path: root/vpx/vpx_ext_ratectrl.h
diff options
context:
space:
mode:
authorAngie Chiang <angiebird@google.com>2020-11-17 14:37:20 -0800
committerAngie Chiang <angiebird@google.com>2020-11-17 16:50:35 -0800
commit275c2769933d599ae74002610563fe11321668bc (patch)
tree82735c0bf3bfac9e05370e35ea0e4195be4aa9e8 /vpx/vpx_ext_ratectrl.h
parenta7731ba488202ea62adfedf3fb49477cafe80b88 (diff)
downloadlibvpx-275c2769933d599ae74002610563fe11321668bc.tar
libvpx-275c2769933d599ae74002610563fe11321668bc.tar.gz
libvpx-275c2769933d599ae74002610563fe11321668bc.tar.bz2
libvpx-275c2769933d599ae74002610563fe11321668bc.zip
Add doxygen for vpx_rc_funcs_t
Change-Id: If75215d574fe0b075add50154a9eece5d387741a
Diffstat (limited to 'vpx/vpx_ext_ratectrl.h')
-rw-r--r--vpx/vpx_ext_ratectrl.h32
1 files changed, 24 insertions, 8 deletions
diff --git a/vpx/vpx_ext_ratectrl.h b/vpx/vpx_ext_ratectrl.h
index bc0ed9819..8aee4f4d8 100644
--- a/vpx/vpx_ext_ratectrl.h
+++ b/vpx/vpx_ext_ratectrl.h
@@ -297,23 +297,39 @@ typedef vpx_rc_status_t (*vpx_rc_update_encodeframe_result_cb_fn_t)(
typedef vpx_rc_status_t (*vpx_rc_delete_model_cb_fn_t)(
vpx_rc_model_t rate_ctrl_model);
-/*!\cond
- TODO(angiebird): document these structures and fields to clear doxygen
- warnings.*/
-
+/*!\brief Callback function set for external rate control.
+ *
+ * The user can enable external rate control by registering
+ * a set of callback functions with the codec control flag
+ * VP9E_SET_EXTERNAL_RATE_CONTROL.
+ */
typedef struct vpx_rc_funcs {
+ /*!
+ * Create an external rate control model.
+ */
vpx_rc_create_model_cb_fn_t create_model;
+ /*!
+ * Send first pass stats to the external rate control model.
+ */
vpx_rc_send_firstpass_stats_cb_fn_t send_firstpass_stats;
+ /*!
+ * Get encodeframe decision from the external rate control model.
+ */
vpx_rc_get_encodeframe_decision_cb_fn_t get_encodeframe_decision;
+ /*!
+ * Update encodeframe result to the external rate control model.
+ */
vpx_rc_update_encodeframe_result_cb_fn_t update_encodeframe_result;
+ /*!
+ * Delete the external rate control model.
+ */
vpx_rc_delete_model_cb_fn_t delete_model;
+ /*!
+ * Private data for the external rate control model.
+ */
void *priv;
} vpx_rc_funcs_t;
-/*!\endcond
- TODO(angiebird): document these structures and fields to clear doxygen
- warnings.*/
-
#ifdef __cplusplus
} // extern "C"
#endif