Patent ID: 8306117

Claim:
A method for modeling coding information, comprising: receiving a video signal including a bitstream of an enhanced layer and a bitstream of a base layer; extracting coding information of a neighbor block from the bitstream of the enhanced layer, the coding information of the neighbor block indicating whether the neighbor block uses prediction information of the base layer, the neighbor block including at least one of an upper side block of an image block in the enhanced layer and a left side block of the image block; deriving flag information based on the coding information of the neighbor block, the flag information indicating a value determined based on the availability of the neighbor block and the coding information of the neighbor block; deriving a first index variable using the flag information of the neighbor block, the first index variable being derived by adding the flag information of the upper side block to the flag information of the left side block; deriving a second index variable using a context index offset for coding information of the image block and the first index variable, the coding information of the image block indicating whether the image block uses the prediction information of the base layer; determining an initial value of a function for probability coding based on the second index variable; and modeling the coding information of the image block using the initial value.