Lines Matching defs:VNC_SIZEOFRGBA
54 #define VNC_SIZEOFRGBA 4
267 rfbScreenInfoPtr vncServer = rfbGetScreen(0, NULL, dummyWidth, dummyHeight, 8, 3, VNC_SIZEOFRGBA);
275 unsigned char *FrameBuffer = (unsigned char *)RTMemAlloc(info.cWidth * info.cHeight * VNC_SIZEOFRGBA); // RGBA
276 rfbNewFramebuffer(instance->mVNCServer, (char *)FrameBuffer, info.cWidth, info.cHeight, 8, 3, VNC_SIZEOFRGBA);
737 unsigned char *FrameBuffer = (unsigned char *)RTMemAlloc(info.cWidth * info.cHeight * VNC_SIZEOFRGBA); // RGBA
742 for (i = 0, j = 0; i < info.cWidth * info.cHeight * VNC_SIZEOFRGBA; i += VNC_SIZEOFRGBA, j += info.cBitsPerPixel / 8)
756 i < info.cWidth * info.cHeight * VNC_SIZEOFRGBA;
757 i += VNC_SIZEOFRGBA, j += info.cBitsPerPixel / 8)
766 rfbNewFramebuffer(instance->mVNCServer, (char *)FrameBuffer, info.cWidth, info.cHeight, 8, 3, VNC_SIZEOFRGBA);
827 for (srcy = joff * bpp, desty = joff * VNC_SIZEOFRGBA;
828 desty < (joff + order->h * width) * VNC_SIZEOFRGBA;
829 srcy += width * bpp, desty += width * VNC_SIZEOFRGBA)
833 destx < desty + order->w * VNC_SIZEOFRGBA;
834 srcx += bpp, destx += VNC_SIZEOFRGBA)
844 for (srcy = joff * bpp, desty = joff * VNC_SIZEOFRGBA;
845 desty < (joff + order->h * width) * VNC_SIZEOFRGBA;
846 srcy += width * bpp, desty += width * VNC_SIZEOFRGBA)
849 destx < desty + order->w * VNC_SIZEOFRGBA;
850 srcx += bpp, destx += VNC_SIZEOFRGBA)
880 unsigned char *mem = (unsigned char *)malloc(pPointer->u16Width * pPointer->u16Height * VNC_SIZEOFRGBA);