FFmpeg
Data Fields
CodedBitstreamFragment Struct Reference

Coded bitstream fragment structure, combining one or more units. More...

#include <cbs.h>

Data Fields

uint8_t * data
 Pointer to the bitstream form of this fragment. More...
 
size_t data_size
 The number of bytes in the bitstream. 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...
 
int nb_units
 Number of units in this fragment. More...
 
int nb_units_allocated
 Number of allocated units. More...
 
CodedBitstreamUnitunits
 Pointer to an array of units of length nb_units_allocated. More...
 

Detailed Description

Coded bitstream fragment structure, combining one or more units.

This is any sequence of units. It need not form some greater whole, though in many cases it will. For example, an H.264 access unit, which is composed of a sequence of H.264 NAL units.

Definition at line 122 of file cbs.h.

Field Documentation

◆ data

uint8_t* CodedBitstreamFragment::data

◆ data_size

size_t CodedBitstreamFragment::data_size

◆ data_bit_padding

size_t CodedBitstreamFragment::data_bit_padding

◆ data_ref

AVBufferRef* CodedBitstreamFragment::data_ref

◆ nb_units

int CodedBitstreamFragment::nb_units

◆ nb_units_allocated

int CodedBitstreamFragment::nb_units_allocated

Number of allocated units.

Must always be >= nb_units; designed for internal use by cbs.

Definition at line 160 of file cbs.h.

Referenced by cbs_insert_unit(), and ff_cbs_fragment_free().

◆ units

CodedBitstreamUnit* CodedBitstreamFragment::units

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