Lines Matching refs:scanmode
73 * split scanmode and bit-depth
332 /** according to the mode and source we return the corresponding scanmode and
339 int scanmode;
349 scanmode = COLOR_BW;
354 scanmode = COLOR_256GRAY;
356 scanmode = COLOR_TRUE24;
360 scanmode = COLOR_GRAY16;
362 scanmode = COLOR_TRUE48;
364 return scanmode;
1785 int scanmode, rc;
1795 scanmode = 3;
1797 scanmode = 0;
1799 for ( ; scanmode < 5; scanmode++ ) {
1803 if ((modes[scanmode] == COLOR_GRAY16) ||
1804 (modes[scanmode] == COLOR_TRUE48)) {
1811 if (SANE_STATUS_GOOD == local_sane_start(s, modes[scanmode])) {
1815 if( rc != 0 || scanmode == 4) {
1849 int scanmode;
2079 scanmode = getScanMode( s );
2088 if((scanmode == COLOR_256GRAY) ||
2089 (scanmode == COLOR_GRAY16)) {
2101 if((scanmode == COLOR_256GRAY) ||
2102 (scanmode == COLOR_GRAY16)) {
2169 scanmode = getScanMode( s );
2174 if (scanmode == COLOR_BW) {
2191 if((scanmode == COLOR_256GRAY) ||
2192 (scanmode == COLOR_GRAY16)) {
2335 int scanmode;
2358 scanmode = getScanMode( s );
2360 if( scanmode == COLOR_TRUE24 || scanmode == COLOR_TRUE48 ) {
2385 local_sane_start(Plustek_Scanner *s, int scanmode )
2464 DBG( _DBG_INFO, "scanmode = %u\n", scanmode );
2472 crop.ImgDef.wDataType = scanmode;
2519 if( scanmode <= COLOR_GRAY16 ) {