Struct AVFormatInternal

Source
#[repr(C)]
pub struct AVFormatInternal {
Show 19 fields pub nb_interleaved_streams: c_int, pub packet_buffer: *mut AVPacketList, pub packet_buffer_end: *mut AVPacketList, pub data_offset: i64, pub raw_packet_buffer: *mut AVPacketList, pub raw_packet_buffer_end: *mut AVPacketList, pub parse_queue: *mut AVPacketList, pub parse_queue_end: *mut AVPacketList, pub raw_packet_buffer_remaining_size: c_int, pub offset: i64, pub offset_timebase: AVRational, pub missing_ts_warning: c_int, pub inject_global_side_data: c_int, pub avoid_negative_ts_use_pts: c_int, pub shortest_end: i64, pub initialized: c_int, pub streams_initialized: c_int, pub id3v2_meta: *mut AVDictionary, pub prefer_codec_framerate: c_int,
}

Fields§

§nb_interleaved_streams: c_int

Number of streams relevant for interleaving. Muxing only.

§packet_buffer: *mut AVPacketList

This buffer is only needed when packets were already buffered but not decoded, for example to get the codec parameters in MPEG streams.

§packet_buffer_end: *mut AVPacketList§data_offset: i64

< offset of the first packet

§raw_packet_buffer: *mut AVPacketList

Raw packets from the demuxer, prior to parsing and decoding. This buffer is used for buffering packets until the codec can be identified, as parsing cannot be done without knowing the codec.

§raw_packet_buffer_end: *mut AVPacketList§parse_queue: *mut AVPacketList

Packets split by the parser get queued here.

§parse_queue_end: *mut AVPacketList§raw_packet_buffer_remaining_size: c_int§offset: i64

Offset to remap timestamps to be non-negative. Expressed in timebase units. @see AVStream.mux_ts_offset

§offset_timebase: AVRational

Timebase for the timestamp offset.

§missing_ts_warning: c_int§inject_global_side_data: c_int§avoid_negative_ts_use_pts: c_int§shortest_end: i64

Timestamp of the end of the shortest stream.

§initialized: c_int

Whether or not avformat_init_output has already been called

§streams_initialized: c_int

Whether or not avformat_init_output fully initialized streams

§id3v2_meta: *mut AVDictionary

ID3v2 tag useful for MP3 demuxing

§prefer_codec_framerate: c_int

Trait Implementations§

Source§

impl Clone for AVFormatInternal

Source§

fn clone(&self) -> AVFormatInternal

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 AVFormatInternal

Source§

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

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

impl Copy for AVFormatInternal

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§

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

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

Source§

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

Source§

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

Source§

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.