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

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

#include <cbs.h>

Data Fields

uint8_tdata
 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...
 
int nb_units
 Number of units in this fragment. More...
 
CodedBitstreamUnitunits
 Pointer to an array of units of length nb_units. 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 108 of file cbs.h.

Field Documentation

uint8_t* CodedBitstreamFragment::data
size_t CodedBitstreamFragment::data_size
size_t CodedBitstreamFragment::data_bit_padding

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

Definition at line 125 of file cbs.h.

Referenced by cbs_h2645_assemble_fragment(), ff_cbs_fragment_uninit(), vaapi_encode_h264_write_access_unit(), vaapi_encode_h265_write_access_unit(), and vaapi_encode_mpeg2_write_fragment().

int CodedBitstreamFragment::nb_units
CodedBitstreamUnit* CodedBitstreamFragment::units

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