Lines Matching defs:table_size
4732 SANE_Int table_size, buffersize, c;
4753 table_size = 0x100 + (mygamma->depth & 1);
4756 table_size = 0x400 + (mygamma->depth & 1);
4759 table_size = 0x1000 + (mygamma->depth & 1);
4762 table_size = 2;
4767 buffersize = table_size * channels;
4778 memcpy (gammabuffer + (c * table_size), mygamma->table[c],
4779 table_size);
8823 SANE_Int channels, table_size;
8840 table_size = 0;
8844 table_size = (resolution_ratio * scancfg->coord.width) * 2; /* black shading buffer size? */
8848 table_size += (resolution_ratio * scancfg->coord.width) * 2; /* white shading buffer size? */
8854 table_size = (table_size + v160c_block_size - 1) / v160c_block_size;
8855 table_size = ((table_size + 15) / 16) + 16;
8858 Regs[0x1bb] = _B0 (table_size);
8859 Regs[0x1bc] = _B1 (table_size);
8860 Regs[0x1bf] |= _B2 (table_size) & 1; /*-------x*/
8863 Regs[0x1bd] = _B0 (table_size * 2);
8864 Regs[0x1be] = _B1 (table_size * 2);
8865 Regs[0x1bf] |= (_B2 (table_size * 2) & 3) << 1; /*-----xx-*/
8867 data_wide_bitset (&Regs[0x1c0], 0xfffff, table_size * 3);
8869 mem_available = mem_total - ((table_size * 3) * 16);
8886 myvalue += (table_size * 3) * 8;
8901 myvalue += (((table_size * 3) + mem_available) / 16) + 1;
14040 SANE_Int table_size;
14052 table_size = (Regs[0x1d0] & 1) | 0x0100;
14055 table_size = (Regs[0x1d0] & 1) | 0x0400;
14058 table_size = (Regs[0x1d0] & 1) | 0x1000;
14061 table_size = hwdcfg->startpos & 0xffff;
14070 data_wide_bitset (&Regs[0x1b6], 0x3fff, table_size);
14073 data_wide_bitset (&Regs[0x1b8], 0x3fff, table_size * 2);
14075 v15f8 = (((table_size * 3) + 15) / 16) & 0xffff;