| CPC H04N 19/52 (2014.11) [H04N 19/119 (2014.11); H04N 19/176 (2014.11)] | 2 Claims |

|
1. An encoding method, comprising:
selecting an encoding mode from among candidates including a decoder-side motion vector refinement (DMVR) encoding mode and a partition encoding mode,
when the DMVR encoding mode is selected:
obtaining a first image block from a first coding tree unit (CTU);
obtaining a first motion vector for the first image block;
deriving a second motion vector from the first motion vector using motion search; and
generating a prediction image for the first image block using the second motion vector; and
when the partition encoding mode is selected:
obtaining a second image block from a second coding tree unit (CTU);
determining a plurality of non-rectangular partitions in the second image block;
obtaining a third motion vector for each non-rectangular partition;
generating a prediction image for the second image block using the third motion vector, without deriving a fourth motion vector from the third motion vector using motion search; and
storing, into a bitstream, a flag indicating the partition encoding mode.
|