Lines Matching refs:symbolValue
330 size_t FSE_buildCTable_rle (FSE_CTable* ct, unsigned char symbolValue);
331 /*< build a fake FSE_CTable, designed to compress always the same symbolValue */
350 size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
351 /*< build a fake FSE_DTable, designed to always generate the same symbolValue */
556 * note 1 : assume symbolValue is valid (<= maxSymbolValue)
557 * note 2 : if freq[symbolValue]==0, @return a fake cost of tableLog+1 bits */
558 MEM_STATIC U32 FSE_getMaxNbBits(const void* symbolTTPtr, U32 symbolValue)
561 return (symbolTT[symbolValue].deltaNbBits + ((1<<16)-1)) >> 16;
566 * note 1 : assume symbolValue is valid (<= maxSymbolValue)
567 * note 2 : if freq[symbolValue]==0, @return a fake cost of tableLog+1 bits */
568 MEM_STATIC U32 FSE_bitCost(const void* symbolTTPtr, U32 tableLog, U32 symbolValue, U32 accuracyLog)
571 U32 const minNbBits = symbolTT[symbolValue].deltaNbBits >> 16;
576 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize);
579 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold);