Returns the type of a packed image whose pixels may not be byte aligned. For example, an "rgb222" image is bit-aligned because its pixel spans six bits. More...
#include <metafunctions.hpp>
Public Types | |
using | type = image< bit_alignedref_t, false, Alloc > |
Returns the type of a packed image whose pixels may not be byte aligned. For example, an "rgb222" image is bit-aligned because its pixel spans six bits.
Note that the alignment parameter in the constructor of bit-aligned images is in bit units. For example, if you want to construct a bit-aligned image whose rows are byte-aligned, use 8 as the alignment parameter, not 1.