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 68 of file bsf.h.

Field Documentation

◆ av_class

const AVClass* AVBSFContext::av_class

A class for logging and AVOptions.

Definition at line 72 of file bsf.h.

◆ filter

const struct AVBitStreamFilter* AVBSFContext::filter

The bitstream filter this context is an instance of.

Definition at line 77 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

Opaque filter-specific private data.

If filter->priv_class is non-NULL, this is an AVOptions-enabled struct.

Definition at line 83 of file bsf.h.

Referenced by aac_adtstoasc_filter(), av1_frame_merge_close(), av1_frame_merge_filter(), av1_frame_merge_flush(), av1_frame_merge_init(), av1_metadata_init(), av1_metadata_update_fragment(), av1_metadata_update_sequence_header(), bsf_list_append_internal(), bsf_list_close(), bsf_list_filter(), bsf_list_flush(), bsf_list_init(), bsf_list_item_name(), cbs_bsf_update_side_data(), evc_frame_merge_close(), evc_frame_merge_filter(), evc_frame_merge_flush(), evc_frame_merge_init(), ff_cbs_bsf_generic_close(), ff_cbs_bsf_generic_filter(), ff_cbs_bsf_generic_init(), ff_stream_add_bitstream_filter(), filter_units_close(), filter_units_filter(), filter_units_init(), frame_merge_close(), frame_merge_filter(), frame_merge_flush(), frame_merge_init(), h264_metadata_handle_display_orientation(), h264_metadata_init(), h264_metadata_insert_aud(), h264_metadata_update_fragment(), h264_metadata_update_sps(), h264_redundant_pps_update_fragment(), h265_metadata_guess_level(), h265_metadata_update_fragment(), h265_metadata_update_level(), h265_metadata_update_sps(), h265_metadata_update_vps(), h266_metadata_update_fragment(), hapqa_extract(), LLVMFuzzerTestOneInput(), mpeg2_metadata_init(), mpeg2_metadata_update_fragment(), mpeg4_unpack_bframes_close_flush(), noise_close(), opus_metadata_init(), parse_nal_unit(), prores_metadata(), prores_metadata_init(), setts_close(), trace_headers(), trace_headers_close(), trace_headers_init(), vp9_metadata_update_fragment(), vp9_raw_reorder_filter(), vp9_raw_reorder_flush_close(), and vp9_raw_reorder_make_output().

◆ 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 96 of file bsf.h.

Referenced by bsf_list_init(), cuvid_decode_init(), detect_stream_specific(), ff_cbs_bsf_generic_init(), filter_units_init(), ist_add(), 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 102 of file bsf.h.

Referenced by bsf_list_init(), decode_bsfs_init(), demux_send(), extract_extradata_init(), ff_stream_add_bitstream_filter(), ist_add(), mux_packet_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 108 of file bsf.h.

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


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