Revert 3406
> Moved all function pointer declarations in iSAC to a single place. > Review URL: https://webrtc-codereview.appspot.com/1057006 TBR=kma@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1074005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3408 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
#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
|
||||
|
||||
@@ -27,13 +27,6 @@
|
||||
#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(...)
|
||||
|
||||
@@ -84,6 +84,9 @@ 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,
|
||||
|
||||
@@ -463,6 +463,11 @@ 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.
|
||||
*/
|
||||
|
||||
@@ -95,6 +95,10 @@ 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,
|
||||
|
||||
Reference in New Issue
Block a user