Searched refs:BIT_addBits (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_compress_sequences.c | 314 BIT_addBits(&blockStream, sequences[nbSeq-1].litLength, LL_bits[llCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body() 316 BIT_addBits(&blockStream, sequences[nbSeq-1].mlBase, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body() 322 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase, extraBits); in ZSTD_encodeSequences_body() 325 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase >> extraBits, in ZSTD_encodeSequences_body() 328 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body() 352 BIT_addBits(&blockStream, sequences[n].litLength, llBits); in ZSTD_encodeSequences_body() 354 BIT_addBits(&blockStream, sequences[n].mlBase, mlBits); in ZSTD_encodeSequences_body() 359 BIT_addBits(&blockStream, sequences[n].offBase, extraBits); in ZSTD_encodeSequences_body() 362 BIT_addBits(&blockStream, sequences[n].offBase >> extraBits, in ZSTD_encodeSequences_body() 365 BIT_addBits(&blockStream, sequences[n].offBase, ofBits); /* 31 */ in ZSTD_encodeSequences_body()
|
/openbmc/linux/lib/zstd/common/ |
H A D | bitstream.h | 57 MEM_STATIC void BIT_addBits(BIT_CStream_t* bitC, size_t value, unsigned nbBits); 184 MEM_STATIC void BIT_addBits(BIT_CStream_t* bitC, in BIT_addBits() function
|
H A D | fse.h | 542 BIT_addBits(bitC, statePtr->value, nbBitsOut); in FSE_encodeSymbol() 548 BIT_addBits(bitC, statePtr->value, statePtr->stateLog); in FSE_flushCState()
|