[FFmpeg-devel] [PATCH] swscale: Only copy dstW/chrDstW of the last line in the plane in planar copy

Reimar Döffinger Reimar.Doeffinger
Fri Jul 16 23:09:28 CEST 2010


On Fri, Jul 16, 2010 at 08:33:01PM +0300, Martin Storsj? wrote:
> > what speed effect does it have to do this with all lines?
> > if its slower we could pass a flag to swscale.
> 
> Haven't benchmarked anything, but I guess it depends on the dimensions. 
> More memcpys (height vs 1) but fewer bytes copied in total.

I think it would be nice if it did not overwrite stuff in-between,
I guess this might be useful for handling interlaced.
I'd really suspect memory bandwidth to be limiting for higher resolutions
anyway, but you never know.



More information about the ffmpeg-devel mailing list