摘要 |
<p>Methods and apparatuses for performing arithmetic encoding and/or decoding are disclosed. In one embodiment, a method for encoding data comprises coding a plurality of events in an event sequence to produce encoded data, and generating a bitstream using the encoded data, including adding zero or more stuffing bits to the bitstream after the encoded data, wherein the zero or more stuffing bits operate to substantially maintain a relationship between an amount of events encoded, a number of blocks being coded, and a number of bits in the bitstream.</p> |