Dactyloidae/image
Job Bautista 2df558509f Issue #1769 - Part 3: Cleanup nsJXLDecoder.
The mp4parse Rust component has been removed in Issue #58. It doesn't seem
 like the decoder uses any mp4parse function, so seems like it's safe to
 remove it.
Removed const DecoderType named GetType() because we don't have it in our
 Decoder.h.
I've decided to abandon the OS_RGBA backporting effort and instead went for
 using OS_RGBA's value which is R8G8B8A8. Turns out that there is much more
 going on in Mozilla's version of CreateSurfacePipe than I've expected, like
 the aInFormat and aOutFormat thing which I really don't want to delve into
 right now. Looking at the code it looks like all JPEG-XL images are expected
 to have an alpha channel anyway, so I think my workaround should be safe.
I also removed the dependency in OrientedIntSize and used Size() from gfx/2d/
 Point.h like our PNG and GIF decoders currently do. Migrating our decoders
 to OrientedInt types should be done in another PR instead.
Also also changed the coding style to be closer to UXP's.
Also also also, I made a mistake in Part 1's commit message; the commit used
for libjxl is 192ddd90fdf0c69cd1db1c8d7850db036dd87f4b.
2023-06-24 12:16:41 +08:00
..
build Issue #1769 - Part 2: Implement JPEG-XL decoder and about:config and MIME plumbing. 2023-06-24 12:16:27 +08:00
decoders Issue #1769 - Part 3: Cleanup nsJXLDecoder. 2023-06-24 12:16:41 +08:00
encoders Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
test Issue #1769 - Part 2: Implement JPEG-XL decoder and about:config and MIME plumbing. 2023-06-24 12:16:27 +08:00
AnimationFrameBuffer.cpp Issue #2073 - m-c 523950: Discard decoded frames of very large GIF animations (squashed) 2023-01-10 07:30:36 +08:00
AnimationFrameBuffer.h Issue #2073 - m-c 523950: Discard decoded frames of very large GIF animations (squashed) 2023-01-10 07:30:36 +08:00
AnimationParams.h Fix pasta error 2019-02-16 00:20:15 +08:00
AnimationSurfaceProvider.cpp Issue #2073 - m-c 1651587: Make image::Image release efficient on main thread 2023-01-10 07:31:09 +08:00
AnimationSurfaceProvider.h Issue #2073 - m-c 523950: Discard decoded frames of very large GIF animations (squashed) 2023-01-10 07:30:36 +08:00
BMPHeaders.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ClippedImage.cpp Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
ClippedImage.h Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
CopyOnWrite.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
DecodedSurfaceProvider.cpp Issue #2073 - m-c 1651587: Make image::Image release efficient on main thread 2023-01-10 07:31:09 +08:00
DecodedSurfaceProvider.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
DecodePool.cpp Issue #2073 - m-c 1546500: Avoid dispatching synchronous thread shutdown runnables 2023-01-10 07:31:26 +08:00
DecodePool.h Issue #2073 - m-c 523950: Discard decoded frames of very large GIF animations (squashed) 2023-01-10 07:30:36 +08:00
Decoder.cpp Issue #2073 - m-c 1651587: Make image::Image release efficient on main thread 2023-01-10 07:31:09 +08:00
Decoder.h Issue #2073 - m-c 523950: Discard decoded frames of very large GIF animations (squashed) 2023-01-10 07:30:36 +08:00
DecoderFactory.cpp Issue #1769 - Part 2: Implement JPEG-XL decoder and about:config and MIME plumbing. 2023-06-24 12:16:27 +08:00
DecoderFactory.h Issue #1769 - Part 2: Implement JPEG-XL decoder and about:config and MIME plumbing. 2023-06-24 12:16:27 +08:00
DecoderFlags.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
Downscaler.cpp Bug 1409440. r=tnikkel, a=RyanVM 2019-02-15 23:47:06 +08:00
Downscaler.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
DownscalingFilter.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
DrawResult.h CSS: inline-block with a display:block <input> child element has a wrong baseline (HTML forms) 2019-02-15 23:36:15 +08:00
DynamicImage.cpp Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed) 2023-01-10 07:29:50 +08:00
DynamicImage.h Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed) 2023-01-10 07:29:50 +08:00
FrameAnimator.cpp Issue #2073 - m-c 1454149: Do not advance animated images which are not displayed 2023-01-10 07:31:40 +08:00
FrameAnimator.h Issue #2073 - m-c 1454149: Do not advance animated images which are not displayed 2023-01-10 07:31:40 +08:00
FrameTimeout.h Split out FrameTimeout into its own header file for re-use. 2019-02-16 00:20:18 +08:00
FrozenImage.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
FrozenImage.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ICOFileHeaders.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
IDecodingTask.cpp Issue #21 - Remove Telemetry plumbing and fix build. 2022-04-28 10:25:48 +08:00
IDecodingTask.h Make resuming of decoding work for anonymous decoders. 2019-02-16 00:24:35 +08:00
Image.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
Image.h Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed) 2023-01-10 07:29:50 +08:00
ImageCacheKey.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ImageCacheKey.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ImageFactory.cpp Issue #2073 - m-c 1383404: make SourceBuffer::Compact more efficient (squashed) 2023-01-10 07:30:55 +08:00
ImageFactory.h Issue #2073 - m-c 1383404: make SourceBuffer::Compact more efficient (squashed) 2023-01-10 07:30:55 +08:00
ImageLogging.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ImageMetadata.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ImageOps.cpp Make resuming of decoding work for anonymous decoders. 2019-02-16 00:24:35 +08:00
ImageOps.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ImageRegion.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ImageURL.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ImageWrapper.cpp Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed) 2023-01-10 07:29:50 +08:00
ImageWrapper.h Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed) 2023-01-10 07:29:50 +08:00
imgFrame.cpp image: sync with 8e42fccca6 2022-05-31 09:36:20 +08:00
imgFrame.h Split out FrameTimeout into its own header file for re-use. 2019-02-16 00:20:18 +08:00
imgICache.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgIContainer.idl Issue #21 - Remove use counters telemetry 2022-04-28 10:43:09 +08:00
imgIContainerDebug.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgIEncoder.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgILoader.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgINotificationObserver.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgIOnloadBlocker.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgIRequest.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgIScriptedNotificationObserver.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgITools.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgLoader.cpp Issue #1769 - Part 2: Implement JPEG-XL decoder and about:config and MIME plumbing. 2023-06-24 12:16:27 +08:00
imgLoader.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgRequest.cpp [Image] Image cleanup 2022-03-22 23:14:31 +08:00
imgRequest.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgRequestProxy.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgRequestProxy.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
imgTools.cpp Issue #2073 - m-c 1383404: make SourceBuffer::Compact more efficient (squashed) 2023-01-10 07:30:55 +08:00
imgTools.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
IProgressObserver.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ISurfaceProvider.h Issue #2073 - m-c 523950: Discard decoded frames of very large GIF animations (squashed) 2023-01-10 07:30:36 +08:00
LookupResult.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
moz.build Issue #2073 - m-c 523950: Discard decoded frames of very large GIF animations (squashed) 2023-01-10 07:30:36 +08:00
MultipartImage.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
MultipartImage.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIIconURI.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
Orientation.h Issue #1926 - Update image/Orientation.h 2022-06-22 09:03:10 +08:00
OrientedImage.cpp Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
OrientedImage.h Issue #1619 - Convert Intrinsic Ratio to Float 2020-08-06 10:23:07 +08:00
PlaybackType.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ProgressTracker.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ProgressTracker.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
RasterImage.cpp Issue #2073 - m-c 1651587: Make image::Image release efficient on main thread 2023-01-10 07:31:09 +08:00
RasterImage.h Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed) 2023-01-10 07:29:50 +08:00
ScriptedNotificationObserver.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ScriptedNotificationObserver.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ShutdownTracker.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
ShutdownTracker.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
SourceBuffer.cpp Issue #2073 - m-c 1383404: make SourceBuffer::Compact more efficient (squashed) 2023-01-10 07:30:55 +08:00
SourceBuffer.h Issue #2073 - m-c 1383404: make SourceBuffer::Compact more efficient (squashed) 2023-01-10 07:30:55 +08:00
StreamingLexer.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
SurfaceCache.cpp Issue #2073 - Follow-up: Use internal Move instead of std::move for consistency 2023-04-30 21:25:05 +08:00
SurfaceCache.h Issue #2073 - m-c 1651587: Make image::Image release efficient on main thread 2023-01-10 07:31:09 +08:00
SurfaceCacheUtils.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
SurfaceCacheUtils.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
SurfaceFilters.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
SurfaceFlags.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
SurfacePipe.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
SurfacePipe.h Issue #2073 - m-c 1382683: Accelerate GIF decoding to SurfacePipe 2023-01-10 07:29:36 +08:00
SurfacePipeFactory.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
SVGDocumentWrapper.cpp Hold some strong references on nsRefreshDriver 2022-10-27 09:03:27 +08:00
SVGDocumentWrapper.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
VectorImage.cpp Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed) 2023-01-10 07:29:50 +08:00
VectorImage.h Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed) 2023-01-10 07:29:50 +08:00