FFmpeg
Data Fields
AVBSFContext Struct Reference

The bitstream filter state. More...

#include <bsf.h>

Data Fields

const AVClassav_class
 A class for logging and AVOptions. More...
 
const struct AVBitStreamFilterfilter
 The bitstream filter this context is an instance of. More...
 
void * priv_data
 Opaque filter-specific private data. More...
 
AVCodecParameterspar_in
 Parameters of the input stream. More...
 
AVCodecParameterspar_out
 Parameters of the output stream. More...
 
AVRational time_base_in
 The timebase used for the timestamps of the input packets. More...
 
AVRational time_base_out
 The timebase used for the timestamps of the output packets. More...
 

Detailed Description

The bitstream filter state.

This struct must be allocated with av_bsf_alloc() and freed with av_bsf_free().

The fields in the struct will only be changed (by the caller or by the filter) as described in their documentation, and are to be considered immutable otherwise.

Definition at line 47 of file bsf.h.

Field Documentation

◆ av_class

const AVClass* AVBSFContext::av_class

A class for logging and AVOptions.

Definition at line 51 of file bsf.h.

◆ filter

const struct AVBitStreamFilter* AVBSFContext::filter

The bitstream filter this context is an instance of.

Definition at line 56 of file bsf.h.

Referenced by bsf_list_item_name(), ff_stream_add_bitstream_filter(), LLVMFuzzerTestOneInput(), log_slave(), and write_packets_from_bsfs().

◆ priv_data

void* AVBSFContext::priv_data

◆ par_in

AVCodecParameters* AVBSFContext::par_in

◆ par_out

AVCodecParameters* AVBSFContext::par_out

Parameters of the output stream.

This field is allocated in av_bsf_alloc(), it is set by the filter in av_bsf_init().

Definition at line 75 of file bsf.h.

Referenced by bsf_list_init(), cuvid_decode_init(), detect_stream_specific(), ff_cbs_bsf_generic_init(), filter_units_init(), and opus_metadata_init().

◆ time_base_in

AVRational AVBSFContext::time_base_in

The timebase used for the timestamps of the input packets.

Set by the caller before av_bsf_init().

Definition at line 81 of file bsf.h.

Referenced by bsf_list_init(), decode_bsfs_init(), extract_extradata_init(), ff_stream_add_bitstream_filter(), and open_slave().

◆ time_base_out

AVRational AVBSFContext::time_base_out

The timebase used for the timestamps of the output packets.

Set by the filter in av_bsf_init().

Definition at line 87 of file bsf.h.

Referenced by bsf_list_init(), tee_write_packet(), and write_packets_from_bsfs().


The documentation for this struct was generated from the following file: