Lines Matching refs:RLDstCount
389 u32 RLDstCount; // Number of bytes of compressed data in CompressRL() local
407 RLDstCount = 4; in CompressRL()
414 RLDstCount = 8; in CompressRL()
449 … if (RLDstCount + rawDataLength + 1 >= size) // Quit on error if size becomes larger than source in CompressRL()
453 dstp[RLDstCount++] = (u8)(rawDataLength - 1); // Store "data length - 1" (7 bits) in CompressRL()
456 dstp[RLDstCount++] = srcp[RLSrcCount++]; in CompressRL()
484 if (RLDstCount + 2 >= size) // Quit on error if size becomes larger than source in CompressRL()
488 dstp[RLDstCount++] = (u8)(0x80 | (runLength - 3)); // Add 3, and store from 3 to 130 in CompressRL()
489 dstp[RLDstCount++] = srcp[RLSrcCount]; in CompressRL()
498 while ((RLDstCount + i) & 0x3) in CompressRL()
500 dstp[RLDstCount + i] = 0; in CompressRL()
503 return RLDstCount; in CompressRL()