Home
last modified time | relevance | path

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

/external/libvncserver/test/
Dcursortest.c244 if(c->alphaSource) { in SetAlphaCursor()
245 free(c->alphaSource); in SetAlphaCursor()
246 c->alphaSource=NULL; in SetAlphaCursor()
252 c->alphaSource = (unsigned char*)malloc(c->width*c->height); in SetAlphaCursor()
258 c->alphaSource[i+c->width*j]=(masked?(mode==1?value:0xff-value):0); in SetAlphaCursor()
262 c->mask=rfbMakeMaskFromAlphaSource(c->width,c->height,c->alphaSource); in SetAlphaCursor()
/external/libvncserver/libvncserver/
Dcursor.c310 char* rfbMakeMaskFromAlphaSource(int width,int height,unsigned char* alphaSource) in rfbMakeMaskFromAlphaSource() argument
319 currentError+=alphaSource[i+width*j]+error[i]; in rfbMakeMaskFromAlphaSource()
351 if(cursor->cleanupRichSource && cursor->alphaSource) in rfbFreeCursor()
352 free(cursor->alphaSource); in rfbFreeCursor()
363 cursor->alphaSource=NULL; in rfbFreeCursor()
569 if (c->alphaSource) { in rfbShowCursor()
601 aptr = c->alphaSource + (j+j1)*c->width + (i+i1); in rfbShowCursor()
/external/libvncserver/rfb/
Drfb.h916 unsigned char *alphaSource; /**< source for alpha blending info */ member
926 extern char* rfbMakeMaskFromAlphaSource(int width,int height,unsigned char* alphaSource);