Searched refs:dwSum (Results 1 – 5 of 5) sorted by relevance
/dports/graphics/sane-backends/sane-backends-1.0.32/backend/ |
H A D | plustek-usbshading.c | 1361 dwSum[0] = dwSum[1] = dwSum[2] = 0; in usb_AdjustOffset() 1376 dwSum[0], dwSum[0] /dwPixels ); in usb_AdjustOffset() 1378 dwSum[1], dwSum[1] /dwPixels ); in usb_AdjustOffset() 1488 dwSum[0] = dwSum[1] = 0; in usb_GetDarkShading() 1504 dwSum[0] = dwSum[1] = (dwSum[0] + dwSum[1]) / 2; in usb_GetDarkShading() 1507 dwSum[0] = (int)dwSum[0] + iOffset; in usb_GetDarkShading() 1508 dwSum[1] = (int)dwSum[1] + iOffset; in usb_GetDarkShading() 1521 dwSum[0] = (u_long)_LOWORD(dwSum[0]); in usb_GetDarkShading() 1522 dwSum[1] = (u_long)_LOWORD(dwSum[1]); in usb_GetDarkShading() 1543 dwSum[0] = (int)dwSum[0] + iOffset; in usb_GetDarkShading() [all …]
|
H A D | plustek-usbcal.c | 832 dwSum[0] = dwSum[1] = dwSum[2] = 0; in cano_AdjustOffset() 849 dwSum[0] += r; in cano_AdjustOffset() 850 dwSum[1] += g; in cano_AdjustOffset() 851 dwSum[2] += b; in cano_AdjustOffset() 859 dwSum[0], dwSum[0]/dwPixels, in cano_AdjustOffset() 862 dwSum[1], dwSum[1]/dwPixels, in cano_AdjustOffset() 865 dwSum[2], dwSum[2]/dwPixels, in cano_AdjustOffset() 869 dwSum[0] /= dwPixels; in cano_AdjustOffset() 870 dwSum[1] /= dwPixels; in cano_AdjustOffset() 889 dwSum[0] = 0; in cano_AdjustOffset() [all …]
|
H A D | plustek-pp_tpa.c | 86 ULong dwPixels, dwLines, dwSum; in tpaP98SubNoise() local 96 dwSum = 0; in tpaP98SubNoise() 99 dwSum += (ULong) *pw; in tpaP98SubNoise() 104 dwSum += (ULong) *pw; in tpaP98SubNoise() 106 *pwShading = (UShort)((*pdwSum - dwSum) / ps->Shade.dwDiv); in tpaP98SubNoise() 836 ULong i, dwR, dwG, dwB, dwSum; in TPAP98003Reshading() local 901 for( dwSum = 8; dwSum--; ) { in TPAP98003Reshading()
|
H A D | plustek-pp_dac.c | 227 ULong dwPos, dw, dwSum; in dacP98FillChannelDarkLevelControl() local 237 dwSum += (ULong)(*p.pw); in dacP98FillChannelDarkLevelControl() 240 ps->Shade.DarkOffset.Colors.Red = (UShort)(dwSum / 16); in dacP98FillChannelDarkLevelControl() 244 dwSum += (ULong)(*p.pw); in dacP98FillChannelDarkLevelControl() 251 dwSum += (ULong)(*p.pw); in dacP98FillChannelDarkLevelControl() 254 ps->Shade.DarkOffset.Colors.Blue = (UShort)(dwSum / 16); in dacP98FillChannelDarkLevelControl() 1690 ULong dwSum, dw, dwLeft, dwCenter; in dacP96001WaitForShading() local 1693 for( dwSum = 0, dw = 0; dw < 2700; dw++ ) in dacP96001WaitForShading() 1694 dwSum += (ULong)ps->pPrescan16[dw]; in dacP96001WaitForShading() 1696 dwSum /= 2700UL; in dacP96001WaitForShading() [all …]
|
H A D | u12-tpa.c | 56 u_long i, dwR, dwG, dwB, dwSum; in u12tpa_Reshading() local 120 for( dwSum = 8; dwSum--; ) { in u12tpa_Reshading()
|