Searched refs:hType (Results 1 – 4 of 4) sorted by relevance
83 symbolEncodingType_e hType = set_compressed; in ZSTD_compressLiterals() local117 hType = set_repeat; in ZSTD_compressLiterals()130 if (hType == set_compressed) { in ZSTD_compressLiterals()139 … { U32 const lhc = hType + ((!singleStream) << 2) + ((U32)srcSize<<4) + ((U32)cLitSize<<14); in ZSTD_compressLiterals()144 { U32 const lhc = hType + (2 << 2) + ((U32)srcSize<<4) + ((U32)cLitSize<<18); in ZSTD_compressLiterals()149 { U32 const lhc = hType + (3 << 2) + ((U32)srcSize<<4) + ((U32)cLitSize<<22); in ZSTD_compressLiterals()
53 symbolEncodingType_e hType = writeEntropy ? hufMetadata->hType : set_repeat; in ZSTD_compressSubBlock_literal() local61 if (litSize == 0 || hufMetadata->hType == set_basic) { in ZSTD_compressSubBlock_literal()64 } else if (hufMetadata->hType == set_rle) { in ZSTD_compressSubBlock_literal()70 assert(hufMetadata->hType == set_compressed || hufMetadata->hType == set_repeat); in ZSTD_compressSubBlock_literal()72 if (writeEntropy && hufMetadata->hType == set_compressed) { in ZSTD_compressSubBlock_literal()111 { U32 const lhc = hType + (2 << 2) + ((U32)litSize<<4) + ((U32)cLitSize<<18); in ZSTD_compressSubBlock_literal()116 { U32 const lhc = hType + (3 << 2) + ((U32)litSize<<4) + ((U32)cLitSize<<22); in ZSTD_compressSubBlock_literal()312 if (hufMetadata->hType == set_basic) return litSize; in ZSTD_estimateSubBlockSize_literal()313 else if (hufMetadata->hType == set_rle) return 1; in ZSTD_estimateSubBlockSize_literal()314 else if (hufMetadata->hType == set_compressed || hufMetadata->hType == set_repeat) { in ZSTD_estimateSubBlockSize_literal()[all …]
2987 hufMetadata->hType = set_basic; in ZSTD_buildBlockEntropyStats_literals()2998 hufMetadata->hType = set_basic; in ZSTD_buildBlockEntropyStats_literals()3008 hufMetadata->hType = set_rle; in ZSTD_buildBlockEntropyStats_literals()3013 hufMetadata->hType = set_basic; in ZSTD_buildBlockEntropyStats_literals()3045 hufMetadata->hType = set_repeat; in ZSTD_buildBlockEntropyStats_literals()3052 hufMetadata->hType = set_basic; in ZSTD_buildBlockEntropyStats_literals()3056 hufMetadata->hType = set_compressed; in ZSTD_buildBlockEntropyStats_literals()3157 if (hufMetadata->hType == set_basic) return litSize; in ZSTD_estimateBlockSize_literal()3158 else if (hufMetadata->hType == set_rle) return 1; in ZSTD_estimateBlockSize_literal()3159 else if (hufMetadata->hType == set_compressed || hufMetadata->hType == set_repeat) { in ZSTD_estimateBlockSize_literal()[all …]
87 symbolEncodingType_e hType; member