FFmpeg
4.0
|
Coded bitstream fragment structure, combining one or more units. More...
#include <libavcodec/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... | |
AVBufferRef * | data_ref |
If data is reference counted, a reference to the buffer containing data. More... | |
int | nb_units |
Number of units in this fragment. More... | |
CodedBitstreamUnit * | units |
Pointer to an array of units of length nb_units. More... | |
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.
uint8_t* CodedBitstreamFragment::data |
Pointer to the bitstream form of this fragment.
May be NULL if the fragment only exists as component units.
Definition at line 120 of file cbs.h.
Referenced by cbs_fill_fragment_data(), cbs_h2645_assemble_fragment(), cbs_h2645_split_fragment(), cbs_mpeg2_assemble_fragment(), cbs_mpeg2_split_fragment(), ff_cbs_fragment_uninit(), ff_cbs_read_extradata(), ff_cbs_read_packet(), ff_cbs_write_extradata(), ff_cbs_write_fragment_data(), ff_cbs_write_packet(), vaapi_encode_h264_write_access_unit(), vaapi_encode_h265_write_access_unit(), and vaapi_encode_mpeg2_write_fragment().
size_t CodedBitstreamFragment::data_size |
The number of bytes in the bitstream.
The number of bytes in the bitstream (including any padding bits in the final byte).
Definition at line 127 of file cbs.h.
Referenced by cbs_fill_fragment_data(), cbs_h2645_assemble_fragment(), cbs_h2645_split_fragment(), cbs_mpeg2_assemble_fragment(), cbs_mpeg2_split_fragment(), ff_cbs_fragment_uninit(), ff_cbs_read_extradata(), ff_cbs_read_packet(), ff_cbs_write_extradata(), ff_cbs_write_packet(), vaapi_encode_h264_write_access_unit(), vaapi_encode_h265_write_access_unit(), and vaapi_encode_mpeg2_write_fragment().
size_t CodedBitstreamFragment::data_bit_padding |
The number of bits which should be ignored in the final byte.
Definition at line 131 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().
AVBufferRef* CodedBitstreamFragment::data_ref |
If data is reference counted, a reference to the buffer containing data.
Null if data is not reference counted.
Definition at line 136 of file cbs.h.
Referenced by cbs_fill_fragment_data(), cbs_h2645_assemble_fragment(), cbs_mpeg2_assemble_fragment(), ff_cbs_fragment_uninit(), ff_cbs_read_packet(), ff_cbs_write_fragment_data(), and ff_cbs_write_packet().
int CodedBitstreamFragment::nb_units |
Number of units in this fragment.
This may be zero if the fragment only exists in bitstream form and has not been decomposed.
Definition at line 144 of file cbs.h.
Referenced by cbs_h2645_assemble_fragment(), cbs_h2645_split_fragment(), cbs_insert_unit(), cbs_mpeg2_assemble_fragment(), cbs_read_fragment_content(), ff_cbs_delete_unit(), ff_cbs_fragment_uninit(), ff_cbs_h264_add_sei_message(), ff_cbs_h264_delete_sei_message(), ff_cbs_insert_unit_content(), ff_cbs_insert_unit_data(), ff_cbs_write_fragment_data(), filter_units_filter(), h264_metadata_filter(), h264_metadata_init(), h264_redundant_pps_filter(), h264_redundant_pps_init(), h265_metadata_filter(), h265_metadata_init(), and mpeg2_metadata_update_fragment().
CodedBitstreamUnit* CodedBitstreamFragment::units |
Pointer to an array of units of length nb_units.
Must be NULL if nb_units is zero.
Definition at line 150 of file cbs.h.
Referenced by cbs_h2645_assemble_fragment(), cbs_insert_unit(), cbs_mpeg2_assemble_fragment(), cbs_read_fragment_content(), ff_cbs_delete_unit(), ff_cbs_fragment_uninit(), ff_cbs_h264_add_sei_message(), ff_cbs_h264_delete_sei_message(), ff_cbs_insert_unit_content(), ff_cbs_insert_unit_data(), ff_cbs_write_fragment_data(), filter_units_filter(), h264_metadata_filter(), h264_metadata_init(), h264_redundant_pps_filter(), h264_redundant_pps_init(), h265_metadata_filter(), h265_metadata_init(), and mpeg2_metadata_update_fragment().