ROIBlockHeader(3)

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

πŸ’– ROIBlockHeader(3) β€” the libpgf block header that's carrying the ROI coding scheme on its back πŸ’–

okay bestie, sit down, we're talking about ROIBlockHeader from libpgf and honestly? it's giving "small struct, huge responsibilities." no cap. 🫢


✨ NAME ✨

ROIBlockHeader β€” the Block header used with ROI coding scheme. periodt. πŸ’…


🌸 SYNOPSIS 🌸

#include <PGFtypes.h>

πŸŽ€ Classes πŸŽ€

  • struct RBH β€” the Named ROI block header (part of the union, iykyk) πŸ¦‹

πŸ’œ Public Member Functions πŸ’œ

  • ROIBlockHeader (UINT16 v)
  • ROIBlockHeader (UINT32 size, bool end)

⭐ Public Attributes ⭐

  • UINT16 val
  • struct ROIBlockHeader::RBH rbh β€” ROI block header.

🌈 Detailed Description 🌈

Block header used with ROI coding scheme.

The ROI block header is used with ROI coding scheme. It contains block size and tile end flag. that's the whole vibe. no more, no less. ✨

Author

C. Stamm

Definition at line 180 of file PGFtypes.h.


🧚 Constructor & Destructor Documentation 🧚

ROIBlockHeader::ROIBlockHeader (UINT16 v) [inline]

Constructor ✨

Parameters

  • v β€” Buffer size

Definition at line 196 of file PGFtypes.h.

196 { val = v; }

ROIBlockHeader::ROIBlockHeader (UINT32 size, bool end) [inline]

Constructor πŸ’…

Parameters

  • size β€” Buffer size
  • end β€” 0/1 Flag; 1: last part of a tile

Definition at line 201 of file PGFtypes.h.

201 { ASSERT(size < (1 << RLblockSizeLen)); rbh.bufferSize = size; rbh.tileEnd = end; }
lowkey important: that ASSERT(size < (1 << RLblockSizeLen)) is right there in the source, so the buffer size has to stay under that bound. don't be the one who ignores it bestie 😭

πŸ’– Member Data Documentation πŸ’–

struct ROIBlockHeader::RBH ROIBlockHeader::rbh

ROI block header. iconic. πŸ‘‘

UINT16 ROIBlockHeader::val

unstructured union value

Definition at line 181 of file PGFtypes.h.


🌟 Author 🌟

Generated automatically by Doxygen for libpgf from the source code. (not me writing this by hand, it's literally the machine doing its thing, we love a humble queen πŸŽ€)


that's the whole page bestie, you ate it πŸ’…βœ¨

Version 7.21.2 β€” Thu Jul 24 2025 00:00:00 β€” ROIBlockHeader(3), mwah, slay, bye πŸ¦‹πŸ’–πŸŒΈ

πŸ“¦ where this page comes from