Moved all function pointer declarations in iSAC to a single place.

Review URL: https://webrtc-codereview.appspot.com/1057006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3406 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kma@webrtc.org 2013-01-24 21:19:24 +00:00
parent 05e7bfeeea
commit ebef7e4ac1
5 changed files with 7 additions and 15 deletions

View File

@ -26,9 +26,6 @@
#include "filterbank_tables.h"
#include "settings.h"
// Declare a function pointer.
AllpassFilter2FixDec16 WebRtcIsacfix_AllpassFilter2FixDec16;
void WebRtcIsacfix_AllpassFilter2FixDec16C(
int16_t *data_ch1, // Input and output in channel 1, in Q0
int16_t *data_ch2, // Input and output in channel 2, in Q0

View File

@ -27,6 +27,13 @@
#include "modules/audio_coding/codecs/isac/fix/source/structs.h"
#include "system_wrappers/interface/cpu_features_wrapper.h"
// Declare function pointers.
AllpassFilter2FixDec16 WebRtcIsacfix_AllpassFilter2FixDec16;
AutocorrFix WebRtcIsacfix_AutocorrFix;
CalculateResidualEnergy WebRtcIsacfix_CalculateResidualEnergy;
FilterMaLoopFix WebRtcIsacfix_FilterMaLoopFix;
Spec2Time WebRtcIsacfix_Spec2Time;
Time2Spec WebRtcIsacfix_Time2Spec;
/**************************************************************************
* WebRtcIsacfix_AssignSize(...)

View File

@ -84,9 +84,6 @@ void WebRtcIsacfix_FilterMaLoopC(int16_t input0, // Filter coefficient
}
}
// Declare a function pointer.
FilterMaLoopFix WebRtcIsacfix_FilterMaLoopFix;
/* filter the signal using normalized lattice filter */
/* MA filter */
void WebRtcIsacfix_NormLatticeFilterMa(WebRtc_Word16 orderCoef,

View File

@ -463,11 +463,6 @@ static __inline WebRtc_Word16 exp2_Q10_T(WebRtc_Word16 x) { // Both in and out
}
// Declare function pointers.
AutocorrFix WebRtcIsacfix_AutocorrFix;
CalculateResidualEnergy WebRtcIsacfix_CalculateResidualEnergy;
/* This routine calculates the residual energy for LPC.
* Formula as shown in comments inside.
*/

View File

@ -95,10 +95,6 @@ const WebRtc_Word16 kSinTab2[FRAMESAMPLES/4] = {
2032, -1819, 1606, -1392, 1179, -965, 750, -536, 322, -107
};
// Declare function pointers.
Spec2Time WebRtcIsacfix_Spec2Time;
Time2Spec WebRtcIsacfix_Time2Spec;
void WebRtcIsacfix_Time2SpecC(WebRtc_Word16 *inre1Q9,
WebRtc_Word16 *inre2Q9,
WebRtc_Word16 *outreQ7,