diff options
author | Jean Delvare <khali@linux-fr.org> | 2013-07-05 10:32:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-05 13:53:37 +0200 |
commit | 4e8d6b315c8d046498642c0d155488be326133a3 (patch) | |
tree | cccefc273ee9a87b7e97d553904aae86e5b8e5db /tools/graph2dot.c | |
parent | 6fc8c4cc0ef643b8d6b87b0cf20ca8792c9b2dbe (diff) | |
download | ffmpeg-4e8d6b315c8d046498642c0d155488be326133a3.tar.gz |
lavfi/delogo: remember left and right samples when interpolating
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@linux-fr.org>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools/graph2dot.c')
0 files changed, 0 insertions, 0 deletions