You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.1 KiB
C
75 lines
2.1 KiB
C
/*
|
|
* Project 25 IMBE Encoder/Decoder Fixed-Point implementation
|
|
* Developed by Pavel Yazev E-mail: pyazev@gmail.com
|
|
* Version 1.0 (c) Copyright 2009
|
|
*
|
|
* This is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3, or (at your option)
|
|
* any later version.
|
|
*
|
|
* The software is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
* See the GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this; see the file COPYING. If not, write to the Free
|
|
* Software Foundation, Inc., 51 Franklin Street, Boston, MA
|
|
* 02110-1301, USA.
|
|
*/
|
|
/*
|
|
********************************************************************************
|
|
*
|
|
* GSM AMR speech codec Version 7.4.0 January 31, 2000
|
|
*
|
|
********************************************************************************
|
|
*
|
|
* File : typedef.c
|
|
* Purpose : Basic types.
|
|
*
|
|
********************************************************************************
|
|
*/
|
|
#ifndef typedef_h
|
|
#define typedef_h "$Id $"
|
|
|
|
#undef ORIGINAL_TYPEDEF_H /* define to get "original" ETSI version
|
|
of typedef.h */
|
|
|
|
#ifdef ORIGINAL_TYPEDEF_H
|
|
/*
|
|
* this is the original code from the ETSI file typedef.h
|
|
*/
|
|
|
|
#if defined(__BORLANDC__) || defined(__WATCOMC__) || defined(_MSC_VER) || defined(__ZTC__)
|
|
typedef signed char Word8;
|
|
typedef short Word16;
|
|
typedef long Word32;
|
|
typedef int Flag;
|
|
|
|
#elif defined(__sun)
|
|
typedef signed char Word8;
|
|
typedef short Word16;
|
|
typedef long Word32;
|
|
typedef int Flag;
|
|
|
|
#elif defined(__unix__) || defined(__unix)
|
|
typedef signed char Word8;
|
|
typedef short Word16;
|
|
typedef int Word32;
|
|
typedef int Flag;
|
|
|
|
#endif
|
|
#else /* not original typedef.h */
|
|
|
|
/*
|
|
* use (improved) type definition file typdefs.h and add a "Flag" type
|
|
*/
|
|
#include "typedefs.h"
|
|
typedef int Flag;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|