Home
last modified time | relevance | path

Searched refs:richSource (Results 1 – 7 of 7) 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.c266 c->richSource = (unsigned char*)malloc(w*h*bpp); in MakeRichCursor()
270 c->richSource[j*w*bpp+i*bpp+0]=i*0xff/w; in MakeRichCursor()
271 c->richSource[j*w*bpp+i*bpp+1]=(i+j)*0xff/(w+h); in MakeRichCursor()
272 c->richSource[j*w*bpp+i*bpp+2]=j*0xff/h; in MakeRichCursor()
273 c->richSource[j*w*bpp+i*bpp+3]=0; in MakeRichCursor()
/external/libvncserver/x11vnc/
Dcursor.c619 if (ci->rfb->richSource) { in setup_cursors()
620 free(ci->rfb->richSource); in setup_cursors()
621 ci->rfb->richSource = NULL; in setup_cursors()
834 rfb_curs->richSource = (unsigned char *) in setup_cursors()
856 *(rfb_curs->richSource+k) = in setup_cursors()
1256 c->richSource = (unsigned char *) rich; in pixels2curs()
1413 if (cursors[use]->rfb->richSource) { in store_cursor()
1414 free(cursors[use]->rfb->richSource); in store_cursor()
1415 cursors[use]->rfb->richSource = NULL; in store_cursor()
/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