aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpc.c
diff options
context:
space:
mode:
authorMateusz <mateuszb@poczta.onet.pl>2017-10-24 10:02:17 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-10-25 21:50:37 +0200
commit50ce2960263daf48227df758df9ade19db7154fa (patch)
tree0c291e904b1b91e8d1d8648c65dbc9328a8dbe09 /libavcodec/mpc.c
parent736a48901fa0061f52d3f6679546d4d6b5fdb510 (diff)
downloadffmpeg-50ce2960263daf48227df758df9ade19db7154fa.tar.gz
swscale: use dithering in DITHER_COPY only if not set -sws_dither none
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@poczta.onet.pl> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpc.c')
0 files changed, 0 insertions, 0 deletions