1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-11-06 21:04:45 +03:00
Files
ffmpeg/libavcodec
Daniel Verkamp e856ac2373 avcodec/msrledec: implement vertical offset in 4-bit RLE
The delta escape (2) is supposed to work the same in 4-bit RLE as in
8-bit RLE.  This is documented in the MSDN Bitmap Compression page:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd183383(v=vs.85).aspx

The unchecked modification of line is safe, since the loop condition
(line >= 0) will check it before any pixel data is written.

Fixes ticket #5153 (output now matches ImageMagick for the provided sample).

Signed-off-by: Daniel Verkamp <daniel@drv.nu>
2016-11-29 10:57:49 +01:00
..
…
…
…
2016-07-19 23:25:01 +02:00
2016-11-18 17:01:11 -03:00
2016-10-29 20:43:15 +02:00
…
…
…
2016-10-21 23:58:47 +02:00
…
…
…
…
…
…
…
…
…
2016-11-03 22:05:46 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-09-26 21:42:17 +02:00
…
…
…
…
…
…
…
…
…
2016-10-09 20:09:00 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-08-26 02:10:42 +02:00
…
2016-10-21 23:58:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-07-11 23:30:11 +01:00
2016-07-11 23:30:11 +01:00
…
2016-11-14 00:33:12 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-11-26 13:11:36 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2016-11-09 21:10:59 +01:00
…
…
…
…
…
…
…
2016-10-21 23:58:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-08-18 23:36:18 +02:00
…
…
2016-09-15 21:48:28 +02:00
2016-09-15 21:48:28 +02:00
2016-09-09 16:35:37 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-08-19 14:24:13 +02:00
…
…
2016-11-16 02:39:57 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-07-27 10:19:40 +03:00
2016-07-27 10:19:40 +03:00
…
…
2016-07-12 23:19:50 -07:00
…
…
…
…
…
2016-08-28 11:18:16 +02:00
2016-08-28 11:18:16 +02:00
…
…
2016-11-05 18:56:26 +01:00
…
…
…
…
…
…
…
…
2016-11-27 14:34:57 +01:00
2016-10-21 23:58:47 +02:00
…
…
2016-09-03 14:23:32 +02:00
2016-09-17 13:23:56 +01:00
2016-09-17 13:23:56 +01:00
…
…
…
2016-09-17 13:23:56 +01:00
2016-11-15 22:01:08 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-08-18 15:30:05 +02:00
…
…
…
…
…
…
…
2016-11-12 01:36:47 +01:00
…
…
2016-10-21 23:58:47 +02:00
…
…
2016-09-28 12:35:58 +01:00
…
…
…
…
…
2016-10-31 19:23:40 +00:00
2016-10-31 19:23:40 +00:00
…
…
…
…
…
…
2016-11-10 01:18:43 +01:00
…
…
…
…
…
2016-06-23 00:42:16 +02:00
…
…
2016-10-31 23:20:31 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-09-08 22:16:35 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2016-08-06 18:27:01 -03:00
…
…
2016-08-06 18:27:01 -03:00
2016-08-06 18:27:01 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-06-23 00:42:16 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-06-26 10:18:10 +02:00
…
…
…
…
…