/dports/print/limereport/LimeReport-1.5.35/3rdparty/zint-2.6.1/backend/ |
H A D | pcx.c | 58 unsigned char rle_row[symbol->bitmap_width]; in pcx_pixel_plot() 60 rle_row = (unsigned char *) _alloca((symbol->bitmap_width * 6) * sizeof (unsigned char)); in pcx_pixel_plot() 77 header.window_xmax = symbol->bitmap_width - 1; in pcx_pixel_plot() 89 if (symbol->bitmap_width % 2) { in pcx_pixel_plot() 90 header.bytes_per_line = symbol->bitmap_width + 1; in pcx_pixel_plot() 92 header.bytes_per_line = symbol->bitmap_width; in pcx_pixel_plot() 123 for (column = 0; column < symbol->bitmap_width; column++) { in pcx_pixel_plot() 126 if (pixelbuf[(row * symbol->bitmap_width) + column] == '1') { in pcx_pixel_plot() 133 if (pixelbuf[(row * symbol->bitmap_width) + column] == '1') { in pcx_pixel_plot() 140 if (pixelbuf[(row * symbol->bitmap_width) + column] == '1') { in pcx_pixel_plot() [all …]
|
H A D | png.c | 84 unsigned char outdata[symbol->bitmap_width * 3]; in png_pixel_plot() 86 unsigned char* outdata = (unsigned char*) _alloca(symbol->bitmap_width * 3); in png_pixel_plot() 91 graphic->width = symbol->bitmap_width; in png_pixel_plot() 158 for (column = 0; column < symbol->bitmap_width; column++) { in png_pixel_plot() 160 switch (*(pixelbuf + (symbol->bitmap_width * row) + column)) { in png_pixel_plot()
|
H A D | tif.c | 77 rows_per_strip = 8192 / (symbol->bitmap_width * 3); in tif_pixel_plot() 99 strip_bytes[i] = rows_per_strip * symbol->bitmap_width * 3; in tif_pixel_plot() 102 … strip_bytes[i] = (symbol->bitmap_height % rows_per_strip) * symbol->bitmap_width * 3; in tif_pixel_plot() 104 strip_bytes[i] = rows_per_strip * symbol->bitmap_width * 3; in tif_pixel_plot() 148 for (column = 0; column < symbol->bitmap_width; column++) { in tif_pixel_plot() 149 if (pixelbuf[(row * symbol->bitmap_width) + column] == '1') { in tif_pixel_plot() 180 ifd.image_width.offset = symbol->bitmap_width; in tif_pixel_plot()
|
H A D | gif.c | 273 char lzwoutbuf[symbol->bitmap_height * symbol->bitmap_width]; in gif_pixel_plot() 275 lzwoutbuf = (char *) _alloca((symbol->bitmap_height * symbol->bitmap_width) * sizeof (char)); in gif_pixel_plot() 308 usTemp = (unsigned short) symbol->bitmap_width; in gif_pixel_plot() 372 outbuf[5] = (unsigned char) (0xff & symbol->bitmap_width); in gif_pixel_plot() 373 outbuf[6] = (unsigned char) ((0xff00 & symbol->bitmap_width) / 0x100); in gif_pixel_plot() 388 symbol->bitmap_height * symbol->bitmap_width, in gif_pixel_plot() 390 symbol->bitmap_height * symbol->bitmap_width); in gif_pixel_plot()
|
H A D | bmp.c | 60 row_size = 4 * floor((24.0 * symbol->bitmap_width + 31) / 32); in bmp_pixel_plot() 73 for (column = 0; column < symbol->bitmap_width; column++) { in bmp_pixel_plot() 75 … switch (*(pixelbuf + (symbol->bitmap_width * (symbol->bitmap_height - row - 1)) + column)) { in bmp_pixel_plot() 100 info_header.width = symbol->bitmap_width; in bmp_pixel_plot()
|
/dports/games/scorched3d/scorched/src/client/GLEXT/ |
H A D | GLFont2dFreeType.cpp | 129 int bitmap_width = bitmap.width; in createCharacter() local 135 int shadow_width = bitmap_width + 4; in createCharacter() 147 unsigned char bitmapValue = bitmap_buffer[bi + bitmap_width*bj]; in createCharacter() 165 bitmap_width = shadow_width; in createCharacter() 173 int width = next_p2( bitmap_width ); in createCharacter() 190 (i>=bitmap_width || j>=bitmap_rows) ? in createCharacter() 191 0 : bitmap_buffer[i + bitmap_width*j]; in createCharacter() 240 float x=(float)bitmap_width / (float)width; in createCharacter() 250 character->width = (float)bitmap_width; in createCharacter() 256 glTexCoord2f(x,y); glVertex2f((float)bitmap_width,0.0f); in createCharacter() [all …]
|
/dports/audio/protracker/pt2-clone-1.37/src/gfx/bmp/ |
H A D | bmp2pth.c | 17 int32_t bitmap_width, bitmap_height, bitmap_depth, bitmap_offset; in main() local 74 fread(&bitmap_width, 4, 1, in); in main() 94 pixel_data = (uint32_t *)malloc(bitmap_width * bitmap_height * (bitmap_depth / 8)); in main() 106 …if (fread(pixel_data, bitmap_depth / 8, bitmap_width * bitmap_height, in) != (size_t)(bitmap_width… in main() 122 for (x = 0; x < bitmap_width; x++) in main() 125 t = pixel_data[y * bitmap_width + x]; in main() 127 pixel_data[y * bitmap_width + x] = pixel_data[oy * bitmap_width + x]; in main() 128 pixel_data[oy * bitmap_width + x] = t; in main() 132 DataLen = (bitmap_width * bitmap_height) / 4; in main()
|
/dports/graphics/aaphoto/aaphoto-0.43.1/ |
H A D | aaio.c | 968 bitmap_width = f_width; in BITMAP_READ_BMP() 1061 bw = bitmap_width; in BITMAP_WRITE_BMP() 1287 dx = bitmap_width; in BITMAP_READ_JASPER() 1356 dx = bitmap_width; in BITMAP_WRITE_JASPER() 1517 bitmap_width = png_width; in BITMAP_READ_PNG() 1629 for (x=0; x < bitmap_width; x++){ in BITMAP_READ_PNG() 1648 for (x=0; x < bitmap_width; x++){ in BITMAP_READ_PNG() 1658 for (x=0; x < bitmap_width; x++){ in BITMAP_READ_PNG() 1673 for (x=0; x < bitmap_width; x++){ in BITMAP_READ_PNG() 1921 bitmap_width = cinfo.output_width; in BITMAP_READ_JPEG() [all …]
|
H A D | aaphoto.c | 178 unsigned long bitmap_width; variable 398 if (bitmap_width > bitmap_height) { opr = bitmap_width * opr / 100; } in MAIN_RESIZE() 403 if (!((opr > bitmap_width) && (opr > bitmap_height))){ in MAIN_RESIZE() 406 if (bitmap_width > bitmap_height){ in MAIN_RESIZE() 408 new_height = bitmap_height * opr / bitmap_width; in MAIN_RESIZE() 411 new_width = bitmap_width * opr / bitmap_height; in MAIN_RESIZE() 430 if (opt_rotate90) { if (ROTATE90(&bitmap_buffer, &bitmap_width, &bitmap_height, alpha_flag)) in MAIN_RESIZE() 432 if (opt_rotate180) { if (ROTATE180(&bitmap_buffer, &bitmap_width, &bitmap_height, alpha_flag)) in MAIN_RESIZE() 436 if (opt_flipx) { if (FLIPX(&bitmap_buffer, &bitmap_width, &bitmap_height, alpha_flag)) in MAIN_RESIZE() 438 if (opt_flipy) { if (FLIPY(&bitmap_buffer, &bitmap_width, &bitmap_height, alpha_flag)) in MAIN_RESIZE() [all …]
|
/dports/x11-fonts/psftools/psftools-1.0.13/winfonts/ |
H A D | psf2fnt.c | 46 static unsigned bitmap_width; variable 92 for (vx = n = 0; n < bitmap_width; n++) in msw_glyphs_write() 170 head->dfWidthBytes = bitmap_width; in setup_fnthead() 322 bitmap_width = wb * ((lastchar + 1) - firstchar); in cnv_execute() 326 bitmap_width = wb * ((lastchar + 2) - firstchar); in cnv_execute() 327 if (bitmap_width & 1) ++bitmap_width; in cnv_execute() 331 bitmap_width = wb * ((lastchar + 2) - firstchar); in cnv_execute() 332 if (bitmap_width & 1) ++bitmap_width; in cnv_execute() 338 if (font_ver < 0x200) bitmap_len = psf.psf_height * bitmap_width; in cnv_execute()
|
/dports/graphics/zint/zint-2.10.0-src/backend/ |
H A D | pcx.c | 52 int bytes_per_line = symbol->bitmap_width + (symbol->bitmap_width & 1); // Must be even in pcx_pixel_plot() 80 header.window_xmax = symbol->bitmap_width - 1; in pcx_pixel_plot() 122 for (column = 0; column < symbol->bitmap_width; column++) { in pcx_pixel_plot() 125 switch (pixelbuf[(row * symbol->bitmap_width) + column]) { in pcx_pixel_plot() 147 switch (pixelbuf[(row * symbol->bitmap_width) + column]) { in pcx_pixel_plot() 169 switch (pixelbuf[(row * symbol->bitmap_width) + column]) { in pcx_pixel_plot()
|
H A D | png.c | 84 if (symbol->symbology == BARCODE_AZTEC && symbol->bitmap_width <= 30) { in guess_compression_strategy() 112 unsigned char outdata[symbol->bitmap_width]; in png_pixel_plot() 114 unsigned char *outdata = (unsigned char *) _alloca(symbol->bitmap_width); in png_pixel_plot() 285 png_set_IHDR(png_ptr, info_ptr, symbol->bitmap_width, symbol->bitmap_height, in png_pixel_plot() 302 for (column = 0; column < symbol->bitmap_width; column += 8, image_data++) { in png_pixel_plot() 304 for (i = 0; i < 8 && column + i < symbol->bitmap_width; i++, pb++) { in png_pixel_plot() 315 for (column = 0; column < symbol->bitmap_width; column += 2, image_data++) { in png_pixel_plot() 317 if (column + 1 < symbol->bitmap_width) { in png_pixel_plot()
|
H A D | bmp.c | 85 row_size = 4 * ((bits_per_pixel * symbol->bitmap_width + 31) / 32); in bmp_pixel_plot() 103 for (column = 0; column < symbol->bitmap_width; column++) { in bmp_pixel_plot() 105 … switch (*(pixelbuf + (symbol->bitmap_width * (symbol->bitmap_height - row - 1)) + column)) { in bmp_pixel_plot() 138 for (column = 0; column < symbol->bitmap_width; column++) { in bmp_pixel_plot() 140 … if ((*(pixelbuf + (symbol->bitmap_width * (symbol->bitmap_height - row - 1)) + column)) == '1') { in bmp_pixel_plot() 155 info_header.width = symbol->bitmap_width; in bmp_pixel_plot()
|
H A D | tif.c | 268 rows_per_strip = (8192 * pixels_per_sample) / (symbol->bitmap_width * samples_per_pixel); in tif_pixel_plot() 293 … symbol->bitmap_width, symbol->bitmap_height, strip_count, rows_per_strip, pixels_per_sample, in tif_pixel_plot() 297 …bytes_per_strip = rows_per_strip * ((symbol->bitmap_width + pixels_per_sample - 1) / pixels_per_sa… in tif_pixel_plot() 318 … * ((symbol->bitmap_width + pixels_per_sample - 1) / pixels_per_sample) in tif_pixel_plot() 373 for (column = 0; column < symbol->bitmap_width; column += 8) { in tif_pixel_plot() 375 for (i = 0; i < 8 && column + i < symbol->bitmap_width; i++, pb++) { in tif_pixel_plot() 381 for (column = 0; column < symbol->bitmap_width; column += 2) { in tif_pixel_plot() 383 if (column + 1 < symbol->bitmap_width) { in tif_pixel_plot() 390 for (column = 0; column < symbol->bitmap_width; column++) { in tif_pixel_plot() 396 for (column = 0; column < symbol->bitmap_width; column++) { in tif_pixel_plot() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/ |
H A D | fpdf_view_embeddertest.cpp | 95 int bitmap_width, in TestRenderPageBitmapWithMatrix() argument 110 int bitmap_width = static_cast<int>(FPDF_GetPageWidth(page)); in TestRenderPageBitmapWithFlags() local 123 int bitmap_width = static_cast<int>(FPDF_GetPageWidth(page)); in TestRenderPageBitmapWithExternalMemory() local 128 int bitmap_stride = bytes_per_pixel * bitmap_width; in TestRenderPageBitmapWithExternalMemory() 849 const int bitmap_width = page_width * 2; in TEST_F() local 853 FS_RECTF bitmap_rect{0, 0, bitmap_width, bitmap_height}; in TEST_F() 854 TestRenderPageBitmapWithMatrix(page, bitmap_width, bitmap_height, in TEST_F() 860 TestRenderPageBitmapWithMatrix(page, bitmap_width, bitmap_height, in TEST_F() 866 TestRenderPageBitmapWithMatrix(page, bitmap_width, bitmap_height, in TEST_F() 872 FS_MATRIX rotate_90_scale_2_matrix{0, 2, -2, 0, bitmap_width, 0}; in TEST_F() [all …]
|
/dports/x11/libsx/libsx/demo2/ |
H A D | callbacks.c | 42 for(j=0; j < me->bitmap_width; j++, ptr++) in pattern1() 66 for(j=0; j < me->bitmap_width; j++, ptr++) in pattern2() 106 x = (me->win_width - me->bitmap_width) / 2; in redisplay() 109 DrawImage(me->bitmap, x,y, me->bitmap_width, me->bitmap_height); in redisplay()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/webcodecs/fuzzer_seed_corpus/video_encoder/ |
H A D | encode_vp9.textproto | 26 bitmap_width: 200, 38 bitmap_width: 200, 62 bitmap_width: 200,
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/fpdfsdk/ |
H A D | fpdf_view_embeddertest.cpp | 105 int bitmap_width, in TestRenderPageBitmapWithMatrix() argument 120 int bitmap_width = static_cast<int>(FPDF_GetPageWidth(page)); in TestRenderPageBitmapWithFlags() local 133 int bitmap_width = static_cast<int>(FPDF_GetPageWidth(page)); in TestRenderPageBitmapWithExternalMemory() local 138 int bitmap_stride = bytes_per_pixel * bitmap_width; in TestRenderPageBitmapWithExternalMemory() 925 const float bitmap_width = page_width * 2; in TEST_F() local 929 FS_RECTF bitmap_rect{0, 0, bitmap_width, bitmap_height}; in TEST_F() 930 TestRenderPageBitmapWithMatrix(page, bitmap_width, bitmap_height, in TEST_F() 936 TestRenderPageBitmapWithMatrix(page, bitmap_width, bitmap_height, in TEST_F() 942 TestRenderPageBitmapWithMatrix(page, bitmap_width, bitmap_height, in TEST_F() 956 const float landscape_bitmap_height = bitmap_width; in TEST_F() [all …]
|
/dports/games/xtruco/xtruco/ |
H A D | topwind.c | 8 bitmap_data, bitmap_width, bitmap_height, icon, gc ) in TopWindow() argument 12 int bitmap_width, bitmap_height; 37 bitmap_width, bitmap_height );
|
/dports/games/7kaa/7kaa-2.15.4p1/src/ |
H A D | OTOWNBLD.cpp | 43 int absX1 = absBaseX - bitmap_width/2; in draw() 45 int absX2 = absX1 + bitmap_width - 1; in draw() 52 …if( x1 <= -bitmap_width || x1 >= ZOOM_WIDTH ) // out of the view area, not even a slight part of i… in draw()
|
H A D | OPLANT.cpp | 210 plantBitmap->bitmap_width = *((short*)plantBitmap->bitmap_ptr); in load_plant_bitmap() 346 int absX2 = absX1 + bitmap_width - 1; in draw() 353 …if( x1 <= -bitmap_width || x1 >= ZOOM_WIDTH ) // out of the view area, not even a slight part of i… in draw() 396 int absX1 = absBaseX - bitmap_width/2; in draw_at() 398 int absX2 = absX1 + bitmap_width - 1; in draw_at() 405 …if( x1 <= -bitmap_width || x1 >= ZOOM_WIDTH ) // out of the view area, not even a slight part of i… in draw_at() 424 int srcX2 = bitmap_width - 1; in draw_at()
|
/dports/print/ghostscript8-x11/ghostscript-8.71/base/ |
H A D | gdevsppr.c | 121 lpvipage.bitmap_width=gdev_mem_bytes_per_scan_line((gx_device *)pdev); in sparc_print_page() 122 lpvipage.page_width=lpvipage.bitmap_width*8; in sparc_print_page() 130 out_size=lpvipage.bitmap_width*lpvipage.page_length; in sparc_print_page()
|
/dports/print/ghostscript8-base/ghostscript-8.71/base/ |
H A D | gdevsppr.c | 121 lpvipage.bitmap_width=gdev_mem_bytes_per_scan_line((gx_device *)pdev); in sparc_print_page() 122 lpvipage.page_width=lpvipage.bitmap_width*8; in sparc_print_page() 130 out_size=lpvipage.bitmap_width*lpvipage.page_length; in sparc_print_page()
|
/dports/emulators/vice/vice-3.5/src/arch/gtk3/ |
H A D | directx_renderer_impl.cc | 104 …if (context->render_bitmap && (context->bitmap_width != backbuffer->width || context->bitmap_heigh… in build_render_bitmap() 133 context->bitmap_width = backbuffer->width; in build_render_bitmap() 158 emulated_aspect = (float)context->bitmap_width / (float)context->bitmap_height; in recalculate_layout() 178 …context->window_min_width = ceil((float)context->bitmap_width * context->bitmap_pixel_aspect_ratio… in recalculate_layout() 181 context->window_min_width = context->bitmap_width; in recalculate_layout()
|
/dports/print/ghostscript9-base/ghostscript-9.06/base/ |
H A D | gdevsppr.c | 123 lpvipage.bitmap_width=gdev_mem_bytes_per_scan_line((gx_device *)pdev); in sparc_print_page() 124 lpvipage.page_width=lpvipage.bitmap_width*8; in sparc_print_page() 132 out_size=lpvipage.bitmap_width*lpvipage.page_length; in sparc_print_page()
|