Searched refs:DStatePtr (Results 1 - 11 of 11) sorted by relevance

/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse.h417 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
419 static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
421 static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr);
476 static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
577 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt)
581 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog);
583 DStatePtr->table = dt + 1;
586 MEM_STATIC BYTE FSE_peekSymbol(const FSE_DState_t* DStatePtr)
588 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr
[all...]
/freebsd-current/sys/contrib/zstd/lib/common/
H A Dfse.h443 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
445 static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
447 static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr);
502 static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
603 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt)
607 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog);
609 DStatePtr->table = dt + 1;
612 MEM_STATIC BYTE FSE_peekSymbol(const FSE_DState_t* DStatePtr)
614 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr
[all...]
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c769 static void FSE_initDState(FSE_DState_t* DStatePtr, FSE_DStream_t* bitD, const FSE_DTable* dt) argument
773 DStatePtr->state = FSE_readBits(bitD, DTableH->tableLog);
775 DStatePtr->table = dt + 1;
778 static BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, FSE_DStream_t* bitD) argument
780 const FSE_decode_t DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state];
785 DStatePtr->state = DInfo.newState + lowBits;
789 static BYTE FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, FSE_DStream_t* bitD) argument
791 const FSE_decode_t DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr
808 FSE_endOfDState(const FSE_DState_t* DStatePtr) argument
[all...]
H A Dzstd_v03.c681 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
683 static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
685 static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr);
691 static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
713 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) argument
717 DStatePtr->state = BIT_readBits(bitD, DTableH.tableLog);
719 DStatePtr->table = dt + 1;
722 MEM_STATIC BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) argument
724 const FSE_decode_t DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr
733 FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) argument
744 FSE_endOfDState(const FSE_DState_t* DStatePtr) argument
[all...]
H A Dzstd_v06.c1077 static void FSEv06_initDState(FSEv06_DState_t* DStatePtr, BITv06_DStream_t* bitD, const FSEv06_DTable* dt);
1079 static unsigned char FSEv06_decodeSymbol(FSEv06_DState_t* DStatePtr, BITv06_DStream_t* bitD);
1085 static unsigned char FSEv06_decodeSymbolFast(FSEv06_DState_t* DStatePtr, BITv06_DStream_t* bitD);
1108 MEM_STATIC void FSEv06_initDState(FSEv06_DState_t* DStatePtr, BITv06_DStream_t* bitD, const FSEv06_DTable* dt) argument
1112 DStatePtr->state = BITv06_readBits(bitD, DTableH->tableLog);
1114 DStatePtr->table = dt + 1;
1117 MEM_STATIC BYTE FSEv06_peekSymbol(const FSEv06_DState_t* DStatePtr) argument
1119 FSEv06_decode_t const DInfo = ((const FSEv06_decode_t*)(DStatePtr->table))[DStatePtr->state];
1123 MEM_STATIC void FSEv06_updateState(FSEv06_DState_t* DStatePtr, BITv06_DStream_ argument
1131 FSEv06_decodeSymbol(FSEv06_DState_t* DStatePtr, BITv06_DStream_t* bitD) argument
1144 FSEv06_decodeSymbolFast(FSEv06_DState_t* DStatePtr, BITv06_DStream_t* bitD) argument
[all...]
H A Dzstd_v07.c845 static void FSEv07_initDState(FSEv07_DState_t* DStatePtr, BITv07_DStream_t* bitD, const FSEv07_DTable* dt);
847 static unsigned char FSEv07_decodeSymbol(FSEv07_DState_t* DStatePtr, BITv07_DStream_t* bitD);
854 static unsigned char FSEv07_decodeSymbolFast(FSEv07_DState_t* DStatePtr, BITv07_DStream_t* bitD);
872 MEM_STATIC void FSEv07_initDState(FSEv07_DState_t* DStatePtr, BITv07_DStream_t* bitD, const FSEv07_DTable* dt) argument
876 DStatePtr->state = BITv07_readBits(bitD, DTableH->tableLog);
878 DStatePtr->table = dt + 1;
881 MEM_STATIC BYTE FSEv07_peekSymbol(const FSEv07_DState_t* DStatePtr) argument
883 FSEv07_decode_t const DInfo = ((const FSEv07_decode_t*)(DStatePtr->table))[DStatePtr->state];
887 MEM_STATIC void FSEv07_updateState(FSEv07_DState_t* DStatePtr, BITv07_DStream_ argument
895 FSEv07_decodeSymbol(FSEv07_DState_t* DStatePtr, BITv07_DStream_t* bitD) argument
908 FSEv07_decodeSymbolFast(FSEv07_DState_t* DStatePtr, BITv07_DStream_t* bitD) argument
[all...]
H A Dzstd_v05.c970 static void FSEv05_initDState(FSEv05_DState_t* DStatePtr, BITv05_DStream_t* bitD, const FSEv05_DTable* dt);
972 static unsigned char FSEv05_decodeSymbol(FSEv05_DState_t* DStatePtr, BITv05_DStream_t* bitD);
974 static unsigned FSEv05_endOfDState(const FSEv05_DState_t* DStatePtr);
981 static unsigned char FSEv05_decodeSymbolFast(FSEv05_DState_t* DStatePtr, BITv05_DStream_t* bitD);
1002 MEM_STATIC void FSEv05_initDState(FSEv05_DState_t* DStatePtr, BITv05_DStream_t* bitD, const FSEv05_DTable* dt) argument
1006 DStatePtr->state = BITv05_readBits(bitD, DTableH->tableLog);
1008 DStatePtr->table = dt + 1;
1011 MEM_STATIC BYTE FSEv05_peakSymbol(FSEv05_DState_t* DStatePtr) argument
1013 const FSEv05_decode_t DInfo = ((const FSEv05_decode_t*)(DStatePtr->table))[DStatePtr
1017 FSEv05_decodeSymbol(FSEv05_DState_t* DStatePtr, BITv05_DStream_t* bitD) argument
1028 FSEv05_decodeSymbolFast(FSEv05_DState_t* DStatePtr, BITv05_DStream_t* bitD) argument
1039 FSEv05_endOfDState(const FSEv05_DState_t* DStatePtr) argument
[all...]
H A Dzstd_v04.c855 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
857 static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
859 static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr);
865 static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
886 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) argument
890 DStatePtr->state = BIT_readBits(bitD, DTableH.tableLog);
892 DStatePtr->table = dt + 1;
895 MEM_STATIC BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) argument
897 const FSE_decode_t DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr
906 FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) argument
917 FSE_endOfDState(const FSE_DState_t* DStatePtr) argument
[all...]
H A Dzstd_v02.c679 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
681 static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
683 static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr);
689 static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
711 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) argument
715 DStatePtr->state = BIT_readBits(bitD, DTableH.tableLog);
717 DStatePtr->table = dt + 1;
720 MEM_STATIC BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) argument
722 const FSE_decode_t DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr
731 FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) argument
742 FSE_endOfDState(const FSE_DState_t* DStatePtr) argument
[all...]
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c792 ZSTD_initFseState(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, const ZSTD_seqSymbol* dt) argument
796 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog);
798 (U32)DStatePtr->state, DTableH->tableLog);
800 DStatePtr->table = dt + 1;
804 ZSTD_updateFseState(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD) argument
806 ZSTD_seqSymbol const DInfo = DStatePtr->table[DStatePtr->state];
809 DStatePtr->state = DInfo.nextState + lowBits;
813 ZSTD_updateFseStateWithDInfo(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, ZSTD_seqSymbol const DInfo) argument
817 DStatePtr
[all...]
/freebsd-current/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c1138 ZSTD_initFseState(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, const ZSTD_seqSymbol* dt) argument
1142 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog);
1144 (U32)DStatePtr->state, DTableH->tableLog);
1146 DStatePtr->table = dt + 1;
1150 ZSTD_updateFseStateWithDInfo(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, U16 nextState, U32 nbBits) argument
1153 DStatePtr->state = nextState + lowBits;

Completed in 231 milliseconds