mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
![]() 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. |
||
---|---|---|
.. | ||
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 | ||
JPEGLoader.h | ||
PBMLoader.cpp | ||
PBMLoader.h | ||
PGMLoader.cpp | ||
PGMLoader.h | ||
PNGLoader.cpp | ||
PNGLoader.h | ||
PNGShared.h | ||
PNGWriter.cpp | ||
PNGWriter.h | ||
PortableFormatWriter.cpp | ||
PortableFormatWriter.h | ||
PortableImageLoaderCommon.h | ||
PortableImageMapLoader.h | ||
PPMLoader.cpp | ||
PPMLoader.h | ||
QOILoader.cpp | ||
QOILoader.h | ||
QOIWriter.cpp | ||
QOIWriter.h | ||
TGALoader.cpp | ||
TGALoader.h | ||
WebPLoader.cpp | ||
WebPLoader.h |