diff options
author | Julian Seward <jseward@acm.org> | 2000-06-24 22:13:13 +0200 |
---|---|---|
committer | Julian Seward <jseward@acm.org> | 2000-06-24 22:13:13 +0200 |
commit | 795b859eee96c700e8f3c3fe68e6a9a39d95797c (patch) | |
tree | 48f8a731cd5ec2f5f15c6d99f2207ebf4a1f35f6 /huffman.c | |
parent | f93cd82a9a7094ad90fd19bbc6ccf6f4627f8060 (diff) | |
download | bzip2-795b859eee96c700e8f3c3fe68e6a9a39d95797c.tar.gz bzip2-795b859eee96c700e8f3c3fe68e6a9a39d95797c.tar.bz2 bzip2-795b859eee96c700e8f3c3fe68e6a9a39d95797c.zip |
bzip2-1.0.1bzip2-1.0.1
Diffstat (limited to 'huffman.c')
-rw-r--r-- | huffman.c | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -8,7 +8,7 @@ | |||
8 | This file is a part of bzip2 and/or libbzip2, a program and | 8 | This file is a part of bzip2 and/or libbzip2, a program and |
9 | library for lossless, block-sorting data compression. | 9 | library for lossless, block-sorting data compression. |
10 | 10 | ||
11 | Copyright (C) 1996-1999 Julian R Seward. All rights reserved. | 11 | Copyright (C) 1996-2000 Julian R Seward. All rights reserved. |
12 | 12 | ||
13 | Redistribution and use in source and binary forms, with or without | 13 | Redistribution and use in source and binary forms, with or without |
14 | modification, are permitted provided that the following conditions | 14 | modification, are permitted provided that the following conditions |
@@ -43,7 +43,7 @@ | |||
43 | 43 | ||
44 | Julian Seward, Cambridge, UK. | 44 | Julian Seward, Cambridge, UK. |
45 | jseward@acm.org | 45 | jseward@acm.org |
46 | bzip2/libbzip2 version 0.9.5 of 24 May 1999 | 46 | bzip2/libbzip2 version 1.0 of 21 March 2000 |
47 | 47 | ||
48 | This program is based on (at least) the work of: | 48 | This program is based on (at least) the work of: |
49 | Mike Burrows | 49 | Mike Burrows |
@@ -100,10 +100,10 @@ | |||
100 | 100 | ||
101 | 101 | ||
102 | /*---------------------------------------------------*/ | 102 | /*---------------------------------------------------*/ |
103 | void hbMakeCodeLengths ( UChar *len, | 103 | void BZ2_hbMakeCodeLengths ( UChar *len, |
104 | Int32 *freq, | 104 | Int32 *freq, |
105 | Int32 alphaSize, | 105 | Int32 alphaSize, |
106 | Int32 maxLen ) | 106 | Int32 maxLen ) |
107 | { | 107 | { |
108 | /*-- | 108 | /*-- |
109 | Nodes and heap entries run from 1. Entry 0 | 109 | Nodes and heap entries run from 1. Entry 0 |
@@ -172,11 +172,11 @@ void hbMakeCodeLengths ( UChar *len, | |||
172 | 172 | ||
173 | 173 | ||
174 | /*---------------------------------------------------*/ | 174 | /*---------------------------------------------------*/ |
175 | void hbAssignCodes ( Int32 *code, | 175 | void BZ2_hbAssignCodes ( Int32 *code, |
176 | UChar *length, | 176 | UChar *length, |
177 | Int32 minLen, | 177 | Int32 minLen, |
178 | Int32 maxLen, | 178 | Int32 maxLen, |
179 | Int32 alphaSize ) | 179 | Int32 alphaSize ) |
180 | { | 180 | { |
181 | Int32 n, vec, i; | 181 | Int32 n, vec, i; |
182 | 182 | ||
@@ -190,13 +190,13 @@ void hbAssignCodes ( Int32 *code, | |||
190 | 190 | ||
191 | 191 | ||
192 | /*---------------------------------------------------*/ | 192 | /*---------------------------------------------------*/ |
193 | void hbCreateDecodeTables ( Int32 *limit, | 193 | void BZ2_hbCreateDecodeTables ( Int32 *limit, |
194 | Int32 *base, | 194 | Int32 *base, |
195 | Int32 *perm, | 195 | Int32 *perm, |
196 | UChar *length, | 196 | UChar *length, |
197 | Int32 minLen, | 197 | Int32 minLen, |
198 | Int32 maxLen, | 198 | Int32 maxLen, |
199 | Int32 alphaSize ) | 199 | Int32 alphaSize ) |
200 | { | 200 | { |
201 | Int32 pp, i, j, vec; | 201 | Int32 pp, i, j, vec; |
202 | 202 | ||