Lines Matching refs:pc
640 int x, y, row, col, pc, pcr; local
651 pc = row * bitmap.pitch;
652 pcr = pc;
659 for (col = 0; col < bitmap.width; col++, pc++) {
665 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1));
715 pc = row * bitmap.pitch;
716 pcr = pc;
718 pc *= 8; /* pc is measured in bits for monochrome images */
727 for (col = 0; col < bitmap.width; col++, pc++) {
734 … tc_key.pixel = ((bitmap.buffer[pc] * NUMCOLORS) + bitmap.num_grays / 2) / (bitmap.num_grays - 1);
736 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0;