Patent attributes
Aspects of the disclosure provide method and apparatus for video coding. In the method, which of a combination of vertical padding and horizontal padding is performed is determined to determine padded values of a reference block in a neighboring left coding tree unit (CTU) included in a fixed search range of blocks in a current CTU. The padded values are determined based on a block vector that points to the reference block and a position of a current block in the CTU. At least a sample of the current block is reconstructed based on one of (i) the padded values of the reference block and (ii) reconstructed samples of the reference block based on availability of the reference block in the fixed search range. The left CTU is padded using a combination of the vertical and the horizontal padding.