Struct ffmpeg_sys_next::AVBitStreamFilter
source · [−]#[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 AVCodecIDA 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 AVClassA 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_intNo 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
sourceimpl Clone for AVBitStreamFilter
impl Clone for AVBitStreamFilter
sourcefn clone(&self) -> AVBitStreamFilter
fn clone(&self) -> AVBitStreamFilter
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 AVBitStreamFilter
impl Debug for AVBitStreamFilter
sourceimpl PartialEq<AVBitStreamFilter> for AVBitStreamFilter
impl PartialEq<AVBitStreamFilter> for AVBitStreamFilter
sourcefn eq(&self, other: &AVBitStreamFilter) -> bool
fn eq(&self, other: &AVBitStreamFilter) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AVBitStreamFilter) -> bool
fn ne(&self, other: &AVBitStreamFilter) -> bool
This method tests for !=.
impl Copy for AVBitStreamFilter
impl Eq for AVBitStreamFilter
impl StructuralEq for AVBitStreamFilter
impl StructuralPartialEq for AVBitStreamFilter
Auto Trait Implementations
impl RefUnwindSafe for AVBitStreamFilter
impl !Send for AVBitStreamFilter
impl !Sync for AVBitStreamFilter
impl Unpin for AVBitStreamFilter
impl UnwindSafe for AVBitStreamFilter
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