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_char§codec_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§
source§impl Clone for AVBitStreamFilter
impl Clone for AVBitStreamFilter
source§fn clone(&self) -> AVBitStreamFilter
fn clone(&self) -> AVBitStreamFilter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AVBitStreamFilter
impl Debug for AVBitStreamFilter
source§impl PartialEq<AVBitStreamFilter> for AVBitStreamFilter
impl PartialEq<AVBitStreamFilter> for AVBitStreamFilter
source§fn 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 ==.