Image encoding/decoding method and recording medium therefor
The present invention relates to a method for encoding/decoding a video. To this end, the method for decoding a video may include: generating a merge candidate list of a current block including at least one merge candidate corresponding to each of a plurality of reference picture lists; determining at least one piece of motion information by using the merge candidate list; and generating a prediction block of the current block by using the determined at least one piece of motion information.
1. A method for decoding a video, the method comprising:
generating a merge candidate list of a current block;
deriving first motion information fora first reference picture list and second motion information for a second reference picture list from the merge candidate list of the current block; and
refining the first motion information and the second motion information based on a distortion calculated based on sum of absolute differences (SAD).
2. The method of claim 1 , wherein a prediction direction of the first reference picture list is different from a prediction direction of the second reference picture list.
3. The method of claim 1 , wherein the refined first motion information and the refined second motion information are derived in sub-block units of the current block.
4. A method for encoding a video, the method comprising:
generating a merge candidate list of a current block;
deriving first motion information for a first reference picture list and second motion information for a second reference picture list from the merge candidate list of the current block; and
refining the first motion information and the second motion information based on a distortion calculated based on sum of absolute differences (SAD).
5. A non-transitory computer readable medium storing a bitstream generated by a method for encoding a video, wherein the method comprises:
generating a merge candidate list of a current block;
deriving first motion information for a first reference picture list and second motion information for a second reference picture list from the merge candidate list of the current block; and
refining the first motion information and the second motion information based on a distortion calculated based on sum of absolute differences (SAD).