Lines Matching refs:num_intraword_positions
256 template< int num_intraword_positions, int bits_per_pixel, bool MsbFirst, typename difference_type … in get_shift()
259 (num_intraword_positions - 1 - remainder) : in get_shift()
282 num_intraword_positions=sizeof(data_type)*8/bits_per_pixel, enumerator
317 shift_( get_shift<num_intraword_positions, bits_per_pixel, MsbFirst, difference_type>(0) ) in PackedPixelColumnIterator()
323 shift_( get_shift<num_intraword_positions, bits_per_pixel, MsbFirst>(remainder) ) in PackedPixelColumnIterator()
458 num_intraword_positions=sizeof(data_type)*8/bits_per_pixel, enumerator
477 const difference_type data_offset( newValue / num_intraword_positions ); in inc()
480 remainder_ = newValue % num_intraword_positions; in inc()
491 … bit_mask << bits_per_pixel*(num_intraword_positions-1) : in inc()
499 const difference_type newRemainder( newValue % num_intraword_positions ); in dec()
508 const difference_type data_offset( newValue / num_intraword_positions - isNegative ); in dec()
510 remainder_ = newRemainder + isNegative*num_intraword_positions; in dec()
522 … bit_mask << bits_per_pixel*(num_intraword_positions-1)); in dec()
554 data_ += newValue / num_intraword_positions; in operator +=()
555 remainder_ = newValue % num_intraword_positions; in operator +=()
565 const difference_type newRemainder( newValue % num_intraword_positions ); in operator -=()
574 data_ += newValue / num_intraword_positions - isNegative; in operator -=()
575 remainder_ = newRemainder + isNegative*(num_intraword_positions - 2*newRemainder); in operator -=()
653 return (data_ - rhs.data_)*num_intraword_positions + (remainder_ - rhs.remainder_); in operator -()
661 get_shift<num_intraword_positions, bits_per_pixel, MsbFirst>(remainder_); in get()
675 get_shift<num_intraword_positions, bits_per_pixel, MsbFirst>(remainder_)) in set()
715 num_intraword_positions=sizeof(data_type)*8/bits_per_pixel, enumerator
727 return y() + (x / num_intraword_positions); in current()
732 return y(dy) + ((x+dx)/num_intraword_positions); in current()
805 x / num_intraword_positions), in columnIterator()
806 x % num_intraword_positions); in columnIterator()
811 const int remainder( x() % num_intraword_positions ); in get()
818 (num_intraword_positions - remainder) : in get()
824 const int remainder( x(d.x) % num_intraword_positions ); in get()
830 >> get_shift<num_intraword_positions, bits_per_pixel, MsbFirst>(remainder)); in get()
835 const int remainder( x() % num_intraword_positions ); in set()
839 get_shift<num_intraword_positions, bits_per_pixel, MsbFirst>(remainder)) in set()
847 const int remainder( x(d.x) % num_intraword_positions ); in set()
851 get_shift<num_intraword_positions, bits_per_pixel, MsbFirst>(remainder)) in set()