Searched refs:mlCodeTable (Results 1 – 5 of 5) sorted by relevance
/external/zstd/lib/compress/ |
D | zstd_compress_sequences.c | 293 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_body() argument 311 FSE_initCState2(&stateMatchLength, CTable_MatchLength, mlCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body() 316 BIT_addBits(&blockStream, sequences[nbSeq-1].matchLength, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body() 336 BYTE const mlCode = mlCodeTable[n]; in ZSTD_encodeSequences_body() 387 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_default() argument 393 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences_default() 405 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_bmi2() argument 411 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences_bmi2() 421 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences() argument 430 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences() [all …]
|
D | zstd_compress_superblock.c | 362 const BYTE* mlCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument 380 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, MaxML, in ZSTD_estimateSubBlockSize_sequences() 391 const BYTE* mlCodeTable, in ZSTD_estimateSubBlockSize() argument 401 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
|
D | zstd_compress_sequences.h | 42 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable,
|
D | zstd_compress.c | 2393 BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_seqToCodes() local 2402 mlCodeTable[u] = (BYTE)ZSTD_MLcode(mlv); in ZSTD_seqToCodes() 2407 mlCodeTable[seqStorePtr->longLengthPos] = MaxML; in ZSTD_seqToCodes() 2464 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_buildSequencesStatistics() local 2537 … countWorkspace, &max, mlCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_buildSequencesStatistics() 2549 countWorkspace, max, mlCodeTable, nbSeq, in ZSTD_buildSequencesStatistics() 2592 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_entropyCompressSeqStore_internal() local 2662 CTable_MatchLength, mlCodeTable, in ZSTD_entropyCompressSeqStore_internal() 3302 const BYTE* mlCodeTable, in ZSTD_estimateBlockSize_sequences() argument 3319 …cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, nbSeq, Max… in ZSTD_estimateBlockSize_sequences() [all …]
|
/external/zstd/tests/ |
D | decodecorpus.c | 814 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in writeSequences() local 901 …size_t const mostFrequent = HIST_countFast_wksp(count, &max, mlCodeTable, nbSeq, WKSP, sizeof(WKSP… in writeSequences() 904 isSymbolSubset(mlCodeTable, nbSeq, in writeSequences() 908 *op++ = *mlCodeTable; in writeSequences() 919 if (count[mlCodeTable[nbSeq-1]]>1) { count[mlCodeTable[nbSeq-1]]--; nbSeq_1--; } in writeSequences() 930 initSymbolSet(mlCodeTable, nbSeq, frame->stats.matchlengthSymbolSet, 52); in writeSequences() 947 FSE_initCState2(&stateMatchLength, CTable_MatchLength, mlCodeTable[nbSeq-1]); in writeSequences() 952 BIT_addBits(&blockStream, sequences[nbSeq-1].matchLength, ML_bits[mlCodeTable[nbSeq-1]]); in writeSequences() 961 BYTE const mlCode = mlCodeTable[n]; in writeSequences()
|