ladybird/Userland/Libraries/LibGfx/ImageFormats
Lucas CHOLLET df12e70541 LibGfx/JPEG: Bring IDCT and YCbCr conversion closer to specification
As mentioned in F.2.1.5 - Inverse DCT (IDCT), the decoder needs to
perform a level shift by adding 128. This used to be done in
`ycbcr_to_rgb` after the conversion. Now, we do it in `inverse_dct` in
order to ensure that the task is done unconditionally.

Consequences of this are that we are no longer required to explicitly
do it for RGB images and also, the `ycbcr_to_rgb` function is exactly
like the specification.
2023-04-03 17:12:27 +01:00
..
BMPLoader.cpp
BMPLoader.h
BMPWriter.cpp
BMPWriter.h
DDSLoader.cpp
DDSLoader.h
GIFLoader.cpp
GIFLoader.h
ICOLoader.cpp
ICOLoader.h
ImageDecoder.cpp
ImageDecoder.h
JPEGLoader.cpp LibGfx/JPEG: Bring IDCT and YCbCr conversion closer to specification 2023-04-03 17:12:27 +01:00
JPEGLoader.h
PBMLoader.cpp LibGfx/PortableFormat: Propagate errors from read_image_data() 2023-03-24 10:56:58 +01:00
PBMLoader.h LibGfx/PortableFormat: Propagate errors from read_image_data() 2023-03-24 10:56:58 +01:00
PGMLoader.cpp LibGfx/PortableFormat: Use static_cast instead of C-style casts 2023-03-24 10:56:58 +01:00
PGMLoader.h LibGfx/PortableFormat: Propagate errors from read_image_data() 2023-03-24 10:56:58 +01:00
PNGLoader.cpp
PNGLoader.h
PNGShared.h
PNGWriter.cpp
PNGWriter.h
PortableFormatWriter.cpp
PortableFormatWriter.h
PortableImageLoaderCommon.h LibGfx/PortableFormat: Propagate errors from decode() 2023-03-24 10:56:58 +01:00
PortableImageMapLoader.h LibGfx/PortableFormat: Propagate errors from decode() 2023-03-24 10:56:58 +01:00
PPMLoader.cpp LibGfx/PortableFormat: Use static_cast instead of C-style casts 2023-03-24 10:56:58 +01:00
PPMLoader.h LibGfx/PortableFormat: Propagate errors from read_image_data() 2023-03-24 10:56:58 +01:00
QOILoader.cpp
QOILoader.h
QOIWriter.cpp
QOIWriter.h
TGALoader.cpp
TGALoader.h
WebPLoader.cpp
WebPLoader.h