Home
last modified time | relevance | path

Searched refs:BIT_addBits (Results 1 – 4 of 4) sorted by relevance

/external/zstd/lib/compress/
Dzstd_compress_sequences.c305 BIT_addBits(&blockStream, sequences[nbSeq-1].litLength, LL_bits[llCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
307 BIT_addBits(&blockStream, sequences[nbSeq-1].matchLength, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
313 BIT_addBits(&blockStream, sequences[nbSeq-1].offset, extraBits); in ZSTD_encodeSequences_body()
316 BIT_addBits(&blockStream, sequences[nbSeq-1].offset >> extraBits, in ZSTD_encodeSequences_body()
319 BIT_addBits(&blockStream, sequences[nbSeq-1].offset, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
343 BIT_addBits(&blockStream, sequences[n].litLength, llBits); in ZSTD_encodeSequences_body()
345 BIT_addBits(&blockStream, sequences[n].matchLength, mlBits); in ZSTD_encodeSequences_body()
350 BIT_addBits(&blockStream, sequences[n].offset, extraBits); in ZSTD_encodeSequences_body()
353 BIT_addBits(&blockStream, sequences[n].offset >> extraBits, in ZSTD_encodeSequences_body()
356 BIT_addBits(&blockStream, sequences[n].offset, ofBits); /* 31 */ in ZSTD_encodeSequences_body()
/external/zstd/lib/common/
Dbitstream.h67 MEM_STATIC void BIT_addBits(BIT_CStream_t* bitC, size_t value, unsigned nbBits);
203 MEM_STATIC void BIT_addBits(BIT_CStream_t* bitC, in BIT_addBits() function
Dfse.h543 BIT_addBits(bitC, statePtr->value, nbBitsOut); in FSE_encodeSymbol()
549 BIT_addBits(bitC, statePtr->value, statePtr->stateLog); in FSE_flushCState()
/external/zstd/tests/
Ddecodecorpus.c950 BIT_addBits(&blockStream, sequences[nbSeq-1].litLength, LL_bits[llCodeTable[nbSeq-1]]); in writeSequences()
952 BIT_addBits(&blockStream, sequences[nbSeq-1].matchLength, ML_bits[mlCodeTable[nbSeq-1]]); in writeSequences()
954 BIT_addBits(&blockStream, sequences[nbSeq-1].offset, ofCodeTable[nbSeq-1]); in writeSequences()
972 BIT_addBits(&blockStream, sequences[n].litLength, llBits); in writeSequences()
974 BIT_addBits(&blockStream, sequences[n].matchLength, mlBits); in writeSequences()
976 BIT_addBits(&blockStream, sequences[n].offset, ofBits); /* 31 */ in writeSequences()