[vlc-devel] [vlc-commits] avcodec: avoid unneeded memcpy in EncodeVideo/Audio

Rémi Denis-Courmont remi at remlab.net
Tue Feb 14 09:29:33 CET 2012


On Tue, 14 Feb 2012 09:34:08 +0200, Ilkka Ollakka <ileoo at videolan.org>
wrote:
> I was thinking that with somewhat modern systems, having 1 megabyte
> (seems to be case with 720x576 resolution) block would not really show
> up anywhere? There is big change that I'm wrong with this ofcourse.

Allocating a large block of memory can be slower than copying a small
block... This is not (only) a memory consumption problem.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list