FFmpeg
|
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... | |
AVBufferRef * | data_ref |
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 122 of file cbs.h.
Referenced by cbs_av1_assemble_fragment(), cbs_av1_split_fragment(), cbs_fill_fragment_data(), cbs_h2645_assemble_fragment(), cbs_h2645_split_fragment(), cbs_jpeg_assemble_fragment(), cbs_jpeg_split_fragment(), cbs_mpeg2_assemble_fragment(), cbs_mpeg2_split_fragment(), cbs_vp9_assemble_fragment(), cbs_vp9_split_fragment(), ff_cbs_fragment_uninit(), 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(), vaapi_encode_mjpeg_write_image_header(), 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 129 of file cbs.h.
Referenced by cbs_av1_assemble_fragment(), cbs_av1_split_fragment(), cbs_fill_fragment_data(), cbs_h2645_assemble_fragment(), cbs_h2645_split_fragment(), cbs_jpeg_assemble_fragment(), cbs_jpeg_split_fragment(), cbs_mpeg2_assemble_fragment(), cbs_mpeg2_split_fragment(), cbs_vp9_assemble_fragment(), cbs_vp9_split_fragment(), ff_cbs_fragment_uninit(), ff_cbs_read_packet(), ff_cbs_write_extradata(), ff_cbs_write_packet(), vaapi_encode_h264_write_access_unit(), vaapi_encode_h265_write_access_unit(), vaapi_encode_mjpeg_write_image_header(), 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 133 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 |
A reference to the buffer containing data.
Must be set if data is not NULL.
Definition at line 139 of file cbs.h.
Referenced by cbs_av1_assemble_fragment(), cbs_av1_split_fragment(), cbs_fill_fragment_data(), cbs_h2645_assemble_fragment(), cbs_jpeg_assemble_fragment(), cbs_jpeg_split_fragment(), cbs_mpeg2_assemble_fragment(), cbs_mpeg2_split_fragment(), cbs_vp9_assemble_fragment(), cbs_vp9_split_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 147 of file cbs.h.
Referenced by av1_metadata_filter(), av1_metadata_init(), av1_parser_parse(), cbs_av1_assemble_fragment(), cbs_h2645_assemble_fragment(), cbs_h2645_split_fragment(), cbs_insert_unit(), cbs_jpeg_assemble_fragment(), cbs_mpeg2_assemble_fragment(), cbs_read_fragment_content(), cbs_vp9_assemble_fragment(), 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(), mpeg2_metadata_update_fragment(), and vp9_metadata_filter().
CodedBitstreamUnit* CodedBitstreamFragment::units |
Pointer to an array of units of length nb_units.
Must be NULL if nb_units is zero.
Definition at line 153 of file cbs.h.
Referenced by av1_metadata_filter(), av1_metadata_init(), av1_parser_parse(), cbs_av1_assemble_fragment(), cbs_h2645_assemble_fragment(), cbs_insert_unit(), cbs_jpeg_assemble_fragment(), cbs_mpeg2_assemble_fragment(), cbs_read_fragment_content(), cbs_vp9_assemble_fragment(), 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(), mpeg2_metadata_update_fragment(), and vp9_metadata_filter().