Searched refs:ofCodeTable (Results 1 – 5 of 5) sorted by relevance
/external/zstd/lib/compress/ |
D | zstd_compress_sequences.c | 285 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body() argument 303 FSE_initCState2(&stateOffsetBits, CTable_OffsetBits, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body() 310 U32 const ofBits = ofCodeTable[nbSeq-1]; in ZSTD_encodeSequences_body() 319 BIT_addBits(&blockStream, sequences[nbSeq-1].offset, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body() 326 BYTE const ofCode = ofCodeTable[n]; in ZSTD_encodeSequences_body() 379 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default() argument 385 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_default() 397 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_bmi2() argument 403 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_bmi2() 413 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences() argument [all …]
|
D | zstd_compress_superblock.c | 181 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_buildSuperBlockEntropy_sequences() local 222 …size_t const mostFrequent = HIST_countFast_wksp(countWksp, &max, ofCodeTable, nbSeq, workspace, wk… in ZSTD_buildSuperBlockEntropy_sequences() 234 … countWksp, max, ofCodeTable, nbSeq, OF_defaultNorm, OF_defaultNormLog, DefaultMaxOff, in ZSTD_buildSuperBlockEntropy_sequences() 637 static size_t ZSTD_estimateSubBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument 648 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences() 665 const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize() argument 677 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 | 2119 BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes() local 2128 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offset); in ZSTD_seqToCodes() 2166 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_entropyCompressSequences_internal() local 2255 count, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_entropyCompressSequences_internal() 2269 count, max, ofCodeTable, nbSeq, in ZSTD_entropyCompressSequences_internal() 2312 CTable_OffsetBits, ofCodeTable, in ZSTD_entropyCompressSequences_internal()
|
/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()
|