1. An intra-prediction method, used to predict a current block according to pixel values of an upper neighboring block and a left neighboring block, comprising: acquiring, according to a prediction direction, mapped pixels in a left neighboring block for reference pixels in an upper neighboring block; calculating an average pixel value of pixel values of the reference pixels in the upper neighboring block and pixel values of their respective mapped pixels; and predicting, according to the prediction direction, a pixel value of a pixel in the current block by using the average pixel value.