1 #ifndef ENCODER_XVID_H
2 #define ENCODER_XVID_H
3
4 #include "tclcl.h"
5 #include "module.h"
6
7 class Mpeg4Encoder : public EncoderModule {
8 public:
9 Mpeg4Encoder ();
10 void recv(Buffer*);
11 //attn: modify the input parameters. jingye
12 bool init();
13 bool size(int width, int height);
14 //void formatconvert (YuvFrame*);
15 void flush(u_int8_t * mp4stream, u_int32_t length);
16 YuvFrame *vf;
17
18
19 protected:
20 int command(int argc, const char*const* argv);
21 bool realTime;
22 CXvidVideoEncoder * m_videoEncoder;
23 bool keyFrame;
24 u_int32_t videoMaxVopSize;
25 u_int8_t *encodedImage;
26 u_int32_t encodedLen;
27 bool errordetect;
28 u_int8_t * Yimage;
29 u_int8_t * Uimage;
30 u_int8_t * Vimage;
31
32 };
33
34 #endif
35
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.