METHOD AND APPARATUS FOR IMAGE ENCODING/DECODING
A method and an apparatus for image encoding/decoding, according to the present invention, may generate a candidate list of a current block and perform inter-prediction of the current block by using any one of a plurality of candidates belonging to the candidate list. Here, the plurality of candidates comprise at least one from among a spatial candidate, a temporal candidate, and a restoration information-based candidate, and the restoration information-based candidate may be added from a buffer which stores motion information decoded prior to the current block.
1 . An image decoding method, comprising:
generating a candidate list of a current block; and
performing inter prediction of the current block by using any one of a plurality of candidates belonging to the candidate list,
wherein the plurality of candidates include at least one of a spatial candidate, a temporal candidate or a reconstructed information-based candidate, and
wherein the reconstructed information-based candidate is added from a buffer which stores motion information decoded before the current block.
2 . The method of claim 1 , wherein the motion information stored in the buffer is added to the candidate list in an order of motion information stored later in the buffer or is added to the candidate list in an order of motion information stored first in the buffer.
3 . The method of claim 2 , wherein a number or an order of which the motion information stored in the buffer is added to the candidate list is differently determined according to an inter prediction mode of the current block.
4 . The method of claim 3 , wherein the candidate list is filled by using the motion information stored in the buffer until a maximum candidate number of the candidate list is reached or is filled by using the motion information stored in the buffer until a number subtracting 1 from the maximum candidate number is reached.
5 . The method of claim 1 , wherein the buffer is initialized in a unit of any one of a coding tree unit (CTU), a CTU row, a slice or a picture.
6 . An image encoding method, comprising:
generating a candidate list of a current block; and
performing inter prediction of the current block by using any one of a plurality of candidates belonging to the candidate list,
wherein the plurality of candidates include at least one of a spatial candidate, a temporal candidate or a reconstructed information-based candidate, and
wherein the reconstructed information-based candidate is added from a buffer which stores motion information decoded before the current block.
7 . The method of claim 6 , wherein the motion information stored in the buffer is added to the candidate list in an order of motion information stored later in the buffer or is added to the candidate list in an order of motion information stored first in the buffer.
8 . The method of claim 7 , wherein a number or an order of which the motion information stored in the buffer is added to the candidate list is differently determined according to an inter prediction mode of the current block.
9 . The method of claim 8 , wherein the candidate list is filled by using the motion information stored in the buffer until a maximum candidate number of the candidate list is reached or is filled by using the motion information stored in the buffer until a number subtracting 1 from the maximum candidate number is reached.
10 . The method of claim 6 , wherein the buffer is initialized in a unit of any one of a coding tree unit (CTU), a CTU row, a slice or a picture.
11 . A computer readable recoding medium storing a bitstream decoded by an image decoding method; the image decoding method comprising:
generating a candidate list of a current block; and
performing inter prediction of the current block by using any one of a plurality of candidates belonging to the candidate list,
wherein the plurality of candidates include at least one of a spatial candidate, a temporal candidate or a reconstructed information-based candidate, and
wherein the reconstructed information-based candidate is added from a buffer which stores motion information decoded before the current block.
12 . The method of claim 11 , wherein the motion information stored in the buffer is added to the candidate list in an order of motion information stored later in the buffer or is added to the candidate list in an order of motion information stored first in the buffer.
13 . The method of claim 12 , wherein a number or an order of which the motion information stored in the buffer is added to the candidate list is differently determined according to an inter prediction mode of the current block.
14 . The method of claim 13 , wherein the candidate list is filled by using the motion information stored in the buffer until a maximum candidate number of the candidate list is reached or is filled by using the motion information stored in the buffer until a number subtracting 1 from the maximum candidate number is reached.
15 . The method of claim 11 , wherein the buffer is initialized in a unit of any one of a coding tree unit (CTU), a CTU row, a slice or a picture.