Home
last modified time | relevance | path

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

/external/libvncserver/libvncclient/
Dtight.c100 int err, stream_id, compressedLen, bitsPixel; in HandleTightBPP() local
207 compressedLen = (int)ReadCompactLen(client); in HandleTightBPP()
208 if (compressedLen <= 0) { in HandleTightBPP()
242 while (compressedLen > 0) { in HandleTightBPP()
243 if (compressedLen > ZLIB_BUFFER_SIZE) in HandleTightBPP()
246 portionLen = compressedLen; in HandleTightBPP()
251 compressedLen -= portionLen; in HandleTightBPP()
527 int compressedLen; in DecompressJpegRectBPP() local
533 compressedLen = (int)ReadCompactLen(client); in DecompressJpegRectBPP()
534 if (compressedLen <= 0) { in DecompressJpegRectBPP()
[all …]
Drfbproto.c251 int compressedLen);
/external/libvncserver/x11vnc/misc/turbovnc/
Dtight.c142 static Bool SendCompressedData(rfbClientPtr cl, char *buf, int compressedLen);
922 static Bool SendCompressedData(cl, buf, compressedLen) in SendCompressedData() argument
925 int compressedLen;
929 updateBuf[ublen++] = compressedLen & 0x7F;
931 if (compressedLen > 0x7F) {
933 updateBuf[ublen++] = compressedLen >> 7 & 0x7F;
935 if (compressedLen > 0x3FFF) {
937 updateBuf[ublen++] = compressedLen >> 14 & 0xFF;
943 for (i = 0; i < compressedLen; i += portionLen) {
944 if (i + portionLen > compressedLen) {
[all …]
/external/libvncserver/libvncserver/
Dtight.c200 int compressedLen);
1087 int compressedLen) in SendCompressedData() argument
1091 cl->updateBuf[cl->ublen++] = compressedLen & 0x7F; in SendCompressedData()
1093 if (compressedLen > 0x7F) { in SendCompressedData()
1095 cl->updateBuf[cl->ublen++] = compressedLen >> 7 & 0x7F; in SendCompressedData()
1097 if (compressedLen > 0x3FFF) { in SendCompressedData()
1099 cl->updateBuf[cl->ublen++] = compressedLen >> 14 & 0xFF; in SendCompressedData()
1105 for (i = 0; i < compressedLen; i += portionLen) { in SendCompressedData()
1106 if (i + portionLen > compressedLen) { in SendCompressedData()
1107 portionLen = compressedLen - i; in SendCompressedData()
[all …]
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
Dtight-vncviewer-full.patch10969 int compressedLen);
17062 + int err, stream_id, compressedLen, bitsPixel;
17191 + compressedLen = (int)ReadCompactLen();
17192 + if (compressedLen <= 0) {
17215 + compressedData = (char *)realloc(compressedData, compressedLen);
17226 + if (!ReadFromRFBServer(compressedData, compressedLen))
17229 + zs->avail_in = compressedLen;
17529 + int compressedLen;
17533 + compressedLen = (int)ReadCompactLen();
17534 + if (compressedLen <= 0) {
[all …]