Lines Matching refs:_pixel
57 static_fill(C2::_pixel, gil::at_c<0>(C1::_pixel)+1); in test_all()
58 error_if(gil::at_c<0>(C2::_pixel) != gil::at_c<num_chan-1>(C2::_pixel)); in test_all()
60 C2::_pixel = C1::_pixel; in test_all()
61 error_if(static_max(C2::_pixel) != static_max(C1::_pixel)); in test_all()
62 error_if(static_min(C2::_pixel) != static_min(C1::_pixel)); in test_all()
63 error_if(static_max(C2::_pixel) < static_min(C2::_pixel)); in test_all()
66 C2::_pixel[0] = C1::_pixel[0]+1; in test_all()
67 error_if(C2::_pixel[0] != C1::_pixel[0]+1); in test_all()
76 C2::_pixel = C1::_pixel; // test operator= in test_heterogeneous()
77 error_if(C1::_pixel != C2::_pixel); // test operator== in test_heterogeneous()
80 pixel1_value_t v1(C1::_pixel); in test_heterogeneous()
81 pixel2_value_t v2(C2::_pixel); in test_heterogeneous()
90 C2::_pixel = C1::_pixel; in test_heterogeneous()
91 semantic_at_c<0>(C2::_pixel) = channel_invert(semantic_at_c<0>(C2::_pixel)); in test_heterogeneous()
92 error_if(C1::_pixel == C2::_pixel); // now they must not be equal in test_heterogeneous()
95 C2::_pixel = C1::_pixel; in test_heterogeneous()
96 static_for_each(C2::_pixel, increment()); in test_heterogeneous()
97 static_transform(C2::_pixel, C2::_pixel, prev()); in test_heterogeneous()
98 error_if(C1::_pixel!=C2::_pixel); in test_heterogeneous()
100 static_generate(C2::_pixel, set_to_one()); in test_heterogeneous()
101 error_if(gil::at_c<0>(C2::_pixel) != 1); in test_heterogeneous()
118 static_fill(C1::_pixel, 0); in test_swap()
119 static_fill(C2::_pixel, 1); in test_swap()
120 pixel_value_t pv1(C1::_pixel); in test_swap()
121 pixel_value_t pv2(C2::_pixel); in test_swap()
122 error_if(C2::_pixel == C1::_pixel); in test_swap()
123 swap(C1::_pixel, C2::_pixel); in test_swap()
124 error_if(C1::_pixel != pv2 || C2::_pixel != pv1); in test_swap()
134 type _pixel; member in value_core
136 value_core() : _pixel(0) {} in value_core()
137 value_core(const type& val) : _pixel(val) { // test copy constructor in value_core()
152 type _pixel; member in reference_core
154 reference_core() : parent_t(), _pixel(parent_t::_pixel) {} in reference_core()
155 …reference_core(const typename pixel_t::value_type& val) : parent_t(val), _pixel(parent_t::_pixel) { in reference_core()
207 color_convert_impl(p1._pixel, p2._pixel); in operator ()()