Patent ID: 8639047

Claim:
A method of intrapredicting an image processing unit of a current picture, the image processing unit including a plurality of sub blocks, the method comprising: generating a first prediction value of the image processing unit by intrapredicting each of the plurality of sub blocks using pixels neighboring each of the plurality of sub blocks; and generating a second prediction value of the image processing unit by intrapredicting each of the plurality of sub blocks using the pixels neighboring each of the plurality of sub blocks, used in generating the first prediction value, wherein the generating of the first prediction value comprises: searching a previously encoded area of the current picture by using at least one of a group of pixels that are included in the previously encoded area, neighboring the each of the plurality of sub blocks and included in previously encoded image processing units included in the current picture, and a group of pixels that are included in previously predicted sub blocks of the image processing unit; and generating the first prediction value by intrapredicting the plurality of sub blocks according to a result of the searching.