]> granicus.if.org Git - libvpx/commitdiff
cosmetic: clean up comments for new vp8dx controls
authorJohn Koleszar <jkoleszar@google.com>
Fri, 4 Mar 2011 13:51:39 +0000 (08:51 -0500)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 4 Mar 2011 13:51:39 +0000 (08:51 -0500)
Rename the common control id enum vp8_{dec,com}_control_id,
move VP8_DECODER_CTRL_ID_START to common, wrap long lines.

Change-Id: I659abc62f10aa389d496f7f43950775db0ef2f9f

vpx/vp8.h
vpx/vp8dx.h

index 430f909116647af10daeb13c131da3bd4a2486d0..7ca5c6e0747fbe30f4917a71e43e32ce6749f0b0 100644 (file)
--- a/vpx/vp8.h
+++ b/vpx/vp8.h
@@ -36,7 +36,7 @@
  *
  * The set of macros define the control functions of VP8 interface
  */
-enum vp8_dec_control_id
+enum vp8_com_control_id
 {
     VP8_SET_REFERENCE           = 1,    /**< pass in an external frame into decoder to be used as reference frame */
     VP8_COPY_REFERENCE          = 2,    /**< get a copy of reference frame from the decoder */
@@ -45,7 +45,8 @@ enum vp8_dec_control_id
     VP8_SET_DBG_COLOR_MB_MODES  = 5,    /**< set which macro block modes to color */
     VP8_SET_DBG_COLOR_B_MODES   = 6,    /**< set which blocks modes to color */
     VP8_SET_DBG_DISPLAY_MV      = 7,    /**< set which motion vector modes to draw */
-    VP8_COMMON_CTRL_ID_MAX
+    VP8_COMMON_CTRL_ID_MAX,
+    VP8_DECODER_CTRL_ID_START   = 256,
 };
 
 /*!\brief post process flags
index 1a81a81f4a646cfc71243de4c4111889238952d1..4a3aef7609306b2cdf7320118f53e4e24e349937 100644 (file)
@@ -45,19 +45,23 @@ extern vpx_codec_iface_t* vpx_codec_vp8_dx(void);
  *
  * \sa #vpx_codec_control
  */
-enum vp8d_dec_control_id
+enum vp8_dec_control_id
 {
-    VP8_DECODER_CTRL_ID_START   = 256,
-    VP8D_GET_LAST_REF_UPDATES,              /**< control function to get info on which reference frames were updated
-                                            by the last decode */
-    VP8D_GET_FRAME_CORRUPTED,               /**< check if the indicated frame is corrupted */
+    /** control function to get info on which reference frames were updated
+     *  by the last decode
+     */
+    VP8D_GET_LAST_REF_UPDATES = VP8_DECODER_CTRL_ID_START,
+
+    /** check if the indicated frame is corrupted */
+    VP8D_GET_FRAME_CORRUPTED,
+
     VP8_DECODER_CTRL_ID_MAX
 } ;
 
 
-/*!\brief VP8 encoder control function parameter type
+/*!\brief VP8 decoder control function parameter type
  *
- * Defines the data types that VP8E control functions take. Note that
+ * Defines the data types that VP8D control functions take. Note that
  * additional common controls are defined in vp8.h
  *
  */