struct BitstreamBufferMetadata
Defined at line 140 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.h
Metadata associated with a bitstream buffer.
|payload_size| is the byte size of the used portion of the buffer.
|key_frame| is true if this delivered frame is a keyframe.
|timestamp| is the same timestamp as in VideoFrame passed to Encode().
|qp| is the quantizer value, default invalid qp value is -1 following
webrtc::EncodedImage.
Public Members
size_t payload_size_bytes
bool key_frame
TimeDelta timestamp
int32_t qp
optional drop
optional h264
optional vp8
optional vp9
optional svc_generic
optional encoded_size
optional encoded_color_space
optional yuv_psnr
Public Methods
void BitstreamBufferMetadata ()
Defined at line 19 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc
void BitstreamBufferMetadata (const BitstreamBufferMetadata & other)
Defined at line 21 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc
BitstreamBufferMetadata & operator= (const BitstreamBufferMetadata & other)
Defined at line 23 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc
void BitstreamBufferMetadata (BitstreamBufferMetadata && other)
Defined at line 25 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc
void BitstreamBufferMetadata (size_tpayload_size_bytes,boolkey_frame,base::TimeDeltatimestamp)
Defined at line 27 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc
BitstreamBufferMetadata CreateForDropFrame (base::TimeDeltatimestamp,uint8_tspatial_idx,boolend_of_picture)
static
Defined at line 36 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc
void ~BitstreamBufferMetadata ()
Defined at line 33 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc
bool end_of_picture ()
This is true if a frame is the last spatial layer frame in SVC encoding.
This is always true in non-SVC encoding.
Defined at line 49 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc
bool dropped_frame ()
Defined at line 58 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc
std::optional<uint8_t> spatial_idx ()
Defined at line 62 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc