[FFmpeg-devel] [PATCH 2/2] swscale: use dithering in DITHER_COPY only if not set -sws_dither none

Michael Niedermayer michael at niedermayer.cc
Wed Oct 25 20:59:47 EEST 2017


On Tue, Oct 24, 2017 at 10:02:17AM +0200, Mateusz wrote:
> This patch uses dithering in DITHER_COPY macro only if
> it was not used option '-sws_dither none'.
> With option '-sws_dither none' it uses downshift.
> 
> For human eye dithering is OK, for video codecs not necessarily.
> If user don't want to use dithering, we should respect that.
> 
> Signed-off-by: Mateusz Brzostek <mateuszb at poczta.onet.pl>
> ---
>  libswscale/swscale_unscaled.c | 20 +++++++++++++++++++-
>  1 file changed, 19 insertions(+), 1 deletion(-)

will apply

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- 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/20171025/98ba3b9b/attachment.sig>


More information about the ffmpeg-devel mailing list