Searched refs:ofCodeTable (Results 1 – 5 of 5) sorted by relevance
/external/zstd/lib/compress/ |
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].offset, 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 …]
|
D | zstd_compress_superblock.c | 360 static size_t ZSTD_estimateSubBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument 372 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences() 389 const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize() argument 401 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
|
D | zstd_compress_sequences.h | 43 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
|
D | zstd_compress.c | 2392 BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes() local 2401 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offset); in ZSTD_seqToCodes() 2462 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_buildSequencesStatistics() local 2505 … countWorkspace, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_buildSequencesStatistics() 2519 countWorkspace, max, ofCodeTable, nbSeq, in ZSTD_buildSequencesStatistics() 2590 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_entropyCompressSeqStore_internal() local 2663 CTable_OffsetBits, ofCodeTable, in ZSTD_entropyCompressSeqStore_internal() 3300 static size_t ZSTD_estimateBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateBlockSize_sequences() argument 3311 …cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, nbSeq, Max… in ZSTD_estimateBlockSize_sequences() 3329 const BYTE* ofCodeTable, in ZSTD_estimateBlockSize() argument [all …]
|
/external/zstd/tests/ |
D | decodecorpus.c | 812 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in writeSequences() local 873 …size_t const mostFrequent = HIST_countFast_wksp(count, &max, ofCodeTable, nbSeq, WKSP, sizeof(WKSP… in writeSequences() 876 isSymbolSubset(ofCodeTable, nbSeq, in writeSequences() 880 *op++ = ofCodeTable[0]; in writeSequences() 889 if (count[ofCodeTable[nbSeq-1]]>1) { count[ofCodeTable[nbSeq-1]]--; nbSeq_1--; } in writeSequences() 929 initSymbolSet(ofCodeTable, nbSeq, frame->stats.offsetSymbolSet, 28); in writeSequences() 948 FSE_initCState2(&stateOffsetBits, CTable_OffsetBits, ofCodeTable[nbSeq-1]); in writeSequences() 954 BIT_addBits(&blockStream, sequences[nbSeq-1].offset, ofCodeTable[nbSeq-1]); in writeSequences() 960 BYTE const ofCode = ofCodeTable[n]; in writeSequences()
|