]> granicus.if.org Git - libvpx/commitdiff
Add doxygen for vpx_rc_funcs_t
authorAngie Chiang <angiebird@google.com>
Tue, 17 Nov 2020 22:37:20 +0000 (14:37 -0800)
committerAngie Chiang <angiebird@google.com>
Wed, 18 Nov 2020 00:50:35 +0000 (16:50 -0800)
Change-Id: If75215d574fe0b075add50154a9eece5d387741a

vpx/vpx_ext_ratectrl.h

index bc0ed9819108d7326762488d7554bc9c2737f91a..8aee4f4d8297fe6004e2cc9bb13ba3e66d3f73ed 100644 (file)
@@ -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