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

Claim 7:
8. An electronic apparatus comprising:
a video decoder circuit configured to perform operations comprising:
receiving to-be-decoded data from a first bitstream for a first block of pixels to be decoded as a first current block of a first current picture of a first video;
generating a first prediction of the first current block based on a first inter prediction mode;
determining a block size of the first current block according to a width, a height, or both of the first current block;
performing:
disabling a combined prediction mode with a selection for the first current block responsive to the width or the height of the first current block being greater than a threshold length; or
enabling the combined prediction mode with the selection for the first current block responsive to the width and the height of the first current block being not greater than the threshold length; and

when the combined prediction mode is enabled:
generating a second prediction of the first current block based on an intra prediction mode or a second inter prediction mode depending on the selection;
generating a first combined prediction for the first current block based on the first prediction, the second prediction thereof, and a combined-weight setting; and
reconstructing the first current block by using the first combined prediction; and

a video encoder circuit configured to perform operations comprising:
receiving raw pixel data for a second block of pixels to be encoded as a second current block of a second current picture of a second video into a second bitstream;
generating a first prediction of the second current block based on the inter prediction mode;
determining a block size of the second current block according to a width, a height, or both of the second current block;
performing:
disabling the combined prediction mode with the selection for the second current block responsive to the width or the height of the second current block being greater than the threshold length; or
enabling the combined prediction mode with the selection for the second current block responsive to the width and the height of the second current block being not greater than the threshold length; and

when the combined prediction mode is enabled:
generating a second prediction of the second current block based on the intra prediction mode or the second inter prediction mode depending on the selection;
generating a second combined prediction for the second current block based on the first prediction, the second prediction thereof, and the combined-weight setting thereof; and
encoding the second current block into the second bitstream by using the second combined prediction,

wherein:
the first and second inter prediction modes are selected from a first candidate list having one or more inter prediction candidates, the first candidate list corresponding to a merging candidate list that includes at least one history-based merging candidate selected from a history-based motion vector predictor (HMVP) candidate list,
the intra prediction mode is inferred as a planar mode without parsing a syntax to indicate the intra prediction mode,
the first and second inter prediction modes are skip or merge and the merging candidate list is without subblock merging candidates,
the selection is explicitly indicated by a flag signaled/parsed for the current block to determine to use the intra prediction mode to generate the second prediction or to use the second inter prediction mode to generate the second prediction, and
in response of using the intra prediction mode to generate the second prediction, the combined-weight setting refers to selecting weights for the first prediction and the second prediction from multiple pre-defined weights comprising equal weights for the first prediction and the second prediction.