Patent ID: 8837846

Claim:
A method for decoding a bitstream into four luma binary data and one chroma binary data for an image block, each of the four luma binary data indicating a luma intra prediction mode used to predict luma samples in each of four subblocks constituting the image block and including a luma context-dependent segment and a luma context-independent segment, the one chroma binary data indicating a chroma intra prediction mode used to predict chroma samples in the image block and including a chroma context-dependent segment and a chroma context-independent segment, the method comprising: obtaining first coded data including four coded luma context-dependent segments, second coded data including four coded luma context-independent segments and third coded data including a coded chroma context-dependent segment and a coded chroma context-independent segment in the bitstream; reconstructing four of the luma context-dependent segments from the first coded data, separately, four of the luma context-independent segments from the second coded data and, separately, the chroma context-dependent segment and the chroma context-independent segment from the third data; performing context adaptive binary arithmetic decoding on the reconstructed four luma context-dependent segments using a variable probability to generate four decoded luma context-dependent segments and, separately, performing context adaptive binary arithmetic decoding on the reconstructed chroma context-dependent segment to generate a decoded chroma context-dependent segment; performing bypass decoding on the reconstructed four luma context-independent segments using a fixed probability to generate four decoded luma context-independent segments and, separately, performing bypass decoding on the reconstructed chroma context-independent segment to generate a decoded chroma context-independent segment; deriving the luma intra prediction mode which includes one of the four decoded luma context-dependent segments and a corresponding one of the four decoded luma context-independent segments; and deriving the chroma intra prediction mode which includes the decoded chroma context-dependent segment and the decoded chroma context-independent segment, wherein the bitstream includes, in a following order, the first coded data, the second coded data, and the third coded data.