00001 // /// // 00002 // ///// //// 00003 // /// XXX XXX /// 00004 // /// XXX XXX /// $RCSfile: mxcpcDefaultMxPEGDecoderBackEnd.h,v $ 00005 // /// XXX /// $Revision: 1.8 $ 00006 // /// XXX XXX /// $Date: 2005/08/09 13:57:26 $ 00007 // //// XXX XXX //// $Author: cvs-steve $ 00008 // //// //// 00009 // //// M O B O T I X //////////////////////////////////////////////// 00010 // //// Security Vision Systems /////////////////////////////////////////////// 00011 00012 // Copyright (c) 2005, MOBOTIX AG. 00013 // This software is made available under the BSD licence. Please refer 00014 // to the file LICENCE.TXT contained in this distribution for details. 00015 00016 00017 #ifndef __MXCPC_DEFAULTMXPEGDECODERBACKEND_H__ 00018 #define __MXCPC_DEFAULTMXPEGDECODERBACKEND_H__ 00019 00020 00021 00022 #include <mxcpcMxPEGDecoderBackEnd.h> 00023 00024 00025 00027 00030 class mxcpcDefaultMxPEGDecoderBackEnd : public mxcpcMxPEGDecoderBackEnd { 00031 00032 private: 00033 int ReceivedFrames; 00034 int TileNum; 00035 bool ErrorEncountered; 00036 mxcpc::u32 TilePixelBuffer[16*16*3/4]; 00037 00038 public: 00039 mxcpcDefaultMxPEGDecoderBackEnd(); 00040 00041 public: 00043 void videoResolutionChanged(int width, int height); 00045 void errorEncountered(void); 00047 void frameComplete(void); 00049 void provideVideoTilePixelTarget(int tile_x, int tile_y, 00050 mxcpc::u32 **target_ptr, 00051 int *row_stepping_ptr); 00053 void videoTileReceived(void); 00054 00056 int getDecodedFramesNum(void); 00057 }; 00058 00059 00060 00061 #endif // __MXCPC_DEFAULTMXPEGDECODERBACKEND_H__