home *** CD-ROM | disk | FTP | other *** search
/ Netrunner 2004 October / NETRUNNER0410.ISO / regular / dctm.lzh / DCTM / source.lzh / source / cDCT.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-02-08  |  763 b   |  30 lines

  1. /*************************************************************************
  2.     cDCT.h
  3.  
  4.     03/02/08    Xiaohong
  5. *************************************************************************/
  6. #ifndef _INCLUDE_CDCT_H_____________________________________________________
  7. #define _INCLUDE_CDCT_H_____________________________________________________
  8.  
  9. /**********************************************************
  10.     cDCT é╠ÉΘî╛
  11. **********************************************************/
  12. class cDCT
  13. {
  14. public:
  15.     cDCT();
  16.     ~cDCT();
  17.  
  18.     void fDCT(short* pBlock);
  19.     void iDCT(short* pBlock);
  20. private:
  21.  
  22.     double m_fCoefficients[8][8];
  23.     short m_nIclip[1024];
  24.     short *m_pIclip;
  25.  
  26.     inline void IdctRow(short* pBlock);
  27.     inline void IdctCol(short* pBloxk);
  28. };
  29.  
  30. #endif