Patent attributes
Aspects of the disclosure provide methods and apparatuses for video encoding. In some examples, an apparatus includes processing circuitry that identifies a reference sub-block in a previously reconstructed block of a picture. The processing circuitry determines whether reconstructed samples of the reference sub-block are included in an intra block copy search range according to a position of a current sub-block in a current block of the picture. The processing circuitry determines whether the reference sub-block is valid based on the reconstructed samples of the reference sub-block being determined as included in the intra block copy search range according to the position of the current sub-block. The processing circuitry further encodes the current sub-block based on the reconstructed samples of the reference sub-block in response to the reference sub-block being determined as valid.