Home
last modified time | relevance | path

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

/external/libvncserver/client_examples/
DSDLvncviewer.c26 static char *sdlPixels; variable
47 if (sdlPixels) { in resize()
49 sdlPixels = NULL; in resize()
191 case 1: ((uint8_t *)sdlPixels)[x + y * rowStride] = v; break; in put()
192 case 2: ((uint16_t *)sdlPixels)[x + y * rowStride] = v; break; in put()
193 case 4: ((uint32_t *)sdlPixels)[x + y * rowStride] = v; break; in put()
239 if (sdlPixels) { in update()
264 if (!sdlPixels) { in setRealDimension()
267 sdlPixels = (char *)client->frameBuffer; in setRealDimension()
277 memcpy(client->frameBuffer, sdlPixels, size); in setRealDimension()
[all …]