diff options
author | Jean Delvare <[email protected]> | 2013-07-05 10:32:57 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2013-07-05 13:53:37 +0200 |
commit | 4e8d6b315c8d046498642c0d155488be326133a3 (patch) | |
tree | cccefc273ee9a87b7e97d553904aae86e5b8e5db /libavformat/tcp.c | |
parent | 6fc8c4cc0ef643b8d6b87b0cf20ca8792c9b2dbe (diff) |
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 <[email protected]>
Reviewed-by: Stefano Sabatini <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/tcp.c')
0 files changed, 0 insertions, 0 deletions