Boost GIL


Public Types | Public Member Functions | Friends | 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 (const bit_range &br)
 
template<bool M>
 bit_range (const bit_range< RangeSize, M > &br)
 
bit_rangeoperator= (const bit_range &br)
 
bool operator== (const bit_range &br) const
 
bit_rangeoperator++ ()
 
bit_rangeoperator-- ()
 
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
 

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: