Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- referenceDct :: MutableMacroBlock s Int32 -> MutableMacroBlock s Int16 -> ST s (MutableMacroBlock s Int32)
- fastDctLibJpeg :: MutableMacroBlock s Int32 -> MutableMacroBlock s Int16 -> ST s (MutableMacroBlock s Int32)
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.
fastDctLibJpeg :: MutableMacroBlock s Int32 -> MutableMacroBlock s Int16 -> ST s (MutableMacroBlock s Int32) Source #
Fast DCT extracted from libjpeg