Lines Matching refs:soft_resample
146 chip->soft_resample = 0x01;
1050 chip->soft_resample = (chip->soft_resample == 0) ? 1 : chip->soft_resample;
1052 (chip->soft_resample == 1)
1054 chip->row_size = chip->byte_width / chip->soft_resample;
1086 chip->soft_resample = (chip->soft_resample == 0) ? 1 : chip->soft_resample;
1088 (chip->soft_resample ==
1090 chip->row_size = chip->byte_width / chip->soft_resample;
1119 chip->soft_resample = (chip->soft_resample == 0) ? 1 : chip->soft_resample;
1120 chip->get_row = (chip->soft_resample == 1) ? &usb_low_get_row_direct
1122 chip->byte_width = chip->row_size * chip->soft_resample;
1144 usb_low_set_soft_resample (ma1017 * chip, SANE_Word soft_resample)
1161 if (soft_resample == 0x00)
1163 DBG (3, "usb_low_set_soft_resample: soft_resample==0\n");
1167 chip->soft_resample = soft_resample;
1168 chip->get_row = (chip->soft_resample == 1) ? &usb_low_get_row_direct
1170 chip->byte_width = chip->row_size * chip->soft_resample;
2506 for (i = 0; i < j; i += chip->soft_resample * 2)
2520 for (i = 0; i < chip->byte_width; i += chip->soft_resample)
2553 for (i = 0; i < j; i += chip->soft_resample * 2)
2567 for (i = 0; i < chip->byte_width; i += chip->soft_resample)