Patent ID: 11394989

Abstract:
Aspects of the disclosure provide methods and apparatuses for video coding. In some examples, an apparatus includes processing circuitry. The processing circuitry obtains prediction information of a first block in a picture and generates reconstructed samples of the first block according to one of bi-directional prediction and uni-directional prediction and the prediction information. When a motion information candidate is to be stored according to the prediction information of the first block as a History-based Motion Vector Prediction (HMVP) candidate, the processing circuitry stores the motion information candidate that includes at least first motion information and a first weight parameter indicating a first weight for performing the bi-directional prediction for the first block when the first block is coded according to the bi-directional prediction, and stores the first motion information and a default weight parameter indicating a default weight when the first block is coded according to the uni-directional prediction.