michael@0: /* -*- mode: c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* this source code form is subject to the terms of the mozilla public michael@0: * license, v. 2.0. if a copy of the mpl was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef MOZILLA_AUDIONODEENGINENEON_H_ michael@0: #define MOZILLA_AUDIONODEENGINENEON_H_ michael@0: michael@0: #include "AudioNodeEngine.h" michael@0: michael@0: namespace mozilla { michael@0: void AudioBufferAddWithScale_NEON(const float* aInput, michael@0: float aScale, michael@0: float* aOutput, michael@0: uint32_t aSize); michael@0: michael@0: void michael@0: AudioBlockCopyChannelWithScale_NEON(const float* aInput, michael@0: float aScale, michael@0: float* aOutput); michael@0: michael@0: void michael@0: AudioBlockCopyChannelWithScale_NEON(const float aInput[WEBAUDIO_BLOCK_SIZE], michael@0: const float aScale[WEBAUDIO_BLOCK_SIZE], michael@0: float aOutput[WEBAUDIO_BLOCK_SIZE]); michael@0: michael@0: void michael@0: AudioBufferInPlaceScale_NEON(float* aBlock, michael@0: float aScale, michael@0: uint32_t aSize); michael@0: michael@0: void michael@0: AudioBlockPanStereoToStereo_NEON(const float aInputL[WEBAUDIO_BLOCK_SIZE], michael@0: const float aInputR[WEBAUDIO_BLOCK_SIZE], michael@0: float aGainL, float aGainR, bool aIsOnTheLeft, michael@0: float aOutputL[WEBAUDIO_BLOCK_SIZE], michael@0: float aOutputR[WEBAUDIO_BLOCK_SIZE]); michael@0: } michael@0: michael@0: #endif /* MOZILLA_AUDIONODEENGINENEON_H_ */