Lines Matching defs:dwSum
227 ULong dwPos, dw, dwSum;
235 for (p.pw = (pUShort)(ps->pScanBuffer1 + dwPos), dwSum = 0, dw = 16;
237 dwSum += (ULong)(*p.pw);
240 ps->Shade.DarkOffset.Colors.Red = (UShort)(dwSum / 16);
242 for (p.pw = (pUShort)(ps->pScanBuffer1 + dwPos + 1024), dwSum = 0, dw = 16;
244 dwSum += (ULong)(*p.pw);
247 ps->Shade.DarkOffset.Colors.Green = (UShort)(dwSum / 16);
249 for (p.pw = (pUShort)(ps->pScanBuffer1 + dwPos + 1024 * 2), dwSum = 0, dw = 16;
251 dwSum += (ULong)(*p.pw);
254 ps->Shade.DarkOffset.Colors.Blue = (UShort)(dwSum / 16);
1690 ULong dwSum, dw, dwLeft, dwCenter;
1693 for( dwSum = 0, dw = 0; dw < 2700; dw++ )
1694 dwSum += (ULong)ps->pPrescan16[dw];
1696 dwSum /= 2700UL;
1698 if( dwSum <= 0x80 ) {