Made tables static.

In this CL global tables have been moved to where they are actually used. If for some reason they need to be available in a larger scope we can add them again at that point.
Review URL: http://webrtc-codereview.appspot.com/303002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1075 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
bjornv@webrtc.org
2011-12-01 15:40:50 +00:00
parent 4c4b7f500f
commit 132feb1270
13 changed files with 481 additions and 603 deletions

View File

@@ -174,16 +174,6 @@ extern "C"
#define WEBRTC_SPL_MEMMOVE_W16(v1, v2, length) \
memmove(v1, v2, (length) * sizeof(WebRtc_Word16))
// Trigonometric tables used for quick lookup
// default declarations
extern const WebRtc_Word16 WebRtcSpl_kCosTable[];
extern const WebRtc_Word16 WebRtcSpl_kSinTable[];
extern const WebRtc_Word16 WebRtcSpl_kSinTable1024[];
// Hanning table
extern const WebRtc_Word16 WebRtcSpl_kHanningTable[];
// Random table
extern const WebRtc_Word16 WebRtcSpl_kRandNTable[];
// inline functions:
#include "spl_inl.h"