/aosp_15_r20/external/zstd/lib/compress/ |
H A D | zstd_compress_sequences.c | 294 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body() argument 312 FSE_initCState2(&stateOffsetBits, CTable_OffsetBits, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body() 319 U32 const ofBits = ofCodeTable[nbSeq-1]; in ZSTD_encodeSequences_body() 328 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body() 335 BYTE const ofCode = ofCodeTable[n]; in ZSTD_encodeSequences_body() 388 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default() argument 394 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_default() 406 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_bmi2() argument 412 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_bmi2() 422 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences() argument [all …]
|
H A D | zstd_compress_superblock.c | 365 static size_t ZSTD_estimateSubBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument 377 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences() 398 const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize() argument 411 ebs.estBlockSize = ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
|
H A D | zstd_compress_sequences.h | 43 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
|
H A D | zstd_compress.c | 2685 BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes() local 2696 ofCodeTable[u] = (BYTE)ofCode; in ZSTD_seqToCodes() 2764 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_buildSequencesStatistics() local 2807 … countWorkspace, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_buildSequencesStatistics() 2821 countWorkspace, max, ofCodeTable, nbSeq, in ZSTD_buildSequencesStatistics() 2892 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_entropyCompressSeqStore_internal() local 2967 CTable_OffsetBits, ofCodeTable, in ZSTD_entropyCompressSeqStore_internal() 3831 ZSTD_estimateBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateBlockSize_sequences() argument 3842 …cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, nbSeq, Max… in ZSTD_estimateBlockSize_sequences() 3861 const BYTE* ofCodeTable, in ZSTD_estimateBlockSize() argument [all …]
|
/aosp_15_r20/external/zstd/tests/ |
H A D | decodecorpus.c | 816 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in writeSequences() local 877 …size_t const mostFrequent = HIST_countFast_wksp(count, &max, ofCodeTable, nbSeq, WKSP, sizeof(WKSP… in writeSequences() 880 isSymbolSubset(ofCodeTable, nbSeq, in writeSequences() 884 *op++ = ofCodeTable[0]; in writeSequences() 893 if (count[ofCodeTable[nbSeq-1]]>1) { count[ofCodeTable[nbSeq-1]]--; nbSeq_1--; } in writeSequences() 933 initSymbolSet(ofCodeTable, nbSeq, frame->stats.offsetSymbolSet, 28); in writeSequences() 952 FSE_initCState2(&stateOffsetBits, CTable_OffsetBits, ofCodeTable[nbSeq-1]); in writeSequences() 958 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase, ofCodeTable[nbSeq-1]); in writeSequences() 964 BYTE const ofCode = ofCodeTable[n]; in writeSequences()
|