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