Struct libav_ng::low_level::AVCodecParameters

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

Fields§

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

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

source§

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

Formats the value using the given formatter. 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> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

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

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.