Decoder.h(3)

πŸ“¦
version 7.21.7 Β· 4 versions
, in fedora 43

πŸ’– Decoder.h β€” the libpgf decoder glow-up πŸ’–

okay bestie, sit down, hydrate, because we're reading Decoder.h(3) from libpgf and it's honestly iconic. this is the header that holds the whole PGF decoder situation. no cap. πŸŽ€


✨ NAME ✨

Decoder.h β€” the PGF decoder class, fr fr. that's it, that's the vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

first things first, it pulls in its little friend group of headers, and yes you need all of them:

#include 'PGFstream.h'
#include 'BitStream.h'
#include 'Subband.h'
#include 'WaveletTransform.h'

πŸ‘‘ Classes

  • class CDecoder β€” this is the main character. the PGF decoder itself. πŸ’…
  • class CDecoder::CMacroBlock β€” a macro block, which is a decoding unit of fixed size, and it's uncoded. tiny legend. ✨

🧚 Macros

  • #define BufferLen (BufferSize/WordWidth) β€” how many words fit in one buffer. the math is mathing. πŸ”₯
  • #define CodeBufferLen BufferSize β€” how many words live in the code buffer, and lowkey important: CodeBufferLen > BufferLen. keep that in your notes bestie. πŸ’€

πŸ’œ Detailed Description πŸ’œ

so Decoder.h is, at its core, the PGF decoder class. that's the whole assignment. it decoded and it ate. 🫢

Author β€” C. Stamm, R. Spuler. two absolute legends, we stan. 🌟

Definition in file Decoder.h. periodt. πŸ“


πŸŽ€ Macro Definition Documentation πŸŽ€

⭐ #define BufferLen (BufferSize/WordWidth)

number of words per buffer. simple, clean, no drama. it lives at line 39 of file Decoder.h. 🌈

⭐ #define CodeBufferLen BufferSize

number of words in the code buffer β€” and reminder, CodeBufferLen > BufferLen, so it's giving spacious. it's chilling at line 40 of file Decoder.h. πŸ’–


πŸ¦‹ Author πŸ¦‹

this whole page was generated automatically by Doxygen for libpgf straight from the source code. not me writing it by hand, it's a robot doing its thing and honestly, slay. πŸ€–βœ¨

and that's the page bestie!! πŸ’… sign-off time: this is Version 7.21.2, dated Thu Jul 24 2025 00:00:00, and it's the Decoder.h(3) page from libpgf. go forth and decode responsibly. mwah. πŸ’–πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from