HomeSort by relevance Sort by last modified time
    Searched refs:maxCompSize (Results 1 - 2 of 2) sorted by null

  /external/libvncserver/libvncserver/
ultra.c 53 lzo_uint maxCompSize;
69 maxCompSize = (maxRawSize + maxRawSize / 16 + 64 + 3);
71 if (cl->afterEncBufSize < (int)maxCompSize) {
72 cl->afterEncBufSize = maxCompSize;
95 deflateResult = lzo1x_1_compress((unsigned char *)cl->beforeEncBuf, (lzo_uint)(w * h * (cl->format.bitsPerPixel / 8)), (unsigned char *)cl->afterEncBuf, &maxCompSize, cl->lzoWrkMem);
96 /* maxCompSize now contains the compressed size */
99 cl->afterEncBufLen = maxCompSize;
zlib.c 96 int maxCompSize;
139 maxCompSize = maxRawSize + (( maxRawSize + 99 ) / 100 ) + 12;
141 if (zlibAfterBufSize < maxCompSize) {
142 zlibAfterBufSize = maxCompSize;
160 cl->compStream.avail_out = maxCompSize;

Completed in 44 milliseconds