Home
last modified time | relevance | path

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

/external/libvncserver/test/
Dcursortest.c182 c->richSource = (char*)malloc(w*h*bpp); in SetRichCursor()
185 c->richSource[j*w*bpp+i*bpp+0]=i*0xff/w; in SetRichCursor()
186 c->richSource[j*w*bpp+i*bpp+1]=(i+j)*0xff/(w+h); in SetRichCursor()
187 c->richSource[j*w*bpp+i*bpp+2]=j*0xff/h; in SetRichCursor()
188 c->richSource[j*w*bpp+i*bpp+3]=0; in SetRichCursor()
221 c->richSource = (char*)malloc(w*h*bpp); in SetRichCursor2()
224 c->richSource[j*w*bpp+i*bpp+0]=0xff; in SetRichCursor2()
225 c->richSource[j*w*bpp+i*bpp+1]=0x00; in SetRichCursor2()
226 c->richSource[j*w*bpp+i*bpp+2]=0x7f; in SetRichCursor2()
227 c->richSource[j*w*bpp+i*bpp+3]=0; in SetRichCursor2()
/external/libvncserver/libvncserver/
Dcursor.c53 if(pCursor && !pCursor->richSource) in rfbSendCursorShape()
148 &cl->format, (char*)pCursor->richSource, in rfbSendCursorShape()
349 if(cursor->cleanupRichSource && cursor->richSource) in rfbFreeCursor()
350 free(cursor->richSource); in rfbFreeCursor()
362 cursor->source=cursor->mask=cursor->richSource=NULL; in rfbFreeCursor()
413 unsigned char *p = cursor->richSource+j*width+i*bpp; in rfbMakeXCursorFromRichCursor()
432 } else if(memcmp(cursor->richSource+j*width+i*bpp, back, bpp)) { in rfbMakeXCursorFromRichCursor()
449 if(cursor->richSource && cursor->cleanupRichSource) in rfbMakeRichCursorFromXCursor()
450 free(cursor->richSource); in rfbMakeRichCursorFromXCursor()
451 cp=cursor->richSource=(unsigned char*)calloc(cursor->width*bpp,cursor->height); in rfbMakeRichCursorFromXCursor()
[all …]
Dmain.c692 richSource: NULL
/external/libvncserver/examples/
Dexample.c267 c->richSource = (unsigned char*)malloc(w*h*bpp); in MakeRichCursor()
271 c->richSource[j*w*bpp+i*bpp+0]=i*0xff/w; in MakeRichCursor()
272 c->richSource[j*w*bpp+i*bpp+1]=(i+j)*0xff/(w+h); in MakeRichCursor()
273 c->richSource[j*w*bpp+i*bpp+2]=j*0xff/h; in MakeRichCursor()
274 c->richSource[j*w*bpp+i*bpp+3]=0; in MakeRichCursor()
/external/libvncserver/rfb/
Drfb.h915 unsigned char *richSource; /**< source bytes for a rich cursor */ member
/external/libvncserver/
DREADME233 There is also an array named "richSource" for colourful cursors. They have