MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kinesis::Vision::PyramidLayout Struct Reference

Placement of every pyramid level in a single atlas. More...

#include <Pyramid.hpp>

+ Collaboration diagram for MayaFlux::Kinesis::Vision::PyramidLayout:

Public Member Functions

bool operator== (const PyramidLayout &other) const noexcept
 Layouts are equal when they describe the same atlas for the same base extent; every other field follows from those.
 

Public Attributes

uint32_t atlas_h { 0 }
 
uint32_t atlas_w { 0 }
 
std::array< PyramidLevel, k_max_levels > level {}
 
uint32_t levels { 0 }
 

Static Public Attributes

static constexpr uint32_t k_max_levels = 6
 

Detailed Description

Placement of every pyramid level in a single atlas.

Level 0 occupies the left block at full size. Deeper levels are stacked in a column to its right, each half the size of the one before (rounded up), so the whole pyramid is one image.

Definition at line 31 of file Pyramid.hpp.


The documentation for this struct was generated from the following file: