HVD
HVD Hardware Video Decoder library
hvd.h File Reference

Library public interface header. More...

#include <libavcodec/avcodec.h>

Go to the source code of this file.

Data Structures

struct  hvd_config
 Decoder configuration. More...
 
struct  hvd_packet
 Encoded data packet. More...
 

Enumerations

enum  hvd_retval_enum { HVD_AGAIN =AVERROR(EAGAIN), HVD_ERROR =-1, HVD_OK =0 }
 Constants returned by most of library functions. More...
 

Functions

struct hvdhvd_init (const struct hvd_config *config)
 Initialize internal library data. More...
 
void hvd_close (struct hvd *h)
 Free library resources. More...
 
int hvd_send_packet (struct hvd *h, struct hvd_packet *packet)
 Send packet to hardware for decoding. More...
 
AVFrame * hvd_receive_frame (struct hvd *h, int *error)
 Retrieve decoded frame data from hardware. More...
 

Detailed Description

Library public interface header.