1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/libswscale
Kostya Shishkov 42ba12888b Do not convert RGB buffer at once when stride does not fit exact samples.
When converting RGB format to RGB format with the same bits per sample,
unscaled path performs conversion on the whole buffer at once. For
non-multiple-of-16 BGR24 to RGB24 conversion it means that padding at the
end of line will be converted too. Since it may be of arbitrary length
(e.g. 8 bytes), operating on the whole buffer produces obviously wrong
results.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-07-30 09:51:23 -07:00
..
bfin swscale: Remove unused variable from ff_bfin_get_unscaled_swscale(). 2011-06-21 20:53:52 +02:00
mlib Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
ppc swscale: for >8bit scaling, read in native bit-depth. 2011-07-01 09:08:26 -07:00
sparc Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
x86 swscale: rename uv_off/uv_off2 to uv_off_px/byte. 2011-07-08 15:15:31 -07:00
colorspace-test.c sws: replace all long with int. 2011-05-28 10:03:37 -04:00
libswscale.v
Makefile build: include sub-makefiles using full path instead of symlinks 2011-06-28 18:15:19 +01:00
options.c swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*. 2011-05-24 10:03:26 -04:00
rgb2rgb_template.c swscale: Remove disabled code. 2011-05-29 14:32:08 +02:00
rgb2rgb.c sws: replace all long with int. 2011-05-28 10:03:37 -04:00
rgb2rgb.h sws: replace all long with int. 2011-05-28 10:03:37 -04:00
swscale_internal.h swscale: fix crash with dithering due incorrect offset calculation. 2011-07-10 14:52:21 -07:00
swscale_unscaled.c Do not convert RGB buffer at once when stride does not fit exact samples. 2011-07-30 09:51:23 -07:00
swscale-test.c swscale: Remove commented-out printf cruft. 2011-05-26 03:45:58 +02:00
swscale.c swscale: error dithering for 16/9/10-bit to 8-bit. 2011-07-08 15:15:30 -07:00
swscale.h doxygen: Make sure parameter names match between .c and .h files. 2011-07-14 04:09:49 +02:00
utils.c swscale: mark YUV422P10(LE,BE) as supported for output 2011-07-21 02:10:31 +01:00
yuv2rgb.c swscale: Remove disabled code. 2011-05-29 14:32:08 +02:00