#[repr(C)]
pub struct AVCodecParameters {
Show 33 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, pub framerate: AVRational, pub coded_side_data: *mut AVPacketSideData, pub nb_coded_side_data: c_int,
}

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§framerate: AVRational§coded_side_data: *mut AVPacketSideData§nb_coded_side_data: c_int

Trait Implementations§

source§

impl Clone for AVCodecParameters

source§

fn clone(&self) -> AVCodecParameters

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 Copy for AVCodecParameters

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.