CPC H04N 19/132 (2014.11) [H04N 19/176 (2014.11); H04N 19/423 (2014.11); H04N 19/96 (2014.11)] | 20 Claims |
1. A method of visual media processing, comprising:
determining, for a conversion of a current video block of a video and a bitstream of the video, that a first coding mode is applied on the current video block;
deriving a first block vector (BVx, BVy) for the current video block;
generating prediction samples for the current video block based on the first block vector and a sample buffer, wherein the sample buffer stores reconstructed samples of previous video blocks for which a filtering operation has not been applied, and wherein in the first coding mode, the prediction samples are derived from a same picture including the current video block; and
performing the conversion based on the prediction samples,
wherein for generating a prediction sample of a first sample (x0, y0) in the current video block, a location converting operation is applied on (x0+BVx, y0+BVy) to derive a position in the sample buffer for the prediction sample of the first sample, and
wherein the location converting operation is a modulus operation, wherein the position of the prediction sample of the first sample is represented by ((x0+BVx) mod M, (y0+BVy) mod N), wherein mod is a modulus function, and wherein M and N are related to a size of a coding tree block comprising the current video block.
|