Lines Matching refs:streamLength
770 u32 streamLength = 0; in MI_CompressHuffman() local
944 streamLength += HuffTable[ val ].PaDepth; in MI_CompressHuffman()
946 if (HuffDstCount + (streamLength / 8) >= size) in MI_CompressHuffman()
951 for (ii = 0; ii < streamLength / 8; ii++) in MI_CompressHuffman()
953 dstp[HuffDstCount++] = (u8)(bitStream >> (streamLength - (ii + 1) * 8)); in MI_CompressHuffman()
955 streamLength %= 8; in MI_CompressHuffman()
970 streamLength += HuffTable[srcTmp].PaDepth; in MI_CompressHuffman()
971 if (HuffDstCount + (streamLength / 8) >= size) in MI_CompressHuffman()
976 for (iii = 0; iii < streamLength / 8; iii++) in MI_CompressHuffman()
978 dstp[HuffDstCount++] = (u8)(bitStream >> (streamLength - (iii + 1) * 8)); in MI_CompressHuffman()
980 streamLength %= 8; in MI_CompressHuffman()
985 if (streamLength != 0) in MI_CompressHuffman()
992 dstp[HuffDstCount++] = (u8)(bitStream << (8 - streamLength)); in MI_CompressHuffman()