Lines Matching refs:dstp

41 u32 MI_CompressLZImpl(const u8 *srcp, u32 size, u8 *dstp, BOOL exFormat)  in MI_CompressLZImpl()  argument
56 *(u32 *)dstp = size << 8 | MI_COMPRESSION_LZ | (exFormat? 1 : 0); // Data header in MI_CompressLZImpl()
57 dstp += 4; in MI_CompressLZImpl()
66 LZCompFlagsp = dstp++; // Destination for storing flag sequence in MI_CompressLZImpl()
95 *dstp++ = (u8)( 0x10 | (length >> 12) ); in MI_CompressLZImpl()
96 *dstp++ = (u8)( length >> 4 ); in MI_CompressLZImpl()
102 *dstp++ = (u8)( length >> 4 ); in MI_CompressLZImpl()
116 *dstp++ = (u8)( length << 4 | (lastOffset - 1) >> 8 ); in MI_CompressLZImpl()
117 *dstp++ = (u8)((lastOffset - 1) & 0xff); in MI_CompressLZImpl()
129 *dstp++ = *srcp++; in MI_CompressLZImpl()
142 *dstp++ = 0; in MI_CompressLZImpl()
361 u32 MI_CompressLZFastImpl(const u8 *srcp, u32 size, u8 *dstp, u8 *work, BOOL exFormat) in MI_CompressLZFastImpl() argument
376 *(u32 *)dstp = size << 8 | MI_COMPRESSION_LZ | (exFormat? 1 : 0); // Data header in MI_CompressLZFastImpl()
377 dstp += 4; in MI_CompressLZFastImpl()
385 LZCompFlagsp = dstp++; // Destination for storing flag sequence in MI_CompressLZFastImpl()
414 *dstp++ = (u8)( 0x10 | (length >> 12) ); in MI_CompressLZFastImpl()
415 *dstp++ = (u8)( length >> 4 ); in MI_CompressLZFastImpl()
421 *dstp++ = (u8)( length >> 4 ); in MI_CompressLZFastImpl()
435 *dstp++ = (u8)(length << 4 | (lastOffset - 1) >> 8); in MI_CompressLZFastImpl()
436 *dstp++ = (u8)((lastOffset - 1) & 0xff); in MI_CompressLZFastImpl()
450 *dstp++ = *srcp++; in MI_CompressLZFastImpl()
463 *dstp++ = 0; in MI_CompressLZFastImpl()
582 u32 MI_CompressRL(const u8 *srcp, u32 size, u8 *dstp) in MI_CompressRL() argument
594 *(u32 *)dstp = size << 8 | MI_COMPRESSION_RL; // Data header 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()
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()
681 dstp[RLDstCount + i] = 0; in MI_CompressRL()
760 u32 MI_CompressHuffman(const u8 *srcp, u32 size, u8 *dstp, u8 huffBitSize, u8 *work) in MI_CompressHuffman() argument
775 SDK_NULL_ASSERT(dstp); in MI_CompressHuffman()
912 *(u32 *)dstp = size << 8 | MI_COMPRESSION_HUFFMAN | huffBitSize; in MI_CompressHuffman()
922 dstp[HuffDstCount++] = ((u8 *)HuffTree)[i]; in MI_CompressHuffman()
932 dstp[4]++; in MI_CompressHuffman()
934 dstp[HuffDstCount++] = 0; in MI_CompressHuffman()
953 dstp[HuffDstCount++] = (u8)(bitStream >> (streamLength - (ii + 1) * 8)); in MI_CompressHuffman()
978 dstp[HuffDstCount++] = (u8)(bitStream >> (streamLength - (iii + 1) * 8)); in MI_CompressHuffman()
992 dstp[HuffDstCount++] = (u8)(bitStream << (8 - streamLength)); in MI_CompressHuffman()
1000 dstp[HuffDstCount++] = 0; in MI_CompressHuffman()
1005 tmp = dstp[i * 4 + 0]; in MI_CompressHuffman()
1006 dstp[i * 4 + 0] = dstp[i * 4 + 3]; in MI_CompressHuffman()
1007 dstp[i * 4 + 3] = tmp; // Swap in MI_CompressHuffman()
1008 tmp = dstp[i * 4 + 1]; in MI_CompressHuffman()
1009 dstp[i * 4 + 1] = dstp[i * 4 + 2]; in MI_CompressHuffman()
1010 dstp[i * 4 + 2] = tmp; // Swap in MI_CompressHuffman()