| 1954 | } FSE_symbolCompressionTransform; /* total 8 bytes */ |
| 1955 | |
| 1956 | MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) |
| 1957 | { |
| 1958 | const void* ptr = ct; |
| 1959 | const U16* u16ptr = (const U16*) ptr; |
| 1960 | const U32 tableLog = MEM_read16(ptr); |
| 1961 | statePtr->value = (ptrdiff_t)1<<tableLog; |
| 1962 | statePtr->stateTable = u16ptr+2; |
| 1963 | statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1); |
| 1964 | statePtr->stateLog = tableLog; |
| 1965 | } |
| 1966 | |
| 1967 | |
| 1968 | /*! FSE_initCState2() : |
no test coverage detected