-//#define ENABLE_LZMS_DEBUG
-#ifdef ENABLE_LZMS_DEBUG
-# define LZMS_DEBUG DEBUG
-# define LZMS_ASSERT wimlib_assert
-# include "wimlib/assert.h"
-# include "wimlib/error.h"
-#else
-# define LZMS_DEBUG(format, ...)
-# define LZMS_ASSERT(...)
-#endif
-
-extern void
-lzms_x86_filter(u8 data[], s32 size, s32 last_target_usages[], bool undo);
-
-/* Probability entry for use by the range coder when in a specific state. */
-struct lzms_probability_entry {
-
- /* Number of zeroes in the most recent LZMS_PROBABILITY_MAX bits that
- * have been coded using this probability entry. This is a cached value
- * because it can be computed as LZMS_PROBABILITY_MAX minus the number
- * of bits set in the low-order LZMS_PROBABILITY_MAX bits of
- * @recent_bits. */
- u32 num_recent_zero_bits;
-
- /* The most recent LZMS_PROBABILITY_MAX bits that have been coded using
- * this probability entry. The size of this variable, in bits, must be
- * at least LZMS_PROBABILITY_MAX. */
- u64 recent_bits;
-};
-