Lines Matching refs:pc
594 int x, y, row, col, pc, pcr; local
605 pc = row * bitmap.pitch;
606 pcr = pc;
613 for (col = 0; col < bitmap.width; col++, pc++) {
619 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1));
661 pc = row * bitmap.pitch;
662 pcr = pc;
664 pc *= 8; /* pc is measured in bits for monochrome images */
673 for (col = 0; col < bitmap.width; col++, pc++) {
680 … tc_key.pixel = ((bitmap.buffer[pc] * NUMCOLORS) + bitmap.num_grays / 2) / (bitmap.num_grays - 1);
682 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0;