am ca7ad44a
: Merge "audioflinger: Enable ARMv5TE optimized resampler"
* commit 'ca7ad44a8b6764b5935143bfe55700cbddb0d990': audioflinger: Enable ARMv5TE optimized resampler
This commit is contained in:
@ -26,11 +26,15 @@
|
||||
#include "AudioResamplerSinc.h"
|
||||
#include "AudioResamplerCubic.h"
|
||||
|
||||
#ifdef __arm__
|
||||
#include <machine/cpu-features.h>
|
||||
#endif
|
||||
|
||||
namespace android {
|
||||
|
||||
#ifdef __ARM_ARCH_5E__ // optimized asm option
|
||||
#ifdef __ARM_HAVE_HALFWORD_MULTIPLY // optimized asm option
|
||||
#define ASM_ARM_RESAMP1 // enable asm optimisation for ResamplerOrder1
|
||||
#endif // __ARM_ARCH_5E__
|
||||
#endif // __ARM_HAVE_HALFWORD_MULTIPLY
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class AudioResamplerOrder1 : public AudioResampler {
|
||||
|
Reference in New Issue
Block a user