Home
last modified time | relevance | path

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

/TwlSDK-5.1.0/build/libraries/mi/common/src/
Dmi_compress.c584 u32 RLDstCount; // Number of bytes of compressed data in MI_CompressRL() local
595 RLDstCount = 4; in MI_CompressRL()
630 … if (RLDstCount + rawDataLength + 1 >= size) // Quit on error if size becomes larger than source in MI_CompressRL()
634 dstp[RLDstCount++] = (u8)(rawDataLength - 1); // Store "data length - 1" (7 bits) in MI_CompressRL()
637 dstp[RLDstCount++] = srcp[RLSrcCount++]; in MI_CompressRL()
665 if (RLDstCount + 2 >= size) // Quit on error if size becomes larger than source in MI_CompressRL()
669 dstp[RLDstCount++] = (u8)(0x80 | (runLength - 3)); // Add 3, and store from 3 to 130 in MI_CompressRL()
670 dstp[RLDstCount++] = srcp[RLSrcCount]; in MI_CompressRL()
679 while ((RLDstCount + i) & 0x3) in MI_CompressRL()
681 dstp[RLDstCount + i] = 0; in MI_CompressRL()
[all …]