Bug: webm:1707
Unified · Split
| @@ -221,16 +221,18 @@ typedef struct vpx_rc_firstpass_stats { · 220 unmodified lines | ||
| 221 | 221 | int num_frames; |
| 222 | 222 | } vpx_rc_firstpass_stats_t; |
| 223 | 223 | |
| 224 | −/*!\cond | |
| 225 | − TODO(angiebird): document these structures and fields to clear doxygen | |
| 226 | − warnings.*/ | |
| 224 | +/*!\brief Encode config sent to external rate control model | |
| 225 | + */ | |
| 227 | 226 | typedef struct vpx_rc_config { |
| 228 | − int frame_width; | |
| 229 | − int frame_height; | |
| 230 | − int show_frame_count; | |
| 227 | + int frame_width; /**< frame width */ | |
| 228 | + int frame_height; /**< frame height */ | |
| 229 | + int show_frame_count; /**< number of visible frames in the video */ | |
| 230 | + /*! | |
| 231 | + * Target bitrate in kilobytes per second | |
| 232 | + */ | |
| 231 | 233 | int target_bitrate_kbps; |
| 232 | − int frame_rate_num; | |
| 233 | − int frame_rate_den; | |
| 234 | + int frame_rate_num; /**< numerator of frame rate */ | |
| 235 | + int frame_rate_den; /**< denominator of frame rate */ | |
| 234 | 236 | } vpx_rc_config_t; |
| 235 | 237 | |
| 236 | 238 | /*!\brief Create an external rate control model callback prototype |
| @@ -295,6 +297,10 @@ typedef vpx_rc_status_t (*vpx_rc_update_encodeframe_result_cb_fn_t)( · 58 unmodified lines | ||
| 295 | 297 | typedef vpx_rc_status_t (*vpx_rc_delete_model_cb_fn_t)( |
| 296 | 298 | vpx_rc_model_t rate_ctrl_model); |
| 297 | 299 | |
| 300 | +/*!\cond | |
| 301 | + TODO(angiebird): document these structures and fields to clear doxygen | |
| 302 | + warnings.*/ | |
| 303 | + | |
| 298 | 304 | typedef struct vpx_rc_funcs { |
| 299 | 305 | vpx_rc_create_model_cb_fn_t create_model; |
| 300 | 306 | vpx_rc_send_firstpass_stats_cb_fn_t send_firstpass_stats; |