CPC H04N 19/119 (2014.11) [H04N 19/137 (2014.11); H04N 19/176 (2014.11); H04N 19/52 (2014.11)] | 1 Claim |
1. A non-transitory computer readable medium storing a bitstream, the bitstream including information according to which a decoder determines to perform first inter prediction or second inter prediction, the first inter prediction including a bi-directional optical flow (BIO) process, the second inter prediction including a motion compensation process, the second inter prediction not including the BIO process, wherein
in response to a determination, based on the information, to perform the BIO process,
(i) first prediction images for an image block are obtained;
(ii) gradient images for the first prediction images are obtained; and
(iii) a prediction image for the image block is generated using the first prediction images and the gradient images, and
in response to a determination, based on the information, to perform the motion compensation process,
(i) a plurality of partitions are determined in the image block;
(ii) a second prediction image is obtained for each of the plurality of partitions; and
(iii) a prediction image for the image block is generated using the second prediction images.
|