www.pudn.com > wm2.5.zip > block.h
/*! *************************************************************************** * \file * block.h * * \brief * block-handle function and marco definitions * include IDCT,IQ,Rec block. * * \date * 01. Apr 2005 *************************************************************************** */ #ifndef _BLOCK_H #define _BLOCK_H #include "global.h" #include "defines.h" #define Q_BITS 15 #define DQ_BITS 6 #define DQ_ROUND (1<<(DQ_BITS-1)) //#define CODE2D_ESCAPE_SYMBOL 39 // ======================================================== // external variables // ======================================================== extern const int SCAN[16][2]; //!< Scan positions. Positions are stored as (pix,lin). extern const byte QP_SCALE_CR[64] ; void Get_residual( int b8, int b4); void Recon_B4(int b8, int b4); void Inv_Transform_B4(int b8,int b4); void Dequant_B4(int qp, int b8, int b4); #endif