PageRenderTime 38ms CodeModel.GetById 34ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Show/Avc.h

http://github.com/mbebenita/Broadway
C Header | 21 lines | 18 code | 3 blank | 0 comment | 0 complexity | eb2eacd29b0b19784ba2ef99b96f8141 MD5 | raw file
 1#ifndef AVC_H_
 2#define AVC_H_
 3
 4#include "avc/avcdec_int.h"
 5#include "avc/avcdec_api.h"
 6
 7class Avc {
 8public:
 9	Avc(const char *filename);
10	int Play();
11private:
12	int decodeNALUnit(uint8 *nal_uint, int nal_size);
13    int pollKeyPress();
14	uint8* buffer;
15	uint8* stream;
16	int buffer_size;
17	AVCHandle decoder;
18	SDL_Surface *screen;
19};
20
21#endif /* STAGE_H_ */