Lines Matching refs:lpWhiteData
1344 SANE_Byte * lpWhiteData;
1390 lpWhiteData = (SANE_Byte *) malloc (sizeof (SANE_Byte) * dwWhiteTotalSize);
1393 if (lpWhiteData == NULL || lpDarkData == NULL)
1396 "Reflective_LineCalibration16Bits: lpWhiteData or lpDarkData malloc error \n");
1411 free (lpWhiteData);
1423 free (lpWhiteData);
1429 Asic_ReadCalibrationData (&g_chip, lpWhiteData, dwWhiteTotalSize, 8);
1432 free (lpWhiteData);
1446 free (lpWhiteData);
1459 free (lpWhiteData);
1470 free (lpWhiteData);
1483 free (lpWhiteData);
1494 free (lpWhiteData);
1508 free (lpWhiteData);
1525 fwrite (lpWhiteData, sizeof (SANE_Byte), wCalWidth * wCalHeight * 3 * 2, stream);
1555 free (lpWhiteData);
1660 (unsigned short) (*(lpWhiteData + j * wCalWidth * 2 * 3 + i * 6 + 0));
1662 (unsigned short) (*(lpWhiteData + j * wCalWidth * 2 * 3 + i * 6 + 1) << 8);
1665 (unsigned short) (*(lpWhiteData + j * wCalWidth * 2 * 3 + i * 6 + 2));
1667 (unsigned short) (*(lpWhiteData + j * wCalWidth * 2 * 3 + i * 6 + 3) << 8);
1670 (unsigned short) (*(lpWhiteData + j * wCalWidth * 2 * 3 + i * 6 + 4));
1672 (unsigned short) (*(lpWhiteData + j * wCalWidth * 2 * 3 + i * 6 + 5) << 8);
1728 free (lpWhiteData);