Last change
on this file since 108905 was 108905, checked in by vboxsync, 4 weeks ago |
liblzma-5.6.4: Applied and adjusted our liblzma changes to 5.6.4. jiraref:VBP-1613
|
-
Property svn:eol-style
set to
LF
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
820 bytes
|
Line | |
---|
1 | // SPDX-License-Identifier: 0BSD
|
---|
2 |
|
---|
3 | ///////////////////////////////////////////////////////////////////////////////
|
---|
4 | //
|
---|
5 | /// \file delta_private.h
|
---|
6 | /// \brief Private common stuff for Delta encoder and decoder
|
---|
7 | //
|
---|
8 | // Author: Lasse Collin
|
---|
9 | //
|
---|
10 | ///////////////////////////////////////////////////////////////////////////////
|
---|
11 |
|
---|
12 | #ifndef LZMA_DELTA_PRIVATE_H
|
---|
13 | #define LZMA_DELTA_PRIVATE_H
|
---|
14 |
|
---|
15 | #include "delta_common.h"
|
---|
16 |
|
---|
17 | typedef struct {
|
---|
18 | /// Next coder in the chain
|
---|
19 | lzma_next_coder next;
|
---|
20 |
|
---|
21 | /// Delta distance
|
---|
22 | size_t distance;
|
---|
23 |
|
---|
24 | /// Position in history[]
|
---|
25 | uint8_t pos;
|
---|
26 |
|
---|
27 | /// Buffer to hold history of the original data
|
---|
28 | uint8_t history[LZMA_DELTA_DIST_MAX];
|
---|
29 | } lzma_delta_coder;
|
---|
30 |
|
---|
31 |
|
---|
32 | extern lzma_ret lzma_delta_coder_init(
|
---|
33 | lzma_next_coder *next, const lzma_allocator *allocator,
|
---|
34 | const lzma_filter_info *filters);
|
---|
35 |
|
---|
36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.