Skip to content
Snippets Groups Projects
Commit 8cf872a1 authored by Zheng Lv's avatar Zheng Lv Committed by Felicia Lim
Browse files

Make CELT FFT twiddle complex type aligned


This makes kiss_twiddle_cpx 4-byte aligned (instead of 2-byte) for
fixed-point builds. Tested with an armv6j+nofp development board, CELT
encoding becomes 1.4x as fast, and decoding over 2x.

Performance gain is mostly attributed to the proper alignment of the
static const array mdct_twiddles960.

Co-authored-by: default avatarDavid Gao <davidgao@google.com>
Signed-off-by: default avatarFelicia Lim <flim@google.com>
parent 757c53f7
Branches exp_fargan_plc3
No related tags found
No related merge requests found
Pipeline #3528 passed