VirtualBox

source: vbox/trunk/src/libs/liblzma-5.4.1/delta/delta_private.h@ 108351

最後變更 在這個檔案從108351是 98730,由 vboxsync 提交於 2 年 前

libs/liblzma-5.4.1: Export to OSE, bugref:10254

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 889 位元組
 
1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file delta_private.h
4/// \brief Private common stuff for Delta encoder and decoder
5//
6// Author: Lasse Collin
7//
8// This file has been put into the public domain.
9// You can do whatever you want with this file.
10//
11///////////////////////////////////////////////////////////////////////////////
12
13#ifndef LZMA_DELTA_PRIVATE_H
14#define LZMA_DELTA_PRIVATE_H
15
16#include "delta_common.h"
17
18typedef struct {
19 /// Next coder in the chain
20 lzma_next_coder next;
21
22 /// Delta distance
23 size_t distance;
24
25 /// Position in history[]
26 uint8_t pos;
27
28 /// Buffer to hold history of the original data
29 uint8_t history[LZMA_DELTA_DIST_MAX];
30} lzma_delta_coder;
31
32
33extern lzma_ret lzma_delta_coder_init(
34 lzma_next_coder *next, const lzma_allocator *allocator,
35 const lzma_filter_info *filters);
36
37#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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