00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: pltestfilters_8h-source.html,v 1.4 2004/09/15 15:26:32 uzadow Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #ifndef INCL_PLTESTFILTERS 00012 #define INCL_PLTESTFILTERS 00013 00014 #include "pltest.h" 00015 00016 class PLFilter; 00017 class PLBmp; 00018 00019 class PLTestFilters: public PLTest 00020 { 00021 public: 00022 PLTestFilters(PLBmp* pBmp32, PLBmp* pBmp8); 00023 virtual ~PLTestFilters(); 00024 00025 virtual void RunTests (); 00026 00027 private: 00028 void testFilterWithBmp (const PLFilter& Filter, PLBmp& SrcBmp); 00029 void testDoubleFilter (const PLFilter& Filter); 00030 void testQuant (int DthPal, int Dth); 00031 void testFillRect (); 00032 void testFill (); 00033 void testRotate (); 00034 void testColorize (); 00035 void testFlipRGB (); 00036 00037 PLBmp * m_pBmp32; 00038 PLBmp * m_pBmp8; 00039 00040 }; 00041 00042 #endif 00043 00044 /* 00045 /-------------------------------------------------------------------- 00046 | 00047 | $Log: pltestfilters_8h-source.html,v $ 00047 | Revision 1.4 2004/09/15 15:26:32 uzadow 00047 | Linux compatibility changes, doc update. 00047 | 00048 | Revision 1.4 2004/08/04 14:53:36 uzadow 00049 | Added PLFilterColorize. 00050 | 00051 | Revision 1.3 2003/07/27 18:08:38 uzadow 00052 | Added plfilterfliprgb 00053 | 00054 | Revision 1.2 2003/02/27 22:46:59 uzadow 00055 | Added plfilterrotate. 00056 | 00057 | Revision 1.1 2002/08/04 20:12:34 uzadow 00058 | Added PLBmpInfo class, ability to extract metainformation from images without loading the whole image and proper greyscale support. 00059 | Major improvements in tests. 00060 | 00061 | 00062 | 00063 \-------------------------------------------------------------------- 00064 */