Patent ID: 11870978
Assignee: HFI INNOVATION INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 12:
13. A non-transitory computer readable medium storing program instruction causing a processing circuit of an apparatus to perform a method of image or video coding, and the method comprising:
receiving input data associated with a current block in a current picture, the current block having a size other than 4×4;
deriving reference samples of the current block from neighboring samples of the current block;
selecting a matrix for the current block;
generating intermediate predicted samples according to the reference samples and the matrix;
generating clipped intermediate predicted samples by clipping the intermediate predicted samples;
performing an up-sampling process on the clipped intermediate predicted samples to generate final predicted samples for the current block; and
encoding or decoding the current block in the current picture according to the final predicted samples of the current block,
wherein a number of clipping operations performed for producing the final predicted samples for the current block is less than a sample number of the current block.