ffmpeg/libswscale
Mateusz 50ce296026 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>
2017-10-25 21:50:37 +02:00
..
aarch64
arm
ppc
tests sws/tests/pixdesc_query: fix use of free() instead of av_free() 2017-07-30 20:48:57 +02:00
x86 Merge commit '994c4bc10751e39c7ed9f67ffd0c0dea5223daf2' 2017-10-21 12:15:57 -03:00
Makefile Merge commit '92db5083077a8b0f8e1050507671b456fd155125' 2017-05-04 19:59:30 -03:00
alphablend.c
bayer_template.c
gamma.c
hscale.c
hscale_fast_bilinear.c
input.c libswscale: add gray9 support 2017-08-07 13:09:41 +02:00
libswscale.v
log2_tab.c
options.c
output.c swscale: fix gbrap16 alpha channel issues 2017-08-05 23:24:02 +02:00
rgb2rgb.c lsws/rgb2rgb: Add unscaled 48bit to 64bit rgb conversion. 2017-08-24 12:50:06 +02:00
rgb2rgb.h lsws/rgb2rgb: Add unscaled 48bit to 64bit rgb conversion. 2017-08-24 12:50:06 +02:00
rgb2rgb_template.c
slice.c
swscale.c Fix several typos 2017-09-21 16:17:02 -08:00
swscale.h
swscale_internal.h Merge commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013' 2017-04-26 16:23:28 +02:00
swscale_unscaled.c swscale: use dithering in DITHER_COPY only if not set -sws_dither none 2017-10-25 21:50:37 +02:00
swscaleres.rc
utils.c utils: Do not expand a macro with 'defined' in it 2017-08-25 13:44:57 +01:00
version.h Merge commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5' 2017-10-21 14:57:53 -03:00
vscale.c
yuv2rgb.c