Searched refs:bitD (Results 1 – 5 of 5) sorted by relevance
/linux/lib/zstd/common/ |
A D | bitstream.h | 263 bitD->limitPtr = bitD->start + sizeof(bitD->bitContainer); in BIT_initDStream() 267 bitD->bitContainer = MEM_readLEST(bitD->ptr); in BIT_initDStream() 272 bitD->ptr = bitD->start; in BIT_initDStream() 273 bitD->bitContainer = *(const BYTE*)(bitD->start); in BIT_initDStream() 388 if (UNLIKELY(bitD->ptr < bitD->limitPtr)) in BIT_reloadDStreamFast() 390 assert(bitD->bitsConsumed <= sizeof(bitD->bitContainer)*8); in BIT_reloadDStreamFast() 391 bitD->ptr -= bitD->bitsConsumed >> 3; in BIT_reloadDStreamFast() 393 bitD->bitContainer = MEM_readLEST(bitD->ptr); in BIT_reloadDStreamFast() 407 if (bitD->ptr >= bitD->limitPtr) { in BIT_reloadDStream() 410 if (bitD->ptr == bitD->start) { in BIT_reloadDStream() [all …]
|
A D | fse_decompress.c | 241 BIT_DStream_t bitD; in FSE_decompress_usingDTable_generic() local 246 CHECK_F(BIT_initDStream(&bitD, cSrc, cSrcSize)); in FSE_decompress_usingDTable_generic() 248 FSE_initDState(&state1, &bitD, dt); in FSE_decompress_usingDTable_generic() 249 FSE_initDState(&state2, &bitD, dt); in FSE_decompress_usingDTable_generic() 251 …ETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(statePtr, &bitD) in FSE_decompress_usingDTable_generic() 254 for ( ; (BIT_reloadDStream(&bitD)==BIT_DStream_unfinished) & (op<olimit) ; op+=4) { in FSE_decompress_usingDTable_generic() 258 BIT_reloadDStream(&bitD); in FSE_decompress_usingDTable_generic() 263 { if (BIT_reloadDStream(&bitD) > BIT_DStream_unfinished) { op+=2; break; } } in FSE_decompress_usingDTable_generic() 268 BIT_reloadDStream(&bitD); in FSE_decompress_usingDTable_generic() 278 if (BIT_reloadDStream(&bitD)==BIT_DStream_overflow) { in FSE_decompress_usingDTable_generic() [all …]
|
A D | fse.h | 441 static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD); 498 static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD); 599 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() argument 603 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog); in FSE_initDState() 604 BIT_reloadDStream(bitD); in FSE_initDState() 614 MEM_STATIC void FSE_updateState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_updateState() argument 618 size_t const lowBits = BIT_readBits(bitD, nbBits); in FSE_updateState() 622 MEM_STATIC BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_decodeSymbol() argument 627 size_t const lowBits = BIT_readBits(bitD, nbBits); in FSE_decodeSymbol() 635 MEM_STATIC BYTE FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_decodeSymbolFast() argument [all …]
|
/linux/lib/zstd/decompress/ |
A D | huf_decompress.c | 336 BIT_DStream_t bitD; in HUF_decompress1X1_usingDTable_internal_body() local 340 CHECK_F( BIT_initDStream(&bitD, cSrc, cSrcSize) ); in HUF_decompress1X1_usingDTable_internal_body() 342 HUF_decodeStreamX1(op, &bitD, oend, dt, dtLog); in HUF_decompress1X1_usingDTable_internal_body() 344 if (!BIT_endOfDStream(&bitD)) return ERROR(corruption_detected); in HUF_decompress1X1_usingDTable_internal_body() 782 BIT_DStream_t bitD; in HUF_decompress1X2_usingDTable_internal_body() local 785 CHECK_F( BIT_initDStream(&bitD, cSrc, cSrcSize) ); in HUF_decompress1X2_usingDTable_internal_body() 793 HUF_decodeStreamX2(ostart, &bitD, oend, dt, dtd.tableLog); in HUF_decompress1X2_usingDTable_internal_body() 797 if (!BIT_endOfDStream(&bitD)) return ERROR(corruption_detected); in HUF_decompress1X2_usingDTable_internal_body()
|
A D | zstd_decompress_block.c | 900 ZSTD_initFseState(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, const ZSTD_seqSymbol* dt) in ZSTD_initFseState() argument 904 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog); in ZSTD_initFseState() 907 BIT_reloadDStream(bitD); in ZSTD_initFseState() 912 ZSTD_updateFseState(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD) in ZSTD_updateFseState() argument 916 size_t const lowBits = BIT_readBits(bitD, nbBits); in ZSTD_updateFseState() 921 ZSTD_updateFseStateWithDInfo(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, ZSTD_seqSymbol const DI… in ZSTD_updateFseStateWithDInfo() argument 924 size_t const lowBits = BIT_readBits(bitD, nbBits); in ZSTD_updateFseStateWithDInfo()
|
Completed in 16 milliseconds