5 * \author Copyright (C) 1999-2006 Igor Pavlov
6 * \author Copyright (C) 2007 Lasse Collin
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
19 #ifndef LZMA_H_INTERNAL
20 # error Never include this file directly. Use <lzma.h> instead.
27 * Filter ID of the Delta filter. This is used as lzma_options_filter.id.
29 #define LZMA_FILTER_DELTA LZMA_VLI_C(0x20)
33 * \brief Options for the Delta filter
35 * These options are needed by both encoder and decoder.
39 * \brief Delta distance as bytes
42 * - 16-bit stereo audio: distance = 4 bytes
43 * - 24-bit RGB image data: distance = 3 bytes
46 # define LZMA_DELTA_DISTANCE_MIN 1
47 # define LZMA_DELTA_DISTANCE_MAX 256