Searched refs:symbolValue (Results 1 – 5 of 5) sorted by relevance
/linux/lib/zstd/common/ |
H A D | fse.h | 330 size_t FSE_buildCTable_rle (FSE_CTable* ct, unsigned char symbolValue); 350 size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue); 558 MEM_STATIC U32 FSE_getMaxNbBits(const void* symbolTTPtr, U32 symbolValue) in FSE_getMaxNbBits() argument 561 return (symbolTT[symbolValue].deltaNbBits + ((1<<16)-1)) >> 16; in FSE_getMaxNbBits() 568 MEM_STATIC U32 FSE_bitCost(const void* symbolTTPtr, U32 tableLog, U32 symbolValue, U32 accuracyLog) in FSE_bitCost() argument 571 U32 const minNbBits = symbolTT[symbolValue].deltaNbBits >> 16; in FSE_bitCost() 576 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost() 579 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost()
|
H A D | fse_decompress.c | 187 size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle() argument 198 cell->symbol = symbolValue; in FSE_buildDTable_rle()
|
H A D | huf.h | 250 U32 HUF_getNbBitsFromCTable(const HUF_CElt* symbolTable, U32 symbolValue);
|
/linux/lib/zstd/compress/ |
H A D | fse_compress.c | 570 size_t FSE_buildCTable_rle (FSE_CTable* ct, BYTE symbolValue) in FSE_buildCTable_rle() argument 579 tableU16[-1] = (U16) symbolValue; in FSE_buildCTable_rle() 586 symbolTT[symbolValue].deltaNbBits = 0; in FSE_buildCTable_rle() 587 symbolTT[symbolValue].deltaFindState = 0; in FSE_buildCTable_rle()
|
H A D | huf_compress.c | 270 U32 HUF_getNbBitsFromCTable(HUF_CElt const* CTable, U32 symbolValue) in HUF_getNbBitsFromCTable() argument 273 assert(symbolValue <= HUF_SYMBOLVALUE_MAX); in HUF_getNbBitsFromCTable() 274 return (U32)HUF_getNbBits(ct[symbolValue]); in HUF_getNbBitsFromCTable()
|