www.pudn.com > wm2.5.zip > global.h
/*! *************************************************************************** * \file * global.h * * \brief * global variables and structures. * * * \date * 01. Apr 2005 *************************************************************************** */ #ifndef _GLOBAL_H_ #define _GLOBAL_H_ #include//!< for FILE #include "defines.h" #ifdef WIN32 #define snprintf _snprintf #endif typedef unsigned char byte; //!< 8 bit unsigned typedef int int32; //!< 16bit signed typedef unsigned int u_int32; //!< 16bit unsigned // global picture format dependend buffers, mem allocation in decod.c ****************** int **refFrArr; //!< Array for reference frames of each block byte **imgY; //!< array for the decoded luma component byte ***imgUV; //!< array for the chroma component byte **imgY_ref; //!< reference frame find snr byte ***imgUV_ref; /* ********************************************************************** * AVSM Decoder Trace Definition ********************************************************************** */ #if TRACE byte MB_Y[16][16]; byte MB_UV[2][8][8]; int MB_IDCT_Y[16][16]; int MB_IDCT_UV[2][8][8]; int MB_IQ_Y[16][16]; int MB_IQ_UV[2][8][8]; int MB_intrapred_Y[16][16]; int MB_intrapred_UV[2][8][8]; int MB_interpred_Y[16][16]; int MB_interpred_UV[2][8][8]; //!