www.pudn.com > jm74.zip > global.h
/*! ************************************************************************ * \file * global.h * \brief * global definitions for for H.26L decoder. * \author * Copyright (C) 1999 Telenor Satellite Services,Norway * Ericsson Radio Systems, Sweden * * Inge Lille-Langøy* * Telenor Satellite Services * Keysers gt.13 tel.: +47 23 13 86 98 * N-0130 Oslo,Norway fax.: +47 22 77 79 80 * * Rickard Sjoberg * * Ericsson Radio Systems * KI/ERA/T/VV * 164 80 Stockholm, Sweden * ************************************************************************ */ #ifndef _GLOBAL_H_ #define _GLOBAL_H_ #include //!< for FILE #include "defines.h" #include "parsetcommon.h" #ifdef WIN32 #define snprintf _snprintf #endif typedef unsigned char byte; //!< 8 bit unsigned typedef int int32; typedef unsigned int u_int32; #ifdef WIN32 typedef __int64 int64; # define INT64_MIN (-9223372036854775807i64 - 1i64) #else typedef long long int64; # define INT64_MIN (-9223372036854775807LL - 1LL) #endif pic_parameter_set_rbsp_t *active_pps; seq_parameter_set_rbsp_t *active_sps; // global picture format dependend buffers, mem allocation in decod.c ****************** int **refFrArr; //!< Array for reference frames of each block byte **imgY_ref; //!< reference frame find snr byte ***imgUV_ref; int ReMapRef[20]; // B pictures int Bframe_ctr; int frame_no; // For MB level frame/field coding int TopFieldForSkip_Y[16][16]; int TopFieldForSkip_UV[2][16][16]; #define ET_SIZE 300 //!< size of error text buffer char errortext[ET_SIZE]; //!< buffer for error message for exit with error() int g_new_frame; /*********************************************************************** * T y p e d e f i n i t i o n s f o r T M L *********************************************************************** */ //! Data Partitioning Modes typedef enum { PAR_DP_1, //