#[repr(C)]pub struct vpx_codec_enc_cfg {Show 61 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,
pub use_vizier_rc_params: c_int,
pub active_wq_factor: vpx_rational_t,
pub err_per_mb_factor: vpx_rational_t,
pub sr_default_decay_limit: vpx_rational_t,
pub sr_diff_factor: vpx_rational_t,
pub kf_err_per_mb_factor: vpx_rational_t,
pub kf_frame_min_boost_factor: vpx_rational_t,
pub kf_frame_max_boost_first_factor: vpx_rational_t,
pub kf_frame_max_boost_subs_factor: vpx_rational_t,
pub kf_max_total_boost_factor: vpx_rational_t,
pub gf_max_total_boost_factor: vpx_rational_t,
pub gf_frame_max_boost_factor: vpx_rational_t,
pub zm_factor: vpx_rational_t,
pub rd_mult_inter_qp_fac: vpx_rational_t,
pub rd_mult_arf_qp_fac: vpx_rational_t,
pub rd_mult_key_qp_fac: vpx_rational_t,
}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_int§use_vizier_rc_params: c_int§active_wq_factor: vpx_rational_t§err_per_mb_factor: vpx_rational_t§sr_default_decay_limit: vpx_rational_t§sr_diff_factor: vpx_rational_t§kf_err_per_mb_factor: vpx_rational_t§kf_frame_min_boost_factor: vpx_rational_t§kf_frame_max_boost_first_factor: vpx_rational_t§kf_frame_max_boost_subs_factor: vpx_rational_t§kf_max_total_boost_factor: vpx_rational_t§gf_max_total_boost_factor: vpx_rational_t§gf_frame_max_boost_factor: vpx_rational_t§zm_factor: vpx_rational_t§rd_mult_inter_qp_fac: vpx_rational_t§rd_mult_arf_qp_fac: vpx_rational_t§rd_mult_key_qp_fac: vpx_rational_tTrait 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 duplicate 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 moreSource§impl Debug for vpx_codec_enc_cfg
impl Debug for vpx_codec_enc_cfg
Source§impl Default for vpx_codec_enc_cfg
impl Default for vpx_codec_enc_cfg
impl Copy for vpx_codec_enc_cfg
Auto Trait Implementations§
impl Freeze for vpx_codec_enc_cfg
impl RefUnwindSafe for vpx_codec_enc_cfg
impl !Send for vpx_codec_enc_cfg
impl !Sync for vpx_codec_enc_cfg
impl Unpin for vpx_codec_enc_cfg
impl UnwindSafe for vpx_codec_enc_cfg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more