Searched refs:hufMetadata (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress_superblock.c | 52 ZSTD_hufCTablesMetadata_t hufMetadata; member 65 ZSTD_hufCTablesMetadata_t* hufMetadata, in ZSTD_buildSuperBlockEntropy_literal() argument 87 hufMetadata->hType = set_basic; in ZSTD_buildSuperBlockEntropy_literal() 96 hufMetadata->hType = set_basic; in ZSTD_buildSuperBlockEntropy_literal() 106 hufMetadata->hType = set_rle; in ZSTD_buildSuperBlockEntropy_literal() 111 hufMetadata->hType = set_basic; in ZSTD_buildSuperBlockEntropy_literal() 133 hufMetadata->hufDesBuffer, sizeof(hufMetadata->hufDesBuffer), in ZSTD_buildSuperBlockEntropy_literal() 142 hufMetadata->hType = set_repeat; in ZSTD_buildSuperBlockEntropy_literal() 149 hufMetadata->hType = set_basic; in ZSTD_buildSuperBlockEntropy_literal() 153 hufMetadata->hType = set_compressed; in ZSTD_buildSuperBlockEntropy_literal() [all …]
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress_superblock.c | 42 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 …]
|
H A D | zstd_compress.c | 3057 ZSTD_hufCTablesMetadata_t* hufMetadata, in ZSTD_buildBlockEntropyStats_literals() argument 3078 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() [all …]
|
H A D | zstd_compress_internal.h | 113 ZSTD_hufCTablesMetadata_t hufMetadata; member
|