摘要 |
The present application provides a prediction method for use in an image block encoding or decoding process. The method includes obtaining availability information of reference blocks of a current image block, and determining whether the reference blocks are available according to the availability information, where the reference blocks of the current image block include a left side block, an upper side block, and an upper left block of the current image block; if at least one of the reference blocks is available, and at least one is unavailable, filling a pixel value in the available reference block to the unavailable reference block as a reference pixel value of the current image block; and predicting the current image block according to the reference pixel value.
|