CMpegController.h
上传用户:hhs829
上传日期:2022-06-17
资源大小:586k
文件大小:1k
- //
- // CMpegController.h
- //
- #ifndef __H_CMpegController__
- #define __H_CMpegController__
- class CMpegController
- {
- private:
- long mOutputImageSize;
- public:
- CMpegController();
- ~CMpegController();
- public:
- bool Initialize(void);
- void Uninitialize(void);
- void SetOutputType(int inType);
- void SetOutputImageSize(long inImageSize);
- void BeginFlush(void);
- void EndFlush(void);
- void BeginEndOfStream(void);
- void EndEndOfStream(void);
- void FlushAllPending(void);
- bool ReceiveMpeg(unsigned char * inData, long inLength);
- void GetDecoded(unsigned char * outPicture);
- BOOL IsCacheInputWaiting(void);
- BOOL IsCacheOutputWaiting(void);
- BOOL IsCacheEmpty(void);
- void SequenceHeaderChecking(void);
- BOOL LocatePictureHeader(void);
- BOOL DecodeOnePicture(void);
- };
- #endif // __H_CMpegController__