WebRtc_GetCPUFeaturesARM is only available on android
R=andrew@webrtc.org, jridges@masque.com, zhongwei.yao@arm.com Review URL: https://webrtc-codereview.appspot.com/35119004 Patch from Mostyn Bramley-Moore <mostynb@opera.com>. Cr-Commit-Position: refs/heads/master@{#8336} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8336 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
a98e796615
commit
073dd7b423
@ -57,7 +57,7 @@ FIRFilter* FIRFilter::Create(const float* coefficients,
|
||||
filter = new FIRFilterC(coefficients, coefficients_length);
|
||||
}
|
||||
#endif
|
||||
#elif defined(WEBRTC_ARCH_ARM_V7)
|
||||
#elif defined(WEBRTC_DETECT_ARM_NEON) || defined(WEBRTC_ARCH_ARM_NEON)
|
||||
#if defined(WEBRTC_ARCH_ARM_NEON)
|
||||
filter =
|
||||
new FIRFilterNEON(coefficients, coefficients_length, max_input_length);
|
||||
|
@ -128,7 +128,7 @@ void SincResampler::InitializeCPUSpecificFeatures() {
|
||||
convolve_proc_ = WebRtc_GetCPUInfo(kSSE2) ? Convolve_SSE : Convolve_C;
|
||||
}
|
||||
#endif
|
||||
#elif defined(WEBRTC_ARCH_ARM_V7)
|
||||
#elif defined(WEBRTC_DETECT_ARM_NEON) || defined(WEBRTC_ARCH_ARM_NEON)
|
||||
#if defined(WEBRTC_ARCH_ARM_NEON)
|
||||
#define CONVOLVE_FUNC Convolve_NEON
|
||||
void SincResampler::InitializeCPUSpecificFeatures() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user