Home
last modified time | relevance | path

Searched refs:currentError (Results 1 – 1 of 1) sorted by relevance

/external/libvncserver/libvncserver/
Dcursor.c313 int i,j,currentError=0,maskStride=(width+7)/8; in rfbMakeMaskFromAlphaSource() local
319 currentError+=alphaSource[i+width*j]+error[i]; in rfbMakeMaskFromAlphaSource()
321 if(currentError<0x80) { in rfbMakeMaskFromAlphaSource()
328 currentError-=0xff; in rfbMakeMaskFromAlphaSource()
331 right=currentError/16; in rfbMakeMaskFromAlphaSource()
332 middle=currentError*5/16; in rfbMakeMaskFromAlphaSource()
333 left=currentError*3/16; in rfbMakeMaskFromAlphaSource()
334 currentError-=right+middle+left; in rfbMakeMaskFromAlphaSource()