[FFmpeg-devel] [PATCH v3] lavfi/delogo: take SAR into account
michaelni at gmx.at
Wed Jul 3 23:18:49 CEST 2013
On Mon, Jul 01, 2013 at 04:28:59PM +0200, Jean Delvare wrote:
> 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
> Signed-off-by: Jean Delvare <khali at linux-fr.org>
> Changes since v2:
> * Adjusted the subject.
> * Don't use non-portable "? :" construct.
> * Alter sar.den in place.
> * Alter sar.den in the caller rather than in apply_delogo(), so we
> only do it once per frame.
> libavfilter/vf_delogo.c | 20 +++++++++++++-------
> 1 file changed, 13 insertions(+), 7 deletions(-)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel