Lines Matching refs:hufMetadata
2960 * huffman description table to hufMetadata.
2966 ZSTD_hufCTablesMetadata_t* hufMetadata,
2987 hufMetadata->hType = set_basic;
2998 hufMetadata->hType = set_basic;
3008 hufMetadata->hType = set_rle;
3013 hufMetadata->hType = set_basic;
3035 hufMetadata->hufDesBuffer, sizeof(hufMetadata->hufDesBuffer),
3045 hufMetadata->hType = set_repeat;
3052 hufMetadata->hType = set_basic;
3056 hufMetadata->hType = set_compressed;
3128 entropyMetadata->hufMetadata.hufDesSize =
3131 &entropyMetadata->hufMetadata,
3134 FORWARD_IF_ERROR(entropyMetadata->hufMetadata.hufDesSize, "ZSTD_buildBlockEntropyStats_literals failed");
3148 const ZSTD_hufCTablesMetadata_t* hufMetadata,
3157 if (hufMetadata->hType == set_basic) return litSize;
3158 else if (hufMetadata->hType == set_rle) return 1;
3159 else if (hufMetadata->hType == set_compressed || hufMetadata->hType == set_repeat) {
3163 if (writeEntropy) cLitSizeEstimate += hufMetadata->hufDesSize;
3247 &entropy->huf, &entropyMetadata->hufMetadata,
3272 (int)(entropyMetadata->hufMetadata.hType == set_compressed), 1);