CPC H04N 19/105 (2014.11) [H04N 19/109 (2014.11); H04N 19/139 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/513 (2014.11)] | 16 Claims |
1. A video decoding method performed by a video decoding apparatus, the video decoding method comprising:
decoding variable coefficient values, an affine prediction flag, and an encoding mode from a bitstream, the affine prediction flag indicating whether affine motion prediction is applied to a current block, and the encoding mode being an encoding mode for motion information of the current block and indicating a merge mode or an advanced motion vector prediction (AMVP) mode;
generating a virtual reference frame based on reference frames by using an interpolation model, wherein a variable coefficient network included in the interpolation model is set with the variable coefficient values; and
generating a merge candidate of the current block based on the virtual reference frame and the reference frames when the encoding mode is the merge mode.
|