Searched refs:shift_cmap (Results 1 – 5 of 5) sorted by relevance
149 extern int shift_cmap;
179 int shift_cmap = 0; /* ncells < 256 and needs shift of pixel values */ variable
276 if (! shift_cmap) { in set_colormap()316 if (ncells == 8 && ! shift_cmap) { in set_colormap()331 int k = i + shift_cmap; in set_colormap()343 if (shift_cmap && k >= 0 && k < ncolor) { in set_colormap()356 if (shift_cmap) { in set_colormap()
1335 snprintf(buf, bufn, "ans=%s%s%d", p, co, shift_cmap); in process_remote_cmd()1339 shift_cmap = atoi(p); in process_remote_cmd()1340 rfbLog("remote_cmd: set -shiftcmap %d\n", shift_cmap); in process_remote_cmd()
1458 fprintf(stderr, " shiftcmap: %d\n", shift_cmap); in print_settings()2338 shift_cmap = atoi(argv[++i]); in main() local