Home
last modified time | relevance | path

Searched refs:PBM_WHITE (Results 1 – 25 of 58) sorted by relevance

123

/dports/graphics/netpbm/netpbm-10.91.01/editor/specialty/
H A Dpbmlife.c67 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 Dpbmmask.c107 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 Dpbmclean.c667 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 Dpbmupc.c97 (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 Dpbmmake.c100 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 Dpbmtog3.p113 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 Dpbmtocis.c89 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 Dcistopbm.c74 bw ^= (PBM_WHITE ^ PBM_BLACK); in main()
156 bw ^= (PBM_WHITE ^ PBM_BLACK); in main()
H A Dmdatopbm.c79 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 Dpktopbm.c378 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 Dpbmtowbmp.c59 if(image[row][col] == PBM_WHITE) c = c | (1 << (7-p)); in main()
H A Dpbmtog3.c454 if (rowEndColor == PBM_WHITE) { in setBlockBitsInFinalChar()
542 borderColor = PBM_WHITE; /* initial value */ in convertRowToG3()
551 putspan(outP, PBM_WHITE, desiredWidth); in convertRowToG3()
H A Dpbmtoplot.c56 if ( bits[row][col] == PBM_WHITE )
H A Dpbmtodjvurle.c123 prevpixel = PBM_WHITE; /* Bitonal RLE rows always start with white */ in main()
H A Dg3topbm.c340 packedBitrow[colByte] = PBM_WHITE * 0xff; in makeRowWhite()
359 case PBM_WHITE: in g3code()
523 currentColor = PBM_WHITE; in readFaxRow()
H A Dwbmptopbm.c84 image[i][j*8+k] = c & (0x80 >> k) ? PBM_WHITE : PBM_BLACK; in readwbmp()
H A Dpbmto4425.c66 if(pbm_image[y][x] == PBM_WHITE)
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/
H A Dpgmtopbm.c327 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 Dpbmtopgm.c83 if (inbits[y][x] == PBM_WHITE) in main()
/dports/comms/mgetty+sendfax/mgetty-1.1.37/contrib/
H A Dg3toxwd.c42 #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 Dg3tolj.c72 #define PBM_WHITE 0 macro
477 *bP = PBM_WHITE;
833 *bP = PBM_WHITE;
842 while ((col > 0) && (readrow[col] == PBM_WHITE))
H A Dpbmscale.c82 *bP = PBM_WHITE;
/dports/graphics/netpbm/netpbm-10.91.01/lib/
H A Dlibpamwrite.c67 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 Dlibpbm1.c178 retval = PBM_WHITE; in pbm_backgroundbitrow()
H A Dpbm.h14 #define PBM_WHITE 0 macro

123