/external/libvncserver/libvncserver/ |
D | hextile.c | 48 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader > UPDATE_BUF_SIZE) { in rfbSendRectEncodingHextile() 59 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in rfbSendRectEncodingHextile() 61 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendRectEncodingHextile() 81 #define PUT_PIXEL8(pix) (cl->updateBuf[cl->ublen++] = (pix)) 83 #define PUT_PIXEL16(pix) (cl->updateBuf[cl->ublen++] = ((char*)&(pix))[0], \ 84 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[1]) 86 #define PUT_PIXEL32(pix) (cl->updateBuf[cl->ublen++] = ((char*)&(pix))[0], \ 87 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[1], \ 88 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[2], \ 89 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[3]) [all …]
|
D | ultra.c | 109 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader + sz_rfbZlibHeader in rfbSendOneRectEncodingUltra() 122 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in rfbSendOneRectEncodingUltra() 124 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendOneRectEncodingUltra() 128 memcpy(&cl->updateBuf[cl->ublen], (char *)&hdr, sz_rfbZlibHeader); in rfbSendOneRectEncodingUltra() 129 cl->ublen += sz_rfbZlibHeader; in rfbSendOneRectEncodingUltra() 134 int bytesToCopy = UPDATE_BUF_SIZE - cl->ublen; in rfbSendOneRectEncodingUltra() 140 memcpy(&cl->updateBuf[cl->ublen], &cl->afterEncBuf[i], bytesToCopy); in rfbSendOneRectEncodingUltra() 142 cl->ublen += bytesToCopy; in rfbSendOneRectEncodingUltra() 145 if (cl->ublen == UPDATE_BUF_SIZE) { in rfbSendOneRectEncodingUltra() 215 if (( cl->ublen > 0 ) && in rfbSendRectEncodingUltra()
|
D | zlib.c | 124 ( cl->ublen % ( cl->format.bitsPerPixel / 8 )) != 0 ) { in rfbSendOneRectEncodingZlib() 208 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader + sz_rfbZlibHeader in rfbSendOneRectEncodingZlib() 221 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in rfbSendOneRectEncodingZlib() 223 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendOneRectEncodingZlib() 227 memcpy(&cl->updateBuf[cl->ublen], (char *)&hdr, sz_rfbZlibHeader); in rfbSendOneRectEncodingZlib() 228 cl->ublen += sz_rfbZlibHeader; in rfbSendOneRectEncodingZlib() 232 int bytesToCopy = UPDATE_BUF_SIZE - cl->ublen; in rfbSendOneRectEncodingZlib() 238 memcpy(&cl->updateBuf[cl->ublen], &zlibAfterBuf[i], bytesToCopy); in rfbSendOneRectEncodingZlib() 240 cl->ublen += bytesToCopy; in rfbSendOneRectEncodingZlib() 243 if (cl->ublen == UPDATE_BUF_SIZE) { in rfbSendOneRectEncodingZlib() [all …]
|
D | zrle.c | 193 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader + sz_rfbZRLEHeader in rfbSendRectEncodingZRLE() 206 memcpy(cl->updateBuf+cl->ublen, (char *)&rect, in rfbSendRectEncodingZRLE() 208 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendRectEncodingZRLE() 212 memcpy(cl->updateBuf+cl->ublen, (char *)&hdr, sz_rfbZRLEHeader); in rfbSendRectEncodingZRLE() 213 cl->ublen += sz_rfbZRLEHeader; in rfbSendRectEncodingZRLE() 219 int bytesToCopy = UPDATE_BUF_SIZE - cl->ublen; in rfbSendRectEncodingZRLE() 225 memcpy(cl->updateBuf+cl->ublen, (uint8_t*)zos->out.start + i, bytesToCopy); in rfbSendRectEncodingZRLE() 227 cl->ublen += bytesToCopy; in rfbSendRectEncodingZRLE() 230 if (cl->ublen == UPDATE_BUF_SIZE) { in rfbSendRectEncodingZRLE()
|
D | tight.c | 677 if (cl->ublen > 128) { in SendSubrect() 775 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader > UPDATE_BUF_SIZE) { in SendTightHeader() 786 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in SendTightHeader() 788 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in SendTightHeader() 813 if (cl->ublen + 1 + len > UPDATE_BUF_SIZE) { in SendSolidRect() 818 cl->updateBuf[cl->ublen++] = (char)(rfbTightFill << 4); in SendSolidRect() 819 memcpy (&cl->updateBuf[cl->ublen], tightBeforeBuf, len); in SendSolidRect() 820 cl->ublen += len; in SendSolidRect() 845 if ( cl->ublen + TIGHT_MIN_TO_COMPRESS + 6 + in SendMonoRect() 857 cl->updateBuf[cl->ublen++] = in SendMonoRect() [all …]
|
D | rre.c | 112 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader + sz_rfbRREHeader in rfbSendRectEncodingRRE() 125 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in rfbSendRectEncodingRRE() 127 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendRectEncodingRRE() 131 memcpy(&cl->updateBuf[cl->ublen], (char *)&hdr, sz_rfbRREHeader); in rfbSendRectEncodingRRE() 132 cl->ublen += sz_rfbRREHeader; in rfbSendRectEncodingRRE() 136 int bytesToCopy = UPDATE_BUF_SIZE - cl->ublen; in rfbSendRectEncodingRRE() 142 memcpy(&cl->updateBuf[cl->ublen], &cl->afterEncBuf[i], bytesToCopy); in rfbSendRectEncodingRRE() 144 cl->ublen += bytesToCopy; in rfbSendRectEncodingRRE() 147 if (cl->ublen == UPDATE_BUF_SIZE) { in rfbSendRectEncodingRRE()
|
D | cursor.c | 71 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader > UPDATE_BUF_SIZE ) { in rfbSendCursorShape() 77 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in rfbSendCursorShape() 79 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendCursorShape() 97 if ( cl->ublen + sz_rfbFramebufferUpdateRectHeader + in rfbSendCursorShape() 103 if ( cl->ublen + sz_rfbFramebufferUpdateRectHeader + in rfbSendCursorShape() 108 saved_ublen = cl->ublen; in rfbSendCursorShape() 117 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect,sz_rfbFramebufferUpdateRectHeader); in rfbSendCursorShape() 118 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendCursorShape() 131 memcpy(&cl->updateBuf[cl->ublen], (char *)&colors, sz_rfbXCursorColors); in rfbSendCursorShape() 132 cl->ublen += sz_rfbXCursorColors; in rfbSendCursorShape() [all …]
|
D | corre.c | 145 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader + sz_rfbRREHeader in rfbSendSmallRectEncodingCoRRE() 158 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in rfbSendSmallRectEncodingCoRRE() 160 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendSmallRectEncodingCoRRE() 164 memcpy(&cl->updateBuf[cl->ublen], (char *)&hdr, sz_rfbRREHeader); in rfbSendSmallRectEncodingCoRRE() 165 cl->ublen += sz_rfbRREHeader; in rfbSendSmallRectEncodingCoRRE() 169 int bytesToCopy = UPDATE_BUF_SIZE - cl->ublen; in rfbSendSmallRectEncodingCoRRE() 175 memcpy(&cl->updateBuf[cl->ublen], &cl->afterEncBuf[i], bytesToCopy); in rfbSendSmallRectEncodingCoRRE() 177 cl->ublen += bytesToCopy; in rfbSendSmallRectEncodingCoRRE() 180 if (cl->ublen == UPDATE_BUF_SIZE) { in rfbSendSmallRectEncodingCoRRE()
|
D | rfbserver.c | 890 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader > UPDATE_BUF_SIZE) { in rfbSendKeyboardLedState() 901 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in rfbSendKeyboardLedState() 903 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendKeyboardLedState() 926 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader in rfbSendSupportedMessages() 938 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in rfbSendSupportedMessages() 940 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendSupportedMessages() 966 memcpy(&cl->updateBuf[cl->ublen], (char *)&msgs, sz_rfbSupportedMessages); in rfbSendSupportedMessages() 967 cl->ublen += sz_rfbSupportedMessages; in rfbSendSupportedMessages() 1021 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader in rfbSendSupportedEncodings() 1033 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in rfbSendSupportedEncodings() [all …]
|
/external/libvncserver/rfb/ |
D | rfb.h | 586 int ublen; member
|