Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_compress_superblock.c42 const ZSTD_hufCTablesMetadata_t* hufMetadata, in ZSTD_compressSubBlock_literal() argument
53 symbolEncodingType_e hType = writeEntropy ? hufMetadata->hType : set_repeat; in ZSTD_compressSubBlock_literal()
61 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()
73 ZSTD_memcpy(op, hufMetadata->hufDesBuffer, hufMetadata->hufDesSize); in ZSTD_compressSubBlock_literal()
74 op += hufMetadata->hufDesSize; in ZSTD_compressSubBlock_literal()
75 cLitSize += hufMetadata->hufDesSize; in ZSTD_compressSubBlock_literal()
76 DEBUGLOG(5, "ZSTD_compressSubBlock_literal (hSize=%zu)", hufMetadata->hufDesSize); in ZSTD_compressSubBlock_literal()
[all …]
Dzstd_compress.c2966 ZSTD_hufCTablesMetadata_t* hufMetadata, in ZSTD_buildBlockEntropyStats_literals() argument
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()
3035 hufMetadata->hufDesBuffer, sizeof(hufMetadata->hufDesBuffer), 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()
3128 entropyMetadata->hufMetadata.hufDesSize = in ZSTD_buildBlockEntropyStats()
[all …]
Dzstd_compress_internal.h107 ZSTD_hufCTablesMetadata_t hufMetadata; member