xiph / speexdsp

Speex audio processing library - THIS IS A MIRROR, DEVELOPMENT HAPPENS AT https://gitlab.xiph.org/xiph/speexdsp
https://speex.org
Other
490 stars 191 forks source link

port resample_neon.h to aarch64 #7

Closed fbarchard closed 6 years ago

fbarchard commented 8 years ago

resample_neon.h is inline assembly for armv7 32 bit NEON. To compile this for aarch64, the functions need a port. The file contains 4 functions. saturate_32bit_to_16bit() inner_product_single(int16_t a,...) saturate_float_to_16bit() inner_product_single(float a,...)

resample.c includes the neon using a macro:

ifdef _USE_NEON

include "resample_neon.h"

endif

which needs to be set in the makefile.

Attached is a patch resample_neon.txt

fbarchard commented 8 years ago

pushed a fix into a fork and a pull request https://github.com/xiph/speexdsp/pull/8

fbarchard commented 8 years ago

Anyone able to take the get pull request or apply the patch above?

tmatth commented 6 years ago

Fixed in #8