VirtualBox

source: vbox/trunk/src/libs/liblzma-5.6.4/delta/delta_private.h@ 108905

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
17typedef 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
32extern 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.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette