| CPC H04N 19/122 (2014.11) [H04N 19/119 (2014.11); H04N 19/61 (2014.11); H04N 19/70 (2014.11)] | 9 Claims |

|
1. A method of decoding a video, the method comprising:
generating a merge candidate list for a current block, the merge candidate list being generated by adding at least one of a spatial merge candidate and a temporal merge candidate thereto;
in response to a determination that a number of merge candidates included in the merge candidate list is less than a threshold value, updating the merge candidate list by adding a motion information candidate included in a motion information table to the merge candidate list as a new merge candidate; and
obtaining motion information of the current block based on the updated merge candidate list,
wherein adding the motion information candidate in the motion information table to the merge candidate list comprises:
determining whether the motion information candidate is available as the new merge candidate or not,
wherein when the motion information candidate is one of a pre-defined number of motion information candidates with the highest index, whether the motion information candidate is available or not is determined based on a redundancy check with merge candidates included in the merge candidate list,
wherein when the motion information candidate is not one of the pre-defined number of motion information candidates with the highest index, it is determined that the motion information candidate is available as the new merge candidate regardless of the redundancy check with the merge candidates included in the merge candidate list,
wherein the redundancy check is performed only with the merge candidates derived from blocks at pre-defined positions, and
wherein the blocks at the pre-defined positions comprise a top neighboring block and a left neighboring block adjacent to the current block.
|