Home | History | Annotate | Download | only in aacdec
      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: ./include/set_mc_info.h
     21 
     22 
     23 ------------------------------------------------------------------------------
     24  REVISION HISTORY
     25 
     26  Description: (1) use enum type for audioObjectType (2) update revision history
     27 
     28  Who:                       Date:
     29  Description:
     30 
     31 ------------------------------------------------------------------------------
     32  INCLUDE DESCRIPTION
     33 
     34  This file includes function declaration for set_mc_info.c
     35 
     36 ------------------------------------------------------------------------------
     37 */
     38 
     39 /*----------------------------------------------------------------------------
     40 ; CONTINUE ONLY IF NOT ALREADY DEFINED
     41 ----------------------------------------------------------------------------*/
     42 #ifndef SET_MC_INFO_H
     43 #define SET_MC_INFO_H
     44 
     45 /*----------------------------------------------------------------------------
     46 ; INCLUDES
     47 ----------------------------------------------------------------------------*/
     48 #include    "pv_audio_type_defs.h"
     49 #include    "s_mc_info.h"
     50 #include    "s_frameinfo.h"
     51 
     52 /*----------------------------------------------------------------------------
     53 ; MACROS
     54 ; Define module specific macros here
     55 ----------------------------------------------------------------------------*/
     56 
     57 /*----------------------------------------------------------------------------
     58 ; DEFINES
     59 ; Include all pre-processor statements here.
     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 Int set_mc_info(
     84     MC_Info     *pMC_Info,
     85     const tMP4AudioObjectType objectType, /* used to be profile */
     86     const Int    sampling_rate_idx,
     87     const Int    tag,   /* always pass-in last element's value */
     88     const Int    is_cpe,
     89     FrameInfo   *pWinSeqInfo[],
     90     Int          pSfbwidth128[]
     91 );
     92 
     93 /*----------------------------------------------------------------------------
     94 ; END
     95 ----------------------------------------------------------------------------*/
     96 #endif
     97 
     98 
     99