FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
CodedBitstreamContext Struct Reference

Context structure for coded bitstream operations. More...

#include <cbs.h>

Data Fields

voidlog_ctx
 Logging context to be passed to all av_log() calls associated with this context. More...
 
const struct CodedBitstreamTypecodec
 Internal codec-specific hooks. More...
 
voidpriv_data
 Internal codec-specific data. More...
 
CodedBitstreamUnitTypedecompose_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...
 

Detailed Description

Context structure for coded bitstream operations.

Definition at line 156 of file cbs.h.

Field Documentation

void* CodedBitstreamContext::log_ctx
const struct CodedBitstreamType* CodedBitstreamContext::codec
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 177 of file cbs.h.

Referenced by cbs_h2645_split_fragment(), cbs_h2645_write_nal_unit(), cbs_h264_close(), cbs_h265_close(), cbs_mpeg2_close(), cbs_mpeg2_write_unit(), ff_cbs_close(), and ff_cbs_init().

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 185 of file cbs.h.

Referenced by 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 189 of file cbs.h.

Referenced by cbs_read_fragment_content(), and filter_units_init().

int CodedBitstreamContext::trace_enable
int CodedBitstreamContext::trace_level

Log level to use for trace output.

From AV_LOG_*; defaults to AV_LOG_TRACE.

Definition at line 200 of file cbs.h.

Referenced by ff_cbs_init(), ff_cbs_trace_header(), ff_cbs_trace_syntax_element(), and trace_headers_init().


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