Struct ffav_sys::AVFormatContext [−][src]
#[repr(C)]pub struct AVFormatContext {}Show fields
pub av_class: *const AVClass, pub iformat: *mut AVInputFormat, pub oformat: *mut 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 filename: [c_char; 1024], 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 max_index_size: c_uint, pub max_picture_buffer: c_uint, pub nb_chapters: c_uint, pub chapters: *mut *mut AVChapter, 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_interleave_delta: i64, pub strict_std_compliance: c_int, pub event_flags: c_int, pub max_ts_probe: c_int, pub avoid_negative_ts: c_int, pub ts_id: c_int, pub audio_preload: c_int, pub max_chunk_duration: c_int, pub max_chunk_size: c_int, pub use_wallclock_as_timestamps: 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 internal: *mut AVFormatInternal, pub io_repositioned: c_int, pub video_codec: *mut AVCodec, pub audio_codec: *mut AVCodec, pub subtitle_codec: *mut AVCodec, pub data_codec: *mut 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 data_codec_id: AVCodecID, pub open_cb: Option<unsafe extern "C" fn(s: *mut AVFormatContext, p: *mut *mut AVIOContext, url: *const c_char, flags: c_int, int_cb: *const AVIOInterruptCB, options: *mut *mut AVDictionary) -> c_int>, pub protocol_whitelist: *mut c_char, 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_close: Option<unsafe extern "C" fn(s: *mut AVFormatContext, pb: *mut AVIOContext)>, pub protocol_blacklist: *mut c_char, pub max_streams: c_int, pub skip_estimate_duration_from_pts: c_int,
Fields
av_class: *const AVClass
iformat: *mut AVInputFormat
oformat: *mut AVOutputFormat
priv_data: *mut c_void
pb: *mut AVIOContext
ctx_flags: c_int
nb_streams: c_uint
streams: *mut *mut AVStream
filename: [c_char; 1024]
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
max_index_size: c_uint
max_picture_buffer: c_uint
nb_chapters: c_uint
chapters: *mut *mut AVChapter
metadata: *mut AVDictionary
start_time_realtime: i64
fps_probe_size: c_int
error_recognition: c_int
interrupt_callback: AVIOInterruptCB
debug: c_int
max_interleave_delta: i64
strict_std_compliance: c_int
event_flags: c_int
max_ts_probe: c_int
avoid_negative_ts: c_int
ts_id: c_int
audio_preload: c_int
max_chunk_duration: c_int
max_chunk_size: c_int
use_wallclock_as_timestamps: 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
internal: *mut AVFormatInternal
io_repositioned: c_int
video_codec: *mut AVCodec
audio_codec: *mut AVCodec
subtitle_codec: *mut AVCodec
data_codec: *mut 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
data_codec_id: AVCodecID
open_cb: Option<unsafe extern "C" fn(s: *mut AVFormatContext, p: *mut *mut AVIOContext, url: *const c_char, flags: c_int, int_cb: *const AVIOInterruptCB, options: *mut *mut AVDictionary) -> c_int>
protocol_whitelist: *mut c_char
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_close: Option<unsafe extern "C" fn(s: *mut AVFormatContext, pb: *mut AVIOContext)>
protocol_blacklist: *mut c_char
max_streams: c_int
skip_estimate_duration_from_pts: c_int
Implementations
impl AVFormatContext
[src]
impl AVFormatContext
[src]pub fn pb(&self) -> Option<&AVIOContext>
[src]
pub fn pb(&self) -> Option<&AVIOContext>
[src]Returns the reference of the I/O context.
pub fn pb_mut(&self) -> Option<&mut AVIOContext>
[src]
pub fn pb_mut(&self) -> Option<&mut AVIOContext>
[src]Returns the mutable reference of the I/O context.
pub fn nb_streams(&self) -> usize
[src]
pub fn nb_streams(&self) -> usize
[src]Number of elements in AVFormatContext.streams.
pub fn streams_mut(&self) -> &[&mut AVStream]
[src]
pub fn streams_mut(&self) -> &[&mut AVStream]
[src]A list of all streams in the file.
pub fn nb_programs(&self) -> usize
[src]
pub fn nb_programs(&self) -> usize
[src]Number of elements in AVFormatContext.programs.
pub fn programs_mut(&self) -> &[&mut AVProgram]
[src]
pub fn programs_mut(&self) -> &[&mut AVProgram]
[src]A list of all programs in the file.
pub fn nb_chapters(&self) -> usize
[src]
pub fn nb_chapters(&self) -> usize
[src]Number of elements in AVFormatContext.chapters.
pub fn chapters_mut(&self) -> &[&mut AVChapter]
[src]
pub fn chapters_mut(&self) -> &[&mut AVChapter]
[src]A list of all chapters in the file.
Trait Implementations
impl Clone for AVFormatContext
[src]
impl Clone for AVFormatContext
[src]fn clone(&self) -> AVFormatContext
[src]
fn clone(&self) -> AVFormatContext
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Copy for AVFormatContext
[src]
Auto Trait Implementations
impl RefUnwindSafe for AVFormatContext
impl !Send for AVFormatContext
impl !Sync for AVFormatContext
impl Unpin for AVFormatContext
impl UnwindSafe for AVFormatContext
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more