Searched refs:nbBits (Results 1 – 10 of 10) sorted by relevance
/linux/lib/zstd/common/ |
A D | bitstream.h | 188 assert(nbBits < BIT_MASK_SIZE); in BIT_addBits() 191 bitC->bitPos += nbBits; in BIT_addBits() 200 assert((value>>nbBits) == 0); in BIT_addBitsFast() 203 bitC->bitPos += nbBits; in BIT_addBitsFast() 315 assert(nbBits < BIT_MASK_SIZE); in BIT_getMiddleBits() 321 assert(nbBits < BIT_MASK_SIZE); in BIT_getLowerBits() 350 assert(nbBits >= 1); in BIT_lookBitsFast() 356 bitD->bitsConsumed += nbBits; in BIT_skipBits() 366 BIT_skipBits(bitD, nbBits); in BIT_readBits() 375 assert(nbBits >= 1); in BIT_readBitsFast() [all …]
|
A D | entropy_common.c | 65 int nbBits; in FSE_readNCount_body() local 89 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount_body() 90 if (nbBits > FSE_TABLELOG_ABSOLUTE_MAX) return ERROR(tableLog_tooLarge); in FSE_readNCount_body() 93 *tableLogPtr = nbBits; in FSE_readNCount_body() 94 remaining = (1<<nbBits)+1; in FSE_readNCount_body() 95 threshold = 1<<nbBits; in FSE_readNCount_body() 96 nbBits++; in FSE_readNCount_body() 154 bitCount += nbBits-1; in FSE_readNCount_body() 158 bitCount += nbBits; in FSE_readNCount_body() 181 nbBits = BIT_highbit32(remaining) + 1; in FSE_readNCount_body() [all …]
|
A D | fse.h | 327 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits); 346 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits); 596 unsigned char nbBits; member 617 U32 const nbBits = DInfo.nbBits; in FSE_updateState() local 618 size_t const lowBits = BIT_readBits(bitD, nbBits); in FSE_updateState() 625 U32 const nbBits = DInfo.nbBits; in FSE_decodeSymbol() local 627 size_t const lowBits = BIT_readBits(bitD, nbBits); in FSE_decodeSymbol() 638 U32 const nbBits = DInfo.nbBits; in FSE_decodeSymbolFast() local 640 size_t const lowBits = BIT_readBitsFast(bitD, nbBits); in FSE_decodeSymbolFast()
|
A D | fse_decompress.c | 169 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in FSE_buildDTable_internal() 170 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable_internal() 199 cell->nbBits = 0; in FSE_buildDTable_rle() 205 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw() argument 211 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() 217 if (nbBits < 1) return ERROR(GENERIC); /* min size */ in FSE_buildDTable_raw() 220 DTableH->tableLog = (U16)nbBits; in FSE_buildDTable_raw() 225 dinfo[s].nbBits = (BYTE)nbBits; in FSE_buildDTable_raw()
|
A D | huf.h | 138 BYTE nbBits; member
|
/linux/lib/zstd/compress/ |
A D | huf_compress.c | 213 return table[symbolValue].nbBits; in HUF_getNbBits() 221 BYTE nbBits; member 350 huffNode[n+1].nbBits--; in HUF_setMaxHeight() 469 huffNode[nodeRoot].nbBits = 0; in HUF_buildTree() 471 huffNode[n].nbBits = huffNode[ huffNode[n].parent ].nbBits + 1; in HUF_buildTree() 473 huffNode[n].nbBits = huffNode[ huffNode[n].parent ].nbBits + 1; in HUF_buildTree() 496 nbPerRank[huffNode[n].nbBits]++; in HUF_buildCTableFromTree() 505 … CTable[huffNode[n].byte].nbBits = huffNode[n].nbBits; /* push nbBits per symbol, symbol order */ in HUF_buildCTableFromTree() 543 size_t nbBits = 0; in HUF_estimateCompressedSize() local 546 nbBits += CTable[s].nbBits * count[s]; in HUF_estimateCompressedSize() [all …]
|
A D | fse_compress.c | 197 int nbBits; in FSE_writeNCount_generic() local 214 nbBits = tableLog+1; in FSE_writeNCount_generic() 254 bitCount += nbBits; in FSE_writeNCount_generic() 258 while (remaining<threshold) { nbBits--; threshold>>=1; } in FSE_writeNCount_generic() 494 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits) in FSE_buildCTable_raw() argument 496 const unsigned tableSize = 1 << nbBits; in FSE_buildCTable_raw() 506 if (nbBits < 1) return ERROR(GENERIC); /* min size */ in FSE_buildCTable_raw() 509 tableU16[-2] = (U16) nbBits; in FSE_buildCTable_raw() 517 { const U32 deltaNbBits = (nbBits << 16) - (1 << nbBits); in FSE_buildCTable_raw()
|
/linux/lib/zstd/decompress/ |
A D | huf_decompress.c | 125 D4 = symbol + (nbBits << 8); in HUF_DEltX1_set4() 127 D4 = (symbol << 8) + nbBits; in HUF_DEltX1_set4() 230 D.nbBits = nbBits; in HUF_readDTableX1_wksp_bmi2() 239 D.nbBits = nbBits; in HUF_readDTableX1_wksp_bmi2() 286 BIT_skipBits(Dstream, dt[val].nbBits); in HUF_decodeSymbolX1() 545 DElt.nbBits = (BYTE)(consumed); in HUF_fillDTableX2Level2() 562 DElt.nbBits = (BYTE)(nbBits + consumed); in HUF_fillDTableX2Level2() 597 int minWeight = nbBits + scaleLog; in HUF_fillDTableX2() 600 HUF_fillDTableX2Level2(DTable+start, targetLog-nbBits, nbBits, in HUF_fillDTableX2() 607 DElt.nbBits = (BYTE)(nbBits); in HUF_fillDTableX2() [all …]
|
A D | zstd_decompress_block.c | 355 cell->nbBits = 0; in ZSTD_buildSeqTable_rle() 478 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in ZSTD_buildFSETable_body() 479 tableDecode[u].nextState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in ZSTD_buildFSETable_body() 544 U32 const nbBits = nbAdditionalBits[symbol]; in ZSTD_buildSeqTable() local 545 ZSTD_buildSeqTable_rle(DTableSpace, baseline, nbBits); in ZSTD_buildSeqTable() 915 U32 const nbBits = DInfo.nbBits; in ZSTD_updateFseState() local 916 size_t const lowBits = BIT_readBits(bitD, nbBits); in ZSTD_updateFseState() 923 U32 const nbBits = DInfo.nbBits; in ZSTD_updateFseStateWithDInfo() local 924 size_t const lowBits = BIT_readBits(bitD, nbBits); in ZSTD_updateFseStateWithDInfo()
|
A D | zstd_decompress_internal.h | 70 BYTE nbBits; member
|
Completed in 28 milliseconds