Lines Matching refs:fseMetadata

160                                               const ZSTD_fseCTablesMetadata_t* fseMetadata,  in ZSTD_compressSubBlock_sequences()  argument
195 const U32 LLtype = fseMetadata->llType; in ZSTD_compressSubBlock_sequences()
196 const U32 Offtype = fseMetadata->ofType; in ZSTD_compressSubBlock_sequences()
197 const U32 MLtype = fseMetadata->mlType; in ZSTD_compressSubBlock_sequences()
198 … DEBUGLOG(5, "ZSTD_compressSubBlock_sequences (fseTablesSize=%zu)", fseMetadata->fseTablesSize); in ZSTD_compressSubBlock_sequences()
200 ZSTD_memcpy(op, fseMetadata->fseTablesBuffer, fseMetadata->fseTablesSize); in ZSTD_compressSubBlock_sequences()
201 op += fseMetadata->fseTablesSize; in ZSTD_compressSubBlock_sequences()
225 …if (writeEntropy && fseMetadata->lastCountSize && fseMetadata->lastCountSize + bitstreamSize < 4) { in ZSTD_compressSubBlock_sequences()
227 assert(fseMetadata->lastCountSize + bitstreamSize == 3); in ZSTD_compressSubBlock_sequences()
284 &entropyMetadata->fseMetadata, in ZSTD_compressSubBlock()
365 const ZSTD_fseCTablesMetadata_t* fseMetadata, in ZSTD_estimateSubBlockSize_sequences() argument
372 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
376 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->llType, llCodeTable, MaxLL, in ZSTD_estimateSubBlockSize_sequences()
380 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, MaxML, in ZSTD_estimateSubBlockSize_sequences()
384 if (writeEntropy) cSeqSizeEstimate += fseMetadata->fseTablesSize; in ZSTD_estimateSubBlockSize_sequences()
402 … nbSeq, &entropy->fse, &entropyMetadata->fseMetadata, in ZSTD_estimateSubBlockSize()
407 static int ZSTD_needSequenceEntropyTables(ZSTD_fseCTablesMetadata_t const* fseMetadata) in ZSTD_needSequenceEntropyTables() argument
409 if (fseMetadata->llType == set_compressed || fseMetadata->llType == set_rle) in ZSTD_needSequenceEntropyTables()
411 if (fseMetadata->mlType == set_compressed || fseMetadata->mlType == set_rle) in ZSTD_needSequenceEntropyTables()
413 if (fseMetadata->ofType == set_compressed || fseMetadata->ofType == set_rle) in ZSTD_needSequenceEntropyTables()
523 if (writeSeqEntropy && ZSTD_needSequenceEntropyTables(&entropyMetadata->fseMetadata)) { in ZSTD_compressSubBlock_multi()