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 Filename: extractFrameInfo.h 21 22 23 ------------------------------------------------------------------------------ 24 REVISION HISTORY 25 26 27 Who: Date: MM/DD/YYYY 28 Description: 29 ------------------------------------------------------------------------------ 30 31 32 ---------------------------------------------------------------------------- 33 ; CONTINUE ONLY IF NOT ALREADY DEFINED 34 ----------------------------------------------------------------------------*/ 35 #ifndef EXTRACTFRAMEINFO_H 36 #define EXTRACTFRAMEINFO_H 37 38 /*---------------------------------------------------------------------------- 39 ; INCLUDES 40 ----------------------------------------------------------------------------*/ 41 #include "pv_audio_type_defs.h" 42 #include "s_bit_buffer.h" 43 #include "s_sbr_frame_data.h" 44 #include "e_sbr_error.h" 45 46 /*---------------------------------------------------------------------------- 47 ; MACROS 48 ; Define module specific macros here 49 ----------------------------------------------------------------------------*/ 50 51 /*---------------------------------------------------------------------------- 52 ; DEFINES 53 ; Include all pre-processor statements here. 54 ----------------------------------------------------------------------------*/ 55 56 /*---------------------------------------------------------------------------- 57 ; EXTERNAL VARIABLES REFERENCES 58 ; Declare variables used in this module but defined elsewhere 59 ----------------------------------------------------------------------------*/ 60 61 /*---------------------------------------------------------------------------- 62 ; SIMPLE TYPEDEF'S 63 ----------------------------------------------------------------------------*/ 64 typedef Int32 FRAME_INFO[LENGTH_FRAME_INFO]; 65 66 /*---------------------------------------------------------------------------- 67 ; ENUMERATED TYPEDEF'S 68 ----------------------------------------------------------------------------*/ 69 70 /*---------------------------------------------------------------------------- 71 ; STRUCTURES TYPEDEF'S 72 ----------------------------------------------------------------------------*/ 73 74 /*---------------------------------------------------------------------------- 75 ; GLOBAL FUNCTION DEFINITIONS 76 ; Function Prototype declaration 77 ----------------------------------------------------------------------------*/ 78 79 #ifdef __cplusplus 80 extern "C" 81 { 82 #endif 83 84 SBR_ERROR extractFrameInfo(BIT_BUFFER * hBitBuf, 85 SBR_FRAME_DATA * h_frame_data); 86 87 #ifdef __cplusplus 88 } 89 #endif 90 91 /*---------------------------------------------------------------------------- 92 ; END 93 ----------------------------------------------------------------------------*/ 94 #endif 95 96 97