FFmpeg
Data Fields
CodedBitstreamContext Struct Reference

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 CodedBitstreamTypecodec
  Internal codec-specific hooks. More...
 
void *  priv_data
  Internal codec-specific data. More...
 
  Array of unit types which should be decomposed when reading. More...
 
  Length of the decompose_unit_types array. More...
 
  Enable trace output during read/write operations. More...
 
  Log level to use for trace output. More...
 
uint8_t *  write_buffer
  Write buffer. More...
 
 

Detailed Description

Context structure for coded bitstream operations.

Definition at line 173 of file cbs.h.

Field Documentation

log_ctx

void* CodedBitstreamContext::log_ctx

Logging context to be passed to all av_log() calls associated with this context.

Definition at line 178 of file cbs.h.

codec

const struct CodedBitstreamType* CodedBitstreamContext::codec

Internal codec-specific hooks.

Definition at line 183 of file cbs.h.

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

decompose_unit_types

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

nb_decompose_unit_types

int CodedBitstreamContext::nb_decompose_unit_types

Length of the decompose_unit_types array.

Definition at line 206 of file cbs.h.

trace_enable

int CodedBitstreamContext::trace_enable

Enable trace output during read/write operations.

Definition at line 211 of file cbs.h.

trace_level

int CodedBitstreamContext::trace_level

Log level to use for trace output.

From AV_LOG_*; defaults to AV_LOG_TRACE.

Definition at line 217 of file cbs.h.

write_buffer

uint8_t* CodedBitstreamContext::write_buffer

Write buffer.

Used as intermediate buffer when writing units. For internal use of cbs only.

Definition at line 223 of file cbs.h.

write_buffer_size

size_t CodedBitstreamContext::write_buffer_size

Definition at line 224 of file cbs.h.


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

Generated on Wed Aug 24 2022 21:42:50 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /