Home
last modified time | relevance | path

Searched refs:PIXEL_SIZE (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/dports/graphics/krita/krita-4.4.8/benchmarks/
H A Dkis_datamanager_benchmark.cpp26 #define PIXEL_SIZE 4 macro
33 memset(p, 0, PIXEL_SIZE); in initTestCase()
34 KisDataManager dm(PIXEL_SIZE, p); in initTestCase()
43 memset(p, 255, PIXEL_SIZE); in benchmarkCreation()
51 memset(p, 0, PIXEL_SIZE); in benchmarkWriteBytes()
73 memset(p, 0, PIXEL_SIZE); in benchmarkReadBytes()
90 memset(p, 0, PIXEL_SIZE); in benchmarkReadWriteBytes()
113 memset(p, 0, PIXEL_SIZE); in benchmarkReadWriteBytes2()
135 for (int i = 0; i < size; i += PIXEL_SIZE, bytes_it += PIXEL_SIZE, bytes2_it += PIXEL_SIZE) in benchmarkReadWriteBytes2()
148 memset(p, 0, PIXEL_SIZE); in benchmarkExtent()
[all …]
/dports/x11/eaglemode/eaglemode-0.95.0/src/emCore/
H A DemPainter_ScTlPSCol.cpp29 #if !defined(PIXEL_SIZE)
43 #define PIXEL_SIZE 1 macro
45 #undef PIXEL_SIZE
47 #define PIXEL_SIZE 2 macro
49 #undef PIXEL_SIZE
51 #define PIXEL_SIZE 4 macro
53 #undef PIXEL_SIZE
76 CONCAT(METHOD_NAME_PIXEL_SIZE_,PIXEL_SIZE), in CONCAT() argument
83 # if PIXEL_SIZE==1 in CONCAT()
85 # elif PIXEL_SIZE==2 in CONCAT()
/dports/games/libretro-shaders-glsl/glsl-shaders-7052b09dc657d56bea443d5661dccbebcafe32dc/blurs/
H A Dblur-gauss-v.glsl92 vec2 PIXEL_SIZE = SourceSize.zw;
109 …color += COMPAT_TEXTURE(Source, texcoord + vec2(0.0, sampleOffsets2* VW * PIXEL_SIZE.y)) * sampleW…
110 …color += COMPAT_TEXTURE(Source, texcoord - vec2(0.0, sampleOffsets2* VW * PIXEL_SIZE.y)) * sampleW…
112 …color += COMPAT_TEXTURE(Source, texcoord + vec2(0.0, sampleOffsets3* VW * PIXEL_SIZE.y)) * sampleW…
113 …color += COMPAT_TEXTURE(Source, texcoord - vec2(0.0, sampleOffsets3* VW * PIXEL_SIZE.y)) * sampleW…
115 …color += COMPAT_TEXTURE(Source, texcoord + vec2(0.0, sampleOffsets4* VW * PIXEL_SIZE.y)) * sampleW…
116 …color += COMPAT_TEXTURE(Source, texcoord - vec2(0.0, sampleOffsets4* VW * PIXEL_SIZE.y)) * sampleW…
118 …color += COMPAT_TEXTURE(Source, texcoord + vec2(0.0, sampleOffsets5* VW * PIXEL_SIZE.y)) * sampleW…
119 …color += COMPAT_TEXTURE(Source, texcoord - vec2(0.0, sampleOffsets5* VW * PIXEL_SIZE.y)) * sampleW…
127 …color += COMPAT_TEXTURE(Source, texcoord + vec2(0.0, sampleOffsets[i]*VW * PIXEL_SIZE.y)) * sample…
[all …]
H A Dblur-gauss-h.glsl91 vec2 PIXEL_SIZE = SourceSize.zw;
108 …color += COMPAT_TEXTURE(Source, texcoord + vec2(sampleOffsets2* HW * PIXEL_SIZE.x, 0.0)) * sampleW…
109 …color += COMPAT_TEXTURE(Source, texcoord - vec2(sampleOffsets2* HW * PIXEL_SIZE.x, 0.0)) * sampleW…
111 …color += COMPAT_TEXTURE(Source, texcoord + vec2(sampleOffsets3* HW * PIXEL_SIZE.x, 0.0)) * sampleW…
112 …color += COMPAT_TEXTURE(Source, texcoord - vec2(sampleOffsets3* HW * PIXEL_SIZE.x, 0.0)) * sampleW…
114 …color += COMPAT_TEXTURE(Source, texcoord + vec2(sampleOffsets4* HW * PIXEL_SIZE.x, 0.0)) * sampleW…
115 …color += COMPAT_TEXTURE(Source, texcoord - vec2(sampleOffsets4* HW * PIXEL_SIZE.x, 0.0)) * sampleW…
117 …color += COMPAT_TEXTURE(Source, texcoord + vec2(sampleOffsets5* HW * PIXEL_SIZE.x, 0.0)) * sampleW…
118 …color += COMPAT_TEXTURE(Source, texcoord - vec2(sampleOffsets5* HW * PIXEL_SIZE.x, 0.0)) * sampleW…
126 …color += COMPAT_TEXTURE(Source, texcoord + vec2(sampleOffsets[i]*HW * PIXEL_SIZE.x, 0.0)) * sample…
[all …]
/dports/print/libspectre/libspectre-0.2.9/libspectre/
H A Dspectre-device.c165 #define PIXEL_SIZE 4 macro
176 for (i = 0; i < PIXEL_SIZE; i++) { in swap_pixels()
189 memcpy (dest + dest_pixel_start, src + src_pixel_start, PIXEL_SIZE); in copy_pixel()
211 *row_length * j + PIXEL_SIZE * i, in rotate_image_to_orientation()
218 *row_length * (height / 2) + PIXEL_SIZE * i, in rotate_image_to_orientation()
226 padding = (ROW_ALIGN - height % ROW_ALIGN) * PIXEL_SIZE; in rotate_image_to_orientation()
227 stride = height * PIXEL_SIZE + padding; in rotate_image_to_orientation()
233 stride = height * PIXEL_SIZE; in rotate_image_to_orientation()
243 *row_length * j + PIXEL_SIZE * i); in rotate_image_to_orientation()
251 stride * (width - 1 - i) + PIXEL_SIZE * j, in rotate_image_to_orientation()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/plotters-0.2.12/src/drawing/backend_impl/
H A Dbitmap.rs126 const PIXEL_SIZE: usize; const
431 dst[(start * Self::PIXEL_SIZE)..((start + count) * Self::PIXEL_SIZE)] in fill_rect_fast()
448 [(start * Self::PIXEL_SIZE)..((start + count) * Self::PIXEL_SIZE)] in fill_rect_fast()
480 dst[start * Self::PIXEL_SIZE + idx * Self::PIXEL_SIZE] = r; in fill_rect_fast()
481 dst[start * Self::PIXEL_SIZE + idx * Self::PIXEL_SIZE + 1] = g; in fill_rect_fast()
482 dst[start * Self::PIXEL_SIZE + idx * Self::PIXEL_SIZE + 2] = b; in fill_rect_fast()
639 dst[(start * Self::PIXEL_SIZE)..((start + count) * Self::PIXEL_SIZE)] in fill_rect_fast()
685 dst[start * Self::PIXEL_SIZE + idx * Self::PIXEL_SIZE] = b; in fill_rect_fast()
686 dst[start * Self::PIXEL_SIZE + idx * Self::PIXEL_SIZE + 1] = g; in fill_rect_fast()
687 dst[start * Self::PIXEL_SIZE + idx * Self::PIXEL_SIZE + 2] = r; in fill_rect_fast()
[all …]
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/winit-0.19.1/src/platform/linux/x11/util/
H A Dicon.rs1 use {Icon, Pixel, PIXEL_SIZE};
7 assert!(CARDINAL_SIZE >= PIXEL_SIZE); in to_packed_argb()
21 assert_eq!(self.rgba.len() % PIXEL_SIZE, 0); in to_cardinals()
22 let pixel_count = self.rgba.len() / PIXEL_SIZE; in to_cardinals()
/dports/games/dose-response/dose-response-179c326/cargo-crates/winit-0.19.4/src/platform/linux/x11/util/
H A Dicon.rs1 use {Icon, Pixel, PIXEL_SIZE};
7 assert!(CARDINAL_SIZE >= PIXEL_SIZE); in to_packed_argb()
21 assert_eq!(self.rgba.len() % PIXEL_SIZE, 0); in to_cardinals()
22 let pixel_count = self.rgba.len() / PIXEL_SIZE; in to_cardinals()
/dports/games/abstreet/winit-a87ae2661263ff241e8868cbf3ce65aab205863a/src/platform_impl/linux/x11/util/
H A Dicon.rs2 use crate::icon::{Icon, Pixel, PIXEL_SIZE};
7 assert!(CARDINAL_SIZE >= PIXEL_SIZE); in to_packed_argb()
22 assert_eq!(rgba_icon.rgba.len() % PIXEL_SIZE, 0); in to_cardinals()
23 let pixel_count = rgba_icon.rgba.len() / PIXEL_SIZE; in to_cardinals()
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/winit-0.24.0/src/platform_impl/linux/x11/util/
H A Dicon.rs2 use crate::icon::{Icon, Pixel, PIXEL_SIZE};
7 assert!(CARDINAL_SIZE >= PIXEL_SIZE); in to_packed_argb()
22 assert_eq!(rgba_icon.rgba.len() % PIXEL_SIZE, 0); in to_cardinals()
23 let pixel_count = rgba_icon.rgba.len() / PIXEL_SIZE; in to_cardinals()
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgdevm40.c41 #define PIXEL_SIZE 5 macro
119 int bcnt = w * PIXEL_SIZE; in mem_true40_fill_rectangle()
169 pptr += PIXEL_SIZE; in mem_true40_fill_rectangle()
176 pptr += 2 * PIXEL_SIZE; in mem_true40_fill_rectangle()
185 pptr += 3 * PIXEL_SIZE; in mem_true40_fill_rectangle()
196 pptr += 4 * PIXEL_SIZE; in mem_true40_fill_rectangle()
311 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
344 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
371 pptr += 8 * PIXEL_SIZE; in mem_true40_copy_mono()
381 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
[all …]
H A Dgdevm56.c41 #define PIXEL_SIZE 7 macro
126 int bcnt = w * PIXEL_SIZE; in mem_true56_fill_rectangle()
180 pptr += PIXEL_SIZE; in mem_true56_fill_rectangle()
188 pptr += 2 * PIXEL_SIZE; in mem_true56_fill_rectangle()
197 pptr += 3 * PIXEL_SIZE; in mem_true56_fill_rectangle()
210 pptr += 4 * PIXEL_SIZE; in mem_true56_fill_rectangle()
335 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
368 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
395 pptr += 8 * PIXEL_SIZE; in mem_true56_copy_mono()
405 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
[all …]
H A Dgdevm48.c41 #define PIXEL_SIZE 6 macro
57 #define x_to_byte(x) ((x) * PIXEL_SIZE)
116 int bcnt = w * PIXEL_SIZE; in mem_true48_fill_rectangle()
165 pptr += PIXEL_SIZE; in mem_true48_fill_rectangle()
174 pptr += 2 * PIXEL_SIZE; in mem_true48_fill_rectangle()
280 pptr += PIXEL_SIZE; in mem_true48_copy_mono()
313 pptr += PIXEL_SIZE; in mem_true48_copy_mono()
340 pptr += 8 * PIXEL_SIZE; in mem_true48_copy_mono()
350 pptr += PIXEL_SIZE; in mem_true48_copy_mono()
447 bytes_copy_rectangle(row + x * PIXEL_SIZE, raster, base + sourcex * PIXEL_SIZE, in mem48_word_copy_color()
[all …]
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dgdevm40.c42 #define PIXEL_SIZE 5 macro
58 #define x_to_byte(x) ((x) * PIXEL_SIZE)
120 int bcnt = w * PIXEL_SIZE; in mem_true40_fill_rectangle()
170 pptr += PIXEL_SIZE; in mem_true40_fill_rectangle()
177 pptr += 2 * PIXEL_SIZE; in mem_true40_fill_rectangle()
197 pptr += 4 * PIXEL_SIZE; in mem_true40_fill_rectangle()
312 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
345 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
372 pptr += 8 * PIXEL_SIZE; in mem_true40_copy_mono()
382 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
[all …]
H A Dgdevm56.c42 #define PIXEL_SIZE 7 macro
58 #define x_to_byte(x) ((x) * PIXEL_SIZE)
127 int bcnt = w * PIXEL_SIZE; in mem_true56_fill_rectangle()
181 pptr += PIXEL_SIZE; in mem_true56_fill_rectangle()
189 pptr += 2 * PIXEL_SIZE; in mem_true56_fill_rectangle()
211 pptr += 4 * PIXEL_SIZE; in mem_true56_fill_rectangle()
336 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
369 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
396 pptr += 8 * PIXEL_SIZE; in mem_true56_copy_mono()
406 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
[all …]
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dgdevm40.c42 #define PIXEL_SIZE 5 macro
58 #define x_to_byte(x) ((x) * PIXEL_SIZE)
120 int bcnt = w * PIXEL_SIZE; in mem_true40_fill_rectangle()
170 pptr += PIXEL_SIZE; in mem_true40_fill_rectangle()
177 pptr += 2 * PIXEL_SIZE; in mem_true40_fill_rectangle()
197 pptr += 4 * PIXEL_SIZE; in mem_true40_fill_rectangle()
312 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
345 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
372 pptr += 8 * PIXEL_SIZE; in mem_true40_copy_mono()
382 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
[all …]
H A Dgdevm56.c42 #define PIXEL_SIZE 7 macro
58 #define x_to_byte(x) ((x) * PIXEL_SIZE)
127 int bcnt = w * PIXEL_SIZE; in mem_true56_fill_rectangle()
181 pptr += PIXEL_SIZE; in mem_true56_fill_rectangle()
189 pptr += 2 * PIXEL_SIZE; in mem_true56_fill_rectangle()
211 pptr += 4 * PIXEL_SIZE; in mem_true56_fill_rectangle()
336 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
369 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
396 pptr += 8 * PIXEL_SIZE; in mem_true56_copy_mono()
406 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
[all …]
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgdevm40.c42 #define PIXEL_SIZE 5 macro
58 #define x_to_byte(x) ((x) * PIXEL_SIZE)
120 int bcnt = w * PIXEL_SIZE; in mem_true40_fill_rectangle()
170 pptr += PIXEL_SIZE; in mem_true40_fill_rectangle()
177 pptr += 2 * PIXEL_SIZE; in mem_true40_fill_rectangle()
197 pptr += 4 * PIXEL_SIZE; in mem_true40_fill_rectangle()
312 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
345 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
372 pptr += 8 * PIXEL_SIZE; in mem_true40_copy_mono()
382 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
[all …]
H A Dgdevm56.c42 #define PIXEL_SIZE 7 macro
58 #define x_to_byte(x) ((x) * PIXEL_SIZE)
127 int bcnt = w * PIXEL_SIZE; in mem_true56_fill_rectangle()
181 pptr += PIXEL_SIZE; in mem_true56_fill_rectangle()
189 pptr += 2 * PIXEL_SIZE; in mem_true56_fill_rectangle()
211 pptr += 4 * PIXEL_SIZE; in mem_true56_fill_rectangle()
336 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
369 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
396 pptr += 8 * PIXEL_SIZE; in mem_true56_copy_mono()
406 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
[all …]
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgdevm40.c42 #define PIXEL_SIZE 5 macro
58 #define x_to_byte(x) ((x) * PIXEL_SIZE)
120 int bcnt = w * PIXEL_SIZE; in mem_true40_fill_rectangle()
170 pptr += PIXEL_SIZE; in mem_true40_fill_rectangle()
177 pptr += 2 * PIXEL_SIZE; in mem_true40_fill_rectangle()
197 pptr += 4 * PIXEL_SIZE; in mem_true40_fill_rectangle()
312 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
345 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
372 pptr += 8 * PIXEL_SIZE; in mem_true40_copy_mono()
382 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
[all …]
H A Dgdevm56.c42 #define PIXEL_SIZE 7 macro
58 #define x_to_byte(x) ((x) * PIXEL_SIZE)
127 int bcnt = w * PIXEL_SIZE; in mem_true56_fill_rectangle()
181 pptr += PIXEL_SIZE; in mem_true56_fill_rectangle()
189 pptr += 2 * PIXEL_SIZE; in mem_true56_fill_rectangle()
211 pptr += 4 * PIXEL_SIZE; in mem_true56_fill_rectangle()
336 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
369 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
396 pptr += 8 * PIXEL_SIZE; in mem_true56_copy_mono()
406 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
[all …]
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgdevm40.c41 #define PIXEL_SIZE 5 macro
119 int bcnt = w * PIXEL_SIZE; in mem_true40_fill_rectangle()
169 pptr += PIXEL_SIZE; in mem_true40_fill_rectangle()
176 pptr += 2 * PIXEL_SIZE; in mem_true40_fill_rectangle()
185 pptr += 3 * PIXEL_SIZE; in mem_true40_fill_rectangle()
196 pptr += 4 * PIXEL_SIZE; in mem_true40_fill_rectangle()
311 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
344 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
371 pptr += 8 * PIXEL_SIZE; in mem_true40_copy_mono()
381 pptr += PIXEL_SIZE; in mem_true40_copy_mono()
[all …]
H A Dgdevm56.c41 #define PIXEL_SIZE 7 macro
126 int bcnt = w * PIXEL_SIZE; in mem_true56_fill_rectangle()
180 pptr += PIXEL_SIZE; in mem_true56_fill_rectangle()
188 pptr += 2 * PIXEL_SIZE; in mem_true56_fill_rectangle()
197 pptr += 3 * PIXEL_SIZE; in mem_true56_fill_rectangle()
210 pptr += 4 * PIXEL_SIZE; in mem_true56_fill_rectangle()
335 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
368 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
395 pptr += 8 * PIXEL_SIZE; in mem_true56_copy_mono()
405 pptr += PIXEL_SIZE; in mem_true56_copy_mono()
[all …]
/dports/games/libretro-shaders-slang/slang-shaders-9850d68939b86262eae9f0da01ff1c11daafcdc3/reshade/shaders/
H A Dblur-haze-sh1nra358.slang94 vec2 PIXEL_SIZE = params.SourceSize.zw;
101 … texture(Source, texcoord + vec2(sampleOffsets[i]*SW * PIXEL_SIZE.x, sampleOffsets[i] * PIXEL_SIZE
102 … texture(Source, texcoord - vec2(sampleOffsets[i]*SW * PIXEL_SIZE.x, sampleOffsets[i] * PIXEL_SIZE
103 …texture(Source, texcoord + vec2(-sampleOffsets[i]*SW * PIXEL_SIZE.x, sampleOffsets[i] * PIXEL_SIZE
104 …texture(Source, texcoord + vec2(sampleOffsets[i]*SW * PIXEL_SIZE.x, -sampleOffsets[i] * PIXEL_SIZE
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Urho2D/
H A DTileMapDefs2D.cpp33 extern URHO3D_API const float PIXEL_SIZE;
56 Vector2 index = position * PIXEL_SIZE / tileHeight_; in ConvertPosition()
62 return Vector2(position.x_ * PIXEL_SIZE, GetMapHeight() - position.y_ * PIXEL_SIZE); in ConvertPosition()
67 return Vector2(position.x_ * PIXEL_SIZE, GetMapHeight() - position.y_ * PIXEL_SIZE); in ConvertPosition()

12345678910>>...20