Moved several function pointer declarations in iSAC to isac initialization file.

Fixed clang linker problem of not being able to find symbols.
Review URL: https://webrtc-codereview.appspot.com/1061006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3410 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kma@webrtc.org
2013-01-25 04:55:21 +00:00
parent 16d540eff1
commit c4373bc737
3 changed files with 4 additions and 7 deletions

View File

@@ -27,6 +27,10 @@
#include "modules/audio_coding/codecs/isac/fix/source/structs.h" #include "modules/audio_coding/codecs/isac/fix/source/structs.h"
#include "system_wrappers/interface/cpu_features_wrapper.h" #include "system_wrappers/interface/cpu_features_wrapper.h"
// Declare function pointers.
FilterMaLoopFix WebRtcIsacfix_FilterMaLoopFix;
Spec2Time WebRtcIsacfix_Spec2Time;
Time2Spec WebRtcIsacfix_Time2Spec;
/************************************************************************** /**************************************************************************
* WebRtcIsacfix_AssignSize(...) * 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 */ /* filter the signal using normalized lattice filter */
/* MA filter */ /* MA filter */
void WebRtcIsacfix_NormLatticeFilterMa(WebRtc_Word16 orderCoef, void WebRtcIsacfix_NormLatticeFilterMa(WebRtc_Word16 orderCoef,

View File

@@ -103,10 +103,6 @@ static const WebRtc_Word16 WebRtcIsacfix_kSinTab2[FRAMESAMPLES/4] = {
}; };
#endif // WEBRTC_DETECT_ARM_NEON || WEBRTC_ARCH_ARM_NEON #endif // WEBRTC_DETECT_ARM_NEON || WEBRTC_ARCH_ARM_NEON
// Declare function pointers.
Spec2Time WebRtcIsacfix_Spec2Time;
Time2Spec WebRtcIsacfix_Time2Spec;
void WebRtcIsacfix_Time2SpecC(WebRtc_Word16 *inre1Q9, void WebRtcIsacfix_Time2SpecC(WebRtc_Word16 *inre1Q9,
WebRtc_Word16 *inre2Q9, WebRtc_Word16 *inre2Q9,
WebRtc_Word16 *outreQ7, WebRtc_Word16 *outreQ7,