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