1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:31:01 +00:00
serenity/Userland
Nico Weber 98729c97f4 LibGfx/JBIG2: Simplify and restrict adaptive template pixel reading
EXTTEMPLATE=1 was added later and doesn't seem to be used much in
practice -- it doesn't appear in no simple generic regions in any PDF
I tested so far at least. Since the spec contradicts itself on what
to do with these as far as I can tell, error out on them for now and
then add support once we find actual files using this, so that we can
check our implementation actually works.

Deduplicate the data reading for the different cases, and
zero-initialize all adaptive template pixels to zero to make that
possible.

Other than prohibiting EXTTEMPLATE=1, no behavior change.
2024-03-14 10:57:57 -04:00
..
Applets Keymap: Draw the current keymap text with the correct theme color 2024-03-02 19:24:53 +00:00
Applications Base+ImageViewer: Add new icons for ImageViewer 2024-03-12 08:08:19 +00:00
BuggieBox checksum: Add support for BLAKE2b 2023-09-17 16:49:35 +03:30
Demos Userland: Propagate errors with TRY() where possible 2024-02-14 17:46:06 -05:00
DevTools HackStudio: Enable permissive mode for Config access 2024-03-07 17:49:01 -05:00
DynamicLoader DynamicLoader: Disable stack protector in some files for RISC-V 2024-03-04 01:44:11 +01:00
Games Snake: Set Snake as default skin 2024-03-13 22:05:31 -06:00
Libraries LibGfx/JBIG2: Simplify and restrict adaptive template pixel reading 2024-03-14 10:57:57 -04:00
Services SystemServer: Mount DevLoopFS on /dev/loop 2024-03-13 15:33:47 -06:00
Shell Shell: Use Core::Environment instead of manually iterating environ 2024-02-27 08:33:48 +00:00
Utilities Kernel+Userland: Add mount MS_SRCHIDDEN option 2024-03-13 15:33:47 -06:00
CMakeLists.txt