This application relates to the field of video encoding and decoding technologies, and provides a video decoding method, a video encoding method, a decoder, an encoder, an electronic device, and a computer-readable storage medium. The decoding method includes: parsing a code stream to determine a target block, in accordance with a determination that a prediction mode of the target block is intra block copy (IBC) prediction; determining target prediction information of the target block based on reconstruction information of an adjacent region of the target block and original prediction information of the target block; and determining reconstruction information of the target block based on the target prediction information. According to the solution of this application, reconstruction information of a surrounding region of the target block is added to the target prediction information, which facilitates smooth transition between the target block and the surrounding region thereof.
Full Text
What is claimed is: