History

cosmetic: clean up comments for new vp8dx controls

Rename the common control id enum vp8_{dec,com}_control_id, move VP8_DECODER_CTRL_ID_START to common, wrap long lines.

John Koleszar committed 15 years ago

Commit 4a742e51 parent 27c04aa2 files · +14 −9Browse files

Unified · Split

2 files
  1. vpx/vp8.h +3 −2
  2. vpx/vp8dx.h +11 −7
vpx/vp8.h+3−2
@@ -36,7 +36,7 @@ · 35 unmodified lines
3636 *
3737 * The set of macros define the control functions of VP8 interface
3838 */
39−enum vp8_dec_control_id
39+enum vp8_com_control_id
4040 {
4141 VP8_SET_REFERENCE = 1, /**< pass in an external frame into decoder to be used as reference frame */
4242 VP8_COPY_REFERENCE = 2, /**< get a copy of reference frame from the decoder */
@@ -45,7 +45,8 @@ enum vp8_dec_control_id · 2 unmodified lines
4545 VP8_SET_DBG_COLOR_MB_MODES = 5, /**< set which macro block modes to color */
4646 VP8_SET_DBG_COLOR_B_MODES = 6, /**< set which blocks modes to color */
4747 VP8_SET_DBG_DISPLAY_MV = 7, /**< set which motion vector modes to draw */
48− VP8_COMMON_CTRL_ID_MAX
48+ VP8_COMMON_CTRL_ID_MAX,
49+ VP8_DECODER_CTRL_ID_START = 256,
4950 };
5051
5152 /*!\brief post process flags
vpx/vp8dx.h+11−7
@@ -45,19 +45,23 @@ extern vpx_codec_iface_t* vpx_codec_vp8_dx(void); · 44 unmodified lines
4545 *
4646 * \sa #vpx_codec_control
4747 */
48−enum vp8d_dec_control_id
48+enum vp8_dec_control_id
4949 {
50− VP8_DECODER_CTRL_ID_START = 256,
51− VP8D_GET_LAST_REF_UPDATES, /**< control function to get info on which reference frames were updated
52− by the last decode */
53− VP8D_GET_FRAME_CORRUPTED, /**< check if the indicated frame is corrupted */
50+ /** control function to get info on which reference frames were updated
51+ * by the last decode
52+ */
53+ VP8D_GET_LAST_REF_UPDATES = VP8_DECODER_CTRL_ID_START,
54+
55+ /** check if the indicated frame is corrupted */
56+ VP8D_GET_FRAME_CORRUPTED,
57+
5458 VP8_DECODER_CTRL_ID_MAX
5559 } ;
5660
5761
58−/*!\brief VP8 encoder control function parameter type
62+/*!\brief VP8 decoder control function parameter type
5963 *
60− * Defines the data types that VP8E control functions take. Note that
64+ * Defines the data types that VP8D control functions take. Note that
6165 * additional common controls are defined in vp8.h
6266 *
6367 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t