Patent attributes
An image decoding method includes: deriving a refined L0 motion vector and a refined L1 motion vector by applying decoder-side motion vector refinement (DMVR) based on an L0 motion vector and an L1 motion vector of a current block, deriving prediction samples for the current block based on L0 prediction samples derived based on the refined L0 motion vector and L1 prediction samples derived based on the refined L1 motion vector, and generating reconstructed samples for the current block based on the prediction samples. The L0 prediction samples are derived based on an L0 reference picture and the refined L0 motion vector, and the L1 prediction samples are derived based on an L1 reference picture and the refined L1 motion vector, and deriving the prediction samples comprises determining whether to apply bi-directional optical flow (BDOF) process based on a first POC difference and a second POC difference are the same.