HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

ModuleJuicyPixels-3.3.8Haskell2010

Codec.Picture.Jpg.Internal.FastIdct

Module providing a fast implementation of IDCT

inverse two dimensional DCT, Chen-Wang algorithm (cf. IEEE ASSP-32, pp. 803-816, Aug. 1984) 32-bit integer arithmetic (8 bit coefficients) 11 mults, 29 adds per DCT sE, 18.8.91

coefficients extended to 12 bit for IEEE1180-1990 compliance sE, 2.1.94

this code assumes >> to be a two's-complement arithmetic right shift: (-2)>>1 == -1 , (-3)>>1 == -2

  • 1 type
  • 3 values
  • PackageJuicyPixels-3.3.8
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceFastIdct.hs