Struct libav_ng::low_level::AVStream

source ·
#[repr(C)]
pub struct AVStream {
Show 41 fields pub index: i32, pub id: i32, pub codec: *mut AVCodecContext, pub priv_data: *mut c_void, pub time_base: AVRational, pub start_time: i64, pub duration: i64, pub nb_frames: i64, pub disposition: i32, pub discard: i32, pub sample_aspect_ratio: AVRational, pub metadata: *mut AVDictionary, pub avg_frame_rate: AVRational, pub attached_pic: AVPacket, pub side_data: *mut AVPacketSideData, pub nb_side_data: i32, pub event_flags: i32, pub r_frame_rate: AVRational, pub recommended_encoder_configuration: *mut i8, pub codecpar: *mut AVCodecParameters, pub unused: *mut c_void, pub pts_wrap_bits: i32, pub first_dts: i64, pub cur_dts: i64, pub last_IP_pts: i64, pub last_IP_duration: i32, pub probe_packets: i32, pub codec_info_nb_frames: i32, pub need_parsing: u32, pub parser: *mut AVCodecParserContext, pub unused7: *mut c_void, pub unused6: AVProbeData, pub unused5: [i64; 17], pub index_entries: *mut AVIndexEntry, pub nb_index_entries: i32, pub index_entries_allocated_size: u32, pub stream_identifier: i32, pub unused8: i32, pub unused9: i32, pub unused10: i32, pub internal: *mut AVStreamInternal,
}

Fields§

§index: i32§id: i32§codec: *mut AVCodecContext§priv_data: *mut c_void§time_base: AVRational§start_time: i64§duration: i64§nb_frames: i64§disposition: i32§discard: i32§sample_aspect_ratio: AVRational§metadata: *mut AVDictionary§avg_frame_rate: AVRational§attached_pic: AVPacket§side_data: *mut AVPacketSideData§nb_side_data: i32§event_flags: i32§r_frame_rate: AVRational§recommended_encoder_configuration: *mut i8§codecpar: *mut AVCodecParameters§unused: *mut c_void§pts_wrap_bits: i32§first_dts: i64§cur_dts: i64§last_IP_pts: i64§last_IP_duration: i32§probe_packets: i32§codec_info_nb_frames: i32§need_parsing: u32§parser: *mut AVCodecParserContext§unused7: *mut c_void§unused6: AVProbeData§unused5: [i64; 17]§index_entries: *mut AVIndexEntry§nb_index_entries: i32§index_entries_allocated_size: u32§stream_identifier: i32§unused8: i32§unused9: i32§unused10: i32§internal: *mut AVStreamInternal

Trait Implementations§

source§

impl Clone for AVStream

source§

fn clone(&self) -> AVStream

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 AVStream

source§

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

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

impl Copy for AVStream

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.