OH_AVCodecBufferAttr
Overview
The OH_AVCodecBufferAttr struct defines the description information about the buffer of an OH_AVCodec instance.
System capability: SystemCapability.Multimedia.Media.Core
Since: 9
Related module: Core
Summary
Member Variables
Name | Description |
---|---|
int64_t pts | Defines the display timestamp of the buffer, in microseconds. |
int32_t size | Defines the size of data contained in the buffer, in bytes. |
int32_t offset | Defines the offset of valid data in the buffer. |
uint32_t flags | Defines the flags of the buffer. For details, see OH_AVCodecBufferFlags. |
Member Variable Description
flags
uint32_t OH_AVCodecBufferAttr::flags
Description
Defines the flags of the buffer. For details, see OH_AVCodecBufferFlags.
offset
int32_t OH_AVCodecBufferAttr::offset
Description
Defines the offset of valid data in the buffer.
pts
int64_t OH_AVCodecBufferAttr::pts
Description
Defines the display timestamp of the buffer, in microseconds.
size
int32_t OH_AVCodecBufferAttr::size
Description
Defines the size of data contained in the buffer, in bytes.