Re: [FFmpeg-devel] [PATCH] msrle: implement vertical offset in 4-bit RLE

2016-11-28 Thread Paul B Mahol
On 11/28/16, Daniel Verkamp wrote: > 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 i

[FFmpeg-devel] [PATCH] msrle: implement vertical offset in 4-bit RLE

2016-11-28 Thread Daniel Verkamp
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)