FFmpeg
Data Fields
CodedBitstreamUnit Struct Reference

Coded bitstream unit structure. More...

#include <cbs.h>

Data Fields

CodedBitstreamUnitType type
 Codec-specific type of this unit. More...
 
uint8_t * data
 Pointer to the directly-parsable bitstream form of this unit. More...
 
size_t data_size
 The number of bytes in the bitstream (including any padding bits in the final byte). More...
 
size_t data_bit_padding
 The number of bits which should be ignored in the final byte. More...
 
AVBufferRefdata_ref
 A reference to the buffer containing data. More...
 
void * content
 Pointer to the decomposed form of this unit. More...
 
void * content_ref
 If content is reference counted, a RefStruct reference backing content. More...
 

Detailed Description

Coded bitstream unit structure.

A bitstream unit the smallest element of a bitstream which is meaningful on its own. For example, an H.264 NAL unit.

See the codec-specific header for the meaning of this for any particular codec.

Definition at line 70 of file cbs.h.

Field Documentation

◆ type

CodedBitstreamUnitType CodedBitstreamUnit::type

◆ data

uint8_t* CodedBitstreamUnit::data

◆ data_size

size_t CodedBitstreamUnit::data_size

◆ data_bit_padding

size_t CodedBitstreamUnit::data_bit_padding

The number of bits which should be ignored in the final byte.

This supports non-byte-aligned bitstreams.

Definition at line 92 of file cbs.h.

Referenced by cbs_h2645_assemble_fragment(), cbs_unit_uninit(), and cbs_write_unit_data().

◆ data_ref

AVBufferRef* CodedBitstreamUnit::data_ref

◆ content

void* CodedBitstreamUnit::content

◆ content_ref

void* CodedBitstreamUnit::content_ref

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