Boost GIL


Public Types | Public Member Functions | List of all members
bit_range< RangeSize, IsMutable > Class Template Reference

#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
 

Detailed Description

template<int RangeSize, bool IsMutable>
class boost::gil::bit_range< RangeSize, IsMutable >

A model of a heterogeneous pixel that is not byte aligned. Examples are bitmap (1-bit pixels) or 6-bit RGB (222).


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