A video decoding method performed by at least one processor includes obtaining prediction modes of a current block and a target block adjacent to the current block; obtaining a boundary-extended region of the target block when one of the current block and the target block uses an intra prediction mode and the other one of the current block and the target block uses an inter prediction mode, the boundary-extended region comprising at least one of a set of M rows or N columns of pixels extended from boundaries of the target block and the current block to the current block, M and N being positive integers; adjusting a pixel value close to a boundary in the current block based on a pixel value in an extended pixel region, to obtain an adjusted pixel value; and generating decoded data corresponding to the current block based on the adjusted pixel value.
Full Text
What is claimed is: