According to an embodiment disclosed in the present document, a history-based motion vector prediction (HMVP) buffer for the current block can be derived on the basis of a history, and motion information of the current block can be derived on the basis of HMVP candidates included in the HMVP buffer, and thus inter prediction efficiency can be increased.
展开▼