主权项 |
1. A video encoding apparatus, comprising:
a left extrapolation pixel generating unit configured to
select a pixel of a top left block of a coding unit to be encoded, the selection being based on a direction corresponding to an intra-prediction mode of the coding unit, the top left block being located at an upper left position from the coding unit, andgenerate one or more left extrapolation pixels to be used for an intra prediction of a target pixel within the coding unit, the target pixel being a pixel to be encoded, the generation being performed by using the pixel of the to left block; an intra-prediction encoding unit configured to predict, according to the intra-prediction mode, the coding unit by using neighboring pixels including the left extrapolation pixels to generate a first prediction block to thereby encode the coding unit, the neighboring pixels being adjacent to the coding unit; and a prediction information encoding unit configured to encode prediction information including the intra-prediction mode, wherein the left extrapolation pixels are located in a column nearest from leftmost pixels of the coding unit and located between the pixel of the top left block and the target pixel, wherein the pixel of the top left block is located vertically different from the left extrapolation pixels, wherein the left extrapolation pixels are located in an extension line which connects, in the direction, the pixel of the top left block and the target pixel. |