#[repr(C)]pub struct AVInputFormat {
pub name: *const c_char,
pub long_name: *const c_char,
pub flags: c_int,
pub extensions: *const c_char,
pub codec_tag: *const *const AVCodecTag,
pub priv_class: *const AVClass,
pub mime_type: *const c_char,
}Expand description
@addtogroup lavf_decoding @{
Fields§
§name: *const c_charA comma separated list of short names for the format. New names may be appended with a minor bump.
long_name: *const c_charDescriptive name for the format, meant to be more human-readable than name. You should use the NULL_IF_CONFIG_SMALL() macro to define it.
flags: c_intCan use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_SHOW_IDS, AVFMT_NOTIMESTAMPS, AVFMT_GENERIC_INDEX, AVFMT_TS_DISCONT, AVFMT_NOBINSEARCH, AVFMT_NOGENSEARCH, AVFMT_NO_BYTE_SEEK, AVFMT_SEEK_TO_PTS.
extensions: *const c_charIf extensions are defined, then no probe is done. You should usually not use extension format guessing because it is not reliable enough
codec_tag: *const *const AVCodecTag§priv_class: *const AVClass< AVClass for the private context
mime_type: *const c_charComma-separated list of mime types. It is used check for matching mime types while probing. @see av_probe_input_format2
Trait Implementations§
Source§impl Clone for AVInputFormat
impl Clone for AVInputFormat
Source§fn clone(&self) -> AVInputFormat
fn clone(&self) -> AVInputFormat
Returns a duplicate 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 AVInputFormat
impl Debug for AVInputFormat
Source§impl Default for AVInputFormat
impl Default for AVInputFormat
Source§impl Hash for AVInputFormat
impl Hash for AVInputFormat
Source§impl Ord for AVInputFormat
impl Ord for AVInputFormat
Source§fn cmp(&self, other: &AVInputFormat) -> Ordering
fn cmp(&self, other: &AVInputFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AVInputFormat
impl PartialEq for AVInputFormat
Source§impl PartialOrd for AVInputFormat
impl PartialOrd for AVInputFormat
impl Copy for AVInputFormat
impl Eq for AVInputFormat
impl StructuralPartialEq for AVInputFormat
Auto Trait Implementations§
impl Freeze for AVInputFormat
impl RefUnwindSafe for AVInputFormat
impl !Send for AVInputFormat
impl !Sync for AVInputFormat
impl Unpin for AVInputFormat
impl UnwindSafe for AVInputFormat
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