/dports/games/legesmotus/legesmotus-0.4.0/client/ |
H A D | ConvolveKernel.cpp | 100 … conv_sum[0] += src_pixels[conv_x*source->format->BytesPerPixel + conv_y*source->pitch]*current_k; in convolve() 101 if (source->format->BytesPerPixel >= 2) { in convolve() 102 …conv_sum[1] += src_pixels[conv_x*source->format->BytesPerPixel + conv_y*source->pitch + 1]*current… in convolve() 104 if (source->format->BytesPerPixel >= 3) { in convolve() 105 …conv_sum[2] += src_pixels[conv_x*source->format->BytesPerPixel + conv_y*source->pitch + 2]*current… in convolve() 107 if (source->format->BytesPerPixel >= 4) { in convolve() 108 …conv_sum[3] += src_pixels[conv_x*source->format->BytesPerPixel + conv_y*source->pitch + 3]*current… in convolve() 112 …dst_pixels[x*dest->format->BytesPerPixel + y*dest->pitch] = min<double>(conv_sum[0]/m_normalizatio… in convolve() 113 if (source->format->BytesPerPixel >= 2) { in convolve() 116 if (source->format->BytesPerPixel >= 3) { in convolve() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/MdeModulePkg/Library/FrameBufferBltLib/ |
H A D | FrameBufferBltLib.c | 19 UINT32 BytesPerPixel; member 49 OUT UINT32 *BytesPerPixel, in FrameBufferBltLibConfigurePixelFormat() argument 58 ASSERT (BytesPerPixel != NULL); in FrameBufferBltLibConfigurePixelFormat() 161 Configure->BytesPerPixel = BytesPerPixel; in FrameBufferBltConfigure() 257 IndexX < Configure->BytesPerPixel; in FrameBufferBltLibVideoFill() 272 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 287 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 398 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToBltBuffer() 503 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibBufferToVideo() 594 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/MdeModulePkg/Library/FrameBufferBltLib/ |
H A D | FrameBufferBltLib.c | 19 UINT32 BytesPerPixel; member 49 OUT UINT32 *BytesPerPixel, in FrameBufferBltLibConfigurePixelFormat() argument 58 ASSERT (BytesPerPixel != NULL); in FrameBufferBltLibConfigurePixelFormat() 161 Configure->BytesPerPixel = BytesPerPixel; in FrameBufferBltConfigure() 257 IndexX < Configure->BytesPerPixel; in FrameBufferBltLibVideoFill() 272 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 287 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 398 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToBltBuffer() 503 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibBufferToVideo() 594 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/MdeModulePkg/Library/FrameBufferBltLib/ |
H A D | FrameBufferBltLib.c | 19 UINT32 BytesPerPixel; member 49 OUT UINT32 *BytesPerPixel, in FrameBufferBltLibConfigurePixelFormat() argument 58 ASSERT (BytesPerPixel != NULL); in FrameBufferBltLibConfigurePixelFormat() 161 Configure->BytesPerPixel = BytesPerPixel; in FrameBufferBltConfigure() 257 IndexX < Configure->BytesPerPixel; in FrameBufferBltLibVideoFill() 272 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 287 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 398 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToBltBuffer() 503 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibBufferToVideo() 594 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/MdeModulePkg/Library/FrameBufferBltLib/ |
H A D | FrameBufferBltLib.c | 19 UINT32 BytesPerPixel; member 49 OUT UINT32 *BytesPerPixel, in FrameBufferBltLibConfigurePixelFormat() argument 58 ASSERT (BytesPerPixel != NULL); in FrameBufferBltLibConfigurePixelFormat() 161 Configure->BytesPerPixel = BytesPerPixel; in FrameBufferBltConfigure() 257 IndexX < Configure->BytesPerPixel; in FrameBufferBltLibVideoFill() 272 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 287 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 398 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToBltBuffer() 503 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibBufferToVideo() 594 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo() [all …]
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/MdeModulePkg/Library/FrameBufferBltLib/ |
H A D | FrameBufferBltLib.c | 19 UINT32 BytesPerPixel; member 49 OUT UINT32 *BytesPerPixel, in FrameBufferBltLibConfigurePixelFormat() argument 58 ASSERT (BytesPerPixel != NULL); in FrameBufferBltLibConfigurePixelFormat() 161 Configure->BytesPerPixel = BytesPerPixel; in FrameBufferBltConfigure() 257 IndexX < Configure->BytesPerPixel; in FrameBufferBltLibVideoFill() 272 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 287 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 398 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToBltBuffer() 503 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibBufferToVideo() 594 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo() [all …]
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/MdeModulePkg/Library/FrameBufferBltLib/ |
H A D | FrameBufferBltLib.c | 19 UINT32 BytesPerPixel; member 49 OUT UINT32 *BytesPerPixel, in FrameBufferBltLibConfigurePixelFormat() argument 58 ASSERT (BytesPerPixel != NULL); in FrameBufferBltLibConfigurePixelFormat() 161 Configure->BytesPerPixel = BytesPerPixel; in FrameBufferBltConfigure() 257 IndexX < Configure->BytesPerPixel; in FrameBufferBltLibVideoFill() 272 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 287 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 398 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToBltBuffer() 503 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibBufferToVideo() 594 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/MdeModulePkg/Library/FrameBufferBltLib/ |
H A D | FrameBufferBltLib.c | 19 UINT32 BytesPerPixel; member 49 OUT UINT32 *BytesPerPixel, in FrameBufferBltLibConfigurePixelFormat() argument 58 ASSERT (BytesPerPixel != NULL); in FrameBufferBltLibConfigurePixelFormat() 161 Configure->BytesPerPixel = BytesPerPixel; in FrameBufferBltConfigure() 257 IndexX < Configure->BytesPerPixel; in FrameBufferBltLibVideoFill() 272 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 287 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 398 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToBltBuffer() 503 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibBufferToVideo() 594 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/MdeModulePkg/Library/FrameBufferBltLib/ |
H A D | FrameBufferBltLib.c | 19 UINT32 BytesPerPixel; member 49 OUT UINT32 *BytesPerPixel, in FrameBufferBltLibConfigurePixelFormat() argument 58 ASSERT (BytesPerPixel != NULL); in FrameBufferBltLibConfigurePixelFormat() 161 Configure->BytesPerPixel = BytesPerPixel; in FrameBufferBltConfigure() 257 IndexX < Configure->BytesPerPixel; in FrameBufferBltLibVideoFill() 272 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 287 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 398 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToBltBuffer() 503 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibBufferToVideo() 594 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo() [all …]
|
/dports/sysutils/edk2/edk2-edk2-stable202102/MdeModulePkg/Library/FrameBufferBltLib/ |
H A D | FrameBufferBltLib.c | 19 UINT32 BytesPerPixel; member 49 OUT UINT32 *BytesPerPixel, in FrameBufferBltLibConfigurePixelFormat() argument 58 ASSERT (BytesPerPixel != NULL); in FrameBufferBltLibConfigurePixelFormat() 161 Configure->BytesPerPixel = BytesPerPixel; in FrameBufferBltConfigure() 257 IndexX < Configure->BytesPerPixel; in FrameBufferBltLibVideoFill() 272 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 287 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoFill() 398 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToBltBuffer() 503 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibBufferToVideo() 594 Offset = Configure->BytesPerPixel * Offset; in FrameBufferBltLibVideoToVideo() [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/png-0.17.1/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 79 tbpp: BytesPerPixel, in unfilter() argument 262 bpp: BytesPerPixel, in filter() argument 342 BytesPerPixel::One, in roundtrip() 343 BytesPerPixel::Two, in roundtrip() 345 BytesPerPixel::Four, in roundtrip() 346 BytesPerPixel::Six, in roundtrip() 385 BytesPerPixel::One, in roundtrip_ascending_previous_line() 386 BytesPerPixel::Two, in roundtrip_ascending_previous_line() 388 BytesPerPixel::Four, in roundtrip_ascending_previous_line() [all …]
|
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/png/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 79 tbpp: BytesPerPixel, in unfilter() argument 262 bpp: BytesPerPixel, in filter() argument 342 BytesPerPixel::One, in roundtrip() 343 BytesPerPixel::Two, in roundtrip() 345 BytesPerPixel::Four, in roundtrip() 346 BytesPerPixel::Six, in roundtrip() 385 BytesPerPixel::One, in roundtrip_ascending_previous_line() 386 BytesPerPixel::Two, in roundtrip_ascending_previous_line() 388 BytesPerPixel::Four, in roundtrip_ascending_previous_line() [all …]
|
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/png-0.16.8/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 55 tbpp: BytesPerPixel, in unfilter() argument 137 BytesPerPixel::Six => avg_tail_6(current, previous), in unfilter() 229 use super::{filter, unfilter, BytesPerPixel, FilterType}; 240 let mut roundtrip = |kind, bpp: BytesPerPixel| { in roundtrip() 259 BytesPerPixel::One, in roundtrip() 260 BytesPerPixel::Two, in roundtrip() 261 BytesPerPixel::Three, in roundtrip() 262 BytesPerPixel::Four, in roundtrip() 263 BytesPerPixel::Six, in roundtrip() [all …]
|
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/png-0.16.8/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 55 tbpp: BytesPerPixel, in unfilter() argument 137 BytesPerPixel::Six => avg_tail_6(current, previous), in unfilter() 229 use super::{filter, unfilter, BytesPerPixel, FilterType}; 240 let mut roundtrip = |kind, bpp: BytesPerPixel| { in roundtrip() 259 BytesPerPixel::One, in roundtrip() 260 BytesPerPixel::Two, in roundtrip() 261 BytesPerPixel::Three, in roundtrip() 262 BytesPerPixel::Four, in roundtrip() 263 BytesPerPixel::Six, in roundtrip() [all …]
|
/dports/misc/broot/broot-1.7.0/cargo-crates/png-0.16.8/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 55 tbpp: BytesPerPixel, in unfilter() argument 137 BytesPerPixel::Six => avg_tail_6(current, previous), in unfilter() 229 use super::{filter, unfilter, BytesPerPixel, FilterType}; 240 let mut roundtrip = |kind, bpp: BytesPerPixel| { in roundtrip() 259 BytesPerPixel::One, in roundtrip() 260 BytesPerPixel::Two, in roundtrip() 261 BytesPerPixel::Three, in roundtrip() 262 BytesPerPixel::Four, in roundtrip() 263 BytesPerPixel::Six, in roundtrip() [all …]
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/png-0.16.8/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 55 tbpp: BytesPerPixel, in unfilter() argument 137 BytesPerPixel::Six => avg_tail_6(current, previous), in unfilter() 229 use super::{filter, unfilter, BytesPerPixel, FilterType}; 240 let mut roundtrip = |kind, bpp: BytesPerPixel| { in roundtrip() 259 BytesPerPixel::One, in roundtrip() 260 BytesPerPixel::Two, in roundtrip() 261 BytesPerPixel::Three, in roundtrip() 262 BytesPerPixel::Four, in roundtrip() 263 BytesPerPixel::Six, in roundtrip() [all …]
|
/dports/graphics/viu/viu-1.1/cargo-crates/png-0.16.7/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 55 tbpp: BytesPerPixel, in unfilter() argument 137 BytesPerPixel::Six => avg_tail_6(current, previous), in unfilter() 228 use super::{filter, unfilter, BytesPerPixel, FilterType}; 239 let mut roundtrip = |kind, bpp: BytesPerPixel| { in roundtrip() 258 BytesPerPixel::One, in roundtrip() 259 BytesPerPixel::Two, in roundtrip() 260 BytesPerPixel::Three, in roundtrip() 261 BytesPerPixel::Four, in roundtrip() 262 BytesPerPixel::Six, in roundtrip() [all …]
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/png-0.16.8/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 55 tbpp: BytesPerPixel, in unfilter() argument 137 BytesPerPixel::Six => avg_tail_6(current, previous), in unfilter() 229 use super::{filter, unfilter, BytesPerPixel, FilterType}; 240 let mut roundtrip = |kind, bpp: BytesPerPixel| { in roundtrip() 259 BytesPerPixel::One, in roundtrip() 260 BytesPerPixel::Two, in roundtrip() 261 BytesPerPixel::Three, in roundtrip() 262 BytesPerPixel::Four, in roundtrip() 263 BytesPerPixel::Six, in roundtrip() [all …]
|
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/png-0.16.8/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 55 tbpp: BytesPerPixel, in unfilter() argument 137 BytesPerPixel::Six => avg_tail_6(current, previous), in unfilter() 229 use super::{filter, unfilter, BytesPerPixel, FilterType}; 240 let mut roundtrip = |kind, bpp: BytesPerPixel| { in roundtrip() 259 BytesPerPixel::One, in roundtrip() 260 BytesPerPixel::Two, in roundtrip() 261 BytesPerPixel::Three, in roundtrip() 262 BytesPerPixel::Four, in roundtrip() 263 BytesPerPixel::Six, in roundtrip() [all …]
|
/dports/www/zola/zola-0.15.2/cargo-crates/png-0.16.8/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 55 tbpp: BytesPerPixel, in unfilter() argument 137 BytesPerPixel::Six => avg_tail_6(current, previous), in unfilter() 229 use super::{filter, unfilter, BytesPerPixel, FilterType}; 240 let mut roundtrip = |kind, bpp: BytesPerPixel| { in roundtrip() 259 BytesPerPixel::One, in roundtrip() 260 BytesPerPixel::Two, in roundtrip() 261 BytesPerPixel::Three, in roundtrip() 262 BytesPerPixel::Four, in roundtrip() 263 BytesPerPixel::Six, in roundtrip() [all …]
|
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/png-0.16.8/src/ |
H A D | filter.rs | 1 use crate::common::BytesPerPixel; 55 tbpp: BytesPerPixel, in unfilter() argument 137 BytesPerPixel::Six => avg_tail_6(current, previous), in unfilter() 229 use super::{filter, unfilter, BytesPerPixel, FilterType}; 240 let mut roundtrip = |kind, bpp: BytesPerPixel| { in roundtrip() 259 BytesPerPixel::One, in roundtrip() 260 BytesPerPixel::Two, in roundtrip() 261 BytesPerPixel::Three, in roundtrip() 262 BytesPerPixel::Four, in roundtrip() 263 BytesPerPixel::Six, in roundtrip() [all …]
|
/dports/games/hex-a-hop/hex-a-hop-1.1.0/src/tools/ |
H A D | bmp2dat.c | 21 const int BytesPerPixel = i->format->BytesPerPixel; in Peek() local 24 p = ((unsigned char*)i->pixels)[i->pitch*y + x*BytesPerPixel]; in Peek() 26 p = *(short*)(((char*)i->pixels) + (i->pitch*y + x*BytesPerPixel)); in Peek() 28 p = *(unsigned int*)(((char*)i->pixels) + (i->pitch*y + x*BytesPerPixel)); in Peek() 30 p = (int)((unsigned char*)i->pixels)[i->pitch*y + x*BytesPerPixel] in Peek() 31 | (int)((unsigned char*)i->pixels)[i->pitch*y + x*BytesPerPixel] << 8 in Peek() 32 | (int)((unsigned char*)i->pixels)[i->pitch*y + x*BytesPerPixel] << 16; in Peek()
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/imagewin/ |
H A D | scale_2xSaI.cc | 46 inter_surface->format->BytesPerPixel, in show_scaled8to16_2xSaI() 60 inter_surface->format->BytesPerPixel, in show_scaled8to555_2xSaI() 74 inter_surface->format->BytesPerPixel, in show_scaled8to565_2xSaI() 88 inter_surface->format->BytesPerPixel, in show_scaled8to32_2xSaI() 106 inter_surface->format->BytesPerPixel, in show_scaled8to16_Super2xSaI() 120 inter_surface->format->BytesPerPixel, in show_scaled8to555_Super2xSaI() 134 inter_surface->format->BytesPerPixel, in show_scaled8to565_Super2xSaI() 148 inter_surface->format->BytesPerPixel, in show_scaled8to32_Super2xSaI() 166 inter_surface->format->BytesPerPixel, in show_scaled8to16_SuperEagle() 180 inter_surface->format->BytesPerPixel, in show_scaled8to555_SuperEagle() [all …]
|
/dports/games/tuxpaint/tuxpaint-0.9.26/src/ |
H A D | fill.c | 198 px_colr = getpixels[last->format->BytesPerPixel] (last, fillL, y); in simulate_flood_fill_outside_check() 202 px_colr = getpixels[last->format->BytesPerPixel] (last, fillL, y); in simulate_flood_fill_outside_check() 225 px_colr = getpixels[last->format->BytesPerPixel] (last, fillL, y); in simulate_flood_fill_outside_check() 240 px_colr = getpixels[last->format->BytesPerPixel] (last, fillR + 1, y); in simulate_flood_fill_outside_check() 259 px_colr = getpixels[last->format->BytesPerPixel] (last, fillR, y); in simulate_flood_fill_outside_check() 263 px_colr = getpixels[last->format->BytesPerPixel] (last, fillR, y); in simulate_flood_fill_outside_check() 286 px_colr = getpixels[last->format->BytesPerPixel] (last, fillR, y); in simulate_flood_fill_outside_check() 302 px_colr = getpixels[last->format->BytesPerPixel] (last, i, y - 1); in simulate_flood_fill_outside_check() 314 px_colr = getpixels[last->format->BytesPerPixel] (last, i, y + 1); in simulate_flood_fill_outside_check() 351 old_colr = getpixels[last->format->BytesPerPixel] (last, xx, yy); in draw_linear_gradient() [all …]
|
/dports/devel/p5-SDL/SDL-2.548/src/Core/objects/ |
H A D | Surface.xs | 127 switch(surface->format->BytesPerPixel) 133 …case 3: RETVAL = ((Uint32)((Uint8 *)surface->pixels)[offset * surface->format->BytesPerPixel] … 134 … + ((Uint32)((Uint8 *)surface->pixels)[offset * surface->format->BytesPerPixel + 1] << 8) 135 … + ((Uint32)((Uint8 *)surface->pixels)[offset * surface->format->BytesPerPixel + 2] << 16); 156 SvCUR_set(sv, surface->format->BytesPerPixel * surface->w * surface->h); 167 switch(surface->format->BytesPerPixel) 173 …case 3: ((Uint8 *)surface->pixels)[offset * surface->format->BytesPerPixel] = (Uint8)( value … 174 …((Uint8 *)surface->pixels)[offset * surface->format->BytesPerPixel + 1] = (Uint8)((value << 8) &… 175 …((Uint8 *)surface->pixels)[offset * surface->format->BytesPerPixel + 2] = (Uint8)((value << 16) &…
|