Dactyloidae/image/decoders
Andrew Osmond 4f5c2d5a46 BMPs from the clipboard may include extra padding.
In the original Windows clipboard BMP decoder implementation in
nsImageFromClipboard::ConvertColorBitMap, if the bitmap used bitfields
compression, it always adjusted the offset to the RGB data by 12 bytes.
It did this even for newer BMP header formats which explicitly include
space for the bitfields in their header sizes. This patch updates our
BMP decoder to do the same for clipboard BMPs, since we have observed
pasted BMPs using bitfield compression appearing incorrectly. To the
user this appears as if we read a color mask; completely red, blue,
green pixels at the start of the last row, causing all of the other rows
to start with the last three pixels of the previous row.
2019-02-17 12:07:06 +08:00
..
icon Perform some sanity checks on nsMozIconURI. 2019-02-16 00:01:30 +08:00
EXIF.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
EXIF.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
GIF2.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
iccjpeg.c import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
iccjpeg.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
moz.build Implement WebP image decoder. 2019-02-14 14:36:33 +08:00
nsBMPDecoder.cpp BMPs from the clipboard may include extra padding. 2019-02-17 12:07:06 +08:00
nsBMPDecoder.h BMPs from the clipboard may include extra padding. 2019-02-17 12:07:06 +08:00
nsGIFDecoder2.cpp Fix blank pixel color for truncated GIFs 2019-02-16 00:20:20 +08:00
nsGIFDecoder2.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsICODecoder.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsICODecoder.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIconDecoder.cpp Bug 1462355 - Part 1c. Make individual image decoders to use updated Decoder/SurfacePipe methods. 2019-02-16 00:20:14 +08:00
nsIconDecoder.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsJPEGDecoder.cpp Bug 1462355 - Part 1c. Make individual image decoders to use updated Decoder/SurfacePipe methods. 2019-02-16 00:20:14 +08:00
nsJPEGDecoder.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsPNGDecoder.cpp Bug 1462355 - Part 1c. Make individual image decoders to use updated Decoder/SurfacePipe methods. 2019-02-16 00:20:14 +08:00
nsPNGDecoder.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsWebPDecoder.cpp Check for contiguous buffer state. 2019-02-16 00:24:38 +08:00
nsWebPDecoder.h Port WebP decoder changes. 2019-02-16 00:20:09 +08:00