An apparatus of decoding a video image, the apparatus comprising: an encoding information extractor which determines coding units of a hierarchical structure by using information about whether to divide a coding unit parsed from a received bitstream; and an image data decoder which: determines a prediction unit of a current coding unit by splitting the current coding unit into at least one prediction unit; obtains a first predicted value of pixels of a current prediction unit by using an average of neighboring pixels of the current prediction unit, and obtains a second predicted value of pixels located on a top border and a left border of the current prediction unit by using a weighted average of the obtained first predicted value and at least one neighbouring pixel, wherein: the video image is split into a plurality of maximum coding units from a plurality of maximum coding units according to information about a maximum size of a coding unit, the maximum coding unit is hierarchically split into one or more coding units of depths according to the split information, a coding unit of a current depth k is a rectangular data unit split from a coding unit of an upper depth k-1; and the coding unit of the current depth k is split into coding units of a lower depth k+1, independently from neighboring coding units. an encoding information extractor which determines coding units of a hierarchical structure by using information about whether to divide a coding unit parsed from a received bitstream; and an image data decoder which: determines a prediction unit of a current coding unit by splitting the current coding unit into at least one prediction unit; obtains a first predicted value of pixels of a current prediction unit by using an average of neighboring pixels of the current prediction unit, and obtains a second predicted value of pixels located on a top border and a left border of the current prediction unit by using a weighted average of the obtained first predicted value and at least one neighbouring pixel, wherein: the video image is split into a plurality of maximum coding units from a plurality of maximum coding units according to information about a maximum size of a coding unit, the maximum coding unit is hierarchically split into one or more coding units of depths according to the split information, a coding unit of a current depth k is a rectangular data unit split from a coding unit of an upper depth k-1; and the coding unit of the current depth k is split into coding units of a lower depth k+1, independently from neighboring coding units. determines a prediction unit of a current coding unit by splitting the current coding unit into at least one prediction unit; obtains a first predicted value of pixels of a current prediction unit by using an average of neighboring pixels of the current prediction unit, and obtains a second predicted value of pixels located on a top border and a left border of the current prediction unit by using a weighted average of the obtained first predicted value and at least one neighbouring pixel, wherein: the video image is split into a plurality of maximum coding units from a plurality of maximum coding units according to information about a maximum size of a coding unit, the maximum coding unit is hierarchically split into one or more coding units of depths according to the split information, a coding unit of a current depth k is a rectangular data unit split from a coding unit of an upper depth k-1; and the coding unit of the current depth k is split into coding units of a lower depth k+1, independently from neighboring coding units. the video image is split into a plurality of maximum coding units from a plurality of maximum coding units according to information about a maximum size of a coding unit, the maximum coding unit is hierarchically split into one or more coding units of depths according to the split information, a coding unit of a current depth k is a rectangular data unit split from a coding unit of an upper depth k-1; and the coding unit of the current depth k is split into coding units of a lower depth k+1, independently from neighboring coding units.