Searched refs:maskStride (Results 1 – 2 of 2) sorted by relevance
239 int maskStride=(c->width+7)/8; in SetAlphaCursor() local257 rfbBool masked=(c->mask[(i/8)+maskStride*j]<<(i&7))&0x80; in SetAlphaCursor()
313 int i,j,currentError=0,maskStride=(width+7)/8; in rfbMakeMaskFromAlphaSource() local314 unsigned char* result=(unsigned char*)calloc(maskStride,height); in rfbMakeMaskFromAlphaSource()326 result[i/8+j*maskStride]|=(0x100>>(i&7)); in rfbMakeMaskFromAlphaSource()