Patent attributes
Methods and systems for selecting contexts during decoding of arithmetic code are disclosed. Aspects of the method may comprise assigning a plurality of default context identifiers to a plurality of current syntax elements within a current macroblock. A plurality of adjacent context identifiers may be acquired, where the adjacent context identifiers may be associated with a plurality of syntax elements within at least one macroblock adjacent to the current macroblock. At least one of the plurality of adjacent context identifiers may be selected utilizing at least one of the default context identifiers. Each of the default context identifiers may comprises a binary value. A top-adjacent context identifier associated with a syntax element within a top-adjacent macroblock to the current macroblock may be acquired. A left-adjacent context identifier associated with a syntax element within a left-adjacent macroblock to the current macroblock may be acquired.