Inter prediction method and apparatus for same
According to the present invention, an image encoding apparatus comprises: a motion prediction unit which derives motion information on a current block in the form of the motion information including L0 motion information and L1 motion information; a motion compensation unit which performs a motion compensation for the current block on the basis of at least one of the L0 motion information and L1 motion information so as to generate a prediction block corresponding to the current block; and a restoration block generating unit which generates a restoration block corresponding to the current block based on the prediction block. According to the present invention, image encoding efficiency can be improved.
1. A method for encoding a video signal with an image encoding apparatus, comprising:
determining motion information of a current block;
generating a prediction block corresponding to the current block based on the motion information;
determining a collocated block comprised in a collocated picture,
wherein the collocated picture is a reference picture having the collocated block among reference pictures included in a reference picture list, and
wherein the collocated block is determined to be either a first block adjacent to a right-bottom position of the current block or a second block comprising a center position of the current block;
obtaining a temporal merge candidate of the current block based on the collocated block,
wherein motion information of the temporal merge candidate comprises a motion vector and a reference picture index, and
wherein the motion vector of the temporal merge candidate is derived from a motion vector of the collocated block within the collocated picture, and
wherein the reference picture index of the temporal merge candidate is set equal to 0 regardless of motion information of a neighboring block adjacent to the current block;
generating a merge candidate list comprising the temporal merge candidate; and
encoding motion information of the current block based on the generated merge candidate list.
2. A non-transitory computer-readable recording medium storing a bitstream, wherein the bitstream is generated by a method for encoding a video signal, the method comprising:
determining motion information of a current block;
generating a prediction block corresponding to the current block based on the motion information;
determining a collocated block comprised in a collocated picture,
wherein the collocated picture is a reference picture having the collocated block among reference pictures included in a reference picture list, and
wherein the collocated block is determined to be either a first block adjacent to a right-bottom position of the current block or a second block comprising a center position of the current block;
obtaining a temporal merge candidate of the current block based on the collocated block,
wherein motion information of the temporal merge candidate comprises a motion vector and a reference picture index, and
wherein the motion vector of the temporal merge candidate is derived from a motion vector of the collocated block within the collocated picture, and
wherein the reference picture index of the temporal merge candidate is set equal to 0 regardless of motion information of a neighboring block adjacent to the current block;
generating a merge candidate list comprising the temporal merge candidate; and
encoding motion information of the current block based on the generated merge candidate list.