Lines Matching refs:pc
596 int x, y, row, col, pc, pcr; local
607 pc = row * bitmap.pitch;
608 pcr = pc;
615 for (col = 0; col < bitmap.width; col++, pc++) {
621 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1));
663 pc = row * bitmap.pitch;
664 pcr = pc;
666 pc *= 8; /* pc is measured in bits for monochrome images */
675 for (col = 0; col < bitmap.width; col++, pc++) {
682 … tc_key.pixel = ((bitmap.buffer[pc] * NUMCOLORS) + bitmap.num_grays / 2) / (bitmap.num_grays - 1);
684 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0;