Intra prediction encoding and decoding method and apparatus for a multi-direction

The present invention discloses an intra prediction encoding and decoding method and apparatus, the method comprising the steps of: encoding end, an intra prediction unit for input of an intra prediction direction setting, select to perform the intra-direction required for prediction reference pixel; using the reference pixel to the prediction unit, prediction according to the prediction direction is set to obtain a predicted pixel value prediction unit, the prediction pixel values ​​of reference pixels is filtered by the selected get; through all the prediction direction, the prediction direction of the optimal entropy coding. Decoding end, parsing the intra prediction mode, the encoding side using the same intra prediction method to obtain an intra predicted value.