9 * This file has been put into the public domain.
10 * You can do whatever you want with this file.
12 * See ../lzma.h for information about liblzma as a whole.
15 #ifndef LZMA_H_INTERNAL
16 # error Never include this file directly. Use <lzma.h> instead.
23 * Filter ID of the Delta filter. This is used as lzma_filter.id.
25 #define LZMA_FILTER_DELTA LZMA_VLI_C(0x03)
29 * \brief Type of the delta calculation
31 * Currently only byte-wise delta is supported. Other possible types could
32 * be, for example, delta of 16/32/64-bit little/big endian integers, but
33 * these are not currently planned since byte-wise delta is almost as good.
41 * \brief Options for the Delta filter
43 * These options are needed by both encoder and decoder.
46 /** For now, this must always be LZMA_DELTA_TYPE_BYTE. */
50 * \brief Delta distance
52 * With the only currently supported type, LZMA_DELTA_TYPE_BYTE,
53 * the distance is as bytes.
56 * - 16-bit stereo audio: distance = 4 bytes
57 * - 24-bit RGB image data: distance = 3 bytes
60 # define LZMA_DELTA_DIST_MIN 1
61 # define LZMA_DELTA_DIST_MAX 256
64 * Reserved space to allow possible future extensions without
65 * breaking the ABI. You should not touch these, because the names
66 * of these variables may change. These are and will never be used
67 * when type is LZMA_DELTA_TYPE_BYTE, so it is safe to leave these
70 uint32_t reserved_int1;
71 uint32_t reserved_int2;
72 uint32_t reserved_int3;
73 uint32_t reserved_int4;