Struct vpx_sys::vpx_codec_enc_cfg
source · #[repr(C)]pub struct vpx_codec_enc_cfg {Show 45 fields
pub g_usage: c_uint,
pub g_threads: c_uint,
pub g_profile: c_uint,
pub g_w: c_uint,
pub g_h: c_uint,
pub g_bit_depth: vpx_bit_depth_t,
pub g_input_bit_depth: c_uint,
pub g_timebase: vpx_rational,
pub g_error_resilient: vpx_codec_er_flags_t,
pub g_pass: vpx_enc_pass,
pub g_lag_in_frames: c_uint,
pub rc_dropframe_thresh: c_uint,
pub rc_resize_allowed: c_uint,
pub rc_scaled_width: c_uint,
pub rc_scaled_height: c_uint,
pub rc_resize_up_thresh: c_uint,
pub rc_resize_down_thresh: c_uint,
pub rc_end_usage: vpx_rc_mode,
pub rc_twopass_stats_in: vpx_fixed_buf_t,
pub rc_firstpass_mb_stats_in: vpx_fixed_buf_t,
pub rc_target_bitrate: c_uint,
pub rc_min_quantizer: c_uint,
pub rc_max_quantizer: c_uint,
pub rc_undershoot_pct: c_uint,
pub rc_overshoot_pct: c_uint,
pub rc_buf_sz: c_uint,
pub rc_buf_initial_sz: c_uint,
pub rc_buf_optimal_sz: c_uint,
pub rc_2pass_vbr_bias_pct: c_uint,
pub rc_2pass_vbr_minsection_pct: c_uint,
pub rc_2pass_vbr_maxsection_pct: c_uint,
pub rc_2pass_vbr_corpus_complexity: c_uint,
pub kf_mode: vpx_kf_mode,
pub kf_min_dist: c_uint,
pub kf_max_dist: c_uint,
pub ss_number_layers: c_uint,
pub ss_enable_auto_alt_ref: [c_int; 5],
pub ss_target_bitrate: [c_uint; 5],
pub ts_number_layers: c_uint,
pub ts_target_bitrate: [c_uint; 5],
pub ts_rate_decimator: [c_uint; 5],
pub ts_periodicity: c_uint,
pub ts_layer_id: [c_uint; 16],
pub layer_target_bitrate: [c_uint; 12],
pub temporal_layering_mode: c_int,
}Fields§
§g_usage: c_uint§g_threads: c_uint§g_profile: c_uint§g_w: c_uint§g_h: c_uint§g_bit_depth: vpx_bit_depth_t§g_input_bit_depth: c_uint§g_timebase: vpx_rational§g_error_resilient: vpx_codec_er_flags_t§g_pass: vpx_enc_pass§g_lag_in_frames: c_uint§rc_dropframe_thresh: c_uint§rc_resize_allowed: c_uint§rc_scaled_width: c_uint§rc_scaled_height: c_uint§rc_resize_up_thresh: c_uint§rc_resize_down_thresh: c_uint§rc_end_usage: vpx_rc_mode§rc_twopass_stats_in: vpx_fixed_buf_t§rc_firstpass_mb_stats_in: vpx_fixed_buf_t§rc_target_bitrate: c_uint§rc_min_quantizer: c_uint§rc_max_quantizer: c_uint§rc_undershoot_pct: c_uint§rc_overshoot_pct: c_uint§rc_buf_sz: c_uint§rc_buf_initial_sz: c_uint§rc_buf_optimal_sz: c_uint§rc_2pass_vbr_bias_pct: c_uint§rc_2pass_vbr_minsection_pct: c_uint§rc_2pass_vbr_maxsection_pct: c_uint§rc_2pass_vbr_corpus_complexity: c_uint§kf_mode: vpx_kf_mode§kf_min_dist: c_uint§kf_max_dist: c_uint§ss_number_layers: c_uint§ss_enable_auto_alt_ref: [c_int; 5]§ss_target_bitrate: [c_uint; 5]§ts_number_layers: c_uint§ts_target_bitrate: [c_uint; 5]§ts_rate_decimator: [c_uint; 5]§ts_periodicity: c_uint§ts_layer_id: [c_uint; 16]§layer_target_bitrate: [c_uint; 12]§temporal_layering_mode: c_intTrait Implementations§
source§impl Clone for vpx_codec_enc_cfg
impl Clone for vpx_codec_enc_cfg
source§fn clone(&self) -> vpx_codec_enc_cfg
fn clone(&self) -> vpx_codec_enc_cfg
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more