Patent attributes
A video processing method according to an embodiment of the present disclosure includes obtaining motion information and bi-directional prediction weight information for inter prediction of a current block, deriving a prediction sample of the current block based on the motion information and the bi-directional prediction weight information, and updating an HMVP candidate list based on a history-based motion vector predictor (HMVP) candidate including the motion information and the bi-directional prediction weight information. The motion information includes a first reference index and a first motion vector related to a first reference picture and a second reference index and a second motion vector related to a second reference picture. The bi-directional prediction weight information may be used to derive a first weight value applied to a first prediction sample from the first reference picture and a second weight value applied to a second prediction sample from the second reference picture.