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_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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.