Home
last modified time | relevance | path

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

/external/libvncserver/test/
Dcursortest.c239 int maskStride=(c->width+7)/8; in SetAlphaCursor() local
257 rfbBool masked=(c->mask[(i/8)+maskStride*j]<<(i&7))&0x80; in SetAlphaCursor()
/external/libvncserver/libvncserver/
Dcursor.c313 int i,j,currentError=0,maskStride=(width+7)/8; in rfbMakeMaskFromAlphaSource() local
314 unsigned char* result=(unsigned char*)calloc(maskStride,height); in rfbMakeMaskFromAlphaSource()
326 result[i/8+j*maskStride]|=(0x100>>(i&7)); in rfbMakeMaskFromAlphaSource()