Patent ID: 7365659

Claim:
Method of context adaptive binary arithmetic coding of a sequence of data slices, said data slices comprising a plurality of binarized symbols including context index values comprising one or more bins of the binarized symbol, said method comprising the steps of: a) Resetting an addressable status register for each new data slice, which is to be coded, said status register comprising a status flag for each of a plurality of available context variable values indicating whether a related context variable value is already initialized by storing the context variable value related to the variable index value in a context table or not, so that at the beginning of the process of coding a new data slice a related context model is indicated as fully not initialized; b) Checking the status of a context index value in the status register, and in case that the context variable value addressed by the context index value is indicated as not to be initialized: ba) initializing of a context model for the context index value, and otherwise bb) reading the initialized context variable value for the context index value out of the context table; c) Selecting a context model for each of the plurality of context index values; d) Arithmetic coding of each context index value according to the selected context model; and e) Updating the selected context model for an actual context index value based on the previous context index value.