Home
last modified time | relevance | path

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

/external/libvncserver/client_examples/
DSDLvncviewer.c25 static int realWidth, realHeight, bytesPerPixel, rowStride; variable
202 int i0 = x * realWidth / cl->width; in resizeRectangleToReal()
203 int i1 = ((x + w) * realWidth - 1) / cl->width + 1; in resizeRectangleToReal()
210 int x0 = i * cl->width / realWidth; in resizeRectangleToReal()
211 int x1 = ((i + 1) * cl->width - 1) / realWidth + 1; in resizeRectangleToReal()
241 w = ((x + w) * realWidth - 1) / cl->width + 1; in update()
243 x = x * realWidth / cl->width; in update()
261 if (w == realWidth && h == realHeight) in setRealDimension()
289 realWidth = w; in setRealDimension()
411 x = x * cl->width / realWidth; in handleSDLEvent()