mirror_ffmpeg_sys

Struct AVFormatContext

Source
#[repr(C)]
pub struct AVFormatContext {
Show 74 fields pub av_class: *const AVClass, pub iformat: *const AVInputFormat, pub oformat: *const AVOutputFormat, pub priv_data: *mut c_void, pub pb: *mut AVIOContext, pub ctx_flags: c_int, pub nb_streams: c_uint, pub streams: *mut *mut AVStream, pub nb_stream_groups: c_uint, pub stream_groups: *mut *mut AVStreamGroup, pub nb_chapters: c_uint, pub chapters: *mut *mut AVChapter, pub url: *mut c_char, pub start_time: i64, pub duration: i64, pub bit_rate: i64, pub packet_size: c_uint, pub max_delay: c_int, pub flags: c_int, pub probesize: i64, pub max_analyze_duration: i64, pub key: *const u8, pub keylen: c_int, pub nb_programs: c_uint, pub programs: *mut *mut AVProgram, pub video_codec_id: AVCodecID, pub audio_codec_id: AVCodecID, pub subtitle_codec_id: AVCodecID, pub data_codec_id: AVCodecID, pub metadata: *mut AVDictionary, pub start_time_realtime: i64, pub fps_probe_size: c_int, pub error_recognition: c_int, pub interrupt_callback: AVIOInterruptCB, pub debug: c_int, pub max_streams: c_int, pub max_index_size: c_uint, pub max_picture_buffer: c_uint, pub max_interleave_delta: i64, pub max_ts_probe: c_int, pub max_chunk_duration: c_int, pub max_chunk_size: c_int, pub max_probe_packets: c_int, pub strict_std_compliance: c_int, pub event_flags: c_int, pub avoid_negative_ts: c_int, pub audio_preload: c_int, pub use_wallclock_as_timestamps: c_int, pub skip_estimate_duration_from_pts: c_int, pub avio_flags: c_int, pub duration_estimation_method: AVDurationEstimationMethod, pub skip_initial_bytes: i64, pub correct_ts_overflow: c_uint, pub seek2any: c_int, pub flush_packets: c_int, pub probe_score: c_int, pub format_probesize: c_int, pub codec_whitelist: *mut c_char, pub format_whitelist: *mut c_char, pub protocol_whitelist: *mut c_char, pub protocol_blacklist: *mut c_char, pub io_repositioned: c_int, pub video_codec: *const AVCodec, pub audio_codec: *const AVCodec, pub subtitle_codec: *const AVCodec, pub data_codec: *const AVCodec, pub metadata_header_padding: c_int, pub opaque: *mut c_void, pub control_message_cb: av_format_control_message, pub output_ts_offset: i64, pub dump_separator: *mut u8, pub io_open: Option<unsafe extern "C" fn(s: *mut AVFormatContext, pb: *mut *mut AVIOContext, url: *const c_char, flags: c_int, options: *mut *mut AVDictionary) -> c_int>, pub io_close2: Option<unsafe extern "C" fn(s: *mut AVFormatContext, pb: *mut AVIOContext) -> c_int>, pub duration_probesize: i64,
}

Fields§

§av_class: *const AVClass§iformat: *const AVInputFormat§oformat: *const AVOutputFormat§priv_data: *mut c_void§pb: *mut AVIOContext§ctx_flags: c_int§nb_streams: c_uint§streams: *mut *mut AVStream§nb_stream_groups: c_uint§stream_groups: *mut *mut AVStreamGroup§nb_chapters: c_uint§chapters: *mut *mut AVChapter§url: *mut c_char§start_time: i64§duration: i64§bit_rate: i64§packet_size: c_uint§max_delay: c_int§flags: c_int§probesize: i64§max_analyze_duration: i64§key: *const u8§keylen: c_int§nb_programs: c_uint§programs: *mut *mut AVProgram§video_codec_id: AVCodecID§audio_codec_id: AVCodecID§subtitle_codec_id: AVCodecID§data_codec_id: AVCodecID§metadata: *mut AVDictionary§start_time_realtime: i64§fps_probe_size: c_int§error_recognition: c_int§interrupt_callback: AVIOInterruptCB§debug: c_int§max_streams: c_int§max_index_size: c_uint§max_picture_buffer: c_uint§max_interleave_delta: i64§max_ts_probe: c_int§max_chunk_duration: c_int§max_chunk_size: c_int§max_probe_packets: c_int§strict_std_compliance: c_int§event_flags: c_int§avoid_negative_ts: c_int§audio_preload: c_int§use_wallclock_as_timestamps: c_int§skip_estimate_duration_from_pts: c_int§avio_flags: c_int§duration_estimation_method: AVDurationEstimationMethod§skip_initial_bytes: i64§correct_ts_overflow: c_uint§seek2any: c_int§flush_packets: c_int§probe_score: c_int§format_probesize: c_int§codec_whitelist: *mut c_char§format_whitelist: *mut c_char§protocol_whitelist: *mut c_char§protocol_blacklist: *mut c_char§io_repositioned: c_int§video_codec: *const AVCodec§audio_codec: *const AVCodec§subtitle_codec: *const AVCodec§data_codec: *const AVCodec§metadata_header_padding: c_int§opaque: *mut c_void§control_message_cb: av_format_control_message§output_ts_offset: i64§dump_separator: *mut u8§io_open: Option<unsafe extern "C" fn(s: *mut AVFormatContext, pb: *mut *mut AVIOContext, url: *const c_char, flags: c_int, options: *mut *mut AVDictionary) -> c_int>§io_close2: Option<unsafe extern "C" fn(s: *mut AVFormatContext, pb: *mut AVIOContext) -> c_int>§duration_probesize: i64

Trait Implementations§

Source§

impl Clone for AVFormatContext

Source§

fn clone(&self) -> AVFormatContext

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 AVFormatContext

Source§

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

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

impl PartialEq for AVFormatContext

Source§

fn eq(&self, other: &AVFormatContext) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for AVFormatContext

Source§

impl Eq for AVFormatContext

Source§

impl StructuralPartialEq for AVFormatContext

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.