• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  *
3  *  Copyright (C) 1999-2012 Broadcom Corporation
4  *
5  *  Licensed under the Apache License, Version 2.0 (the "License");
6  *  you may not use this file except in compliance with the License.
7  *  You may obtain a copy of the License at:
8  *
9  *  http://www.apache.org/licenses/LICENSE-2.0
10  *
11  *  Unless required by applicable law or agreed to in writing, software
12  *  distributed under the License is distributed on an "AS IS" BASIS,
13  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  *  See the License for the specific language governing permissions and
15  *  limitations under the License.
16  *
17  ******************************************************************************/
18 
19 /******************************************************************************
20  *
21  *  Function declarations.
22  *
23  ******************************************************************************/
24 
25 #ifndef SBC_FUNCDECLARE_H
26 #define SBC_FUNCDECLARE_H
27 
28 /*#include "sbc_encoder.h"*/
29 /* Global data */
30 #if (SBC_IS_64_MULT_IN_WINDOW_ACCU == FALSE)
31 extern const SINT16 gas32CoeffFor4SBs[];
32 extern const SINT16 gas32CoeffFor8SBs[];
33 #else
34 extern const SINT32 gas32CoeffFor4SBs[];
35 extern const SINT32 gas32CoeffFor8SBs[];
36 #endif
37 
38 /* Global functions*/
39 
40 extern void sbc_enc_bit_alloc_mono(SBC_ENC_PARAMS *CodecParams);
41 extern void sbc_enc_bit_alloc_ste(SBC_ENC_PARAMS *CodecParams);
42 
43 extern void SbcAnalysisInit (void);
44 
45 extern void SbcAnalysisFilter4(SBC_ENC_PARAMS *strEncParams);
46 extern void SbcAnalysisFilter8(SBC_ENC_PARAMS *strEncParams);
47 
48 extern void SBC_FastIDCT8 (SINT32 *pInVect, SINT32 *pOutVect);
49 extern void SBC_FastIDCT4 (SINT32 *x0, SINT32 *pOutVect);
50 
51 extern void EncPacking(SBC_ENC_PARAMS *strEncParams);
52 extern void EncQuantizer(SBC_ENC_PARAMS *);
53 #if (SBC_DSP_OPT==TRUE)
54     SINT32 SBC_Multiply_32_16_Simplified(SINT32 s32In2Temp,SINT32 s32In1Temp);
55 #endif
56 #endif
57 
58