Patent attributes
A video decoding method includes: deriving an LO motion vector and an LI motion vector for a current block; deriving a refined LO motion vector and a refined L1 motion vector, by applying DMVR to the current block based on DMVR flag information; deriving LO prediction samples of the current block based on the refined LO motion vector and LI prediction samples of the current block based on the refined L1 motion vector; deriving prediction samples for the current block based on the LO prediction samples and the L1 prediction samples, by applying BDOF to the current block based on BDOF flag information; and generating reconstruction samples for the current block based on the prediction samples, in which the DMVR flag information is derived based on a predetermined DMVR application condition, and the BDOF flag information is derived based on a predetermined BDOF application condition.