Searched refs:bitD (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/lib/zstd/ |
D | bitstream.h | 88 ZSTD_STATIC size_t BIT_initDStream(BIT_DStream_t *bitD, const void *srcBuffer, size_t srcSize); 89 ZSTD_STATIC size_t BIT_readBits(BIT_DStream_t *bitD, unsigned nbBits); 90 ZSTD_STATIC BIT_DStream_status BIT_reloadDStream(BIT_DStream_t *bitD); 91 ZSTD_STATIC unsigned BIT_endOfDStream(const BIT_DStream_t *bitD); 112 ZSTD_STATIC size_t BIT_readBitsFast(BIT_DStream_t *bitD, unsigned nbBits); 209 ZSTD_STATIC size_t BIT_initDStream(BIT_DStream_t *bitD, const void *srcBuffer, size_t srcSize) in BIT_initDStream() argument 212 memset(bitD, 0, sizeof(*bitD)); in BIT_initDStream() 216 if (srcSize >= sizeof(bitD->bitContainer)) { /* normal case */ in BIT_initDStream() 217 bitD->start = (const char *)srcBuffer; in BIT_initDStream() 218 bitD->ptr = (const char *)srcBuffer + srcSize - sizeof(bitD->bitContainer); in BIT_initDStream() [all …]
|
D | fse_decompress.c | 192 BIT_DStream_t bitD; in FSE_decompress_usingDTable_generic() local 197 CHECK_F(BIT_initDStream(&bitD, cSrc, cSrcSize)); in FSE_decompress_usingDTable_generic() 199 FSE_initDState(&state1, &bitD, dt); in FSE_decompress_usingDTable_generic() 200 FSE_initDState(&state2, &bitD, dt); in FSE_decompress_usingDTable_generic() 202 …ETSYMBOL(statePtr) fast ? FSE_decodeSymbolFast(statePtr, &bitD) : FSE_decodeSymbol(statePtr, &bitD) in FSE_decompress_usingDTable_generic() 205 for (; (BIT_reloadDStream(&bitD) == BIT_DStream_unfinished) & (op < olimit); op += 4) { in FSE_decompress_usingDTable_generic() 208 if (FSE_MAX_TABLELOG * 2 + 7 > sizeof(bitD.bitContainer) * 8) /* This test must be static */ in FSE_decompress_usingDTable_generic() 209 BIT_reloadDStream(&bitD); in FSE_decompress_usingDTable_generic() 213 if (FSE_MAX_TABLELOG * 4 + 7 > sizeof(bitD.bitContainer) * 8) /* This test must be static */ in FSE_decompress_usingDTable_generic() 215 if (BIT_reloadDStream(&bitD) > BIT_DStream_unfinished) { in FSE_decompress_usingDTable_generic() [all …]
|
D | fse.h | 328 static void FSE_initDState(FSE_DState_t *DStatePtr, BIT_DStream_t *bitD, const FSE_DTable *dt); 330 static unsigned char FSE_decodeSymbol(FSE_DState_t *DStatePtr, BIT_DStream_t *bitD); 386 static unsigned char FSE_decodeSymbolFast(FSE_DState_t *DStatePtr, BIT_DStream_t *bitD); 451 ZSTD_STATIC void FSE_initDState(FSE_DState_t *DStatePtr, BIT_DStream_t *bitD, const FSE_DTable *dt) in FSE_initDState() argument 455 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog); in FSE_initDState() 456 BIT_reloadDStream(bitD); in FSE_initDState() 466 ZSTD_STATIC void FSE_updateState(FSE_DState_t *DStatePtr, BIT_DStream_t *bitD) in FSE_updateState() argument 470 size_t const lowBits = BIT_readBits(bitD, nbBits); in FSE_updateState() 474 ZSTD_STATIC BYTE FSE_decodeSymbol(FSE_DState_t *DStatePtr, BIT_DStream_t *bitD) in FSE_decodeSymbol() argument 479 size_t const lowBits = BIT_readBits(bitD, nbBits); in FSE_decodeSymbol() [all …]
|
D | huf_decompress.c | 175 BIT_DStream_t bitD; in HUF_decompress1X2_usingDTable_internal() local 180 size_t const errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); in HUF_decompress1X2_usingDTable_internal() 185 HUF_decodeStreamX2(op, &bitD, oend, dt, dtLog); in HUF_decompress1X2_usingDTable_internal() 188 if (!BIT_endOfDStream(&bitD)) in HUF_decompress1X2_usingDTable_internal() 627 BIT_DStream_t bitD; in HUF_decompress1X4_usingDTable_internal() local 631 size_t const errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); in HUF_decompress1X4_usingDTable_internal() 643 HUF_decodeStreamX4(ostart, &bitD, oend, dt, dtd.tableLog); in HUF_decompress1X4_usingDTable_internal() 647 if (!BIT_endOfDStream(&bitD)) in HUF_decompress1X4_usingDTable_internal()
|