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: s_tmp3dec_chan.h 24 25 Date: 09/21/2007 26 27------------------------------------------------------------------------------ 28 REVISION HISTORY 29 30 Description: 31 32------------------------------------------------------------------------------ 33 INCLUDE DESCRIPTION 34 35 This include file defines the structure, tmp3dec_chan. 36 This structure contains information per channel that needs to persist 37 between calls 38 39------------------------------------------------------------------------------ 40*/ 41 42/*---------------------------------------------------------------------------- 43; CONTINUE ONLY IF NOT ALREADY DEFINED 44----------------------------------------------------------------------------*/ 45#ifndef S_TMP3DEC_CHAN_H 46#define S_TMP3DEC_CHAN_H 47 48/*---------------------------------------------------------------------------- 49; INCLUDES 50----------------------------------------------------------------------------*/ 51#include "pvmp3_audio_type_defs.h" 52#include "pvmp3_dec_defs.h" 53 54/*---------------------------------------------------------------------------- 55; MACROS 56; Define module specific macros here 57----------------------------------------------------------------------------*/ 58 59/*---------------------------------------------------------------------------- 60; DEFINES 61; Include all pre-processor statements here. 62----------------------------------------------------------------------------*/ 63 64/*---------------------------------------------------------------------------- 65; EXTERNAL VARIABLES REFERENCES 66; Declare variables used in this module but defined elsewhere 67----------------------------------------------------------------------------*/ 68 69/*---------------------------------------------------------------------------- 70; SIMPLE TYPEDEF'S 71----------------------------------------------------------------------------*/ 72 73/*---------------------------------------------------------------------------- 74; ENUMERATED TYPEDEF'S 75----------------------------------------------------------------------------*/ 76 77/*---------------------------------------------------------------------------- 78; STRUCTURES TYPEDEF'S 79----------------------------------------------------------------------------*/ 80#ifdef __cplusplus 81extern "C" 82{ 83#endif 84 85 typedef struct 86 { 87 int32 used_freq_lines; 88 int32 overlap[SUBBANDS_NUMBER*FILTERBANK_BANDS]; 89 int32 work_buf_int32[SUBBANDS_NUMBER*FILTERBANK_BANDS]; /* working buffer */ 90 int32 circ_buffer[480 + 576]; 91 92 } tmp3dec_chan; 93 94 95#ifdef __cplusplus 96} 97#endif 98 99/*---------------------------------------------------------------------------- 100; GLOBAL FUNCTION DEFINITIONS 101; Function Prototype declaration 102----------------------------------------------------------------------------*/ 103 104/*---------------------------------------------------------------------------- 105; END 106----------------------------------------------------------------------------*/ 107 108#endif 109 110 111