int Width;
int Height;
struct vpx_rational timebase;
- unsigned int target_bandwidth; /* kilobits per second */
+ /* In either kilobits per second or bits per second, depending on which
+ * copy of oxcf this is in.
+ * - ctx->oxcf.target_bandwidth is in kilobits per second. See
+ * set_vp8e_config().
+ * - ctx->cpi->oxcf.target_bandwidth in is bits per second. See
+ * vp8_change_config().
+ */
+ unsigned int target_bandwidth;
/* Parameter used for applying denoiser.
* For temporal denoiser: noise_sensitivity = 0 means off,
/* Temporal scaling parameters */
unsigned int number_of_layers;
+ /* kilobits per second */
unsigned int target_bitrate[VPX_TS_MAX_PERIODICITY];
unsigned int rate_decimator[VPX_TS_MAX_PERIODICITY];
unsigned int periodicity;
typedef struct {
/* Layer configuration */
double framerate;
- int target_bandwidth;
+ int target_bandwidth; /* bits per second */
/* Layer specific coding parameters */
int64_t starting_buffer_level;
int kf_boost;
int last_boost;
- int target_bandwidth;
+ int target_bandwidth; /* bits per second */
struct vpx_codec_pkt_list *output_pkt_list;
#if 0