lavfi/delogo: take SAR into account
authorJean Delvare <khali@linux-fr.org>
Mon, 1 Jul 2013 14:28:59 +0000 (16:28 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 3 Jul 2013 21:10:46 +0000 (23:10 +0200)
commit99f1d7493349640a1489b6b42dec20a9b1326f9b
treeb60f149a1eb6902ded17ace92c4cbae1ffb9d960
parenta64248d1ec154779473be90ce1608702cc4a6496
lavfi/delogo: take SAR into account

When interpolating, weights are based on relative distances, which
assume square pixels. If a non-1:1 sample aspect ratio is used, it
should be taken into account when comparing distances, because the
human eye and brain care about the picture as it is displayed, not
stored.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_delogo.c