[FFmpeg-devel] [PATCH] swscale: more accurate DITHER_COPY macro for full and limited range

Michael Niedermayer michael at niedermayer.cc
Mon Oct 23 21:11:10 EEST 2017


On Fri, Oct 06, 2017 at 05:33:22PM +0200, Mateusz wrote:
> Fixed DITHER_COPY macro (only C code), updated FATE tests.
> 
> PSNR in tests that needed update goes from 50 to 999.99 -- the quality is there.
> 
> Please review.
> 
> Mateusz
> 

>  libswscale/swscale_unscaled.c              |   73 +++++++++++++++--------------
>  tests/ref/vsynth/vsynth1-ffvhuff420p12     |    4 -
>  tests/ref/vsynth/vsynth1-vc2-420p10        |    4 -
>  tests/ref/vsynth/vsynth1-vc2-420p12        |    4 -
>  tests/ref/vsynth/vsynth2-ffvhuff420p12     |    4 -
>  tests/ref/vsynth/vsynth2-vc2-420p10        |    4 -
>  tests/ref/vsynth/vsynth2-vc2-420p12        |    4 -
>  tests/ref/vsynth/vsynth3-ffvhuff420p12     |    4 -
>  tests/ref/vsynth/vsynth_lena-ffvhuff420p12 |    4 -
>  tests/ref/vsynth/vsynth_lena-vc2-420p10    |    4 -
>  tests/ref/vsynth/vsynth_lena-vc2-420p12    |    4 -
>  11 files changed, 58 insertions(+), 55 deletions(-)
> 3a5b24e81786299d53ab52b07eabc26dcec2766e  0001-swscale-more-accurate-DITHER_COPY-macro-for-full-and.patch
> From d870ba10aa4b3520fc30215fbbd57565faa13df4 Mon Sep 17 00:00:00 2001
> From: Mateusz <mateuszb at poczta.onet.pl>
> Date: Fri, 6 Oct 2017 16:49:54 +0200
> Subject: [PATCH] swscale: more accurate DITHER_COPY macro for full and limited
>  range

applied

thanks


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171023/07bb2382/attachment.sig>


More information about the ffmpeg-devel mailing list