Searched refs:maxCompSize (Results 1 – 2 of 2) sorted by relevance
53 lzo_uint maxCompSize; in rfbSendOneRectEncodingUltra() local69 maxCompSize = (maxRawSize + maxRawSize / 16 + 64 + 3); in rfbSendOneRectEncodingUltra()71 if (cl->afterEncBufSize < (int)maxCompSize) { in rfbSendOneRectEncodingUltra()72 cl->afterEncBufSize = maxCompSize; in rfbSendOneRectEncodingUltra()95 …h * (cl->format.bitsPerPixel / 8)), (unsigned char *)cl->afterEncBuf, &maxCompSize, cl->lzoWrkMem); in rfbSendOneRectEncodingUltra()99 cl->afterEncBufLen = maxCompSize; in rfbSendOneRectEncodingUltra()
96 int maxCompSize; in rfbSendOneRectEncodingZlib() local139 maxCompSize = maxRawSize + (( maxRawSize + 99 ) / 100 ) + 12; in rfbSendOneRectEncodingZlib()141 if (zlibAfterBufSize < maxCompSize) { in rfbSendOneRectEncodingZlib()142 zlibAfterBufSize = maxCompSize; in rfbSendOneRectEncodingZlib()160 cl->compStream.avail_out = maxCompSize; in rfbSendOneRectEncodingZlib()