Home
last modified time | relevance | path

Searched refs:get_pixel (Results 1 – 25 of 756) sorted by relevance

12345678910>>...31

/dports/misc/vxl/vxl-3.3.2/core/vil1/tests/
H A Dtest_resample.cxx62 int a1 = get_pixel(a, 0, 0, t); in test_resample()
63 int a11 = (a1 + get_pixel(a, 0, 1, t) + get_pixel(a, 1, 0, t) + get_pixel(a, 1, 1, t)) / 4; in test_resample()
65 int a22 = (a2 + get_pixel(a, 24, 17, t) + get_pixel(a, 25, 16, t) + get_pixel(a, 25, 17, t)) / 4; in test_resample()
67 int a33 = (a3 + get_pixel(a, 10, 39, t) + get_pixel(a, 11, 38, t) + get_pixel(a, 11, 39, t)) / 4; in test_resample()
111 c1 = get_pixel(c, 0, 0, t); in test_resample()
112 c2 = get_pixel(c, 48, 32, t); in test_resample()
113 c3 = get_pixel(c, 20, 76, t); in test_resample()
123 c1 = get_pixel(c, 1, 0, t); in test_resample()
124 c2 = get_pixel(c, 49, 32, t); in test_resample()
125 c3 = get_pixel(c, 21, 76, t); in test_resample()
[all …]
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/meta/tests/
H A Dtest_tile.cpp86 m_tile.get_pixel(0, 0, c); in TEST_SUITE()
98 m_tile.get_pixel(0, 0, c); in TEST_SUITE()
109 m_tile.get_pixel(0, 0, c); in TEST_SUITE()
118 m_tile.get_pixel(0, 0, components, 3); in TEST_SUITE()
130 m_tile.get_pixel(0, 0, c); in TEST_SUITE()
141 m_tile.get_pixel(0, 0, c); EXPECT_EQ(ClearColor, c); in TEST_SUITE()
142 m_tile.get_pixel(1, 0, c); EXPECT_EQ(ClearColor, c); in TEST_SUITE()
143 m_tile.get_pixel(0, 1, c); EXPECT_EQ(ClearColor, c); in TEST_SUITE()
144 m_tile.get_pixel(1, 1, c); EXPECT_EQ(ClearColor, c); in TEST_SUITE()
145 m_tile.get_pixel(0, 2, c); EXPECT_EQ(ClearColor, c); in TEST_SUITE()
[all …]
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/av-metrics-0.7.2/src/video/
H A Ddecode.rs119 let get_pixel = if source_bytewidth == 1 { in convert_chroma_data() localVariable
142 (4 * get_pixel(in_row, 0) - 17 * get_pixel(in_row, x.saturating_sub(1)) in convert_chroma_data()
143 + 114 * get_pixel(in_row, x) in convert_chroma_data()
156 (4 * get_pixel(in_row, x - 2) - 17 * get_pixel(in_row, x - 1) in convert_chroma_data()
157 + 114 * get_pixel(in_row, x) in convert_chroma_data()
158 + 35 * get_pixel(in_row, x + 1) in convert_chroma_data()
159 - 9 * get_pixel(in_row, x + 2) in convert_chroma_data()
160 + get_pixel(in_row, x + 3) in convert_chroma_data()
169 (4 * get_pixel(in_row, x - 2) - 17 * get_pixel(in_row, x - 1) in convert_chroma_data()
170 + 114 * get_pixel(in_row, x) in convert_chroma_data()
[all …]
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/av-metrics-0.7.2/src/video/
H A Ddecode.rs119 let get_pixel = if source_bytewidth == 1 { in convert_chroma_data() localVariable
142 (4 * get_pixel(in_row, 0) - 17 * get_pixel(in_row, x.saturating_sub(1)) in convert_chroma_data()
143 + 114 * get_pixel(in_row, x) in convert_chroma_data()
156 (4 * get_pixel(in_row, x - 2) - 17 * get_pixel(in_row, x - 1) in convert_chroma_data()
157 + 114 * get_pixel(in_row, x) in convert_chroma_data()
158 + 35 * get_pixel(in_row, x + 1) in convert_chroma_data()
159 - 9 * get_pixel(in_row, x + 2) in convert_chroma_data()
160 + get_pixel(in_row, x + 3) in convert_chroma_data()
169 (4 * get_pixel(in_row, x - 2) - 17 * get_pixel(in_row, x - 1) in convert_chroma_data()
170 + 114 * get_pixel(in_row, x) in convert_chroma_data()
[all …]
/dports/multimedia/termplay/termplay-2.0.6/cargo-crates/image-0.22.3/src/imageops/
H A Dmod.rs133 let p = top.get_pixel(top_x, top_y); in overlay()
156 let p = top.get_pixel(top_x, top_y); in replace()
177 assert!(*target.get_pixel(16, 0) == Rgb([0u8, 0, 0])); in test_image_in_image()
179 assert!(*target.get_pixel(0, 16) == Rgb([0u8, 0, 0])); in test_image_in_image()
188 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
200 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
201 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
202 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
212 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
213 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
[all …]
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/image-0.22.1/src/imageops/
H A Dmod.rs133 let p = top.get_pixel(top_x, top_y); in overlay()
156 let p = top.get_pixel(top_x, top_y); in replace()
177 assert!(*target.get_pixel(16, 0) == Rgb([0u8, 0, 0])); in test_image_in_image()
179 assert!(*target.get_pixel(0, 16) == Rgb([0u8, 0, 0])); in test_image_in_image()
188 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
200 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
201 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
202 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
212 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
213 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
[all …]
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/image-0.21.2/src/imageops/
H A Dmod.rs129 let p = top.get_pixel(top_x, top_y); in overlay()
148 let p = top.get_pixel(top_x, top_y); in replace()
169 assert!(*target.get_pixel(16, 0) == Rgb([0u8, 0, 0])); in test_image_in_image()
171 assert!(*target.get_pixel(0, 16) == Rgb([0u8, 0, 0])); in test_image_in_image()
180 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
192 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
193 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
194 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
204 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
205 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/image/src/imageops/
H A Dmod.rs136 let p = top.get_pixel(top_x, top_y); in overlay()
159 let p = top.get_pixel(top_x, top_y); in replace()
180 assert!(*target.get_pixel(16, 0) == Rgb([0u8, 0, 0])); in test_image_in_image()
182 assert!(*target.get_pixel(0, 16) == Rgb([0u8, 0, 0])); in test_image_in_image()
191 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
203 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
204 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
205 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
215 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
216 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
[all …]
/dports/graphics/viu/viu-1.1/cargo-crates/image-0.22.5/src/imageops/
H A Dmod.rs136 let p = top.get_pixel(top_x, top_y); in overlay()
159 let p = top.get_pixel(top_x, top_y); in replace()
180 assert!(*target.get_pixel(16, 0) == Rgb([0u8, 0, 0])); in test_image_in_image()
182 assert!(*target.get_pixel(0, 16) == Rgb([0u8, 0, 0])); in test_image_in_image()
191 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
203 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
204 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
205 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
215 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
216 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
[all …]
/dports/graphics/aseprite/aseprite-1.2.9/src/render/
H A Drender_tests.cpp38 EXPECT_EQ(a, get_pixel(image, 0, 0)); \
39 EXPECT_EQ(b, get_pixel(image, 1, 0)); \
40 EXPECT_EQ(c, get_pixel(image, 0, 1)); \
41 EXPECT_EQ(d, get_pixel(image, 1, 1))
48 EXPECT_EQ(a, get_pixel(image, 0, 0)); \
49 EXPECT_EQ(b, get_pixel(image, 1, 0)); \
50 EXPECT_EQ(c, get_pixel(image, 2, 0)); \
51 EXPECT_EQ(d, get_pixel(image, 3, 0)); \
52 EXPECT_EQ(e, get_pixel(image, 0, 1)); \
63 EXPECT_EQ(p, get_pixel(image, 3, 3))
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/image-0.23.4/src/imageops/
H A Dmod.rs158 let p = top.get_pixel(top_x, top_y); in overlay()
181 let p = top.get_pixel(top_x, top_y); in replace()
202 assert!(*target.get_pixel(16, 0) == Rgb([0u8, 0, 0])); in test_image_in_image()
204 assert!(*target.get_pixel(0, 16) == Rgb([0u8, 0, 0])); in test_image_in_image()
213 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
225 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
226 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
227 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
237 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
238 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
[all …]
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/image-0.23.14/src/imageops/
H A Dmod.rs162 let p = top.get_pixel(top_x, top_y); in overlay()
275 let p = top.get_pixel(top_x, top_y); in replace()
308 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
320 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
321 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
322 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
332 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
333 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
349 assert_eq!(img.get_pixel(0, 0), &start); in test_image_horizontal_gradient_limits()
350 assert_eq!(img.get_pixel(img.width() - 1, 0), &end); in test_image_horizontal_gradient_limits()
[all …]
/dports/misc/broot/broot-1.7.0/cargo-crates/image-0.23.14/src/imageops/
H A Dmod.rs162 let p = top.get_pixel(top_x, top_y); in overlay()
275 let p = top.get_pixel(top_x, top_y); in replace()
308 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
320 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
321 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
322 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
332 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
333 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
349 assert_eq!(img.get_pixel(0, 0), &start); in test_image_horizontal_gradient_limits()
350 assert_eq!(img.get_pixel(img.width() - 1, 0), &end); in test_image_horizontal_gradient_limits()
[all …]
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/image-0.23.14/src/imageops/
H A Dmod.rs162 let p = top.get_pixel(top_x, top_y); in overlay()
275 let p = top.get_pixel(top_x, top_y); in replace()
308 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
320 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
321 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
322 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
332 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
333 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
349 assert_eq!(img.get_pixel(0, 0), &start); in test_image_horizontal_gradient_limits()
350 assert_eq!(img.get_pixel(img.width() - 1, 0), &end); in test_image_horizontal_gradient_limits()
[all …]
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/image-0.23.14/src/imageops/
H A Dmod.rs162 let p = top.get_pixel(top_x, top_y); in overlay()
275 let p = top.get_pixel(top_x, top_y); in replace()
308 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
320 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
321 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
322 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
332 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
333 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
349 assert_eq!(img.get_pixel(0, 0), &start); in test_image_horizontal_gradient_limits()
350 assert_eq!(img.get_pixel(img.width() - 1, 0), &end); in test_image_horizontal_gradient_limits()
[all …]
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/image-0.23.14/src/imageops/
H A Dmod.rs162 let p = top.get_pixel(top_x, top_y); in overlay()
275 let p = top.get_pixel(top_x, top_y); in replace()
308 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
320 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
321 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
322 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
332 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
333 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
349 assert_eq!(img.get_pixel(0, 0), &start); in test_image_horizontal_gradient_limits()
350 assert_eq!(img.get_pixel(img.width() - 1, 0), &end); in test_image_horizontal_gradient_limits()
[all …]
/dports/security/gpg-tui/gpg-tui-0.8.2/cargo-crates/image-0.23.14/src/imageops/
H A Dmod.rs162 let p = top.get_pixel(top_x, top_y); in overlay()
275 let p = top.get_pixel(top_x, top_y); in replace()
308 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
320 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
321 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
322 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
332 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
333 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
349 assert_eq!(img.get_pixel(0, 0), &start); in test_image_horizontal_gradient_limits()
350 assert_eq!(img.get_pixel(img.width() - 1, 0), &end); in test_image_horizontal_gradient_limits()
[all …]
/dports/graphics/viu/viu-1.1/cargo-crates/image-0.23.9/src/imageops/
H A Dmod.rs160 let p = top.get_pixel(top_x, top_y); in overlay()
279 let p = top.get_pixel(top_x, top_y); in replace()
311 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
323 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
324 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
325 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
335 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
336 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
352 assert_eq!(img.get_pixel(0, 0), &start); in test_image_horizontal_gradient_limits()
353 assert_eq!(img.get_pixel(img.width() - 1, 0), &end); in test_image_horizontal_gradient_limits()
[all …]
/dports/www/zola/zola-0.15.2/cargo-crates/image-0.23.14/src/imageops/
H A Dmod.rs162 let p = top.get_pixel(top_x, top_y); in overlay()
275 let p = top.get_pixel(top_x, top_y); in replace()
308 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
320 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
321 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
322 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
332 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
333 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
349 assert_eq!(img.get_pixel(0, 0), &start); in test_image_horizontal_gradient_limits()
350 assert_eq!(img.get_pixel(img.width() - 1, 0), &end); in test_image_horizontal_gradient_limits()
[all …]
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/image-0.23.14/src/imageops/
H A Dmod.rs162 let p = top.get_pixel(top_x, top_y); in overlay()
275 let p = top.get_pixel(top_x, top_y); in replace()
308 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
320 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
321 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
322 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
332 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
333 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
349 assert_eq!(img.get_pixel(0, 0), &start); in test_image_horizontal_gradient_limits()
350 assert_eq!(img.get_pixel(img.width() - 1, 0), &end); in test_image_horizontal_gradient_limits()
[all …]
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/image-0.23.12/src/imageops/
H A Dmod.rs160 let p = top.get_pixel(top_x, top_y); in overlay()
279 let p = top.get_pixel(top_x, top_y); in replace()
312 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
324 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
325 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
326 assert!(*target.get_pixel(31, 31) == Rgb([0, 0, 0])); in test_image_outside_image_no_wrap_around()
336 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
337 assert!(*target.get_pixel(1, 1) == Rgb([0, 0, 0])); in test_image_coordinate_overflow()
353 assert_eq!(img.get_pixel(0, 0), &start); in test_image_horizontal_gradient_limits()
354 assert_eq!(img.get_pixel(img.width() - 1, 0), &end); in test_image_horizontal_gradient_limits()
[all …]
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/image/
H A Daccumulatortile.h97 void get_pixel(
101 void get_pixel(
106 void get_pixel(
110 void get_pixel(
160 inline void AccumulatorTile::get_pixel( in get_pixel() function
174 inline void AccumulatorTile::get_pixel( in get_pixel() function
182 get_pixel<T>(y * m_width + x, components); in get_pixel()
186 inline void AccumulatorTile::get_pixel( in get_pixel() function
192 get_pixel(i, &color[0]); in get_pixel()
196 inline void AccumulatorTile::get_pixel( in get_pixel() function
[all …]
/dports/devel/py-types-Pillow/types-Pillow-8.3.11/PIL-stubs/
H A DPyAccess.pyi20 def get_pixel(self, x, y): ...
24 def get_pixel(self, x, y): ...
28 def get_pixel(self, x, y): ...
32 def get_pixel(self, x, y): ...
36 def get_pixel(self, x, y): ...
40 def get_pixel(self, x, y): ...
44 def get_pixel(self, x, y): ...
48 def get_pixel(self, x, y): ...
53 def get_pixel(self, x, y): ...
57 def get_pixel(self, x, y): ...
/dports/devel/pytype/pytype-2021.9.9/pytype/typeshed/stubs/Pillow/PIL/
H A DPyAccess.pyi20 def get_pixel(self, x, y): ...
24 def get_pixel(self, x, y): ...
28 def get_pixel(self, x, y): ...
32 def get_pixel(self, x, y): ...
36 def get_pixel(self, x, y): ...
40 def get_pixel(self, x, y): ...
44 def get_pixel(self, x, y): ...
48 def get_pixel(self, x, y): ...
53 def get_pixel(self, x, y): ...
57 def get_pixel(self, x, y): ...
/dports/games/dose-response/dose-response-179c326/cargo-crates/image-0.20.1/src/imageops/
H A Dmod.rs67 let p = top.get_pixel(top_x, top_y); in overlay()
68 let mut bottom_pixel = bottom.get_pixel(x + top_x, y + top_y); in overlay()
96 let p = top.get_pixel(top_x, top_y); in replace()
115 assert!(*target.get_pixel(0, 0) == Rgb([255u8, 0, 0])); in test_image_in_image()
116 assert!(*target.get_pixel(15, 0) == Rgb([255u8, 0, 0])); in test_image_in_image()
117 assert!(*target.get_pixel(16, 0) == Rgb([0u8, 0, 0])); in test_image_in_image()
118 assert!(*target.get_pixel(0, 15) == Rgb([255u8, 0, 0])); in test_image_in_image()
119 assert!(*target.get_pixel(0, 16) == Rgb([0u8, 0, 0])); in test_image_in_image()
128 assert!(*target.get_pixel(0, 0) == Rgb([0, 0, 0])); in test_image_in_image_outside_of_bounds()
129 assert!(*target.get_pixel(1, 1) == Rgb([255u8, 0, 0])); in test_image_in_image_outside_of_bounds()
[all …]

12345678910>>...31