Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\fse_decompress.c Create Date:2022-07-28 07:08:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:FSE_decompress_usingDTable_generic

Proto:FORCE_INLINE size_t FSE_decompress_usingDTable_generic(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt, const unsigned fast)

Type:size_t

Parameter:

TypeParameterName
void *dst
size_tmaxDstSize
const void *cSrc
size_tcSrcSize
const FSE_DTable *dt
const unsignedfast
217  ostart = dst
218  op = ostart
219  omax = op + maxDstSize
220  olimit = omax - 3
229  FSE_initDState( & state1, & bitD, dt)
230  FSE_initDState( & state2, & bitD, dt)
235  When BIT_reloadDStream( & bitD) == BIT_DStream_unfinished & op < olimit cycle
236  op[0] = Init ( & state1)
238  If (14 - 2) * 2 + 7 > size of bitContainer * 8 Then BIT_reloadDStream( & bitD)
241  op[1] = Init ( & state2)
243  If (14 - 2) * 4 + 7 > size of bitContainer * 8 Then
246  op += 2
247  Break
251  op[2] = Init ( & state1)
253  If (14 - 2) * 2 + 7 > size of bitContainer * 8 Then BIT_reloadDStream( & bitD)
256  op[3] = Init ( & state2)
261  When 1 cycle
262  If op > omax - 2 Then Return -***************************************** Error codes handling(dstSize_tooSmall)
264  op++ = Init ( & state1)
266  op++ = Init ( & state2)
267  Break
270  If op > omax - 2 Then Return -***************************************** Error codes handling(dstSize_tooSmall)
272  op++ = Init ( & state2)
274  op++ = Init ( & state1)
275  Break
279  Return op - ostart
Caller
NameDescribe
FSE_decompress_usingDTable