CPC H04N 19/176 (2014.11) [H04N 19/105 (2014.11); H04N 19/139 (2014.11); H04N 19/463 (2014.11); H04N 19/513 (2014.11); H04N 19/52 (2014.11)] | 9 Claims |
1. A video decoding method comprising;
determining whether intra block copy (IBC) prediction is used or not based on a 1-bit flag signaled by a sequence parameter set;
deriving, in case IBC prediction is determined to be used, a vector predictor of a block vector indicating a reference block for a current block to be predicted in a current picture;
deriving the block vector based on the vector predictor;
generating a prediction block for the current block based on the block vector; and
constructing the current block based on the prediction block,
wherein both the current block and the reference block are included in the current picture,
wherein the deriving the vector predictor comprises
generating a candidate list including a plurality of vector predictor candidates based on block vectors of blocks decoded by IBC prediction before the current block;
determining whether a number of vector predictor candidates included in the candidate list is less than a predetermined number;
adding a zero vector candidate into the candidate list in case the number of vector predictor candidates included in the candidate list is less than the predetermined number; and
deriving the vector predictor based on a predictor index indicating one of the vector predictor candidates included in the candidate list,
wherein the predictor index is obtained by
determining whether or not the predetermined number is greater than 1;
decoding, in case the predetermined number is greater than 1, information on the predictor index included in a bitstream; and
assigning, in case the predetermined number is 1, a predetermined value as the predictor index without decoding the information on the predictor index, and
wherein a block vector is not included in the candidate list in case the candidate list includes a vector predictor candidate as same as the block vector.
|