diff options
author | Mans Rullgard <mans@mansr.com> | 2012-08-11 04:18:53 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-08-13 01:03:25 +0100 |
commit | fddc5b9bea39968ed1f45c667869428865de7626 (patch) | |
tree | 417219a2ad12b4bfe0ee0f9618ad42f4c8db0711 /libavformat/r3d.c | |
parent | 6c4975eaafd7f8f91e81ad8d6be744a434241fd3 (diff) | |
download | ffmpeg-fddc5b9bea39968ed1f45c667869428865de7626.tar.gz |
celp: optimise ff_celp_lp_synthesis_filter()
Adding instead of subtracting the products in the loop allows the
compiler to generate more efficient multiply-accumulate instructions
when 16-bit multiply-subtract is not available. ARM has only
multiply-accumulate for 16-bit operands. In general, if only one
variant exists, it is usually accumulate rather than subtract.
In the same spirit, using the dedicated saturation function enables
use of any special optimised versions of this.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavformat/r3d.c')
0 files changed, 0 insertions, 0 deletions