ROIBlockHeader(3)
π 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 valstruct 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
- fedora 43: libpgf-devel 7.21.7-8.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: libpgf-devel 7.21.7-8.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms