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...
 
AVBSFInternalinternal
 Opaque libavcodec internal data. 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 49 of file bsf.h.

Field Documentation

◆ av_class

const AVClass* AVBSFContext::av_class

A class for logging and AVOptions.

Definition at line 53 of file bsf.h.

◆ filter

const struct AVBitStreamFilter* AVBSFContext::filter

The bitstream filter this context is an instance of.

Definition at line 58 of file bsf.h.

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

◆ internal

AVBSFInternal* AVBSFContext::internal

Opaque libavcodec internal data.

Must not be touched by the caller in any way.

Definition at line 64 of file bsf.h.

◆ 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 70 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_update_fragment(), av1_metadata_update_sequence_header(), av_bitstream_filter_filter(), 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(), 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(), h264_metadata_handle_display_orientation(), h264_metadata_init(), h264_metadata_insert_aud(), h264_metadata_update_fragment(), h264_metadata_update_sps(), h264_redundant_pps_flush(), h264_redundant_pps_init(), 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(), hapqa_extract(), LLVMFuzzerTestOneInput(), mpeg2_metadata_init(), mpeg2_metadata_update_fragment(), mpeg4_unpack_bframes_close_flush(), opus_metadata_init(), prores_metadata(), prores_metadata_init(), setts_close(), trace_headers(), trace_headers_close(), trace_headers_init(), vp9_metadata_update_fragment(), vp9_raw_reorder_close(), vp9_raw_reorder_filter(), vp9_raw_reorder_flush(), 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 83 of file bsf.h.

Referenced by av_bitstream_filter_filter(), 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 89 of file bsf.h.

Referenced by av_bitstream_filter_filter(), 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 95 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: