21#ifndef DPVSIMPLEDECODE_H
22#define DPVSIMPLEDECODE_H
30#define DPVSIMPLEDECODEERROR_NONE 0
31#define DPVSIMPLEDECODEERROR_EOF 1
32#define DPVSIMPLEDECODEERROR_READERROR 2
33#define DPVSIMPLEDECODEERROR_SOUNDBUFFERTOOSMALL 3
34#define DPVSIMPLEDECODEERROR_INVALIDRMASK 4
35#define DPVSIMPLEDECODEERROR_INVALIDGMASK 5
36#define DPVSIMPLEDECODEERROR_INVALIDBMASK 6
37#define DPVSIMPLEDECODEERROR_COLORMASKSOVERLAP 7
38#define DPVSIMPLEDECODEERROR_COLORMASKSEXCEEDBPP 8
39#define DPVSIMPLEDECODEERROR_UNSUPPORTEDBPP 9
70int dpvsimpledecode_video(
void *stream,
void *imagedata,
unsigned int Rmask,
unsigned int Gmask,
unsigned int Bmask,
unsigned int bytesperpixel,
int imagebytesperrow);
double dpvsimpledecode_getframerate(void *stream)
unsigned int dpvsimpledecode_getwidth(void *stream)
void * dpvsimpledecode_open(clvideo_t *video, char *filename, const char **errorstring)
int dpvsimpledecode_error(void *stream, const char **errorstring)
void dpvsimpledecode_close(void *stream)
double dpvsimpledecode_getaspectratio(void *stream)
int dpvsimpledecode_video(void *stream, void *imagedata, unsigned int Rmask, unsigned int Gmask, unsigned int Bmask, unsigned int bytesperpixel, int imagebytesperrow)
unsigned int dpvsimpledecode_getheight(void *stream)