[FFmpeg-devel] [PATCH 0/5] Integer scalar product DSP functions

Christophe Gisquet christophe.gisquet at gmail.com
Thu May 9 11:55:18 CEST 2013


2013/5/9 Christophe Gisquet <christophe.gisquet at gmail.com>:
> Regarding TAK and its need for 4 elements in a batch, this is probably
> too costly compared to (schematically):
> scalprod(a, b, length&-4)
> for(i=length&-4; i<length; i++) sum += a[i]*b[i];
>
> ie, the issue that applies for wma lossless also applies for tak.

Make that -16. And anyway, the thing than can then be explored for tak
(if there are samples using mod4 number of taps) is whether you can
pad one of the buffers with 0 (like I did in the incomplete patch for
ra144).

I'll take a look.

--
Christophe


More information about the ffmpeg-devel mailing list