1. An intra-prediction method, used to predict pixel values of a plurality of pixels in a current block according to pixel values of an upper neighboring block and a left neighboring block, comprising: acquiring, according to a predefined prediction direction, a mapped pixel in a left neighboring block for a reference pixel in an upper neighboring block, wherein the mapped pixel has a mapped pixel value and the reference pixel has a reference pixel value; calculating an average pixel value of the reference pixel value and the mapped pixel value; and predicting, according to the prediction direction, pixel values of the plurality of pixels in the current block using the average pixel value, wherein the plurality of pixels in the current block are those pixels that are intersected by a line between the reference pixel and the mapped pixel.