[vlc-devel] Re: vlc: svn commit r14218 (hartman)
rem at videolan.org
Sat Feb 11 10:49:51 CET 2006
Le Samedi 11 Février 2006 01:01, Subversion daemon a écrit :
> * Don't put huge pictures on the stack. It is limited on some
> platforms. use malloc. * Use the correct pitch values when reading
> from and writing to pictures (out pitch can differ from in pitch, and
> there is also visible pitch and visible lines.
Using malloc instead of the stack, particularly in a multithreaded
context, is more often than not very very poor, performance-wise.
I don't know if that is critical here, but shouldn't it rather be on
stack, *except* on loosy architecture ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the vlc-devel