Re: Help understanding Arith coding
- From: avtomatkalashnikov@xxxxxxx
- Date: 18 Nov 2005 00:03:03 -0800
hi!
some remarks about the implementation you used, concerning the entropy
limit:
1. it uses a static model, this means, first it counts the bytes,
builds its model and then compresses the bytes, so the model has to be
saved to the compressed file.
2. since you "only" use finite precision integer math the output
becomes inaccurate (and size increases) due to rounding errors.
3. 16 bit integers are used for the arithmetic registers, this means
the frequency counts have to fit in a 14 bit integer. if you got a
stream larger than 2^14 bytes, the model dosn`t exactly represent the
symbol distribution, it is only a rough approximation.
greets
.
- Follow-Ups:
- Re: Help understanding Arith coding
- From: Learning_boy
- Re: Help understanding Arith coding
- References:
- Help understanding Arith coding
- From: Learning_boy
- Help understanding Arith coding
- Prev by Date: Re: How many compression/decompression variants are there?
- Next by Date: Re: Help understanding Arith coding
- Previous by thread: Help understanding Arith coding
- Next by thread: Re: Help understanding Arith coding
- Index(es):