Home
last modified time | relevance | path

Searched refs:pdwSum (Results 1 - 2 of 2) sorted by relevance

/third_party/backends/backend/
H A Dplustek-pp_tpa.c83 static void tpaP98SubNoise( pScanData ps, pULong pdwSum, pUShort pwShading, in tpaP98SubNoise() argument
89 for (dwPixels = 4; dwPixels--; pdwSum++, pwShading++) in tpaP98SubNoise()
90 *pwShading = (UShort)(*pdwSum >> 5); in tpaP98SubNoise()
93 pdwSum++, pwShading++) { in tpaP98SubNoise()
106 *pwShading = (UShort)((*pdwSum - dwSum) / ps->Shade.dwDiv); in tpaP98SubNoise()
109 for (dwPixels = 2700UL; dwPixels--; pdwSum++, pwShading++) in tpaP98SubNoise()
110 *pwShading = (UShort)(*pdwSum >> 5); in tpaP98SubNoise()
H A Dplustek-usbshading.c1195 * @param pdwSum -
1202 static void usb_GetNewOffset( Plustek_Device *dev, u_long *pdwSum, u_long *pdwDiff, in usb_GetNewOffset() argument
1209 if( pdwSum[channel] > dwIdealOffset ) { in usb_GetNewOffset()
1212 pdwSum[channel] -= dwIdealOffset; in usb_GetNewOffset()
1213 if( pdwSum[channel] < pdwDiff[channel] ) { in usb_GetNewOffset()
1215 pdwDiff[channel] = pdwSum[channel]; in usb_GetNewOffset()
1223 pdwSum[channel] = dwIdealOffset - pdwSum [channel]; in usb_GetNewOffset()
1224 if( pdwSum[channel] < pdwDiff[channel] ) { in usb_GetNewOffset()
1226 pdwDiff[channel] = pdwSum[channe in usb_GetNewOffset()
[all...]

Completed in 4 milliseconds