| CPC H04N 19/593 (2014.11) [H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/132 (2014.11); H04N 19/139 (2014.11); H04N 19/159 (2014.11); H04N 19/172 (2014.11); H04N 19/176 (2014.11); H04N 19/423 (2014.11); H04N 19/52 (2014.11); H04N 19/70 (2014.11); H04N 19/88 (2014.11)] | 20 Claims |

|
1. A method for video decoding in a video decoder, comprising:
receiving a coded video bitstream comprising a first block in a current picture;
obtaining prediction information indicating whether the first block is coded in an intra template matching prediction (IntraTMP) mode;
when the IntraTMP mode is applied to the first block,
determining a reference template based on multiple template candidates within a reconstructed search area in the current picture, a position displacement between one of the multiple template candidates and the current template being indicated by a vector that is (i) a block vector (BV) of a third block coded with an Intra Block Copy (IntraBC) or (ii) an IntraTMP-based block vector BVIntraTMP of the third block coded with the IntraTMP mode;
reconstructing the first block based on a prediction block within the reconstructed search area in the current picture, the reference template of the prediction block being matched to the current template of the first block in the IntraTMP mode;
storing an IntraTMP-based block vector BVIntraTMP of the first block, the IntraTMP-based block vector BVIntraTMP indicating a position displacement between the current template of the first block and the reference template of the prediction block; and
reconstructing a second block based on the stored IntraTMP-based block vector BVIntraTMP, wherein the second block is coded in either the IntraBC mode or the IntraTMP mode.
|