/external/libvncserver/test/ |
D | encodingstest.c | 85 unsigned char s=server->frameBuffer[k+i*4+j*server->paddedWidthInBytes]; in doFramebuffersMatch() 86 unsigned char cl=client->frameBuffer[k+i*4+j*client->width*4]; in doFramebuffersMatch() 103 if(cl->frameBuffer) in resize() 104 free(cl->frameBuffer); in resize() 105 cl->frameBuffer=malloc(cl->width*cl->height*cl->format.bitsPerPixel/8); in resize() 106 if(!cl->frameBuffer) in resize() 175 if(client->frameBuffer) in clientLoop() 176 free(client->frameBuffer); in clientLoop() 232 server->frameBuffer[i*4+c+j*server->paddedWidthInBytes]=255*(i-x1+j-y1)/(x2-x1+y2-y1); in idle() 283 server->frameBuffer=malloc(400*300*4); in main() [all …]
|
D | copyrecttest.c | 13 server->frameBuffer[(j*server->width+i)*4+0]=i&0xff; in initBackground() 14 server->frameBuffer[(j*server->width+i)*4+1]=j&0xff; in initBackground() 15 server->frameBuffer[(j*server->width+i)*4+2]=(i*j)&0xff; in initBackground() 27 server->frameBuffer=(char*)malloc(width*height*4); in main()
|
D | cursortest.c | 330 rfbScreen->frameBuffer = (char*)malloc(maxx*maxy*bpp); in main() 333 initBuffer((unsigned char*)rfbScreen->frameBuffer); in main() 348 free(rfbScreen->frameBuffer); in main()
|
/external/libvncserver/examples/ |
D | pnmshow.c | 81 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*bytesPerPixel*height); in main() 82 fread(rfbScreen->frameBuffer,width*bitsPerPixelInFile/8,height,in); in main() 100 rfbScreen->frameBuffer[(j*paddedWidth+i)*4+k]= in main() 101 rfbScreen->frameBuffer[(j*width+i)*3+k]; in main() 103 rfbScreen->frameBuffer[j*paddedWidth*4+i]=0; in main() 112 l=(unsigned char)rfbScreen->frameBuffer[(j*width+i)/8]; in main() 114 rfbScreen->frameBuffer[j*paddedWidth+i+7-k]=(l&(1<<k))?0:255; in main()
|
D | fontsel.c | 47 s->frameBuffer=(char*)malloc(640*480*3); in main() 52 s->frameBuffer[(j*640+i)*3+0]=j*256/480; in main() 53 s->frameBuffer[(j*640+i)*3+1]=i*256/640; in main() 54 s->frameBuffer[(j*640+i)*3+2]=(i+j)*256/(480+640); in main() 71 free(s->frameBuffer); in main()
|
D | pnmshow24.c | 76 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*3*height); in main() 77 fread(rfbScreen->frameBuffer,width*3,height,in); in main() 84 memmove(rfbScreen->frameBuffer+3*paddedWidth*j, in main() 85 rfbScreen->frameBuffer+3*width*j, in main() 87 memset(rfbScreen->frameBuffer+3*paddedWidth*(j+1)-padCount, in main()
|
D | example.c | 86 oldfb = (unsigned char*)screen->frameBuffer; in newframebuffer() 132 drawline((unsigned char*)cl->screen->frameBuffer,cl->screen->paddedWidthInBytes,bpp, in doptr() 147 cl->screen->frameBuffer[j*w+i]=(char)0xff; in doptr() 180 initBuffer((unsigned char*)cl->screen->frameBuffer); in dokey() 286 rfbScreen->frameBuffer = (char*)malloc(maxx*maxy*bpp); in main() 294 initBuffer((unsigned char*)rfbScreen->frameBuffer); in main() 333 free(rfbScreen->frameBuffer); in main()
|
D | zippy.c | 35 server->frameBuffer = (char*)malloc(maxx*maxy*bpp); in main() 42 blank_framebuffer(server->frameBuffer, 0, 0, maxx, maxy); in main() 44 free(server->frameBuffer); in main() 106 #define ADDR(x,y) s->frameBuffer+(x)*bpp+(y)*s->paddedWidthInBytes in draw_primary_colours_generic_fast() 152 blank_framebuffer(cl->screen->frameBuffer, 0, 0, maxx, maxy); in on_key_press()
|
D | simple15.c | 14 server->frameBuffer=(char*)malloc(400*300*2); in main() 15 f=(uint16_t*)server->frameBuffer; in main()
|
D | colourmaptest.c | 25 server->frameBuffer=(char*)malloc(256*256); in main() 27 server->frameBuffer[i]=(i/256); in main()
|
D | camera.c | 139 server->frameBuffer=(char*)malloc(WIDTH*HEIGHT*BPP); in main() 148 if (TakePicture((unsigned char *)server->frameBuffer)) in main()
|
D | simple.c | 8 server->frameBuffer=(char*)malloc(400*300*4); in main()
|
D | filetransfer.c | 12 server->frameBuffer=(char*)malloc(400*300*4); in main()
|
D | rotatetemplate.c | 6 OUT_T* buffer = (OUT_T*)screen->frameBuffer; in FUNCTION()
|
D | backchannel.c | 112 server->frameBuffer=(char*)malloc(400*300*4); in main()
|
/external/skia/src/gpu/gl/debug/ |
D | GrGLCreateDebugInterface.cpp | 211 GrFrameBufferObj *frameBuffer = GR_FIND(frameBufferID, in debugGLBindFramebuffer() local 215 GrDebugGL::getInstance()->setFrameBuffer(frameBuffer); in debugGLBindFramebuffer() 255 GrFrameBufferObj *frameBuffer = GrDebugGL::getInstance()->getFrameBuffer(); in debugGLDeleteTextures() local 259 if (frameBuffer->getColor() && in debugGLDeleteTextures() 260 textures[i] == frameBuffer->getColor()->getID()) { in debugGLDeleteTextures() 261 frameBuffer->setColor(NULL); in debugGLDeleteTextures() 263 if (frameBuffer->getDepth() && in debugGLDeleteTextures() 264 textures[i] == frameBuffer->getDepth()->getID()) { in debugGLDeleteTextures() 265 frameBuffer->setDepth(NULL); in debugGLDeleteTextures() 267 if (frameBuffer->getStencil() && in debugGLDeleteTextures() [all …]
|
D | GrDebugGL.cpp | 146 void GrDebugGL::setFrameBuffer(GrFrameBufferObj *frameBuffer) { in setFrameBuffer() argument 155 fFrameBuffer = frameBuffer; in setFrameBuffer()
|
/external/libvncserver/VisualNaCro/ |
D | nacro.c | 121 res->client->frameBuffer=malloc(w*4*h); in malloc_frame_buffer() 128 res->server->frameBuffer=res->client->frameBuffer; in malloc_frame_buffer() 164 if(memcmp(cl->frameBuffer+4*(x+i+cl->width*(y+j)),image->buffer+4*(i+image->width*j),3)) in do_visual_grep() 254 buffer=(uint32_t*)res->client->frameBuffer; in savepnm() 338 uint8_t *d = (uint8_t *)dest->frameBuffer, *s = (uint8_t *)backup; in copy_line() 378 memcpy(fake_frame_buffer, res->server->frameBuffer, w * 4 * h); in displaypnm() 380 backup = res->server->frameBuffer; in displaypnm() 381 res->server->frameBuffer = fake_frame_buffer; in displaypnm() 404 res->server->frameBuffer=backup; in displaypnm() 604 memcpy(fake_frame_buffer,res->server->frameBuffer,w*4*h); in alert() [all …]
|
/external/libvncserver/client_examples/ |
D | SDLvncviewer.c | 48 free(client->frameBuffer); in resize() 51 client->frameBuffer=sdl->pixels; in resize() 179 case 1: return ((uint8_t *)cl->frameBuffer)[x + y * cl->width]; in get() 180 case 2: return ((uint16_t *)cl->frameBuffer)[x + y * cl->width]; in get() 181 case 4: return ((uint32_t *)cl->frameBuffer)[x + y * cl->width]; in get() 267 sdlPixels = (char *)client->frameBuffer; in setRealDimension() 272 client->frameBuffer = malloc(size); in setRealDimension() 273 if (!client->frameBuffer) { in setRealDimension() 277 memcpy(client->frameBuffer, sdlPixels, size); in setRealDimension()
|
/external/libvncserver/libvncserver/ |
D | scale.c | 158 srcptr = (unsigned char *)(screen->frameBuffer + in rfbScaledScreenUpdateRect() 160 dstptr = (unsigned char *)(ptr->frameBuffer + in rfbScaledScreenUpdateRect() 251 memcpy (&ptr->frameBuffer[(y *ptr->paddedWidthInBytes) + (x * bytesPerPixel)], in rfbScaledScreenUpdateRect() 252 …&screen->frameBuffer[(y * areaY * screen->paddedWidthInBytes) + (x *areaX * bytesPerPixel)], bytes… in rfbScaledScreenUpdateRect() 299 ptr->frameBuffer = malloc(ptr->sizeInBytes); in rfbScaledScreenAllocate() 300 if (ptr->frameBuffer!=NULL) in rfbScaledScreenAllocate()
|
D | draw.c | 13 memcpy(s->frameBuffer+j*rowstride+i*bpp,colour,bpp); in rfbFillRect() 18 memcpy(s->frameBuffer+(y)*rowstride+(x)*bpp,colour,bpp)
|
D | font.c | 29 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp,colour,bpp); in rfbDrawChar() 89 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp, in rfbDrawCharWithClip() 92 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp, in rfbDrawCharWithClip()
|
/external/libvncserver/libvncclient/ |
D | zrle.c | 256 CARDBPP* pFrame = (CARDBPP*)client->frameBuffer + y*client->width+x; in HandleZRLETile() 279 ((CARDBPP*)client->frameBuffer)[j+i] = UncompressCPixel(buffer); in HandleZRLETile() 315 ((CARDBPP*)client->frameBuffer)[j+i] = palette[((*buffer)>>shift)&mask]; in HandleZRLETile() 349 ((CARDBPP*)client->frameBuffer)[(y+j)*client->width+x+i] = color; in HandleZRLETile() 401 ((CARDBPP*)client->frameBuffer)[(y+j)*client->width+x+i] = color; in HandleZRLETile()
|
D | vncviewer.c | 85 if(client->frameBuffer) in MallocFrameBuffer() 86 free(client->frameBuffer); in MallocFrameBuffer() 87 client->frameBuffer=malloc(client->width*client->height*client->format.bitsPerPixel/8); in MallocFrameBuffer() 88 return client->frameBuffer?TRUE:FALSE; in MallocFrameBuffer()
|
/external/libvncserver/vncterm/ |
D | VNConsole.c | 41 char *b=c->screen->frameBuffer+c->y*c->cHeight*w+c->x*c->cWidth; in vcDrawOrHideCursor() 128 c->screen->frameBuffer= in vcGetConsole() 130 memset(c->screen->frameBuffer,c->backColour, in vcGetConsole() 189 memset(s->frameBuffer+y1*s->width,c->backColour,(y2-y1)*s->width); in vcScroll() 268 memset(s->frameBuffer+j*s->width+x,backColour,c->cWidth); in vcPutCharColour() 473 char *b=s->frameBuffer+y*s->width+x; in vcToggleMarkCell()
|