|
15 | 15 | You should have received a copy of the GNU General Public License
|
16 | 16 | along with this program. If not, see <https://www.gnu.org/licenses/>.//
|
17 | 17 | */
|
18 |
| -// Notes for version 1.1: |
19 |
| -/* 1. Tiny data compression integrates several compression modes: fixed |
20 |
| - bit, text mode, single value, string mode, and 7-bit encoding and |
21 |
| - decoding. td64 returns the number of compressed bytes or 0 if |
22 |
| - compression failed or a negative value if an error occurred. Values |
23 |
| - are returned only if compression succeeds. Decoding of the td64 values |
24 |
| - requires the caller to supply the number of original bytes. |
25 |
| -*/ |
| 18 | +// Notes for version 1.1.0: |
| 19 | +/* |
| 20 | + 1. Main program reads a file into memory that is compressed by |
| 21 | + calling td512 repeatedly. When complete, the compressed data is |
| 22 | + written to a file and read for decompression by calling td512d. |
| 23 | + td512 filename [loopCount]] |
| 24 | + filename is required argument 1. |
| 25 | + loopCount is optional argument 2 (default: 1). Looping is performed over the entire input file. |
| 26 | + */ |
| 27 | +// Notes for version 1.1.1: |
| 28 | +/* |
| 29 | + 1. Updated some descriptive comments. |
| 30 | + */ |
| 31 | +// Notes for version 1.1.2: |
| 32 | +/* |
| 33 | + 1. Moved 7-bit mode defines to td64.h because they are used |
| 34 | + outside of the 7-bit mode. |
| 35 | + 2. When fewer than minimum values to use 7-bit mode of 16, don't |
| 36 | + accumulate high bit when reasonable. Main loop keeps this in because |
| 37 | + time required is minimal. |
| 38 | + 3. When fewer than 24 input values, but greater than or equal to minimum |
| 39 | + values of 16 to use 7-bit mode, use 6% as minimum compression for |
| 40 | + compression modes used prior to 7-bit mode. |
| 41 | + */ |
| 42 | + |
26 | 43 | #ifndef td64_h
|
27 | 44 | #define td64_h
|
28 | 45 |
|
|
0 commit comments