摘要 |
A method and system of encoding and decoding possible outcomes of events of digital video content. The digital video content comprises a stream of pictures, slices, or macroblocks which can each be intra, predicted or bi-predicted pictures, slices, or macroblocks. The method comprises generating and decoding a stream of bits that represent the outcomes using entries in a lookup table that are periodically rearranged based on historical probabilities of the possible outcomes. The historical probabilities of the possible outcomes are computed by counting occurrences of each of the encoded and decoded outcomes in the stream of pictures, slices, or macroblocks. The periodic rearrangement of the entries in the lookup tables used by the encoder and the decoder is synchronized so that the stream of bits representing the encoded outcomes can be correctly decoded. |