#[repr(C)]
pub struct aom_codec_enc_cfg {
Show 54 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_limit: c_uint, pub g_forced_max_frame_width: c_uint, pub g_forced_max_frame_height: c_uint, pub g_bit_depth: aom_bit_depth_t, pub g_input_bit_depth: c_uint, pub g_timebase: aom_rational, pub g_error_resilient: aom_codec_er_flags_t, pub g_pass: Type, pub g_lag_in_frames: c_uint, pub rc_dropframe_thresh: c_uint, pub rc_resize_mode: c_uint, pub rc_resize_denominator: c_uint, pub rc_resize_kf_denominator: c_uint, pub rc_superres_mode: Type, pub rc_superres_denominator: c_uint, pub rc_superres_kf_denominator: c_uint, pub rc_superres_qthresh: c_uint, pub rc_superres_kf_qthresh: c_uint, pub rc_end_usage: Type, pub rc_twopass_stats_in: aom_fixed_buf_t, pub rc_firstpass_mb_stats_in: aom_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 fwd_kf_enabled: c_int, pub kf_mode: Type, pub kf_min_dist: c_uint, pub kf_max_dist: c_uint, pub sframe_dist: c_uint, pub sframe_mode: c_uint, pub large_scale_tile: c_uint, pub monochrome: c_uint, pub full_still_picture_hdr: c_uint, pub save_as_annexb: c_uint, pub tile_width_count: c_int, pub tile_height_count: c_int, pub tile_widths: [c_int; 64], pub tile_heights: [c_int; 64], pub use_fixed_qp_offsets: c_uint, pub fixed_qp_offsets: [c_int; 5], pub encoder_cfg: cfg_options_t,
}

Fields§

§g_usage: c_uint§g_threads: c_uint§g_profile: c_uint§g_w: c_uint§g_h: c_uint§g_limit: c_uint§g_forced_max_frame_width: c_uint§g_forced_max_frame_height: c_uint§g_bit_depth: aom_bit_depth_t§g_input_bit_depth: c_uint§g_timebase: aom_rational§g_error_resilient: aom_codec_er_flags_t§g_pass: Type§g_lag_in_frames: c_uint§rc_dropframe_thresh: c_uint§rc_resize_mode: c_uint§rc_resize_denominator: c_uint§rc_resize_kf_denominator: c_uint§rc_superres_mode: Type§rc_superres_denominator: c_uint§rc_superres_kf_denominator: c_uint§rc_superres_qthresh: c_uint§rc_superres_kf_qthresh: c_uint§rc_end_usage: Type§rc_twopass_stats_in: aom_fixed_buf_t§rc_firstpass_mb_stats_in: aom_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§fwd_kf_enabled: c_int§kf_mode: Type§kf_min_dist: c_uint§kf_max_dist: c_uint§sframe_dist: c_uint§sframe_mode: c_uint§large_scale_tile: c_uint§monochrome: c_uint§full_still_picture_hdr: c_uint§save_as_annexb: c_uint§tile_width_count: c_int§tile_height_count: c_int§tile_widths: [c_int; 64]§tile_heights: [c_int; 64]§use_fixed_qp_offsets: c_uint§fixed_qp_offsets: [c_int; 5]§encoder_cfg: cfg_options_t

Trait Implementations§

source§

impl Clone for aom_codec_enc_cfg

source§

fn clone(&self) -> aom_codec_enc_cfg

Returns a copy 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 aom_codec_enc_cfg

source§

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

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

impl Copy for aom_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> 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,

§

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>,

§

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>,

§

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.