Struct ffmpeg_sys_next::AVBitStreamFilter [−][src]
#[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 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more