[][src]Struct av_data::params::CodecParams

pub struct CodecParams {
    pub kind: Option<MediaKind>,
    pub codec_id: Option<String>,
    pub extradata: Option<Vec<u8>>,
    pub bit_rate: usize,
    pub convergence_window: usize,
    pub delay: usize,
}

Possible codec parameters.

Fields

kind: Option<MediaKind>

Stream information type.

codec_id: Option<String>

Codec id.

extradata: Option<Vec<u8>>

Codec additional data.

bit_rate: usize

Codec bit-rate.

convergence_window: usize

Number of samples the decoder must process before outputting valid data.

delay: usize

Number of samples the codec needs to process before returning data.

Trait Implementations

impl Clone for CodecParams[src]

impl Debug for CodecParams[src]

impl PartialEq<CodecParams> for CodecParams[src]

impl StructuralPartialEq for CodecParams[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.