Lines Matching defs:table
1239 /* At least scanners with firmware 1.20 need a gamma table upload
1308 /* At least scanners with firmware 1.20 need a gamma table upload
2443 gamma[2] = 0x03; /* indicates gamma table */
2474 /* Interpolate first entries from 256 entry table */
2494 /* Interpolate next entries from the 256 entry table */
2500 DBG (5, "send_gamma_table_se: sending table for color %d\n",
2701 table is a linear table, so all we support here is user-defined
2706 SANE_Int i, j, table = 0, len = 0, bytes_per_channel, num_channels = 1;
2714 /* sigh! - the 600 II N needs a (dummy) table download even for
2719 gamma[2] = 0x0; /* indicate any preloaded gamma table */
2720 DBG (5, "gamma_correction: sending dummy gamma table\n");
2733 /* Do we need to upload a gamma table even if the user didn't select
2739 "gamma_correction: no custom table selected -- exititing\n");
2746 table = 1;
2748 table += s->pass;
2755 table = color_code;
2798 gamma[2] = 0x27; /* indicate user-selected gamma table */
2822 val = s->gamma_table[table][i * 256 / bytes_per_channel];
2833 table++;
2836 DBG (5, "gamma_correction: sending gamma table of %d bytes\n", len);
4517 /* custom-gamma table */
6500 /* This second gamma table download upsets the SCSI-over-parallel models */