Lines Matching refs:pc
630 int x, y, row, col, pc, pcr; local
641 pc = row * bitmap.pitch;
642 pcr = pc;
649 for (col = 0; col < bitmap.width; col++, pc++) {
655 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1));
705 pc = row * bitmap.pitch;
706 pcr = pc;
708 pc *= 8; /* pc is measured in bits for monochrome images */
717 for (col = 0; col < bitmap.width; col++, pc++) {
724 … tc_key.pixel = ((bitmap.buffer[pc] * NUMCOLORS) + bitmap.num_grays / 2) / (bitmap.num_grays - 1);
726 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0;