Lines Matching defs:table

110 1. count symbol occurrence from source[] into table count[] (see hist.h)
113 4. build encoding table 'CTable' from normalized counters
114 5. encode the data stream using encoding table 'CTable'
118 2. build decoding table 'DTable' from normalized counters
119 3. decode the data stream using decoding table 'DTable'
136 'normalizedCounter' is a table of short, of minimum size (maxSymbolValue+1).
149 Provides the maximum possible size of an FSE normalized table, given 'maxSymbolValue' and 'tableLog'.
155 @return : size of the compressed table,
183 Result will be saved into 'count', a table of unsigned int, which must be already allocated, and have 'maxSymbolValuePtr[0]+1' cells.
184 'src' is a table of bytes of size 'srcSize'. All values within 'src' MUST be <= maxSymbolValuePtr[0]
197 The result of FSE_normalizeCount() will be saved into a table,
198 called 'normalizedCounter', which is a table of signed short.
210 'normalizedCounter' can then be used to create the compression table 'CTable'.
216 Similar to FSE_count(), the convention is that 'src' is assumed to be a table of char of size 'srcSize'
270 or size the table to handle worst case situations (typically 256).
304 /* It is possible to statically allocate FSE CTable/DTable as a table of FSE_CTable/FSE_DTable using below macros */
322 * FSE_COMPRESS_WKSP_SIZE_U32() provides the minimum size required for `workSpace` as a table of FSE_CTable.
338 #define FSE_BUILD_CTABLE_WORKSPACE_SIZE_U32(maxSymbolValue, tableLog) (((maxSymbolValue + 2) + (1ull << (tableLog)))/2 + sizeof(U64)/sizeof(U32) /* additional 8 bytes for potential table overwrite */)
362 FSE_repeat_none, /*< Cannot use the previous table */
363 FSE_repeat_check, /*< Can use the previous table but it must be checked */
364 FSE_repeat_valid /*< Can use the previous table and it is assumed to be valid */
436 const void* table; /* precise table may vary, depending on U16 */
455 FSE_DTable* DTablePtr; // Decoding table, provided by FSE_buildDTable()
606 DStatePtr->table = dt + 1;
611 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state];
617 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state];
625 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state];
638 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state];