/dports/graphics/netpbm/netpbm-10.91.01/editor/specialty/ |
H A D | pbmlife.c | 67 if ( col > 0 && prevrow[col - 1] == PBM_WHITE ) 70 if ( prevrow[col] == PBM_WHITE ) 73 if ( col < cols - 1 && prevrow[col + 1] == PBM_WHITE ) 77 if ( col > 0 && thisrow[col - 1] == PBM_WHITE ) 80 if ( col < cols - 1 && thisrow[col + 1] == PBM_WHITE ) 85 if ( col > 0 && nextrow[col - 1] == PBM_WHITE ) 88 if ( nextrow[col] == PBM_WHITE ) 91 if ( col < cols - 1 && nextrow[col + 1] == PBM_WHITE ) 96 if ( thisrow[col] == PBM_WHITE ) 98 newrow[col] = PBM_WHITE; [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/editor/ |
H A D | pbmmask.c | 107 if (bits[row][0] == PBM_WHITE) in backcolorFmImage() 109 if (bits[row][cols - 1] == PBM_WHITE) in backcolorFmImage() 113 if (bits[0][col] == PBM_WHITE) in backcolorFmImage() 115 if (bits[rows - 1][col] == PBM_WHITE) in backcolorFmImage() 119 return (wcount >= rows + cols - 2) ? PBM_WHITE : PBM_BLACK; in backcolorFmImage() 202 mask[row][col] = PBM_WHITE; in flood() 209 mask[row][c] = PBM_WHITE; in flood() 224 mask[row][c] = PBM_WHITE; in flood() 261 emask[row][col] = PBM_WHITE; in expandedByOnePixel()
|
H A D | pbmclean.c | 667 blobColor == PBM_WHITE ? PBM_BLACK : PBM_WHITE); in processBlob() 780 bit const foregroundColor = cmdline.flipWhite ? PBM_WHITE : PBM_BLACK; in pbmclean()
|
/dports/graphics/netpbm/netpbm-10.91.01/generator/ |
H A D | pbmupc.c | 97 (void) rect( bits, 0, 0, rows, cols, PBM_WHITE ); 110 col = rect( bits, row, col, TALL_HEIGHT, LINE1_WIDTH, PBM_WHITE ); 112 col = addlines( p, bits, row, col, TALL_HEIGHT, PBM_WHITE ); 114 col = addlines( lc0, bits, row, col, SHORT_HEIGHT, PBM_WHITE ); 116 col = addlines( lc1, bits, row, col, SHORT_HEIGHT, PBM_WHITE ); 118 col = addlines( lc2, bits, row, col, SHORT_HEIGHT, PBM_WHITE ); 120 col = addlines( lc3, bits, row, col, SHORT_HEIGHT, PBM_WHITE ); 122 col = addlines( lc4, bits, row, col, SHORT_HEIGHT, PBM_WHITE ); 123 col = rect( bits, row, col, TALL_HEIGHT, LINE1_WIDTH, PBM_WHITE ); 125 col = rect( bits, row, col, TALL_HEIGHT, LINE1_WIDTH, PBM_WHITE ); [all …]
|
H A D | pbmmake.c | 100 bitrow0[i] = (PBM_WHITE*0xaa) | (PBM_BLACK*0x55); in writeGrayRaster() 101 bitrow1[i] = (PBM_WHITE*0x55) | (PBM_BLACK*0xaa); in writeGrayRaster() 168 bit const color = cmdline.color == COLOR_WHITE ? PBM_WHITE : PBM_BLACK; in main()
|
/dports/comms/mgetty+sendfax/mgetty-1.1.37/patches/ |
H A D | pbmtog3.p1 | 13 bitrow[col] = PBM_WHITE; 17 bitrow[col] = PBM_WHITE; 23 bitrow[col] = PBM_WHITE;
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/pbm/ |
H A D | pbmtocis.c | 89 bg = PBM_WHITE; in main() 132 if (inverse) cell ^= (PBM_BLACK ^ PBM_WHITE); in main() 149 last = last ^ (PBM_BLACK ^ PBM_WHITE); in main()
|
H A D | cistopbm.c | 74 bw ^= (PBM_WHITE ^ PBM_BLACK); in main() 156 bw ^= (PBM_WHITE ^ PBM_BLACK); in main()
|
H A D | mdatopbm.c | 79 if (bInvert) data[y3][*xp] = (b & mask) ? PBM_BLACK : PBM_WHITE; in render_byte() 80 else data[y3][*xp] = (b & mask) ? PBM_WHITE : PBM_BLACK; in render_byte()
|
H A D | pktopbm.c | 378 bitmap[i][j]= PBM_WHITE; in main() 403 row[rp++] = turnon ? PBM_BLACK : PBM_WHITE; in main() 407 row[rp++] = turnon ? PBM_BLACK : PBM_WHITE; in main()
|
H A D | pbmtowbmp.c | 59 if(image[row][col] == PBM_WHITE) c = c | (1 << (7-p)); in main()
|
H A D | pbmtog3.c | 454 if (rowEndColor == PBM_WHITE) { in setBlockBitsInFinalChar() 542 borderColor = PBM_WHITE; /* initial value */ in convertRowToG3() 551 putspan(outP, PBM_WHITE, desiredWidth); in convertRowToG3()
|
H A D | pbmtoplot.c | 56 if ( bits[row][col] == PBM_WHITE )
|
H A D | pbmtodjvurle.c | 123 prevpixel = PBM_WHITE; /* Bitonal RLE rows always start with white */ in main()
|
H A D | g3topbm.c | 340 packedBitrow[colByte] = PBM_WHITE * 0xff; in makeRowWhite() 359 case PBM_WHITE: in g3code() 523 currentColor = PBM_WHITE; in readFaxRow()
|
H A D | wbmptopbm.c | 84 image[i][j*8+k] = c & (0x80 >> k) ? PBM_WHITE : PBM_BLACK; in readwbmp()
|
H A D | pbmto4425.c | 66 if(pbm_image[y][x] == PBM_WHITE)
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/ |
H A D | pgmtopbm.c | 327 bits[y[i]][x[i]] = PBM_WHITE; in doHilbert() 401 *bP = PBM_WHITE; in fsConvertRow() 497 bitrow[col] = PBM_WHITE; in threshConvertRow() 556 bitrow[col] = PBM_WHITE; in dither8ConvertRow() 626 bitrow[col] = PBM_WHITE; in clusterConvertRow()
|
H A D | pbmtopgm.c | 83 if (inbits[y][x] == PBM_WHITE) in main()
|
/dports/comms/mgetty+sendfax/mgetty-1.1.37/contrib/ |
H A D | g3toxwd.c | 42 #define PBM_WHITE 0 macro 530 *bP = PBM_WHITE; 847 *bP = PBM_WHITE; 856 while ((col > 0) && (readrow[col] == PBM_WHITE)) 893 *bP = PBM_WHITE;
|
H A D | g3tolj.c | 72 #define PBM_WHITE 0 macro 477 *bP = PBM_WHITE; 833 *bP = PBM_WHITE; 842 while ((col > 0) && (readrow[col] == PBM_WHITE))
|
H A D | pbmscale.c | 82 *bP = PBM_WHITE;
|
/dports/graphics/netpbm/netpbm-10.91.01/lib/ |
H A D | libpamwrite.c | 67 tuplerow[col][0] == PAM_PBM_BLACK ? PBM_BLACK : PBM_WHITE); in writePamPlainPbmRow() 116 (tuplerow[col][0] == PAM_PBM_BLACK ? PBM_BLACK : PBM_WHITE) in formatPbmRow()
|
H A D | libpbm1.c | 178 retval = PBM_WHITE; in pbm_backgroundbitrow()
|
H A D | pbm.h | 14 #define PBM_WHITE 0 macro
|