Method and device for determining reference unit
An inter prediction method according to the present invention comprises the steps of: selecting candidate units from among reconstructed neighbor units; creating a candidate unit set with respect to units to be decoded, using the selected candidate units; determining a reference unit from among the candidate units which constitute the created candidate unit set; and performing inter prediction on the units to be decoded, using the determined reference unit. According to the present invention, image encoding/decoding efficiency can be improved.
1. A method for decoding a video signal, the method comprising:
selecting candidate units among reconstructed neighboring units adjacent to a decoding target unit;
generating a candidate unit set for the decoding target unit based on the selected candidate units;
deriving motion information of the decoding target unit based on the generated candidate unit set; and
obtaining a prediction block of the decoding target unit based on the derived motion information,
wherein the step of selecting candidate units selects units, which have a reference picture list different from a reference picture list of the decoding target unit and use the same reference picture as the decoding target unit, among the reconstructed neighboring units, and
wherein the step of selecting candidate units further comprises selecting candidate units coded by an inter prediction among the reconstructed neighboring units as the candidate unit.
2. A method for encoding a video signal, the method comprising:
selecting candidate units among reconstructed neighboring units adjacent to the encoding target unit;
generating a candidate unit set for the encoding target unit based on the selected candidate unit; and
encoding an encoding parameter to specify, from the candidate unit set, a motion vector of a reference unit which is used for inter prediction of the encoding target unit,
wherein the step of selecting candidate units selects units, which have a reference picture list different from a reference picture list of the encoding target unit and use the same reference picture as the encoding target unit, among the reconstructed neighboring units, and
wherein the step of selecting candidate units further comprises selecting candidate units coded by an inter prediction among the reconstructed neighboring units as the candidate unit.
3. A non-transitory recording medium storing a bitstream formed by a method for encoding a video signal, the method comprising:
selecting candidate units among reconstructed neighboring units adjacent to the encoding target unit;
generating a candidate unit set for the encoding target unit based on the selected candidate unit; and
encoding an encoding parameter to specify, from the candidate unit set, a motion vector of a reference unit which is used for inter prediction of the encoding target unit,
wherein the step of selecting candidate units selects units, which have a reference picture list different from a reference picture list of the encoding target unit and use the same reference picture as the encoding target unit, among the reconstructed neighboring units, and
wherein the step of selecting candidate units further comprises selecting candidate units coded by an inter prediction among the reconstructed neighboring units as the candidate unit.