Home
last modified time | relevance | path

Searched refs:DStream (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/lib/zstd/
Ddecompress.c859 BIT_DStream_t DStream; member
951 …offset = OF_base[ofCode] + BIT_readBitsFast(&seqState->DStream, ofBits); /* <= (ZSTD_WINDOWLOG_MA… in ZSTD_decodeSequence()
953 BIT_reloadDStream(&seqState->DStream); in ZSTD_decodeSequence()
976 …seq.matchLength = ML_base[mlCode] + ((mlCode > 31) ? BIT_readBitsFast(&seqState->DStream, mlBits) … in ZSTD_decodeSequence()
978 BIT_reloadDStream(&seqState->DStream); in ZSTD_decodeSequence()
980 …seq.litLength = LL_base[llCode] + ((llCode > 15) ? BIT_readBitsFast(&seqState->DStream, llBits) : … in ZSTD_decodeSequence()
982 BIT_reloadDStream(&seqState->DStream); in ZSTD_decodeSequence()
985 FSE_updateState(&seqState->stateLL, &seqState->DStream); /* <= 9 bits */ in ZSTD_decodeSequence()
986 FSE_updateState(&seqState->stateML, &seqState->DStream); /* <= 9 bits */ in ZSTD_decodeSequence()
988 BIT_reloadDStream(&seqState->DStream); /* <= 18 bits */ in ZSTD_decodeSequence()
[all …]
Dbitstream.h339 ZSTD_STATIC unsigned BIT_endOfDStream(const BIT_DStream_t *DStream) in BIT_endOfDStream() argument
341 …return ((DStream->ptr == DStream->start) && (DStream->bitsConsumed == sizeof(DStream->bitContainer… in BIT_endOfDStream()
Dhuf_decompress.c565 static U32 HUF_decodeSymbolX4(void *op, BIT_DStream_t *DStream, const HUF_DEltX4 *dt, const U32 dtL… in HUF_decodeSymbolX4() argument
567 size_t const val = BIT_lookBitsFast(DStream, dtLog); /* note : dtLog >= 1 */ in HUF_decodeSymbolX4()
569 BIT_skipBits(DStream, dt[val].nbBits); in HUF_decodeSymbolX4()
573 static U32 HUF_decodeLastSymbolX4(void *op, BIT_DStream_t *DStream, const HUF_DEltX4 *dt, const U32… in HUF_decodeLastSymbolX4() argument
575 size_t const val = BIT_lookBitsFast(DStream, dtLog); /* note : dtLog >= 1 */ in HUF_decodeLastSymbolX4()
578 BIT_skipBits(DStream, dt[val].nbBits); in HUF_decodeLastSymbolX4()
580 if (DStream->bitsConsumed < (sizeof(DStream->bitContainer) * 8)) { in HUF_decodeLastSymbolX4()
581 BIT_skipBits(DStream, dt[val].nbBits); in HUF_decodeLastSymbolX4()
582 if (DStream->bitsConsumed > (sizeof(DStream->bitContainer) * 8)) in HUF_decodeLastSymbolX4()
584 DStream->bitsConsumed = (sizeof(DStream->bitContainer) * 8); in HUF_decodeLastSymbolX4()