Patent ID: 11943478
Assignee: TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 11:
12. A decoder comprising:
a processor; and
memory coupled with the processor, wherein the memory comprises instructions that, when executed by the processor, cause the processor to perform operations comprising:
determining a width and a height of a current block of a bitstream based on syntax elements in the bitstream;
determining whether the current block is an intra predicted block;
responsive to the current block being an intra predicted block, determining whether the intra predicted block is a matrix based intra prediction, MIP, predicted block;
determining whether the MIP predicted block has one transform block or multiple transform blocks;
responsive to the current block being a MIP predicted block, determining a MIP weight matrix to be used to decode the current block based on the width and height of the current block and a MIP prediction mode of the current block;
responsive to determining that the MIP predicted block has one transform block:
deriving the MIP predicted block based on the MIP weight matrix and previously decoded elements in the bitstream; and

responsive to determining that the MIP predicted block has multiple transform blocks:
deriving a first MIP predicted block based on the MIP weight matrix and previously decoded elements in the bitstream; and
deriving remaining MIP predicted blocks based on the MIP weight matrix and previously decoded elements in the bitstream and decoded elements in at least one decoded transform block of the current block; and

outputting the MIP predicted block or the first MIP predicted block and remaining predicted blocks for subsequent processing by the decoder.