Intra prediction method and decoder
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorZhihuang Xie
Life of this patent
Estimating the term…
Abstract
An intra prediction method includes the following. A first intra prediction mode and a second intra prediction mode for a current block are determined. A weighted blending condition for the current block is determined according to an image content of a current sequence, where the weighted blending condition is used to determine whether weighted prediction is performed on the current block based on the first intra prediction mode and the second intra prediction mode. A target prediction value of the current block is determined according to the weighted blending condition and at least one of the first intra prediction mode or the second intra prediction mode.
Claims13
An intra prediction method, comprising:
- decoding a bitstream to determine a first intra prediction mode and a second intra prediction mode for a current block;
- determining a weighted blending condition for the current block, wherein the weighted blending condition is used to determine whether weighted prediction is performed on the current block based on the first intra prediction mode and the second intra prediction mode;
- and
- determining a target prediction value of the current block according to the weighted blending condition and at least one of the first intra prediction mode or the second intra prediction mode;
- wherein determining the weighted blending condition comprises:
- decoding the bitstream to obtain a first flag, wherein the first flag indicates whether a first technology is used;
- and
- when the first flag indicates that the first technology is used, determining a first blending condition as the weighted blending condition for the current block,
- wherein determining the first blending condition comprises:
- determining a value of a first threshold as a first preset value, wherein the first threshold is used to determine the first blending condition;
- and
- determining the first blending condition according to a first cost corresponding to the first intra prediction mode, a second cost corresponding to the second intra prediction mode, and the determined first threshold.
An intra prediction method, comprising:
- determining a first intra prediction mode and a second intra prediction mode for a current block;
- determining a weighted blending condition for the current block, wherein the weighted blending condition is used to determine whether weighted prediction is performed on the current block based on the first intra prediction mode and the second intra prediction mode;
- determining an intermediate prediction value of the current block according to the weighted blending condition and at least one of the first intra prediction mode or the second intra prediction mode;
- and
- determining a target prediction value of the current block according to the intermediate prediction value;
- wherein determining the weighted blending condition comprises:
- determining a first blending condition as the weighted blending condition for the current block, when the first technology is used;
- and
- signalling a first flag into a bitstream, wherein the first flag indicates whether the first technology is used,
- wherein determining the first blending condition comprises:
- determining a value of a first threshold as a first preset value, wherein the first threshold is used to determine the first blending condition;
- and
- determining the first blending condition according to a first cost corresponding to the first intra prediction mode, a second cost corresponding to the second intra prediction mode, and the determined first threshold.
A video decoder, comprising:
- a memory configured to store a computer program;
- and
- a processor configured to execute the computer program stored in the memory to:
- decode a bitstream to determine a first intra prediction mode and a second intra prediction mode for a current block;
- determine a weighted blending condition for the current block, wherein the weighted blending condition is used to determine whether weighted prediction is performed on the current block based on the first intra prediction mode and the second intra prediction mode;
- and
- determine a target prediction value of the current block according to the weighted blending condition and at least one of the first intra prediction mode or the second intra prediction mode;
- wherein the processor configured to determine the weighted blending condition is configured to:
- decode the bitstream to obtain a first flag, wherein the first flag indicates whether a first technology is used;
- and
- when the first flag indicates that the first technology is used, determine a first blending condition as the weighted blending condition for the current block,
- wherein the processor configured to determine the first blending condition is configured to:
- determine a value of a first threshold as a first preset value, wherein the first threshold is used to determine the first blending condition;
- and
- determine the first blending condition according to a first cost corresponding to the first intra prediction mode, a second cost corresponding to the second intra prediction mode, and the determined first threshold.
Dependencies are inferred from the claim text.