Patent ID: 8964840
Filing Date: 2015-02-24
Classification: H04N

Abstract:
1. An apparatus for decoding an image, the apparatus comprising: an entropy decoder which obtains first information that indicates an intra prediction mode of a luminance block and second information that indicates an intra prediction mode of a chrominance block corresponding to the luminance block, from a bitstream; and an intra prediction performer that performs intra prediction on the luminance block according to the intra prediction mode of the luminance block and performs intra prediction on the chrominance block according to the intra prediction mode of the chrominance block, wherein the intra prediction mode of the luminance block includes a particular direction among a plurality of directions and the particular direction is indicated by one of dx number in a horizontal direction and a fixed number in a vertical direction, and dy number in the vertical direction and a fixed number in the horizontal direction, and wherein the intra prediction performer determines a number of neighboring pixels to be obtained according to a position of a current pixel and the particular direction indicated by the intra prediction mode of the luminance block, the neighboring pixels being located on a left side of the luminance block or an upper side of the luminance block, and when the second information indicates that the intra prediction mode of the chrominance block is equal to the intra prediction mode of the luminance block, the intra prediction mode of the chrominance block is determined to be equal to the intra prediction mode of the luminance block.