www.pudn.com > avs-m3.rar > global_define.h


/*! 
 *************************************************************************** 
 * \file 
 *     global.h 
 * 
 * \brief 
 *   global variables and structures. 
 *     
 * 
 * \date 
 *    01. Apr 2005 
 *************************************************************************** 
 */ 
 
 
#ifndef _GLOBAL__DEFINE_H_ 
#define _GLOBAL_DEFINE_H_ 
 
#include                               //!< for FILE 
#include "defines.h" 
#include "global.h" 
 
//typedef unsigned char   byte;                   //!<  8  bit unsigned 
//typedef int             INT32;                  //!<  32 bit signed 
//typedef unsigned int    UINT32;                //!<   32 bit 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_H_coeff_Y[16][16]; 
int  MB_H_coeff_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];     //!