Patent ID: 11949886
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 12:
13. A decoder, comprising:
a processor; and
a storage medium storing instructions executable by the processor, wherein the storage medium is operable with the processor via a communication bus, and the instructions, when executed by the processor, are operable with the processor to:
parse a bitstream to obtain a size of a current block and a coding mode of the current block;
acquire reconstructed values of neighboring samples of the current block and filter the reconstructed values of the neighboring samples to obtain a reference value set of the current block, when the coding mode of the current block is a matrix-based intra prediction (MIP) mode;
calculate a second constant value according to a bit depth value of a luma component of a sample in the current block, when the size of the current block is smaller than a preset threshold value;
assign a difference between the second constant value and a first reference value in the reference value set as a first prediction input value in a prediction input value set;
determine, according to the reference value set, other prediction input values in the prediction input value set other than the first prediction input value;
calculate prediction values of samples at specific positions in the current block, according to the prediction input value set, a MIP matrix, a weighting parameter, and a bit right shift parameter, wherein the MIP matrix is determined according to one or more mapping tables; and
perform interpolation filtering on the prediction values of the samples at the specific positions to obtain prediction values of samples at other positions in the current block other than the samples at the specific positions.