[][src]Struct mmal_sys::MMAL_ES_FORMAT_T

#[repr(C)]
pub struct MMAL_ES_FORMAT_T {
    pub type_: MMAL_ES_TYPE_T,
    pub encoding: MMAL_FOURCC_T,
    pub encoding_variant: MMAL_FOURCC_T,
    pub es: *mut MMAL_ES_SPECIFIC_FORMAT_T,
    pub bitrate: u32,
    pub flags: u32,
    pub extradata_size: u32,
    pub extradata: *mut u8,
}

Definition of an elementary stream format

Fields

type_: MMAL_ES_TYPE_T

< Type of the elementary stream

encoding: MMAL_FOURCC_T

< FourCC specifying the encoding of the elementary stream. See the \ref MmalEncodings "pre-defined encodings" for some examples.

encoding_variant: MMAL_FOURCC_T

< FourCC specifying the specific encoding variant of the elementary stream. See the \ref MmalEncodingVariants "pre-defined encoding variants" for some examples.

es: *mut MMAL_ES_SPECIFIC_FORMAT_T

< Type specific information for the elementary stream

bitrate: u32

< Bitrate in bits per second

flags: u32

< Flags describing properties of the elementary stream. See \ref elementarystreamflags "Elementary stream flags".

extradata_size: u32

< Size of the codec specific data

extradata: *mut u8

< Codec specific data

Trait Implementations

impl Clone for MMAL_ES_FORMAT_T[src]

impl Copy for MMAL_ES_FORMAT_T[src]

impl Debug for MMAL_ES_FORMAT_T[src]

Auto Trait Implementations

impl !Send for MMAL_ES_FORMAT_T

impl Unpin for MMAL_ES_FORMAT_T

impl !Sync for MMAL_ES_FORMAT_T

impl UnwindSafe for MMAL_ES_FORMAT_T

impl RefUnwindSafe for MMAL_ES_FORMAT_T

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]