|
WebM Codec SDK
|
Data Fields | |
| void * | buf |
| size_t | sz |
| vpx_codec_pts_t | pts |
| time stamp to show frame (in timebase units) | |
| unsigned long | duration |
| duration to show frame (in timebase units) | |
| vpx_codec_frame_flags_t | flags |
| int | partition_id |
| the partition id defines the decoding order of the partitions. Only applicable when "output partition" mode is enabled. First partition has id 0. | |
| unsigned int | width [5] |
| Width and height of frames in this packet. VP8 will only use the first one. | |
| unsigned int | height [5] |
| uint8_t | spatial_layer_encoded [5] |
| Flag to indicate if spatial layer frame in this packet is encoded or dropped. VP8 will always be set to 1. | |
| void* vpx_codec_cx_pkt::[struct].data.frame buf |
compressed data buffer
| size_t vpx_codec_cx_pkt::[struct].data.frame sz |
length of compressed data
| vpx_codec_frame_flags_t vpx_codec_cx_pkt::[struct].data.frame flags |
flags for this frame
| unsigned int vpx_codec_cx_pkt::[struct].data.frame[5] |
Width and height of frames in this packet. VP8 will only use the first one.
frame width
| unsigned int vpx_codec_cx_pkt::[struct].data.frame[5] |
frame height