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_uintg_threads: c_uintg_profile: c_uintg_w: c_uintg_h: c_uintg_bit_depth: vpx_bit_depth_tg_input_bit_depth: c_uintg_timebase: vpx_rationalg_error_resilient: vpx_codec_er_flags_tg_pass: vpx_enc_passg_lag_in_frames: c_uintrc_dropframe_thresh: c_uintrc_resize_allowed: c_uintrc_scaled_width: c_uintrc_scaled_height: c_uintrc_resize_up_thresh: c_uintrc_resize_down_thresh: c_uintrc_end_usage: vpx_rc_moderc_twopass_stats_in: vpx_fixed_buf_trc_firstpass_mb_stats_in: vpx_fixed_buf_trc_target_bitrate: c_uintrc_min_quantizer: c_uintrc_max_quantizer: c_uintrc_undershoot_pct: c_uintrc_overshoot_pct: c_uintrc_buf_sz: c_uintrc_buf_initial_sz: c_uintrc_buf_optimal_sz: c_uintrc_2pass_vbr_bias_pct: c_uintrc_2pass_vbr_minsection_pct: c_uintrc_2pass_vbr_maxsection_pct: c_uintrc_2pass_vbr_corpus_complexity: c_uintkf_mode: vpx_kf_modekf_min_dist: c_uintkf_max_dist: c_uintss_number_layers: c_uintss_enable_auto_alt_ref: [c_int; 5]ss_target_bitrate: [c_uint; 5]ts_number_layers: c_uintts_target_bitrate: [c_uint; 5]ts_rate_decimator: [c_uint; 5]ts_periodicity: c_uintts_layer_id: [c_uint; 16]layer_target_bitrate: [c_uint; 12]temporal_layering_mode: c_intTrait Implementations
sourceimpl Clone for vpx_codec_enc_cfg
impl Clone for vpx_codec_enc_cfg
sourcefn clone(&self) -> vpx_codec_enc_cfg
fn clone(&self) -> vpx_codec_enc_cfg
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for vpx_codec_enc_cfg
impl Debug for vpx_codec_enc_cfg
impl Copy for vpx_codec_enc_cfg
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more