Lines Matching defs:scan
768 * We scan reference image pixels to determine the optimum coarse gain settings
808 /* define the strip to scan for coarse calibration */
1240 * We scan reference image pixels to determine the optimum coarse offset settings
1724 ScanDef *scan = &dev->scanning;
1732 rgb = (RGBUShortDef*)scan->pScanBuffer;
1738 /* scan the complete line */
1742 pw = (RGBUShortDef*)scan->pScanBuffer;
1775 ScanDef *scan = &dev->scanning;
1783 rgb = (RGBUShortDef*)scan->pScanBuffer;
1790 pw = ((RGBUShortDef*)scan->pScanBuffer) + (shading_lines - shadow) *
1814 ScanDef *scan = &dev->scanning;
1819 pr = (u_long*)((u_char*)scan->pScanBuffer + sp->Size.dwPhyBytes * shading_lines);
1831 rgb = (RGBUShortDef*)scan->pScanBuffer;
1854 ScanDef *scan = &dev->scanning;
1857 u_long *pBuf = scan->pScanBuffer;
1873 m_pAvMono = (u_short*)scan->pScanBuffer;
1905 m_dwPixels = scan->sParam.Size.dwPixels * m_ScanParam.UserDpi.x /
1906 scan->sParam.UserDpi.x;
2009 pwSrce += ((u_long)(scan->sParam.Origin.x-m_ScanParam.Origin.x) /
2058 if( scan->sParam.bDataType == SCANDATATYPE_Color ) {
2066 if( scan->sParam.bSource != SOURCE_Negative ) {
2073 scan->sParam.swGain[i]);
2151 if( scan->sParam.bSource != SOURCE_Negative ) {
2156 scan->sParam.swGain[1]);
2187 if( scan->sParam.bSource != SOURCE_Negative ) {
2189 scan->sParam.bDataType == SCANDATATYPE_Color?1:0);
2232 ScanDef *scan = &dev->scanning;
2242 m_ScanParam.bChannels = scan->sParam.bChannels;
2244 m_ScanParam.bSource = scan->sParam.bSource;
2247 if( scan->sParam.bDataType == SCANDATATYPE_Color )
2262 scan->skipCoarseCalib = SANE_FALSE;
2266 scan->skipCoarseCalib = SANE_TRUE;
2272 if( !scan->skipCoarseCalib && !usb_InCalibrationMode(dev)) {
2275 scan->skipCoarseCalib = SANE_TRUE;
2329 /* define the strip to scan for warming up the lamp, in the end
2330 * we always scan the full line, even for TPA
2427 /* define the strip to scan for warming up the lamp, in the end
2428 * we always scan the full line, even for TPA
2535 ScanDef *scan = &dev->scanning;
2538 if( !scan->skipCoarseCalib ) {
2572 m_ScanParam = scan->sParam;
3008 ScanDef *scan = &dev->scanning;
3014 if (scan->sParam.PhyDpi.x > scaps->bPCB)
3051 ScanDef *scan = &dev->scanning;
3125 if (scan->skipCoarseCalib) {