Lines Matching defs:img
194 static void fnColorDirect( U12_Device *dev, void *pb, void *img, u_long len )
199 src = (SANE_Byte*)img;
214 static void fnColor42( U12_Device *dev, void *pb, void *img, u_long len )
222 src = (u_short*)img;
308 u12image_GetPhysDPI( U12_Device *dev, ImgDef *img, SANE_Bool fDpiX )
312 if( img->xyDpi.x > dev->dpi_max_x )
315 return img->xyDpi.x;
319 if( img->xyDpi.y > dev->dpi_max_y )
322 return img->xyDpi.y;
421 static int imageSetupScanSettings( U12_Device *dev, ImgDef *img )
427 dev->DataInf.dwScanFlag = img->dwFlag;
428 dev->DataInf.crImage = img->crArea;
434 dev->DataInf.xyAppDpi = img->xyDpi;
435 dev->DataInf.wAppDataType = img->wDataType;
437 u12image_GetImageInfo( dev, img );
477 static SANE_Status u12image_SetupScanSettings( U12_Device *dev, ImgDef *img )
485 imageSetupScanSettings( dev, img );