Lines Matching defs:table
156 /* Attention2: This device table is part of the source code and as such
1621 /* disable the usage of a custom gamma-table */
1932 DBG (dbg_level, "%s: [4-7] table units: %d\n",
1944 DBG (dbg_level, "%s: [17] table count: %d\n", func, result[17]);
2074 return "Download gamma table";
2078 return "Acceleration table";
5789 size_t i; /* big table index */
5790 size_t j; /* little table index */
5791 size_t k; /* big table sub index */
5832 /* prepare for emulating contrast, brightness ... via the gamma-table */
5847 scmd.datatypecode = AVISION_DATATYPECODE_DOWNLOAD_GAMMA_TABLE; /* 0x81 for download gamma table */
5855 i = 0; /* big table index */
5856 for (j = 0; j < 256; ++ j) /* little table index */
5859 * v1 <- current value for table
5860 * v2 <- next value for table (for interpolation)
5927 /* fill the gamma table - (e.g.) if 11bit (old protocol) table */
5931 DBG (4, "send_gamma: (old protocol) - filling the table.\n");
5937 DBG (4, "send_gamma: sending %lu bytes gamma table.\n",
5943 DBG (1, "send_gamma: gamma table upload failed: %s\n",
6063 int table = 0;
6081 DBG (1, "send_acceleration_table: table does not look right.\n");
6095 scmd.datatypecode = AVISION_DATATYPECODE_ACCELERATION_TABLE; /* send acceleration table */
6097 set_double (scmd.datatypequal, table);
6100 /* construct the table - Warning: This code is derived from Avision
6102 needs such a dumb table and also do not know /why/ it has to be
6150 /* count total steps in table */
6187 DBG (1, "send_acceleration_table: sending table %d\n", table);
6202 table++;
6203 } while (table < accel_info.table_count);
6403 via the gamma table - which works for all devices ... */
8367 if (strcmp (word, "disable-gamma-table") == 0) {
8368 DBG (3, "sane_reload_devices: config file line %d: disable-gamma-table\n",
8604 /* We initialize the table to a gamma value of 2.22, since this is what
9001 /* the gamma table related */
9250 /* check whether gamma-table is disabled by the user? */
9252 DBG (1, "sane_start: gamma-table disabled in config - skipped!\n");
9257 DBG (1, "sane_start: gamma table skipped due to device-list!!\n");