CPC H04N 19/132 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11); H04N 19/70 (2014.11)] | 19 Claims |
1. An encoding device comprising:
a memory configured to store instructions; and
at least one processor coupled to the memory and configured to execute the instructions to cause the encoding device to:
determine whether a plurality of preset conditions is satisfied for a current picture block;
perform bi-directional optical flow (BDOF) processing on a current picture block to obtain a predicted sample value of the current picture block when the plurality of preset conditions is satisfied, wherein the plurality of preset conditions comprises:
first prediction direction indication information (predFlagL0) corresponding to a first list (list1) is equal to 1 and second prediction direction indication information (predFlagL1) corresponding to a second list (list0) is equal to 1, wherein the predFlagL0 and the predFlagL1 being equal to 1 indicate that the bi-directional prediction is applied to the current picture block;
MotionModelIdc is equal to 0, wherein the MotionModelIdc being equal to 0 indicates that a motion model for a motion compensation of the current picture block is a translational motion;
merge_subblock_flag comprised in the syntax element is equal to 0, wherein the merge_subblock_flag being equal to 0 indicates that a subblock merge mode is not applied to the current picture block;
sym_mvd_flag comprised in the syntax element is equal to 0, wherein the sym_mvd_flag being equal to 0 indicates that an mvd_coding syntax structure is present for the current picture block;
bcwIdx comprised in the syntax element is equal to 0, wherein the bcwIdx indicates a bi-directional prediction weight index for the current picture block;
cIdx is equal to 0, wherein the cIdx represents a color component index of the current picture block;
a height (H) of the current picture block is greater than or equal to 8;
a width (W) of the current picture block is greater than or equal to 8;
a product of W and H is greater than 64 or the product of W and H is greater than 128; and
a luma_weight_l0_flag[refldxL0] and a luma_weight_l1_flag[refldxL1] that are both comprised in the syntax element are equal to 0, wherein the luma_weight_l0_flag being equal to 0 indicates that first weighting factors for a first luma component of list0 prediction are not present, and wherein the luma_weight_l1_flag being equal to 0 indicates that second weighting factors for a second luma component of list1 prediction are not present;
skip performing the BDOF processing on the current picture block, and obtain the predicted sample value of the current picture block through prediction based on the reference sample value corresponding to the first list and the reference sample value corresponding to the second list according to a decoder-side motion vector refinement (DMVR) technology when the plurality of preset conditions is not satisfied;
obtain a reconstructed sample value of the current picture block based on the predicted sample value of the current picture block; and
encode a syntax element associated with the current picture block into a to-be-transmitted bitstream,
wherein the syntax element indicates that bi-directional prediction is applied,
wherein each of W and H is equal to 2n, and
wherein n is an integer.
|