Lines Matching refs:pc
629 int x, y, row, col, pc, pcr; local
640 pc = row * bitmap.pitch;
641 pcr = pc;
648 for (col = 0; col < bitmap.width; col++, pc++) {
654 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1));
698 pc = row * bitmap.pitch;
699 pcr = pc;
701 pc *= 8; /* pc is measured in bits for monochrome images */
710 for (col = 0; col < bitmap.width; col++, pc++) {
717 … tc_key.pixel = ((bitmap.buffer[pc] * NUMCOLORS) + bitmap.num_grays / 2) / (bitmap.num_grays - 1);
719 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0;