| CPC H04N 19/593 (2014.11) [H04N 19/11 (2014.11); H04N 19/132 (2014.11); H04N 19/172 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/423 (2014.11)] | 18 Claims |

|
1. A method for processing video data, the method comprising:
determining a first search area in a video frame, the video frame comprising at least one block, the at least one block comprising a current block, wherein the first search area is a first candidate area for locating an Intra-Block Copy (IntraBC) prediction block, wherein the first search area has no overlap with the current block and comprises a list of blocks, the IntraBC prediction block being a candidate block for performing IntraBC prediction on at least a portion of the current block, and the IntraBC prediction block overlapping with the first search area in a first overlap area of the IntraBC prediction block;
determining a second search area, wherein the second search area is a second candidate area for locating the IntraBC prediction block, the second search area comprising at least one of: (i) a sub-block of the current block, and (ii) an adjacent block of the current block, and the IntraBC prediction block overlapping with the second search area in a second overlap area of the IntraBC prediction block;
selecting a target overlap area from the first overlap area and the second overlap area, based on a size of the first overlap area and a size of the second overlap area;
replacing samples in the target overlap area with boundary samples adjacent to the target overlap area in the IntraBC prediction block, to obtain an updated IntraBC prediction block; and
encoding the at least the portion of the current block based on the updated IntraBC prediction block;
encoding a block vector used for identifying the IntraBC prediction block; and
generating a coded video bitstream based on the at least the portion of the current block and the block vector.
|