00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plpcxdec.h,v 1.1 2004/05/21 21:02:53 maxx Exp $ 00005 | 00006 | Copyright (c) 1996-1998 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #ifndef INCL_PLPCXDEC 00012 #define INCL_PLPCXDEC 00013 00014 #ifndef INCL_PLPICDEC 00015 #include "plpicdec.h" 00016 #endif 00017 00018 00022 class PLPCXDecoder : public PLPicDecoder 00023 { 00024 00025 public: 00027 PLPCXDecoder(); 00028 00030 virtual ~PLPCXDecoder (); 00031 00032 protected: 00035 virtual void DoDecode (PLBmp * pBmp, PLDataSource * pDataSrc); 00036 00037 private: 00038 void PCX_PlanesToPixels(PLBYTE *pixels, PLBYTE *bitplanes, 00039 short bytesperline, short planes, short bitsperpixel); 00040 void PCX_UnpackPixels(PLBYTE *pixels, PLBYTE *bitplanes, 00041 short bytesperline, short planes, short bitsperpixel); 00042 }; 00043 00044 #endif 00045 00046 /* 00047 /-------------------------------------------------------------------- 00048 | 00049 | $Log: plpcxdec.h,v $ 00050 | Revision 1.1 2004/05/21 21:02:53 maxx 00051 | Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine. 00052 | 00053 | Revision 1.1 2002/11/13 01:58:21 mspindle 00054 | *** empty log message *** 00055 | 00056 | Revision 1.3 2001/10/21 17:12:40 uzadow 00057 | Added PSD decoder beta, removed BPPWanted from all decoders, added PLFilterPixel. 00058 | 00059 | Revision 1.2 2001/10/06 22:37:08 uzadow 00060 | Linux compatibility. 00061 | 00062 | Revision 1.1 2001/09/16 19:03:22 uzadow 00063 | Added global name prefix PL, changed most filenames. 00064 | 00065 | Revision 1.8 2000/12/18 22:42:52 uzadow 00066 | Replaced RGBAPIXEL with PLPixel32. 00067 | 00068 | Revision 1.7 2000/01/16 20:43:13 anonymous 00069 | Removed MFC dependencies 00070 | 00071 | Revision 1.6 2000/01/10 23:52:59 Ulrich von Zadow 00072 | Changed formatting & removed tabs. 00073 | 00074 | Revision 1.5 1999/12/15 21:16:30 Ulrich von Zadow 00075 | Removed references to gif in pcx decoder. 00076 | 00077 | Revision 1.4 1999/12/10 01:27:26 Ulrich von Zadow 00078 | Added assignment operator and copy constructor to 00079 | bitmap classes. 00080 | 00081 | Revision 1.3 1999/12/08 15:39:45 Ulrich von Zadow 00082 | Unix compatibility changes 00083 | 00084 | Revision 1.2 1999/11/27 18:45:48 Ulrich von Zadow 00085 | Added/Updated doc comments. 00086 | 00087 \-------------------------------------------------------------------- 00088 */