Patent ID: 8855435

Claim:
An image coding and decoding apparatus comprising an image coding unit configured to code a first image to generate a first coded stream, wherein said image coding unit includes: a first writing unit configured to write a first parameter into a first sequence parameter set in the first coded stream to be generated, the first parameter representing a first bit-depth that is a bit-depth of a reconstructed sample in the first image; and a second writing unit configured to write a second parameter different from the first parameter into the first sequence parameter set, the second parameter representing a second bit-depth that is a bit-depth of an Intra Pulse Code Modulation (IPCM) sample in the first image, when the IPCM sample is included in the first image, and wherein said image coding and decoding apparatus further comprises an image decoding unit configured to decode a second image in a second coded stream, wherein said image decoding unit includes: a first obtaining unit configured to obtain a third parameter from a second sequence parameter set in the second coded stream, the third parameter representing a third bit-depth that is a bit-depth of a reconstructed sample in the second image; and a second obtaining unit configured to obtain a fourth parameter different from the third parameter from the second sequence parameter set, the fourth parameter representing a fourth bit-depth that is a bit-depth of an IPCM sample in the second image, when the IPCM sample is included in the second image, and wherein the second bit depth is equal to or smaller than the first bit-depth, and the fourth bit-depth is equal to or smaller than the third bit-depth.