Searched refs:bitC (Results 1 – 2 of 2) sorted by relevance
/u-boot/lib/zstd/ |
A D | bitstream.h | 135 bitC->bitPos = 0; in BIT_initCStream() 137 bitC->ptr = bitC->startPtr; in BIT_initCStream() 138 bitC->endPtr = bitC->startPtr + dstCapacity - sizeof(bitC->ptr); in BIT_initCStream() 149 bitC->bitContainer |= (value & BIT_mask[nbBits]) << bitC->bitPos; in BIT_addBits() 157 bitC->bitContainer |= value << bitC->bitPos; in BIT_addBitsFast() 166 ZSTD_writeLEST(bitC->ptr, bitC->bitContainer); in BIT_flushBitsFast() 178 ZSTD_writeLEST(bitC->ptr, bitC->bitContainer); in BIT_flushBits() 180 if (bitC->ptr > bitC->endPtr) in BIT_flushBits() 181 bitC->ptr = bitC->endPtr; in BIT_flushBits() 194 if (bitC->ptr >= bitC->endPtr) in BIT_closeCStream() [all …]
|
A D | fse.h | 273 static void FSE_encodeSymbol(BIT_CStream_t *bitC, FSE_CState_t *CStatePtr, unsigned symbol); 275 static void FSE_flushCState(BIT_CStream_t *bitC, const FSE_CState_t *CStatePtr); 423 ZSTD_STATIC void FSE_encodeSymbol(BIT_CStream_t *bitC, FSE_CState_t *statePtr, U32 symbol) in FSE_encodeSymbol() argument 428 BIT_addBits(bitC, statePtr->value, nbBitsOut); in FSE_encodeSymbol() 432 ZSTD_STATIC void FSE_flushCState(BIT_CStream_t *bitC, const FSE_CState_t *statePtr) in FSE_flushCState() argument 434 BIT_addBits(bitC, statePtr->value, statePtr->stateLog); in FSE_flushCState() 435 BIT_flushBits(bitC); in FSE_flushCState()
|
Completed in 4 milliseconds