#[repr(C)]
pub struct AVCodecParameters {
Show 30 fields pub codec_type: c_int, pub codec_id: c_uint, pub codec_tag: u32, pub extradata: *mut u8, pub extradata_size: c_int, pub format: c_int, pub bit_rate: i64, pub bits_per_coded_sample: c_int, pub bits_per_raw_sample: c_int, pub profile: c_int, pub level: c_int, pub width: c_int, pub height: c_int, pub sample_aspect_ratio: AVRational, pub field_order: c_uint, pub color_range: c_uint, pub color_primaries: c_uint, pub color_trc: c_uint, pub color_space: c_uint, pub chroma_location: c_uint, pub video_delay: c_int, pub channel_layout: u64, pub channels: c_int, pub sample_rate: c_int, pub block_align: c_int, pub frame_size: c_int, pub initial_padding: c_int, pub trailing_padding: c_int, pub seek_preroll: c_int, pub ch_layout: AVChannelLayout,
}

Fields§

§codec_type: c_int§codec_id: c_uint§codec_tag: u32§extradata: *mut u8§extradata_size: c_int§format: c_int§bit_rate: i64§bits_per_coded_sample: c_int§bits_per_raw_sample: c_int§profile: c_int§level: c_int§width: c_int§height: c_int§sample_aspect_ratio: AVRational§field_order: c_uint§color_range: c_uint§color_primaries: c_uint§color_trc: c_uint§color_space: c_uint§chroma_location: c_uint§video_delay: c_int§channel_layout: u64§channels: c_int§sample_rate: c_int§block_align: c_int§frame_size: c_int§initial_padding: c_int§trailing_padding: c_int§seek_preroll: c_int§ch_layout: AVChannelLayout

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.