Searched refs:bitC (Results 1 – 4 of 4) sorted by relevance
/linux/lib/zstd/common/ |
A D | bitstream.h | 175 bitC->ptr = bitC->startPtr; in BIT_initCStream() 176 bitC->endPtr = bitC->startPtr + dstCapacity - sizeof(bitC->bitContainer); in BIT_initCStream() 202 bitC->bitContainer |= value << bitC->bitPos; in BIT_addBitsFast() 212 assert(bitC->bitPos < sizeof(bitC->bitContainer) * 8); in BIT_flushBitsFast() 213 assert(bitC->ptr <= bitC->endPtr); in BIT_flushBitsFast() 214 MEM_writeLEST(bitC->ptr, bitC->bitContainer); in BIT_flushBitsFast() 228 assert(bitC->bitPos < sizeof(bitC->bitContainer) * 8); in BIT_flushBits() 229 assert(bitC->ptr <= bitC->endPtr); in BIT_flushBits() 230 MEM_writeLEST(bitC->ptr, bitC->bitContainer); in BIT_flushBits() 232 if (bitC->ptr > bitC->endPtr) bitC->ptr = bitC->endPtr; in BIT_flushBits() [all …]
|
A D | fse.h | 382 static void FSE_encodeSymbol(BIT_CStream_t* bitC, FSE_CState_t* CStatePtr, unsigned symbol); 384 static void FSE_flushCState(BIT_CStream_t* bitC, const FSE_CState_t* CStatePtr); 536 MEM_STATIC void FSE_encodeSymbol(BIT_CStream_t* bitC, FSE_CState_t* statePtr, unsigned symbol) in FSE_encodeSymbol() argument 541 BIT_addBits(bitC, statePtr->value, nbBitsOut); in FSE_encodeSymbol() 545 MEM_STATIC void FSE_flushCState(BIT_CStream_t* bitC, const FSE_CState_t* statePtr) in FSE_flushCState() argument 547 BIT_addBits(bitC, statePtr->value, statePtr->stateLog); in FSE_flushCState() 548 BIT_flushBits(bitC); in FSE_flushCState()
|
/linux/lib/zstd/compress/ |
A D | fse_compress.c | 558 BIT_CStream_t bitC; in FSE_compress_usingCTable_generic() local 571 FSE_encodeSymbol(&bitC, &CState1, *--ip); in FSE_compress_usingCTable_generic() 572 FSE_FLUSHBITS(&bitC); in FSE_compress_usingCTable_generic() 581 FSE_encodeSymbol(&bitC, &CState2, *--ip); in FSE_compress_usingCTable_generic() 582 FSE_encodeSymbol(&bitC, &CState1, *--ip); in FSE_compress_usingCTable_generic() 583 FSE_FLUSHBITS(&bitC); in FSE_compress_usingCTable_generic() 592 FSE_FLUSHBITS(&bitC); in FSE_compress_usingCTable_generic() 601 FSE_FLUSHBITS(&bitC); in FSE_compress_usingCTable_generic() 604 FSE_flushCState(&bitC, &CState2); in FSE_compress_usingCTable_generic() 605 FSE_flushCState(&bitC, &CState1); in FSE_compress_usingCTable_generic() [all …]
|
A D | huf_compress.c | 586 BIT_CStream_t bitC; in HUF_compress1X_usingCTable_internal_body() local 598 HUF_FLUSHBITS_2(&bitC); in HUF_compress1X_usingCTable_internal_body() 602 HUF_FLUSHBITS_1(&bitC); in HUF_compress1X_usingCTable_internal_body() 606 HUF_FLUSHBITS(&bitC); in HUF_compress1X_usingCTable_internal_body() 613 HUF_encodeSymbol(&bitC, ip[n- 1], CTable); in HUF_compress1X_usingCTable_internal_body() 614 HUF_FLUSHBITS_1(&bitC); in HUF_compress1X_usingCTable_internal_body() 615 HUF_encodeSymbol(&bitC, ip[n- 2], CTable); in HUF_compress1X_usingCTable_internal_body() 616 HUF_FLUSHBITS_2(&bitC); in HUF_compress1X_usingCTable_internal_body() 618 HUF_FLUSHBITS_1(&bitC); in HUF_compress1X_usingCTable_internal_body() 620 HUF_FLUSHBITS(&bitC); in HUF_compress1X_usingCTable_internal_body() [all …]
|
Completed in 12 milliseconds