[][src]Struct stainless_ffmpeg_sys::AVBitStreamFilter

#[repr(C)]pub struct AVBitStreamFilter {
    pub name: *const c_char,
    pub codec_ids: *const AVCodecID,
    pub priv_class: *const AVClass,
    pub priv_data_size: c_int,
    pub init: Option<unsafe extern "C" fn(ctx: *mut AVBSFContext) -> c_int>,
    pub filter: Option<unsafe extern "C" fn(ctx: *mut AVBSFContext, pkt: *mut AVPacket) -> c_int>,
    pub close: Option<unsafe extern "C" fn(ctx: *mut AVBSFContext)>,
    pub flush: Option<unsafe extern "C" fn(ctx: *mut AVBSFContext)>,
}

Fields

name: *const c_charcodec_ids: *const AVCodecID

A list of codec ids supported by the filter, terminated by AV_CODEC_ID_NONE. May be NULL, in that case the bitstream filter works with any codec id.

priv_class: *const AVClass

A class for the private data, used to declare bitstream filter private AVOptions. This field is NULL for bitstream filters that do not declare any options.

If this field is non-NULL, the first member of the filter private data must be a pointer to AVClass, which will be set by libavcodec generic code to this class.

priv_data_size: c_int

No fields below this line are part of the public API. They may not be used outside of libavcodec and can be changed and removed at will. New public fields should be added right above.

init: Option<unsafe extern "C" fn(ctx: *mut AVBSFContext) -> c_int>filter: Option<unsafe extern "C" fn(ctx: *mut AVBSFContext, pkt: *mut AVPacket) -> c_int>close: Option<unsafe extern "C" fn(ctx: *mut AVBSFContext)>flush: Option<unsafe extern "C" fn(ctx: *mut AVBSFContext)>

Trait Implementations

impl Clone for AVBitStreamFilter[src]

impl Copy for AVBitStreamFilter[src]

impl Debug for AVBitStreamFilter[src]

impl Eq for AVBitStreamFilter[src]

impl PartialEq<AVBitStreamFilter> for AVBitStreamFilter[src]

impl StructuralEq for AVBitStreamFilter[src]

impl StructuralPartialEq for AVBitStreamFilter[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.