jedioutcast/utils/roq2/main/mpegdecoder.h
2013-04-04 13:07:40 -05:00

51 lines
No EOL
713 B
C

#include "sdsc.h"
#include "im.h"
#ifndef _MpegDecoder_H_INCLUDED
#define _MpegDecoder_H_INCLUDED
typedef struct MpegDecoder MpegDecoder;
struct MpegDecoder {
int sequenceFrameNum;
int bitstreamFrameNum;
int moreFrames;
int firstFrame;
int lastFrame;
};
MpegDecoder *MpegDecoderNew(int argc, char ** argv, int firstFrame, int lastFrame);
void MpegDecoderFree(MpegDecoder *self);
TagTable *MpegDecoderNextImage(MpegDecoder *self);
int MpegDecoderMoreFrames(MpegDecoder *self);
int MpegDecoderBitstreamFrameNum(MpegDecoder *self);
const char * MpegDecoderCurrentFilename(MpegDecoder *self);
#endif //_MpegDecoder_H_INCLUDED