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

图形图像处理

开发平台:

Visual C++

  1. // Sarcode.h: interface for the CSarcode class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SARCODE_H__5CAA58E2_4940_11D5_9DCC_5254AB2B9F00__INCLUDED_)
  5. #define AFX_SARCODE_H__5CAA58E2_4940_11D5_9DCC_5254AB2B9F00__INCLUDED_
  6. #include "Getbits.h" // Added by ClassView
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. class CSarcode  
  11. {
  12. public:
  13.    long low, high, code_value, bit, length, sacindex, cum, zerorun;
  14. CGetbits m_getbits;
  15. void decoder_reset( );
  16. int decode_a_symbol(int cumul_freq[ ]);
  17. CSarcode();
  18. virtual ~CSarcode();
  19. private:
  20. void bit_out_psc_layer();
  21. };
  22. #endif // !defined(AFX_SARCODE_H__5CAA58E2_4940_11D5_9DCC_5254AB2B9F00__INCLUDED_)