Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_superblock.c51 ZSTD_hufCTablesMetadata_t hufMetadata; member
86 hufMetadata->hType = set_basic; in ZSTD_buildSuperBlockEntropy_literal()
95 hufMetadata->hType = set_basic; in ZSTD_buildSuperBlockEntropy_literal()
105 hufMetadata->hType = set_rle; in ZSTD_buildSuperBlockEntropy_literal()
110 hufMetadata->hType = set_basic; in ZSTD_buildSuperBlockEntropy_literal()
132 hufMetadata->hufDesBuffer, sizeof(hufMetadata->hufDesBuffer), in ZSTD_buildSuperBlockEntropy_literal()
348 assert(hufMetadata->hType == set_compressed || hufMetadata->hType == set_repeat); in ZSTD_compressSubBlock_literal()
351 memcpy(op, hufMetadata->hufDesBuffer, hufMetadata->hufDesSize); in ZSTD_compressSubBlock_literal()
352 op += hufMetadata->hufDesSize; in ZSTD_compressSubBlock_literal()
353 cLitSize += hufMetadata->hufDesSize; in ZSTD_compressSubBlock_literal()
[all …]
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_superblock.c61 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()
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 …]
H A Dzstd_compress.c3078 hufMetadata->hType = set_basic; in ZSTD_buildBlockEntropyStats_literals()
3089 hufMetadata->hType = set_basic; in ZSTD_buildBlockEntropyStats_literals()
3099 hufMetadata->hType = set_rle; in ZSTD_buildBlockEntropyStats_literals()
3104 hufMetadata->hType = set_basic; in ZSTD_buildBlockEntropyStats_literals()
3126 hufMetadata->hufDesBuffer, sizeof(hufMetadata->hufDesBuffer), in ZSTD_buildBlockEntropyStats_literals()
3136 hufMetadata->hType = set_repeat; in ZSTD_buildBlockEntropyStats_literals()
3143 hufMetadata->hType = set_basic; in ZSTD_buildBlockEntropyStats_literals()
3147 hufMetadata->hType = set_compressed; in ZSTD_buildBlockEntropyStats_literals()
3219 entropyMetadata->hufMetadata.hufDesSize = in ZSTD_buildBlockEntropyStats()
3249 else if (hufMetadata->hType == set_rle) return 1; in ZSTD_estimateBlockSize_literal()
[all …]
H A Dzstd_compress_internal.h113 ZSTD_hufCTablesMetadata_t hufMetadata; member