vpx_codec_enc_cfg

Struct vpx_codec_enc_cfg 

Source
#[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_t

Trait Implementations§

Source§

impl Clone for vpx_codec_enc_cfg

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for vpx_codec_enc_cfg

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for vpx_codec_enc_cfg

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for vpx_codec_enc_cfg

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.