4 * \note Never include this file directly. Use <lzma.h> instead.
10 * This file has been put into the public domain.
11 * You can do whatever you want with this file.
14 #ifndef LZMA_H_INTERNAL
15 # error Never include this file directly. Use <lzma.h> instead.
22 * Filter ID of the Delta filter. This is used as lzma_filter.id.
24 #define LZMA_FILTER_DELTA LZMA_VLI_C(0x03)
28 * \brief Type of the delta calculation
30 * Currently only byte-wise delta is supported. Other possible types could
31 * be, for example, delta of 16/32/64-bit little/big endian integers, but
32 * these are not currently planned since byte-wise delta is almost as good.
40 * \brief Options for the Delta filter
42 * These options are needed by both encoder and decoder.
45 /** For now, this must always be LZMA_DELTA_TYPE_BYTE. */
49 * \brief Delta distance
51 * With the only currently supported type, LZMA_DELTA_TYPE_BYTE,
52 * the distance is as bytes.
55 * - 16-bit stereo audio: distance = 4 bytes
56 * - 24-bit RGB image data: distance = 3 bytes
61 * \brief Minimum value for lzma_options_delta.dist.
63 # define LZMA_DELTA_DIST_MIN 1
66 * \brief Maximum value for lzma_options_delta.dist.
68 # define LZMA_DELTA_DIST_MAX 256
71 * Reserved space to allow possible future extensions without
72 * breaking the ABI. You should not touch these, because the names
73 * of these variables may change. These are and will never be used
74 * when type is LZMA_DELTA_TYPE_BYTE, so it is safe to leave these
78 /** \private Reserved member. */
79 uint32_t reserved_int1;
81 /** \private Reserved member. */
82 uint32_t reserved_int2;
84 /** \private Reserved member. */
85 uint32_t reserved_int3;
87 /** \private Reserved member. */
88 uint32_t reserved_int4;
90 /** \private Reserved member. */
93 /** \private Reserved member. */