[FFmpeg-devel] [PATCH 2/4] lavfi/delogo: remember left and right samples when interpolating

Jean Delvare khali at linux-fr.org
Fri Jul 5 14:18:08 CEST 2013


Hallo Michael,

On Fri, 5 Jul 2013 14:12:24 +0200, Michael Niedermayer wrote:
> On Fri, Jul 05, 2013 at 10:32:57AM +0200, Jean Delvare wrote:
> > The left and right samples are the same for the whole line, so store
> > their values and don't recompute them for every iteration of "y".
> > 
> > This simple optimization results in a speed improvement between 15%
> > and 20% in my tests (depending on the logo geometry.)
> > 
> > Result is obviously the same.
> > 
> > Signed-off-by: Jean Delvare <khali at linux-fr.org>
> 
> applied

Thanks.

> btw, if you have a public git repo and prefer me pulling/merging
> changes from there once you are happy with them instead of patches
> being applied one by one, just say so ...

No, I'm fine sending patches :)

-- 
Jean Delvare


More information about the ffmpeg-devel mailing list