FFmpeg
|
Context structure for coded bitstream operations. More...
#include <cbs.h>
Data Fields | |
void * | log_ctx |
Logging context to be passed to all av_log() calls associated with this context. More... | |
const struct CodedBitstreamType * | codec |
Internal codec-specific hooks. More... | |
void * | priv_data |
Internal codec-specific data. More... | |
const CodedBitstreamUnitType * | decompose_unit_types |
Array of unit types which should be decomposed when reading. More... | |
int | nb_decompose_unit_types |
Length of the decompose_unit_types array. More... | |
int | trace_enable |
Enable trace output during read/write operations. More... | |
int | trace_level |
Log level to use for trace output. More... | |
uint8_t * | write_buffer |
Write buffer. More... | |
size_t | write_buffer_size |
void* CodedBitstreamContext::log_ctx |
Logging context to be passed to all av_log() calls associated with this context.
Definition at line 175 of file cbs.h.
Referenced by av1_parser_parse(), cbs_av1_read_increment(), cbs_av1_read_ns(), cbs_av1_read_unit(), cbs_av1_read_uvlc(), cbs_av1_ref_tile_data(), cbs_av1_split_fragment(), cbs_av1_write_increment(), cbs_av1_write_ns(), cbs_av1_write_subexp(), cbs_av1_write_uvlc(), cbs_h2645_assemble_fragment(), cbs_h2645_fragment_add_nals(), cbs_h2645_split_fragment(), cbs_h264_write_nal_unit(), cbs_h265_write_nal_unit(), cbs_jpeg_split_fragment(), cbs_mpeg2_write_header(), cbs_read_fragment_content(), cbs_read_se_golomb(), cbs_read_ue_golomb(), cbs_vp9_assemble_fragment(), cbs_vp9_read_increment(), cbs_vp9_read_le(), cbs_vp9_read_s(), cbs_vp9_split_fragment(), cbs_vp9_write_increment(), cbs_write_se_golomb(), cbs_write_ue_golomb(), cbs_write_unit_data(), ff_cbs_init(), ff_cbs_read_signed(), ff_cbs_read_unsigned(), ff_cbs_trace_header(), ff_cbs_trace_syntax_element(), ff_cbs_write_fragment_data(), ff_cbs_write_signed(), ff_cbs_write_unsigned(), message_list(), sei_active_parameter_sets(), sei_buffering_period(), sei_decoded_picture_hash(), sei_pic_timing(), user_data_registered(), and user_data_unregistered().
const struct CodedBitstreamType* CodedBitstreamContext::codec |
Internal codec-specific hooks.
Definition at line 180 of file cbs.h.
Referenced by cbs_find_unit_type_desc(), cbs_h2645_assemble_fragment(), cbs_h2645_split_fragment(), cbs_read_data(), cbs_read_fragment_content(), cbs_sei_get_message_list(), cbs_sei_get_unit(), cbs_write_unit_data(), ff_cbs_close(), ff_cbs_flush(), ff_cbs_init(), ff_cbs_sei_find_type(), and ff_cbs_write_fragment_data().
void* CodedBitstreamContext::priv_data |
Internal codec-specific data.
This contains any information needed when reading/writing bitsteams which will not necessarily be present in a fragment. For example, for H.264 it contains all currently visible parameter sets - they are required to determine the bitstream syntax but need not be present in every access unit.
Definition at line 191 of file cbs.h.
Referenced by av1_decode_init(), av1_parser_parse(), cbs_av1_close(), cbs_av1_flush(), cbs_av1_read_unit(), cbs_av1_write_obu(), cbs_h2645_split_fragment(), cbs_h264_close(), cbs_h264_flush(), cbs_h265_close(), cbs_h265_flush(), cbs_vp9_flush(), ff_cbs_close(), ff_cbs_init(), sei_active_parameter_sets(), sei_buffering_period(), sei_decoded_picture_hash(), and sei_pic_timing().
const CodedBitstreamUnitType* CodedBitstreamContext::decompose_unit_types |
Array of unit types which should be decomposed when reading.
Types not in this list will be available in bitstream form only. If NULL, all supported types will be decomposed.
Definition at line 199 of file cbs.h.
Referenced by av1_frame_split_init(), av1_parser_init(), cbs_read_fragment_content(), ff_cbs_init(), and filter_units_init().
int CodedBitstreamContext::nb_decompose_unit_types |
Length of the decompose_unit_types array.
Definition at line 203 of file cbs.h.
Referenced by av1_frame_split_init(), av1_parser_init(), cbs_read_fragment_content(), and filter_units_init().
int CodedBitstreamContext::trace_enable |
Enable trace output during read/write operations.
Definition at line 208 of file cbs.h.
Referenced by cbs_av1_read_increment(), cbs_av1_read_leb128(), cbs_av1_read_ns(), cbs_av1_read_subexp(), cbs_av1_read_uvlc(), cbs_av1_split_fragment(), cbs_av1_write_increment(), cbs_av1_write_leb128(), cbs_av1_write_ns(), cbs_av1_write_subexp(), cbs_av1_write_uvlc(), cbs_read_se_golomb(), cbs_read_ue_golomb(), cbs_vp9_read_increment(), cbs_vp9_read_le(), cbs_vp9_read_s(), cbs_vp9_write_increment(), cbs_vp9_write_le(), cbs_vp9_write_s(), cbs_write_se_golomb(), cbs_write_ue_golomb(), ff_cbs_init(), ff_cbs_read_signed(), ff_cbs_read_unsigned(), ff_cbs_trace_header(), ff_cbs_trace_syntax_element(), ff_cbs_write_signed(), ff_cbs_write_unsigned(), message_list(), and trace_headers_init().
int CodedBitstreamContext::trace_level |
Log level to use for trace output.
From AV_LOG_*; defaults to AV_LOG_TRACE.
Definition at line 214 of file cbs.h.
Referenced by ff_cbs_init(), ff_cbs_trace_header(), ff_cbs_trace_syntax_element(), and trace_headers_init().
uint8_t* CodedBitstreamContext::write_buffer |
Write buffer.
Used as intermediate buffer when writing units. For internal use of cbs only.
Definition at line 220 of file cbs.h.
Referenced by cbs_write_unit_data(), and ff_cbs_close().
size_t CodedBitstreamContext::write_buffer_size |
Definition at line 221 of file cbs.h.
Referenced by cbs_write_unit_data().