Commit 28f54515 authored by Timothy B. Terriberry's avatar Timothy B. Terriberry
Browse files

Fix trailing commas in enums.

These are warnings in most builds, but show up as compile errors on
 some platforms when these headers are included from C++ code.

Change-Id: I6c523b4dbbc699075fe73830442b51922e5a61d5
parent 414b5eae
...@@ -60,14 +60,14 @@ extern "C" ...@@ -60,14 +60,14 @@ extern "C"
MODE_BESTQUALITY = 0x2, MODE_BESTQUALITY = 0x2,
MODE_FIRSTPASS = 0x3, MODE_FIRSTPASS = 0x3,
MODE_SECONDPASS = 0x4, MODE_SECONDPASS = 0x4,
MODE_SECONDPASS_BEST = 0x5, MODE_SECONDPASS_BEST = 0x5
} MODE; } MODE;
typedef enum typedef enum
{ {
FRAMEFLAGS_KEY = 1, FRAMEFLAGS_KEY = 1,
FRAMEFLAGS_GOLDEN = 2, FRAMEFLAGS_GOLDEN = 2,
FRAMEFLAGS_ALTREF = 4, FRAMEFLAGS_ALTREF = 4
} FRAMETYPE_FLAGS; } FRAMETYPE_FLAGS;
......
...@@ -164,7 +164,7 @@ typedef enum ...@@ -164,7 +164,7 @@ typedef enum
THR_SPLIT2 = 17, THR_SPLIT2 = 17,
THR_SPLIT3 = 18, THR_SPLIT3 = 18,
THR_B_PRED = 19, THR_B_PRED = 19
} }
THR_MODES; THR_MODES;
......
...@@ -46,7 +46,7 @@ enum vp8_com_control_id ...@@ -46,7 +46,7 @@ enum vp8_com_control_id
VP8_SET_DBG_COLOR_B_MODES = 6, /**< set which blocks 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_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, VP8_DECODER_CTRL_ID_START = 256
}; };
/*!\brief post process flags /*!\brief post process flags
...@@ -63,7 +63,7 @@ enum vp8_postproc_level ...@@ -63,7 +63,7 @@ enum vp8_postproc_level
VP8_DEBUG_TXT_MBLK_MODES = 1<<4, /**< print macro block modes over each macro block */ VP8_DEBUG_TXT_MBLK_MODES = 1<<4, /**< print macro block modes over each macro block */
VP8_DEBUG_TXT_DC_DIFF = 1<<5, /**< print dc diff for each macro block */ VP8_DEBUG_TXT_DC_DIFF = 1<<5, /**< print dc diff for each macro block */
VP8_DEBUG_TXT_RATE_INFO = 1<<6, /**< print video rate info (encoder only) */ VP8_DEBUG_TXT_RATE_INFO = 1<<6, /**< print video rate info (encoder only) */
VP8_MFQE = 1<<10, VP8_MFQE = 1<<10
}; };
/*!\brief post process flags /*!\brief post process flags
......
...@@ -177,7 +177,7 @@ enum vp8e_enc_control_id ...@@ -177,7 +177,7 @@ enum vp8e_enc_control_id
* to a keyframe, set this to 450. * to a keyframe, set this to 450.
* *
*/ */
VP8E_SET_MAX_INTRA_BITRATE_PCT, VP8E_SET_MAX_INTRA_BITRATE_PCT
}; };
/*!\brief vpx 1-D scaling mode /*!\brief vpx 1-D scaling mode
...@@ -258,7 +258,7 @@ typedef enum ...@@ -258,7 +258,7 @@ typedef enum
VP8_ONE_TOKENPARTITION = 0, VP8_ONE_TOKENPARTITION = 0,
VP8_TWO_TOKENPARTITION = 1, VP8_TWO_TOKENPARTITION = 1,
VP8_FOUR_TOKENPARTITION = 2, VP8_FOUR_TOKENPARTITION = 2,
VP8_EIGHT_TOKENPARTITION = 3, VP8_EIGHT_TOKENPARTITION = 3
} vp8e_token_partitions; } vp8e_token_partitions;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment