⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 typedef.h

📁 Reference Implementation of G.711 standard and other voice codecs
💻 H
字号:
/*
  ===========================================================================
   File: TYPEDEF.H                                       v.2.0 - 15.Nov.2004
  ===========================================================================

            ITU-T STL  BASIC OPERATORS

            TYPE DEFINITION PROTOTYPES

   History:
   26.Jan.00   v1.0     Incorporated to the STL from updated G.723.1/G.729 
                        basic operator library (based on basic_op.h)

   03 Nov 04   v2.0     Incorporation of new 32-bit / 40-bit / control
                        operators for the ITU-T Standard Tool Library as 
                        described in Geneva, 20-30 January 2004 WP 3/16 Q10/16
                        TD 11 document and subsequent discussions on the
                        wp3audio@yahoogroups.com email reflector.

  ============================================================================
*/


/*_____________________
 |                     |
 | Basic types.        |
 |_____________________|
*/


#ifndef _TYPEDEF_H
#define _TYPEDEF_H "$Id $"


/* #undef ORIGINAL_TYPEDEF_H */ /* Undefine to get the "new" version *
                                 * of typedef.h (see typedefs.h).    */

#define ORIGINAL_TYPEDEF_H      /* Define to get "original" version  *
                                 * of typedef.h (this file).         */



#ifdef ORIGINAL_TYPEDEF_H
/*
 * This is the original code from the file typedef.h
 */

#if defined(__BORLANDC__) || defined(__WATCOMC__) || defined(_MSC_VER) || defined(__ZTC__) || defined(__CYGWIN__)
typedef signed char Word8;
typedef short Word16;
typedef long Word32;
typedef __int64 Word40;
typedef unsigned short UWord16;
typedef unsigned long UWord32;
typedef int Flag;


#elif defined(__sun)
typedef signed char Word8;
typedef short Word16;
typedef long Word32;
#error "The 40-bit operations have not been tested on __sun : need to define Word40"
typedef unsigned short UWord16;
typedef unsigned long UWord32;
typedef int Flag;

#elif defined(__unix__) || defined(__unix)
typedef signed char Word8;
typedef short Word16;
typedef int Word32;
#error "The 40-bit operations have not been tested on unix : need to define Word40"
typedef unsigned short UWord16;
typedef unsigned int UWord32;
typedef int Flag;
#endif


#else /* ifdef ORIGINAL_TYPEDEF_H */ /* not original typedef.h */




/*
 * Use (improved) type definition file typdefs.h and add a "Flag" type.
 */
#include "typedefs.h"
typedef int Flag;


#endif /* ifdef ORIGINAL_TYPEDEF_H */


#endif /* ifndef _TYPEDEF_H */


/* end of file */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -