ffmpeg.libavcodec.bsf

Undocumented in source.

Members

Functions

av_bsf_alloc
int av_bsf_alloc(const(AVBitStreamFilter)* filter, AVBSFContext** ctx)

Allocate a context for a given bitstream filter. The caller must fill in the context parameters as described in the documentation and then call av_bsf_init() before sending any data to the filter.

av_bsf_flush
void av_bsf_flush(AVBSFContext* ctx)

Reset the internal bitstream filter state. Should be called e.g. when seeking.

av_bsf_free
void av_bsf_free(AVBSFContext** ctx)

Free a bitstream filter context and everything associated with it; write NULL into the supplied pointer.

av_bsf_get_by_name
const(AVBitStreamFilter)* av_bsf_get_by_name(const(char)* name)

@return a bitstream filter with the specified name or NULL if no such bitstream filter exists.

av_bsf_get_class
const(AVClass)* av_bsf_get_class()

Get the AVClass for AVBSFContext. It can be used in combination with AV_OPT_SEARCH_FAKE_OBJ for examining options.

av_bsf_get_null_filter
int av_bsf_get_null_filter(AVBSFContext** bsf)

Get null/pass-through bitstream filter.

av_bsf_init
int av_bsf_init(AVBSFContext* ctx)

Prepare the filter for use, after all the parameters and options have been set.

av_bsf_iterate
const(AVBitStreamFilter)* av_bsf_iterate(void** opaque)

Iterate over all registered bitstream filters.

av_bsf_list_alloc
AVBSFList* av_bsf_list_alloc()

Allocate empty list of bitstream filters. The list must be later freed by av_bsf_list_free() or finalized by av_bsf_list_finalize().

av_bsf_list_append
int av_bsf_list_append(AVBSFList* lst, AVBSFContext* bsf)

Append bitstream filter to the list of bitstream filters.

av_bsf_list_append2
int av_bsf_list_append2(AVBSFList* lst, const(char)* bsf_name, AVDictionary** options)

Construct new bitstream filter context given it's name and options and append it to the list of bitstream filters.

av_bsf_list_finalize
int av_bsf_list_finalize(AVBSFList** lst, AVBSFContext** bsf)

Finalize list of bitstream filters.

av_bsf_list_free
void av_bsf_list_free(AVBSFList** lst)

Free list of bitstream filters.

av_bsf_list_parse_str
int av_bsf_list_parse_str(const(char)* str, AVBSFContext** bsf)

Parse string describing list of bitstream filters and create single @ref AVBSFContext describing the whole chain of bitstream filters. Resulting @ref AVBSFContext can be treated as any other @ref AVBSFContext freshly allocated by av_bsf_alloc().

av_bsf_receive_packet
int av_bsf_receive_packet(AVBSFContext* ctx, AVPacket* pkt)

Retrieve a filtered packet.

av_bsf_send_packet
int av_bsf_send_packet(AVBSFContext* ctx, AVPacket* pkt)

Submit a packet for filtering.

Structs

AVBSFContext
struct AVBSFContext

The bitstream filter state.

AVBSFInternal
struct AVBSFInternal

@addtogroup lavc_core @{

AVBSFList
struct AVBSFList

Structure for chain/list of bitstream filters. Empty list can be allocated by av_bsf_list_alloc().

AVBitStreamFilter
struct AVBitStreamFilter
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta