The ZPCoder is a fast binary adaptive quasi-arithmetic coder used in serveral parts of the DjVu implementation. For more information, please refer to the following links.