Bläddra i källkod

LibGfx: Add a comment to QMArithmeticDecoder.h

Nico Weber 1 år sedan
förälder
incheckning
ca3a62a6bb
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      Userland/Libraries/LibGfx/ImageFormats/QMArithmeticDecoder.h

+ 6 - 0
Userland/Libraries/LibGfx/ImageFormats/QMArithmeticDecoder.h

@@ -10,6 +10,12 @@
 
 
 namespace Gfx {
 namespace Gfx {
 
 
+// This is the arithmetic decoder described in Annex E of the JBIG2 spec.
+// See JBIG2Loader.cpp for the JBIG2 spec link.
+//
+// It's also used in JPEG2000 and also described in Annex C of the JPEG2000 spec.
+// See JPEG2000Loader.cpp for the JPEG2000 spec link.
+
 // E.3 Arithmetic decoding procedure, but with the changes described in
 // E.3 Arithmetic decoding procedure, but with the changes described in
 // Annex G Arithmetic decoding procedure (software conventions).
 // Annex G Arithmetic decoding procedure (software conventions).
 // Exposed for testing.
 // Exposed for testing.