1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-18 03:19:31 +02:00
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 swscale: Drop is9_OR_10BPS() use, its name is not correct 2016-11-10 00:33:12 +01:00
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
alphablend.c
bayer_template.c
gamma.c
hscale_fast_bilinear.c
hscale.c
input.c libswscale: add gray9 support 2017-08-07 13:09:41 +02:00
libswscale.v
log2_tab.c
Makefile Merge commit '92db5083077a8b0f8e1050507671b456fd155125' 2017-05-04 19:59:30 -03:00
options.c swscale/options: Use AV_OPT_TYPE_PIXEL_FMT 2016-11-20 13:00:22 +01:00
output.c swscale: fix gbrap16 alpha channel issues 2017-08-05 23:24:02 +02:00
rgb2rgb_template.c
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
slice.c lsws/slice: Move a misplaced const. 2017-03-08 00:33:21 +01:00
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
swscale.c Fix several typos 2017-09-21 16:17:02 -08:00
swscale.h doxygen: Standardize root-level modules 2016-08-02 22:15:25 -07: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