#[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
impl Clone for AVFormatContext
Source§fn clone(&self) -> AVFormatContext
fn clone(&self) -> AVFormatContext
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AVFormatContext
impl Debug for AVFormatContext
Source§impl PartialEq for AVFormatContext
impl PartialEq for AVFormatContext
impl Copy for AVFormatContext
impl Eq for AVFormatContext
impl StructuralPartialEq for AVFormatContext
Auto Trait Implementations§
impl Freeze for AVFormatContext
impl RefUnwindSafe for AVFormatContext
impl !Send for AVFormatContext
impl !Sync for AVFormatContext
impl Unpin for AVFormatContext
impl UnwindSafe for AVFormatContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more