JuicyPixels-3.3.6: Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)
Safe HaskellNone
LanguageHaskell2010

Codec.Picture.Jpg.Internal.FastDct

Synopsis

Documentation

referenceDct :: MutableMacroBlock s Int32 -> MutableMacroBlock s Int16 -> ST s (MutableMacroBlock s Int32) Source #

Reference implementation of the DCT, directly implementing the formula of ITU-81. It's slow as hell, perform to many operations, but is accurate and a good reference point.