Struct av_data::params::CodecParams
source · [−]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,
}Expand description
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: usizeCodec bit-rate.
convergence_window: usizeNumber of samples the decoder must process before outputting valid data.
delay: usizeNumber of samples the codec needs to process before returning data.
Trait Implementations
sourceimpl Clone for CodecParams
impl Clone for CodecParams
sourcefn clone(&self) -> CodecParams
fn clone(&self) -> CodecParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CodecParams
impl Debug for CodecParams
sourceimpl PartialEq<CodecParams> for CodecParams
impl PartialEq<CodecParams> for CodecParams
sourcefn eq(&self, other: &CodecParams) -> bool
fn eq(&self, other: &CodecParams) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Eq for CodecParams
impl StructuralEq for CodecParams
impl StructuralPartialEq for CodecParams
Auto Trait Implementations
impl RefUnwindSafe for CodecParams
impl Send for CodecParams
impl Sync for CodecParams
impl Unpin for CodecParams
impl UnwindSafe for CodecParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more