flacdsp_lpc_template: add comment to explain the CONFIG_SMALL code
authorJames Darnley <james.darnley@gmail.com>
Fri, 14 Feb 2014 11:40:10 +0000 (12:40 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Feb 2014 19:48:25 +0000 (20:48 +0100)
commit91126dc481a48400dd00cc45e98fb25520344874
treebba48a897f8402c44a285237ee0c53dddc0acf20
parent9ae8e23188fc2e533eea74757c9060557941d3d9
flacdsp_lpc_template: add comment to explain the CONFIG_SMALL code

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.

Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/flacdsp_lpc_template.c