IP Library Granted Patent US 12695918
Granted Patent B2
US 12695918 · App. 18/817,868 · Granted Jul 28, 2026

Picture prediction method, encoder, decoder, and storage medium

Inventors: Yuanfang Yu (Dongguan, CN); Yang Liu (Dongguan, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N19/70H04N19/159H04N19/176H04N19/186
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12695918
App. No.
18/817,868
Granted
Jul 28, 2026
Kind
B2
Abstract

A picture prediction method, encoder, decoder and storage medium are provided. If a current block uses an MIP mode to determine its intra prediction value, the encoder sets a value of an MIP mode parameter as indicating use of the MIP mode and signals into a bitstream; determines the MIP mode of the current block and signals into the bitstream; determines, based on the MIP mode, prediction values for luma and chroma components of the current block. The decoder parses the bitstream and determines an MIP mode parameter of the current block; if its value indicates that the current block uses the MIP mode to determine its intra prediction value, parses the bitstream, determines the MIP mode of the current block and prediction values of luma and chroma components of the current block based on the MIP mode; decodes the current block based on prediction values.

Claims (51)

1 . A picture prediction method, applied to a decoder, the method comprising:

parsing a bitstream, determining a Matrix-based Intra Prediction (MIP) parameter of a current block; wherein the MIP parameter indicates whether or not MIP is used for the current block to determine intra prediction values of the current block;

when a value of the MIP parameter is equal to 1, determining that MIP is used for the current block to determine the intra prediction values of the current block;

determining an MIP mode index of the current block;

determining a size type of the current block;

determining an MIP mode indicated by the MIP mode index from a candidate MIP mode list corresponding to the size type as the MIP mode of the current block; and

determining the intra prediction values of the current block based on the MIP mode of the current block; and

when the value of the MIP parameter is equal to 0, determining that MIP is not used for the current block to determine the intra prediction values of the current block;

wherein the MIP parameter is indicated by a syntax unit, wherein the syntax unit is included in a data unit of the current block;

wherein determining the MIP mode index of the current block comprises:

determining the MIP mode index by parsing a syntax unit, wherein the syntax unit is included in a data unit of the current block.

2 . The method according to claim 1 , further comprising:

when the size type of the current block is a first type, determining that the candidate MIP mode list includes 16 MIP modes;

when the size type of the current block is a second type, determining that the candidate MIP mode list includes 8 MIP modes; and

when the size type of the current block is a third type, determining that the candidate MIP mode list includes 6 MIP modes.

3 . The method according to claim 2 , wherein determining the size type of the current block comprises:

determining the size type of the current block as the first type in a condition a: when both a width and a height of the current block are equal to 4;

determining the size type of the current block as the second type in a condition b: when both the width and the height of the current block are equal to 8 or one of the width and the height of the current block is equal to 4; and

determining the size type of the current block as the third type when the width and the height of the current block do not meet the aforementioned conditions a and b.

4 . A picture prediction method, applied to an encoder, the method comprising:

when Matrix-based Intra Prediction (MIP) is used for a current block to determine intra prediction values of the current block, setting a value of an MIP parameter to 1 and signalling the value of the MIP parameter in a bitstream; wherein the MIP parameter indicates whether or not MIP is used for the current block to determine the intra prediction values of the current block;

determining a size type of the current block;

determining an MIP mode of the current block from a candidate MIP mode list corresponding to the size type as the MIP mode of the current block; and

signalling an MIP mode index of the MIP mode of the current block in the bitstream; and

when MIP is not used for the current block to determine the intra prediction values of the current block, setting the value of the MIP parameter to 0 and signalling the value of the MIP parameter in a bitstream;

wherein the MIP parameter is indicated by a syntax unit, wherein the syntax unit is included in a data unit of the current block;

wherein the MIP mode index is indicated by a syntax unit, wherein the syntax unit is included in a data unit of the current block.

5 . The method according to claim 4 , further comprising:

when the size type of the current block is a first type, determining that the candidate MIP mode list includes 16 MIP modes;

when the size type of the current block is a second type, determining that the candidate MIP mode list includes 8 MIP modes; and

when the size type of the current block is a third type, determining that the candidate MIP mode list includes 6 MIP modes.

6 . The method according to claim 5 , wherein determining the size type of the current block comprises:

determining the size type of the current block as the first type in a condition a: when both a width and a height of the current block are equal to 4;

determining the size type of the current block as the second type in a condition b: when both the width and the height of the current block are equal to 8 or one of the width and the height of the current block is equal to 4; and

determining the size type of the current block as the third type when the width and the height of the current block do not meet the aforementioned conditions a and b.

7 . A non-transitory computer readable storage medium storing a computer program and a bitstream, wherein the computer program, when executed by a processor, enables the processor to perform the steps of a picture prediction method to generate the bitstream, the method comprising:

when Matrix-based Intra Prediction (MIP) is used for a current block to determine intra prediction values of the current block, setting a value of an MIP parameter to 1 and signalling the value of the MIP parameter in the bitstream; wherein the MIP parameter indicates whether or not MIP is used for the current block to determine the intra prediction values of the current block;

determining a size type of the current block;

determining an MIP mode of the current block from a candidate MIP mode list corresponding to the size type as the MIP mode of the current block; and

signalling an MIP mode index of the MIP mode of the current block in the bitstream; and

when MIP is not used for the current block to determine the intra prediction values of the current block, setting the value of the MIP parameter to 0 and signalling the value of the MIP parameter in the bitstream;

wherein the MIP parameter is indicated by a syntax unit, wherein the syntax unit is included in a data unit of the current block;

wherein the MIP mode index is indicated by a syntax unit, wherein the syntax unit is included in a data unit of the current block.

8 . The non-transitory computer readable storage medium according to claim 7 , the method further comprising:

when the size type of the current block is a first type, determining that the candidate MIP mode list includes 16 MIP modes;

when the size type of the current block is a second type, determining that the candidate MIP mode list includes 8 MIP modes; and

when the size type of the current block is a third type, determining that the candidate MIP mode list includes 6 MIP modes.

9 . The non-transitory computer readable storage medium according to claim 8 , wherein determining the size type of the current block comprises:

determining the size type of the current block as the first type in a condition a: when both a width and a height of the current block are equal to 4;

determining the size type of the current block as the second type in a condition b: when both the width and the height of the current block are equal to 8 or one of the width and the height of the current block is equal to 4; and

determining the size type of the current block as the third type when the width and the height of the current block do not meet the aforementioned conditions a and b.