|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
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 |
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.