Getblk.h
上传用户:szklck
上传日期:2007-01-22
资源大小:925k
文件大小:1k
源码类别:

图形图像处理

开发平台:

Visual C++

  1. // Getblk.h: interface for the CGetblk class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_GETBLK_H__D3C9E463_48B2_11D5_9DCC_5254AB2B9F00__INCLUDED_)
  5. #define AFX_GETBLK_H__D3C9E463_48B2_11D5_9DCC_5254AB2B9F00__INCLUDED_
  6. #include "Getbits.h" // Added by ClassView
  7. #include "Sarcode.h" // Added by ClassView
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. class CGetblk  
  12. {
  13. public:
  14. CSarcode m_sacode;
  15. CGetbits m_getbits;
  16. void get_sac_block (int comp, int ptype);
  17. void getblock (int comp, int mode);
  18. CGetblk();
  19. virtual ~CGetblk();
  20. private:
  21. int DecodeTCoef (int position, int intra);
  22. RunCoef vlc_word_decode (int symbol_word, int *last);
  23. RunCoef Decode_Escape_Char (int intra, int *last);
  24. };
  25. #endif // !defined(AFX_GETBLK_H__D3C9E463_48B2_11D5_9DCC_5254AB2B9F00__INCLUDED_)