1/* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18/* 19------------------------------------------------------------------------------ 20 PacketVideo Corp. 21 MP3 Decoder Library 22 23 Filename: pvmp3_audio_type_defs.h 24 25 Date: 09/21/2007 26 27------------------------------------------------------------------------------ 28 REVISION HISTORY 29 30 Description: 31------------------------------------------------------------------------------ 32 INCLUDE DESCRIPTION 33 34 This file was derived from a number of standards bodies. The type 35 definitions below were created from some of the best practices observed 36 in the standards bodies. 37 38 This file is dependent on limits.h for defining the bit widths. In an 39 ANSI C environment limits.h is expected to always be present and contain 40 the following definitions: 41 42 SCHAR_MIN 43 SCHAR_MAX 44 UCHAR_MAX 45 46 INT_MAX 47 INT_MIN 48 UINT_MAX 49 50 SHRT_MIN 51 SHRT_MAX 52 USHRT_MAX 53 54 LONG_MIN 55 LONG_MAX 56 ULONG_MAX 57 58------------------------------------------------------------------------------ 59*/ 60 61#ifndef PVMP3_AUDIO_TYPE_DEFS_H 62#define PVMP3_AUDIO_TYPE_DEFS_H 63 64#include <stdint.h> 65 66typedef int8_t int8; 67typedef uint8_t uint8; 68typedef int16_t int16; 69typedef uint16_t uint16; 70typedef int32_t int32; 71typedef uint32_t uint32; 72typedef int64_t int64; 73typedef uint64_t uint64; 74 75typedef int32_t Int32; 76 77#endif /* PVMP3_AUDIO_TYPE_DEFS_H */ 78