Patent ID: 11917164
Assignee: TENCENT AMERICA LLC
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for video encoding, comprising:
receiving samples of a current block in a current picture;
encoding, by processing circuitry of an encoding apparatus, the samples of the current block according to a matrix based intra prediction to obtain encoded data, the encoding the samples of the current block including:
determining entries of a vector based on neighboring samples of the current block, each entry of the entries being determined based on corresponding one or more of the neighboring samples of the current block, the entries of the vector being in an internal bit form having an internal bit depth greater than a threshold bit depth for using a first multiplication tool implemented in the encoding apparatus that processes fewer bits than a second multiplication tool implemented in the encoding apparatus;
converting the entries of the vector into a reduced bit form having a reduced bit depth satisfying the threshold bit depth for using the first multiplication tool implemented in the encoding apparatus;
multiplying, using the first multiplication tool, the entries of the vector in the reduced bit form with entries of a matrix to calculate a subset of prediction samples of the current block;
determining other ones of the prediction samples of the current block based on the subset of the prediction samples of the current block; and
encoding the samples of the current block according to the prediction samples of the current block; and

generating a coded video bitstream, the coded video bitstream including the encoded data and prediction information indicative of the matrix based intra prediction for the current block.