[FFmpeg-devel] [PATCH] Channels correlation

Nicolas George nicolas.george
Fri Oct 30 12:02:31 CET 2009


Le nonidi 9 brumaire, an CCXVIII, Michael Niedermayer a ?crit?:
> coeff= 1/coeff;
> ...*= coeff
> is faster

Changed.

> k can start with a value > 0 as the first few columns should already be 0
> except the main diagonal elements

Done. And that is really k: this particular reduction is done on the matrix
columns, not lines.

> btw, isnt libavutil/lls.c/h useable?

I tried to see a way, but it is just not designed for the same situation.
The code to adapt the input data to the lls.h API would be quite ugly, and
probably significantly slower.

I tried to move some code to add restrict qualifiers, but it resulted in
slower code, so I undid the changes. I added a few const qualifiers, but
they did not change anything at all.

New version attached.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-correl-20091030.diff
Type: text/x-diff
Size: 12872 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091030/d7db4854/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091030/d7db4854/attachment.pgp>



More information about the ffmpeg-devel mailing list