[−][src]Enum ffav_sys::AVCodecID
Identify the syntax and semantics of the bitstream. The principle is roughly: Two decoders with the same ID can decode the same streams. Two encoders with the same ID can encode compatible streams. There may be slight deviations from the principle due to implementation details.
If you add a codec ID to this list, add it so that
- no value of an existing codec ID changes (that would break ABI),
- it is as close as possible to similar codecs
After adding new codec IDs, do not forget to add an entry to the codec descriptor list and bump libavcodec minor version.
Variants
< preferred ID for MPEG-1/2 video decoding
< preferred ID for decoding MPEG audio layer 1, 2 or 3
< as in Berlin toast format
< raw UTF-8 text
< Contain timestamp estimated through PCR of program stream.
< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it
< FAKE codec to indicate a raw MPEG-2 TS stream (only used by libavformat)
< FAKE codec to indicate a MPEG-4 Systems stream (only used by libavformat)
< Dummy codec for streams containing only metadata information.
< Passthrough codec, AVFrames wrapped in AVPacket
Implementations
impl AVCodecID[src]
pub fn get_type(self) -> AVMediaType[src]
Get the type of the given codec.
pub fn get_name(self) -> Cow<'static, str>[src]
Get the name of the given codec.
pub fn has_gop(self) -> bool[src]
impl AVCodecID[src]
pub const AV_CODEC_ID_FIRST_AUDIO: AVCodecID[src]
impl AVCodecID[src]
pub const AV_CODEC_ID_FIRST_SUBTITLE: AVCodecID[src]
impl AVCodecID[src]
pub const AV_CODEC_ID_FIRST_UNKNOWN: AVCodecID[src]
Trait Implementations
impl Clone for AVCodecID[src]
impl Copy for AVCodecID[src]
impl Debug for AVCodecID[src]
impl Default for AVCodecID[src]
impl Eq for AVCodecID[src]
impl Hash for AVCodecID[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<AVCodecID> for AVCodecID[src]
fn eq(&self, other: &AVCodecID) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for AVCodecID[src]
impl StructuralPartialEq for AVCodecID[src]
Auto Trait Implementations
impl RefUnwindSafe for AVCodecID[src]
impl Send for AVCodecID[src]
impl Sync for AVCodecID[src]
impl Unpin for AVCodecID[src]
impl UnwindSafe for AVCodecID[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,