| CPC H04N 19/105 (2014.11) [H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/513 (2014.11)] | 18 Claims |

|
1. A method for video encoding, comprising:
obtaining a plurality of blocks from a video picture, wherein each of the plurality of blocks is to be encoded by an intra prediction mode or an inter prediction mode;
for a current block in the plurality of blocks:
determining, in response to the current block being eligible for both applications of Decoder-side Motion Vector Refinement (DMVR) and Bi-Directional Optical Flow (BDOF), whether a pre-defined criterion based on mode information of the current block is satisfied;
avoiding, in response to the pre-defined criterion being satisfied, applying BDOF to a subblock in the current block; and
outputting, by a bitstream, prediction mode information of the current block,
wherein the method further comprises determining that the current block is eligible for an application of DMVR in response to pre-defined conditions being satisfied, the pre-defined conditions comprising:
a distance between a current picture and a forward reference picture and a distance between the current picture and a backward reference picture are same;
a height of the current block is equal or greater than 8;
the current block is not coded as affine mode;
the current block is not coded as sub-block merge mode; and
the current block is not coded as Merge mode with Motion Vector Differences (MMVD) mode.
|