CPC H04N 19/105 (2014.11) [H04N 19/14 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 4 Claims |
1. An encoder comprising:
circuitry; and
memory coupled to the circuitry,
wherein the circuitry, in operation:
in generation of a prediction image of a current block, uses an intra block copy (IBC) mode in which a processed region of a picture that includes the current block is referred to;
determines whether a size of the current block is less than or equal to a threshold, the current block being a unit for which a vector candidate list including vector candidates is generated;
when the size of the current block is less than or equal to the threshold, generates the vector candidate list by registering a history-based motion vector predictor (HMVP) vector candidate in the vector candidate list from an HMVP table without performing a first pruning process, the HMVP table storing, by a first-in first-out (FIFO) method, first vector candidates each as the HMVP vector candidate, the first vector candidates each having information regarding a first vector used for a processed block;
when the size of the current block is greater than the threshold, generates the vector candidate list by performing the first pruning process and registering the HMVP vector candidate in the vector candidate list from the HMVP table; and
encodes the current block using the vector candidate list, and
wherein the first pruning process is a process of comparing the HMVP vector candidate stored in the HMVP table and a vector candidate registered in the vector candidate list, and determining whether the HMVP vector candidate and the vector candidate are the same.
|