Lines Matching defs:wCalHeight

1130   unsigned short wCalHeight = TA_FIND_LEFT_TOP_HEIGHT_IN_DIP;
1156 lpCalData = (SANE_Byte *) malloc (sizeof (SANE_Byte) * wCalWidth * wCalHeight);
1163 dwTotalSize = wCalWidth * wCalHeight;
1168 wCalHeight, FALSE);
1192 sprintf (lpBuf, "P5\n%d %d\n255\n", wCalWidth, wCalHeight);
1194 fwrite (lpCalData, sizeof (SANE_Byte), wCalWidth * wCalHeight, stream);
1223 for (j = 0; j < wCalHeight; j++)
1254 (wCalHeight - *lpwStartY) * 1200 / wYResolution + 300);
1304 unsigned short wCalHeight = LINE_CALIBRATION__16BITS_HEIGHT;
1326 dwWhiteTotalSize = wCalWidth * wCalHeight * 3 * 2;
1327 dwDarkTotalSize = wCalWidth * wCalHeight * 3 * 2;
1341 wCalHeight, TRUE);
1353 wCalHeight, TRUE);
1376 sprintf (lpBuf, "P6\n%d %d\n65535\n", wCalWidth, wCalHeight);
1378 fwrite (lpWhiteData, sizeof (SANE_Byte), wCalWidth * wCalHeight * 3 * 2, stream);
1383 sprintf (lpBuf, "P6\n%d %d\n65535\n", wCalWidth, wCalHeight);
1385 fwrite (lpDarkData, sizeof (SANE_Byte), wCalWidth * wCalHeight * 3 * 2, stream);
1393 lpRWhiteSort = (unsigned short *) malloc (sizeof (unsigned short) * wCalHeight);
1394 lpGWhiteSort = (unsigned short *) malloc (sizeof (unsigned short) * wCalHeight);
1395 lpBWhiteSort = (unsigned short *) malloc (sizeof (unsigned short) * wCalHeight);
1396 lpRDarkSort = (unsigned short *) malloc (sizeof (unsigned short) * wCalHeight);
1397 lpGDarkSort = (unsigned short *) malloc (sizeof (unsigned short) * wCalHeight);
1398 lpBDarkSort = (unsigned short *) malloc (sizeof (unsigned short) * wCalHeight);
1412 "Transparent_LineCalibration16Bits: wCalWidth = %d, wCalHeight = %d\n",
1413 wCalWidth, wCalHeight);
1426 for (j = 0; j < wCalHeight; j++)
1451 (unsigned int) MustScanner_FiltLower (lpRDarkSort, wCalHeight, 20,
1454 (unsigned int) MustScanner_FiltLower (lpGDarkSort, wCalHeight, 20,
1457 (unsigned int) MustScanner_FiltLower (lpBDarkSort, wCalHeight, 20,
1463 (unsigned int) MustScanner_FiltLower (lpRDarkSort, wCalHeight, 20,
1466 (unsigned int) MustScanner_FiltLower (lpGDarkSort, wCalHeight, 20,
1469 (unsigned int) MustScanner_FiltLower (lpBDarkSort, wCalHeight, 20,
1476 (unsigned int) MustScanner_FiltLower (lpRDarkSort, wCalHeight, 20, 30);
1478 (unsigned int) MustScanner_FiltLower (lpGDarkSort, wCalHeight, 20, 30);
1480 (unsigned int) MustScanner_FiltLower (lpBDarkSort, wCalHeight, 20, 30);
1508 for (j = 0; j < wCalHeight; j++)
1578 (double) (MustScanner_FiltLower (lpRWhiteSort, wCalHeight, 20, 30) -
1581 (double) (MustScanner_FiltLower (lpGWhiteSort, wCalHeight, 20, 30) -
1584 (double) (MustScanner_FiltLower (lpBWhiteSort, wCalHeight, 20, 30) -