Example #1
0
    packed_frame (const P& p,
		  typename boost::enable_if_c<is_frame<P>::value>::type* d=0)
    {
	check_compatible<P> ();
	static_copy (p, *this);
    }
Example #2
0
    void assign(const Frame& p, boost::mpl::true_)
    {
	check_compatible<Frame>();
	static_copy (p,*this);
    }
Example #3
0
template <typename Pixel> void assign(const Pixel& p, mpl::true_)       { check_compatible<Pixel>(); static_copy(p,*this); } 
Example #4
0
template <typename P> packed_pixel(const P& p, typename enable_if_c<is_pixel<P>::value>::type* d=0)            { check_compatible<P>(); static_copy(p,*this); }   
Example #5
0
 pixel&                       operator=(const pixel& p)       { static_copy(p,*this); return *this; }
Example #6
0
template <typename P> const planar_pixel_reference& operator=(const P& p) { check_compatible<P>(); static_copy(p,*this); return *this; }
Example #7
0
 const planar_pixel_reference& operator=(const planar_pixel_reference& p) { static_copy(p,*this); return *this; }
Example #8
0
template <typename P> const interleaved_ref& operator=(const P& p) const { check_compatible<P>(); static_copy(p,*this); return *this; }
Example #9
0
 // Assignment from a compatible type 
 const interleaved_ref&  operator=(const interleaved_ref& p)  const { static_copy(p,*this); return *this; }