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 default trace output. More... | |
void * | trace_context |
User context pointer to pass to trace callbacks. More... | |
CBSTraceReadCallback | trace_read_callback |
Callback for read tracing. More... | |
CBSTraceWriteCallback | trace_write_callback |
Callback for write tracing. More... | |
uint8_t * | write_buffer |
Write buffer. More... | |
size_t | write_buffer_size |
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 247 of file cbs.h.
Referenced by apv_decode(), apv_decode_tile_component(), vaapi_encode_av1_init(), vaapi_encode_av1_init_slice_params(), and vaapi_encode_av1_write_picture_header().
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 255 of file cbs.h.
Referenced by apv_decode_init(), and init().
int CodedBitstreamContext::nb_decompose_unit_types |
Length of the decompose_unit_types array.
Definition at line 259 of file cbs.h.
Referenced by apv_decode_init(), and init().
int CodedBitstreamContext::trace_enable |
Enable trace output during read/write operations.
Definition at line 264 of file cbs.h.
Referenced by vaapi_encode_av1_configure().
int CodedBitstreamContext::trace_level |
Log level to use for default trace output.
From AV_LOG_*; defaults to AV_LOG_TRACE.
Definition at line 270 of file cbs.h.
Referenced by vaapi_encode_av1_configure().
void* CodedBitstreamContext::trace_context |
User context pointer to pass to trace callbacks.
Definition at line 274 of file cbs.h.
Referenced by vaapi_encode_av1_configure().
CBSTraceReadCallback CodedBitstreamContext::trace_read_callback |
CBSTraceWriteCallback CodedBitstreamContext::trace_write_callback |
Callback for write tracing.
If tracing is enabled then this is called once for each syntax element written.
Definition at line 288 of file cbs.h.
Referenced by vaapi_encode_av1_configure().
uint8_t* CodedBitstreamContext::write_buffer |