[FFmpeg-devel] [PATCH 5/7] flacdsp_lpc_template: add comment to explain the CONFIG_SMALL code

Christophe Gisquet christophe.gisquet at gmail.com
Fri Feb 14 16:14:53 CET 2014


Hi,

2014-02-14 12:40 GMT+01:00 James Darnley <james.darnley at gmail.com>:
> I found the optimisation of 2 samples per iteration obscured the
> underlying algorithm.  I had to write it out on paper and translate into
> a mathematical sum to see that the two samples are unconnected.  I hope
> that if anyone else is struggling to understand the code that this will
> be useful.

I agree. An optimization in C may distract from the proper way of
doing a DSP implementation.


More information about the ffmpeg-devel mailing list