Searched refs:portionLen (Results 1 – 2 of 2) sorted by relevance
/external/libvncserver/libvncclient/ |
D | tight.c | 101 int bufferSize, rowSize, numRows, portionLen, rowsProcessed, extraBytes; in HandleTightBPP() local 244 portionLen = ZLIB_BUFFER_SIZE; in HandleTightBPP() 246 portionLen = compressedLen; in HandleTightBPP() 248 if (!ReadFromRFBServer(client, (char*)client->zlib_buffer, portionLen)) in HandleTightBPP() 251 compressedLen -= portionLen; in HandleTightBPP() 254 zs->avail_in = portionLen; in HandleTightBPP()
|
/external/libvncserver/libvncserver/ |
D | tight.c | 1089 int i, portionLen; in SendCompressedData() local 1104 portionLen = UPDATE_BUF_SIZE; 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() 1109 if (cl->ublen + portionLen > UPDATE_BUF_SIZE) { in SendCompressedData() 1113 memcpy(&cl->updateBuf[cl->ublen], &buf[i], portionLen); in SendCompressedData() 1114 cl->ublen += portionLen; in SendCompressedData()
|