HVD
HVD Hardware Video Decoder library
hvd_packet Struct Reference

Encoded data packet. More...

#include <hvd.h>

Data Fields

uint8_t * data
 pointer to encoded data
 
int size
 size of encoded data
 

Detailed Description

Encoded data packet.

Fill data with pointer to your encoded data (no copying is needed). Fill size with encoded data size in bytes

WARNING The data member must be AV_INPUT_BUFFER_PADDING_SIZE larger than the actual bytes because some optimized bitstream readers read 32 or 64 bits at once and could read over the end.

Pass hvd_packet with your data to hvd_send_packet.

See also
hvd_send_packet

The documentation for this struct was generated from the following file: