1 #ifndef DECODER_XVID_H
2 #define DECODER_XVID_H
3
4 struct Slot {
5 u_int8_t framebuf[408320];
6 u_int16_t packets_left;
7 u_int32_t timestamp;
8 };
9
10 typedef struct Slot slot;
11
12 class Mpeg4Decoder : public Decoder {
13 public:
14 Mpeg4Decoder();
15 virtual ~Mpeg4Decoder();
16 protected:
17 void recv(pktbuf*);
18 virtual void redraw();
19 int colorhist(u_int* hist) const;
20 void init();
21 void decode (slot *, int);
22
23 u_int32_t current_time_stamp;
24 bool initialised;
25 void * myhandle;
26 int result;
27
28 rtphdr * myrtphdr;
29 mpeg4hdr * mympeg4hdr;
30 u_int8_t * mp4stream;
31
32 slot * assemble(pktbuf*);
33 slot * slot1;
34 slot * slot2;
35 };
36
37 #endif
38
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.