Patent ID: 11876972
Assignee: LG ELECTRONICS INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 14:
15. A non-transitory computer-readable digital storage medium storing a bitstream generated by a method, the method comprising:
deriving an L0 motion vector and an L1 motion vector of a current block;
determining whether to apply decoder-side motion vector refinement (DMVR) to the current block;
deriving a refined L0 motion vector and a refined L1 motion based on the L0 motion vector and the L1 motion vector by applying the DMVR to the current block;
deriving prediction samples for the current block based on the refined L0 motion vector and the refined L1 motion vector;
deriving residual samples based on the prediction samples; and
encoding image information including information on the residual samples,
wherein the DMVR is applied to the current block is determined based on a case where both a value of L0 luma weight prediction flag information and a value of L1 luma weight prediction flag information are equal to 0, a case where both a value of L0 chroma weight prediction flag information and a value of L1 chroma weight prediction flag information are equal to 0, and a case where a value of bi-prediction weight index information is equal to 0,
wherein the prediction samples are derived by determining whether to apply bi-directional optical flow (BDOF) to the current block,
wherein the BDOF is applied to the current block is determined based on a case where both the value of the L0 luma weight prediction flag information and the value of the L1 luma weight prediction flag information are equal to 0, a case where both the value of the L0 chroma weight prediction flag information and the value of the L1 chroma weight prediction flag information are equal to 0, a case where the value of the bi-prediction weight index information is equal to 0, a case where a bi-prediction being performed based on an L0 reference picture and an L1 reference picture is applied to the current block, a case where a subblock-based merge mode is not applied to the current block, and a case where the current block is a luma component,
wherein a case where the value of the L0 luma weight prediction flag information is equal to 0 represents that a weight factor of an L0 prediction for a luma component is not present, and a case where the value of the L1 luma weight prediction flag information is equal to 0 represents that a weight factor of an L1 prediction for the luma component is not present, and
wherein a case where the value of the L0 chroma weight prediction flag information is equal to 0 represents that a weight factor of an L0 prediction for a chroma component is not present, and a case where the value of the L1 chroma weight prediction flag information is equal to 0 represents that a weight factor of an L1 prediction for the chroma component is not present.