Patent attributes
Aspects of the disclosure provide a method and an apparatus for video coding. In some examples, an apparatus includes processing circuitry that divides a current block into a plurality of sub-blocks, derives a plurality of pieces of sub-block motion information for the plurality of sub-blocks, generates predicted sub-block samples for the sub-blocks according to the pieces of sub-block motion information, and generates a predicted block for the current block according to a combination of the predicted sub-block samples. The processing circuitry also selects a piece of the sub-block motion information from the pieces of sub-block motion information as representative motion information for the current block, and stores the representative motion information in a history-based motion vector prediction (HMVP) buffer.