#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 (const bit_range &br) | |
template<bool M> | |
bit_range (const bit_range< RangeSize, M > &br) | |
bit_range & | operator= (const bit_range &br) |
bool | operator== (const bit_range &br) const |
bit_range & | operator++ () |
bit_range & | operator-- () |
void | bit_advance (difference_type num_bits) |
difference_type | bit_distance_to (const bit_range &b) const |
byte_t * | current_byte () const |
int | bit_offset () const |
Friends | |
template<int RS, bool M> | |
class | bit_range |
A model of a heterogeneous pixel that is not byte aligned. Examples are bitmap (1-bit pixels) or 6-bit RGB (222).