Skip to content

Commit

Permalink
LibGfx: Add a comment to QMArithmeticDecoder.h
Browse files Browse the repository at this point in the history
  • Loading branch information
nico authored and awesomekling committed Apr 19, 2024
1 parent ea441fe commit ca3a62a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Userland/Libraries/LibGfx/ImageFormats/QMArithmeticDecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@

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
// Annex G Arithmetic decoding procedure (software conventions).
// Exposed for testing.
Expand Down

0 comments on commit ca3a62a

Please sign in to comment.