主权项 |
1. A method of processing a video signal, comprising:
obtaining residual information of a current block from the video signal, the current block being coded in an intra prediction mode, the intra prediction mode corresponding to predicting a current sample of the current block within a current picture comprising the current block; obtaining an intra prediction reference sample from interpolation of at least one boundary sample of a neighbor block and at least one boundary sample of the current block, the neighbor block being adjacent to the at least one boundary sample of the current block within the current picture and including at least one of a left block, an upper block, an upper right block, or an upper left block; and reconstructing the current sample of the current block using the intra prediction reference sample and the residual information of the current block, wherein the intra prediction reference sample is located in a sub-pixel position between the at least one boundary sample of the current block and the at least one boundary sample of the neighbor block within the current picture, wherein based on a relative position of an upper left corner sample of the current block being (0, 0), a relative position of the intra prediction reference sample is (m/c, n/c), and wherein at least one of the m or the n is −1 and the c is a constant. |