#include <bit_aligned_pixel_reference.hpp>
Public Types | |
using | byte_t = mp11::mp_if_c< IsMutable, unsigned char, unsigned char const > |
using | difference_type = std::ptrdiff_t |
Public Member Functions | |
bit_range (byte_t *current_byte, int bit_offset) | |
bit_range (bit_range const &br) | |
template<bool M> | |
bit_range (const bit_range< RangeSize, M > &br) | |
auto | operator= (bit_range const &br) -> bit_range & |
bool | operator== (bit_range const &br) const |
auto | operator++ () -> bit_range & |
auto | operator-- () -> bit_range & |
void | bit_advance (difference_type num_bits) |
auto | bit_distance_to (bit_range const &b) const -> difference_type |
auto | current_byte () const -> byte_t * |
auto | bit_offset () const -> int |
A model of a heterogeneous pixel that is not byte aligned. Examples are bitmap (1-bit pixels) or 6-bit RGB (222).