You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# defineFSE_PUBLIC_API __declspec(dllimport) /* It isn't required but allows to generate better code, saving a function pointer load from the IAT and an indirect jump.*/
* Same as HUF_compress2(), but uses externally allocated `workSpace`, which must be a table of >= 1024 unsigned */
94
-
size_tHUF_compress4X_wksp (void*dst, size_tdstSize, constvoid*src, size_tsrcSize, unsignedmaxSymbolValue, unsignedtableLog, void*workSpace, size_twkspSize); /**< `workSpace` must be a table of at least 1024 unsigned */
94
+
size_tHUF_compress4X_wksp (void*dst, size_tdstSize, constvoid*src, size_tsrcSize, unsignedmaxSymbolValue, unsignedtableLog, void*workSpace, size_twkspSize); /**< `workSpace` must be a table of at least HUF_WORKSPACE_SIZE_U32 unsigned */
HUF_repeat_none, /**< Cannot use the previous table */
178
+
HUF_repeat_check, /**< Can use the previous table but it must be checked. Note : The previous table must have been constructed by HUF_compress{1, 4}X_repeat */
179
+
HUF_repeat_valid/**< Can use the previous table and it is asumed to be valid */
180
+
} HUF_repeat;
181
+
/** HUF_compress4X_repeat() :
182
+
* Same as HUF_compress4X_wksp(), but considers using hufTable if *repeat != HUF_repeat_none.
183
+
* If it uses hufTable it does not modify hufTable or repeat.
184
+
* If it doesn't, it sets *repeat = HUF_repeat_none, and it sets hufTable to the table used.
185
+
* If preferRepeat then the old table will always be used if valid. */
186
+
size_tHUF_compress4X_repeat(void*dst, size_tdstSize, constvoid*src, size_tsrcSize, unsignedmaxSymbolValue, unsignedtableLog, void*workSpace, size_twkspSize, HUF_CElt*hufTable, HUF_repeat*repeat, intpreferRepeat); /**< `workSpace` must be a table of at least HUF_WORKSPACE_SIZE_U32 unsigned */
171
187
172
188
/** HUF_buildCTable_wksp() :
173
189
* Same as HUF_buildCTable(), but using externally allocated scratch buffer.
size_tHUF_compress1X_wksp (void*dst, size_tdstSize, constvoid*src, size_tsrcSize, unsignedmaxSymbolValue, unsignedtableLog, void*workSpace, size_twkspSize); /**< `workSpace` must be a table of at least 1024 unsigned */
233
+
size_tHUF_compress1X_wksp (void*dst, size_tdstSize, constvoid*src, size_tsrcSize, unsignedmaxSymbolValue, unsignedtableLog, void*workSpace, size_twkspSize); /**< `workSpace` must be a table of at least HUF_WORKSPACE_SIZE_U32 unsigned */
* Same as HUF_compress1X_wksp(), but considers using hufTable if *repeat != HUF_repeat_none.
237
+
* If it uses hufTable it does not modify hufTable or repeat.
238
+
* If it doesn't, it sets *repeat = HUF_repeat_none, and it sets hufTable to the table used.
239
+
* If preferRepeat then the old table will always be used if valid. */
240
+
size_tHUF_compress1X_repeat(void*dst, size_tdstSize, constvoid*src, size_tsrcSize, unsignedmaxSymbolValue, unsignedtableLog, void*workSpace, size_twkspSize, HUF_CElt*hufTable, HUF_repeat*repeat, intpreferRepeat); /**< `workSpace` must be a table of at least HUF_WORKSPACE_SIZE_U32 unsigned */
0 commit comments