typedef struct OH_AVCodecBufferAttr {...} OH_AVCodecBufferAttr The struct describes the description information about the buffer of an OH_AVCodec instance.
Since: 9
Related module: Core
Header file: native_avbuffer_info.h
| Name | Description |
|---|---|
| int64_t pts | Display timestamp of the buffer, in microseconds. |
| int32_t size | Size of data contained in the buffer, in bytes. |
| int32_t offset | Start offset of the valid data in this buffer, in bytes. |
| uint32_t flags | Flags of the buffer. For details, see OH_AVCodecBufferFlags. |