Boost GIL


Public Types | List of all members
bit_aligned_image_type< ChannelBitSizes, Layout, Alloc > Struct Template Reference

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>

Inheritance diagram for bit_aligned_image_type< ChannelBitSizes, Layout, Alloc >:
bit_aligned_image1_type< Size1, Layout, Alloc > bit_aligned_image2_type< Size1, Size2, Layout, Alloc > bit_aligned_image3_type< Size1, Size2, Size3, Layout, Alloc > bit_aligned_image4_type< Size1, Size2, Size3, Size4, Layout, Alloc > bit_aligned_image5_type< Size1, Size2, Size3, Size4, Size5, Layout, Alloc >

Public Types

using type = image< bit_alignedref_t, false, Alloc >
 

Detailed Description

template<typename ChannelBitSizes, typename Layout, typename Alloc = std::allocator<unsigned char>>
struct boost::gil::bit_aligned_image_type< ChannelBitSizes, Layout, 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.


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