Lines Matching refs:BitField

316 template <typename Derived, typename BitField, int NumBits, bool Mutable>
333 typedef BitField bitfield_t;
400 template <typename BitField, // A type that holds the bits of the pixel from which the chann…
405 template <typename BitField, // A type that holds the bits of the pixel from which the chann…
412 template <typename BitField, int FirstBit, int NumBits>
413 class packed_channel_reference<BitField,FirstBit,NumBits,false>
414 …:packed_channel_reference_base<packed_channel_reference<BitField,FirstBit,NumBits,false>,BitField,…
415 …:packed_channel_reference_base<packed_channel_reference<BitField,FirstBit,NumBits,false>,BitField,…
416 friend class packed_channel_reference<BitField,FirstBit,NumBits,true>;
418 static const BitField channel_mask = static_cast< BitField >( parent_t::max_val ) << FirstBit;
422 typedef const packed_channel_reference<BitField,FirstBit,NumBits,false> const_reference;
423 typedef const packed_channel_reference<BitField,FirstBit,NumBits,true> mutable_reference;
437 template <typename BitField, int FirstBit, int NumBits>
438 class packed_channel_reference<BitField,FirstBit,NumBits,true>
439 …:packed_channel_reference_base<packed_channel_reference<BitField,FirstBit,NumBits,true>,BitField,N…
440 …:packed_channel_reference_base<packed_channel_reference<BitField,FirstBit,NumBits,true>,BitField,N…
441 friend class packed_channel_reference<BitField,FirstBit,NumBits,false>;
443 static const BitField channel_mask = static_cast< BitField >( parent_t::max_val ) << FirstBit;
446 typedef const packed_channel_reference<BitField,FirstBit,NumBits,false> const_reference;
447 typedef const packed_channel_reference<BitField,FirstBit,NumBits,true> mutable_reference;
458 …const packed_channel_reference& operator=(const packed_dynamic_channel_reference<BitField,NumBits,… in operator =() argument
463 …t { this->set_data((this->get_data() & ~channel_mask) | (( static_cast< BitField >( value )<<First… in set_unsafe()
465 …void set_from_reference(const BitField& other_bits) const { this->set_data((this->get_data() & ~ch… in set_from_reference()
522 template <typename BitField, int NumBits>
523 class packed_dynamic_channel_reference<BitField,NumBits,false>
524 …ked_channel_reference_base<packed_dynamic_channel_reference<BitField,NumBits,false>,BitField,NumBi…
525 …ked_channel_reference_base<packed_dynamic_channel_reference<BitField,NumBits,false>,BitField,NumBi…
526 friend class packed_dynamic_channel_reference<BitField,NumBits,true>;
532 typedef const packed_dynamic_channel_reference<BitField,NumBits,false> const_reference;
533 typedef const packed_dynamic_channel_reference<BitField,NumBits,true> mutable_reference;
543 const BitField channel_mask = static_cast< integer_t >( parent_t::max_val ) <<_first_bit; in get()
551 template <typename BitField, int NumBits>
552 class packed_dynamic_channel_reference<BitField,NumBits,true>
553 …cked_channel_reference_base<packed_dynamic_channel_reference<BitField,NumBits,true>,BitField,NumBi…
554 …cked_channel_reference_base<packed_dynamic_channel_reference<BitField,NumBits,true>,BitField,NumBi…
555 friend class packed_dynamic_channel_reference<BitField,NumBits,false>;
560 typedef const packed_dynamic_channel_reference<BitField,NumBits,false> const_reference;
561 typedef const packed_dynamic_channel_reference<BitField,NumBits,true> mutable_reference;
578 const BitField channel_mask = static_cast< integer_t >( parent_t::max_val ) << _first_bit; in get()
583 const BitField channel_mask = static_cast< integer_t >( parent_t::max_val ) << _first_bit; in set_unsafe()
625 template <typename BitField, int FirstBit, int NumBits, bool IsMutable>
626 struct is_integral<gil::packed_channel_reference<BitField,FirstBit,NumBits,IsMutable> > : public mp…
628 template <typename BitField, int NumBits, bool IsMutable>
629 struct is_integral<gil::packed_dynamic_channel_reference<BitField,NumBits,IsMutable> > : public mpl…