Lines Matching defs:table
285 static SANE_Int fn3560 (USHORT * table, struct st_cal2 *calbuffers,
288 SANE_Byte * Regs, USHORT * table,
352 static SANE_Int Gamma_AllocTable (SANE_Byte * table);
514 static SANE_Int Calib_ReadTable (struct st_device *dev, SANE_Byte * table,
516 static SANE_Int Calib_WriteTable (struct st_device *dev, SANE_Byte * table,
2027 /* returns position in scanmodes table where data fits with given arguments */
2060 /* returns position in scanmodes table where data fits with given arguments */
2141 /* returns position in scanmodes table where data fits with given arguments */
2741 /* set last step of accurve.smearing table to 2 */
2744 /* set last step of deccurve.scanbufferfull table to 16 */
2747 /* set last step of deccurve.normalscan table to 16 */
2750 /* set last step of deccurve.smearing table to 16 */
2753 /* set last step of deccurve.parkhome table to 16 */
2768 /* set last step of accurve.normalscan table */
2791 /* set last step of accurve.smearing table */
2847 /* set last step of accurve.normalscan table */
3032 /* mycurve points to acc normalscan steps table */
3037 /* acccurvecount has the number of steps in acc normalscan table */
3040 /* get last acccurve step from acc.normalscan step table */
3043 /* sets pointer to acc.normalscan step table */
3082 /* dec.scanbufferfull step table */
3083 /* set pointer to next table */
3087 /* set last step of deccurve.scanbufferfull table */
3132 /* acc.smearing step table */
3139 /* acc.smearing pointer points to acc.normalscan table */
3142 /* last step of acc.smearing table is the same as acc.normalscan */
3147 /* set pointer to next step table */
3151 /* set last step of acc.smearing table */
3159 /* generate acc.smearing table */
3180 /* dec.smearing pointer points to dec.scanbufferfull table */
3183 /* last step of dec.smearing table is the same as dec.scanbufferfull */
3188 /* set pointer to next step table */
3193 /* set last step of dec.smearing table */
3201 /* generate dec.smearing table */
3222 /* dec.normalscan pointer points to dec.scanbufferfull table */
3225 /* last step of dec.normalscan table is the same as dec.scanbufferfull */
3232 /* dec.normalscan pointer points to dec.smearing table */
3235 /* last step of dec.normalscan table is the same as dec.smearing */
3240 /* set pointer to next step table */
3245 /* set last step of dec.normalscan table */
3253 /* generate dec.normalscan table */
3275 /* acc.parkhome pointer points to acc.normalscan table */
3279 /* last step of acc.parkhome table is the same as acc.normalscan */
3286 /* acc.parkhome pointer points to acc.smearing table */
3289 /* last step of acc.parkhome table is the same as acc.smearing */
3294 /* set pointer to next step table */
3299 /* set last step of acc.parkhome table */
3306 /* generate acc.parkhome table */
3329 /* dec.parkhome pointer points to dec.scanbufferfull table */
3332 /* last step of dec.parkhome table is the same as dec.scanbufferfull */
3339 /* dec.parkhome pointer points to dec.smearing table */
3342 /* last step of dec.parkhome table is the same as dec.smearing */
3349 /* dec.parkhome pointer points to dec.normalscan table */
3352 /* last step of dec.parkhome table is the same as dec.normalscan */
3357 /* set pointer to next step table */
3362 /* set last step of dec.parkhome table */
3369 /* generate dec.parkhome table */
3394 /* display table */
3571 /* Gamma table size = 0x100 */
4657 Gamma_AllocTable (SANE_Byte * table)
4665 if (hp_gamma->table[C] == NULL)
4666 hp_gamma->table[C] = malloc (sizeof (SANE_Byte) * 256);
4668 if ((hp_gamma->table[CL_RED] != NULL) &&
4669 (hp_gamma->table[CL_GREEN] != NULL) &&
4670 (hp_gamma->table[CL_BLUE] != NULL))
4675 if ((table != NULL) && (RTS_Debug->EnableGamma == TRUE))
4678 hp_gamma->table[CL_RED][C] = table[C];
4679 hp_gamma->table[CL_GREEN][C] = table[0x100 + C];
4680 hp_gamma->table[CL_BLUE][C] = table[0x200 + C];
4684 hp_gamma->table[CL_RED][C] = C;
4685 hp_gamma->table[CL_GREEN][C] = C;
4686 hp_gamma->table[CL_BLUE][C] = C;
4692 if (hp_gamma->table[CL_RED][C] != 0)
4772 v1600 = (SANE_Byte *) & mygamma->table[CL_RED];
4773 v1604 = (SANE_Byte *) & mygamma->table[CL_GREEN];
4774 v1608 = (SANE_Byte *) & mygamma->table[CL_BLUE];
4778 memcpy (gammabuffer + (c * table_size), mygamma->table[c],
5222 /* if last step of accurve.normalscan table is lower than iValue ... */
6315 if (hp_gamma->table[c] != NULL)
6317 free (hp_gamma->table[c]);
6318 hp_gamma->table[c] = NULL;
8519 /* set last step of deccurve.scanbufferfull table to 16 */
8522 /* set last step of deccurve.normalscan table to 16 */
8525 /* set last step of deccurve.smearing table to 16 */
8528 /* set last step of deccurve.parkhome table to 16 */
8542 /* set last step of accurve.normalscan table */
8577 /* set last step of accurve.smearing table (same as accurve.normalscan) */
8580 /* set last step of accurve.parkhome table (same as accurve.normalscan) */
9216 /* Set calibration table */
9410 fn3560 (USHORT * table, struct st_cal2 *calbuffers, SANE_Int * tablepos)
9412 /*05FEF974 001F99B0 |table = 001F99B0
9420 if (table != NULL)
9428 (SANE_Byte *) (table + (calbuffers->shadinglength3 * 16));
9430 DBG (DBG_FNC, "> fn3560(*table, *calbuffers, *tablepos)\n");
9475 /* Return position of each table */
9484 Calib_WriteTable (struct st_device *dev, SANE_Byte * table, SANE_Int size,
9489 DBG (DBG_FNC, "+ Calib_WriteTable(*table, size=%i):\n", size);
9491 if ((table != NULL) && (size > 0))
9500 rst = Bulk_Operation (dev, BLK_WRITE, size, table, &transferred);
9510 Calib_ReadTable (struct st_device *dev, SANE_Byte * table, SANE_Int size,
9515 DBG (DBG_FNC, "+ Calib_ReadTable(*table, size=%i):\n", size);
9517 if ((table != NULL) && (size > 0))
9526 rst = Bulk_Operation (dev, BLK_READ, size, table, &transferred);
9681 USHORT * table, SANE_Int sensorchannelcolor, SANE_Int data)
9685 05FEF9B4 |table = 001F99B0
9694 "+ fn3730(*calbuffers, *Regs, *table, sensorchannelcolor=%i, data=%i):\n",
9697 fn3560 (table, calbuffers, pos);
10991 /* Create calibration table */
11334 /* First table */
11344 /* Second table */
14042 /* set set table size */
14066 /* points to red gamma table */
14069 /* points to green gamma table */
14072 /* points to blue gamma table */