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.
Reset the internal bitstream filter state. Should be called e.g. when seeking.
Free a bitstream filter context and everything associated with it; write NULL into the supplied pointer.
@return a bitstream filter with the specified name or NULL if no such bitstream filter exists.
Get the AVClass for AVBSFContext. It can be used in combination with AV_OPT_SEARCH_FAKE_OBJ for examining options.
Get null/pass-through bitstream filter.
Prepare the filter for use, after all the parameters and options have been set.
Iterate over all registered bitstream filters.
Allocate empty list of bitstream filters. The list must be later freed by av_bsf_list_free() or finalized by av_bsf_list_finalize().
Append bitstream filter to the list of bitstream filters.
Construct new bitstream filter context given it's name and options and append it to the list of bitstream filters.
Finalize list of bitstream filters.
Free list of bitstream filters.
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().
Retrieve a filtered packet.
Submit a packet for filtering.
The bitstream filter state.
@addtogroup lavc_core @{
Structure for chain/list of bitstream filters. Empty list can be allocated by av_bsf_list_alloc().