Home
last modified time | relevance | path

Searched refs:BYTES_PER_PIXEL (Results 1 – 25 of 198) sorted by relevance

12345678

/dports/graphics/stamp/stamp-2.0.8/lib/
H A Dtransmogrify.c36 for (j = 0; j < BYTES_PER_PIXEL; j++) { in JPG_Shade()
37 tmp->line[(x * BYTES_PER_PIXEL) + j] = in JPG_Shade()
38 ((Args->Colors[j + BYTES_PER_PIXEL] - in JPG_Shade()
44 for (j = 0; j < BYTES_PER_PIXEL; j++) { in JPG_Shade()
45 tmp->line[(x * BYTES_PER_PIXEL) + j] = in JPG_Shade()
124 for (j = 0; j < BYTES_PER_PIXEL; j++) { in JPG_StringPut()
131 (Image->image_width * BYTES_PER_PIXEL)) in JPG_StringPut()
138 (Image->image_width * BYTES_PER_PIXEL)) in JPG_StringPut()
181 BYTES_PER_PIXEL) ; in JPG_Rotate_CCW()
188 z->line[(x * BYTES_PER_PIXEL) + j] ; in JPG_Rotate_CCW()
[all …]
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/qt/
H A Dnotificator.cpp96 const int BYTES_PER_PIXEL = 4;
102 stride(img.width() * BYTES_PER_PIXEL),
112 image.resize(num_pixels * BYTES_PER_PIXEL);
116 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R
117 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G
118 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B
119 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A
/dports/net-p2p/bitcoin/bitcoin-22.0/src/qt/
H A Dnotificator.cpp96 const int BYTES_PER_PIXEL = 4; variable
102 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
112 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
116 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
117 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
118 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
119 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/qt/
H A Dnotificator.cpp96 const int BYTES_PER_PIXEL = 4;
102 stride(img.width() * BYTES_PER_PIXEL),
112 image.resize(num_pixels * BYTES_PER_PIXEL);
116 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R
117 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G
118 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B
119 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/qt/
H A Dnotificator.cpp101 const int BYTES_PER_PIXEL = 4; variable
107 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
117 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
121 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
122 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
123 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
124 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/qt/
H A Dnotificator.cpp101 const int BYTES_PER_PIXEL = 4; variable
107 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
117 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
121 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
122 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
123 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
124 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/qt/
H A Dnotificator.cpp101 const int BYTES_PER_PIXEL = 4; variable
107 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
117 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
121 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
122 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
123 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
124 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/qt/
H A Dnotificator.cpp101 const int BYTES_PER_PIXEL = 4; variable
107 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
117 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
121 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
122 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
123 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
124 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/qt/
H A Dnotificator.cpp101 const int BYTES_PER_PIXEL = 4; variable
107 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
117 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
121 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
122 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
123 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
124 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/qt/
H A Dnotificator.cpp101 const int BYTES_PER_PIXEL = 4; variable
107 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
117 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
121 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
122 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
123 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
124 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/net-p2p/litecoin/litecoin-0.18.1/src/qt/
H A Dnotificator.cpp101 const int BYTES_PER_PIXEL = 4; variable
107 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
117 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
121 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
122 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
123 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
124 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/graphics/libnsbmp/libnsbmp-0.1.6/test/
H A Ddecode_bmp.c20 #define BYTES_PER_PIXEL 4 macro
29 if (((long long)width * (long long)height) > (MAX_IMAGE_BYTES/BYTES_PER_PIXEL)) { in bitmap_create()
32 return calloc(width * height, BYTES_PER_PIXEL); in bitmap_create()
46 return BYTES_PER_PIXEL; in bitmap_get_bpp()
90 size_t z = (row * bmp->width + col) * BYTES_PER_PIXEL; in write_ppm()
H A Ddecode_ico.c27 #define BYTES_PER_PIXEL 4 macro
35 return calloc(width * height, BYTES_PER_PIXEL); in bitmap_create()
49 return BYTES_PER_PIXEL; in bitmap_get_bpp()
138 size_t z = (row * bmp->width + col) * BYTES_PER_PIXEL; in write_pam()
162 size_t z = (row * bmp->width + col) * BYTES_PER_PIXEL; in write_ppm()
/dports/devel/allegro/allegro-4.4.3.1/src/psp/
H A Dpgfx.c203 …screen_start = vram_start + (top_margin * framebuf_width + left_margin) * BYTES_PER_PIXEL(color_de… in psp_display_init()
206 bytes_per_line = framebuf_width * BYTES_PER_PIXEL(color_depth); in psp_display_init()
355 …new_addr = BMP_EXTRA(screen)->hw_addr + (y * framebuf_width + x) * BYTES_PER_PIXEL(bitmap_color_d… in psp_scroll()
391 source_ptr = source->line[source_y] + source_x * BYTES_PER_PIXEL(bitmap_color_depth(source)); in psp_hw_blit()
392 source_x = ((unsigned int)source_ptr & 0xF) / BYTES_PER_PIXEL(bitmap_color_depth(source)); in psp_hw_blit()
396 dest_ptr = dest->line[dest_y] + dest_x * BYTES_PER_PIXEL(bitmap_color_depth(dest)); in psp_hw_blit()
397 dest_x = ((unsigned int)dest_ptr & 0xF) / BYTES_PER_PIXEL(bitmap_color_depth(dest)); in psp_hw_blit()
507 …new_addr = BMP_EXTRA(screen)->hw_addr + (y * framebuf_width + x) * BYTES_PER_PIXEL(bitmap_color_d… in psp_request_scroll()
573 bitmap_offset = (top_margin * MIN_BUF_WIDTH + left_margin) * BYTES_PER_PIXEL(_color_depth); in psp_create_video_bitmap()
584 size = pitch * used_height * BYTES_PER_PIXEL(_color_depth); in psp_create_video_bitmap()
[all …]
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/qt/
H A Dnotificator.cpp118 const int BYTES_PER_PIXEL = 4; variable
124 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
134 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
138 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
139 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
140 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
141 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/qt/
H A Dnotificator.cpp118 const int BYTES_PER_PIXEL = 4; variable
124 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
134 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
138 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
139 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
140 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
141 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/src/qt/
H A Dnotificator.cpp118 const int BYTES_PER_PIXEL = 4; variable
124 stride(img.width() * BYTES_PER_PIXEL), in FreedesktopImage()
134 image.resize(num_pixels * BYTES_PER_PIXEL); in FreedesktopImage()
138 image[ptr*BYTES_PER_PIXEL+0] = data[ptr] >> 16; // R in FreedesktopImage()
139 image[ptr*BYTES_PER_PIXEL+1] = data[ptr] >> 8; // G in FreedesktopImage()
140 image[ptr*BYTES_PER_PIXEL+2] = data[ptr]; // B in FreedesktopImage()
141 image[ptr*BYTES_PER_PIXEL+3] = data[ptr] >> 24; // A in FreedesktopImage()
/dports/graphics/py-ueberzug/ueberzug-18.1.8/Xshm/
H A DXshm.c11 #define BYTES_PER_PIXEL 4 macro
127 self->buffer_size = self->width * self->height * BYTES_PER_PIXEL; in Image_init()
201 destination_offset_x_bytes = max(0, offset_x) * BYTES_PER_PIXEL; in Image_draw()
202 source_pixels_per_row = width * BYTES_PER_PIXEL; in Image_draw()
203 destination_pixels_per_row = self->width * BYTES_PER_PIXEL; in Image_draw()
204 … pixels_per_row = min(width + min(offset_x, 0), self->width - max(offset_x, 0)) * BYTES_PER_PIXEL; in Image_draw()
/dports/graphics/seq2gif/seq2gif-0.10.4/
H A Ddcs.c62 offset = sc->point.x * BYTES_PER_PIXEL + sc->point.y * sc->line_length; in sixel_bitmap()
65 if (offset >= BYTES_PER_PIXEL * term->width * term->height) in sixel_bitmap()
69 memcpy(sc->bitmap + offset, &sc->color_table[sc->color_index], BYTES_PER_PIXEL); in sixel_bitmap()
337 memset(sc->bitmap, 0, BYTES_PER_PIXEL * width * height); in reset_sixel()
343 sc->line_length = BYTES_PER_PIXEL * width; in reset_sixel()
399 … src_offset = (y * CELL_HEIGHT + h) * sc->line_length + (CELL_WIDTH * x) * BYTES_PER_PIXEL; in sixel_copy2cell()
400 dst_offset = h * CELL_WIDTH * BYTES_PER_PIXEL; in sixel_copy2cell()
401 if (src_offset >= BYTES_PER_PIXEL * term->width * term->height) in sixel_copy2cell()
403 … memcpy(cellp->bitmap + dst_offset, sc->bitmap + src_offset, CELL_WIDTH * BYTES_PER_PIXEL); in sixel_copy2cell()
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/ArmPlatformPkg/Library/HdLcd/
H A DHdLcd.c19 #define BYTES_PER_PIXEL 4 macro
118 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
123 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/ArmPlatformPkg/Library/HdLcd/
H A DHdLcd.c19 #define BYTES_PER_PIXEL 4 macro
118 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
123 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/ArmPlatformPkg/Library/HdLcd/
H A DHdLcd.c19 #define BYTES_PER_PIXEL 4 macro
118 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
123 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/ArmPlatformPkg/Library/HdLcd/
H A DHdLcd.c19 #define BYTES_PER_PIXEL 4 macro
118 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
123 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/ArmPlatformPkg/Library/HdLcd/
H A DHdLcd.c19 #define BYTES_PER_PIXEL 4 macro
118 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
123 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/ArmPlatformPkg/Library/HdLcd/
H A DHdLcd.c19 #define BYTES_PER_PIXEL 4 macro
118 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()
123 Horizontal->Resolution * BYTES_PER_PIXEL in LcdSetMode()

12345678