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

Claim 13:
14. An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
construct, during a conversion between a current video block of a video and a bitstream of the video, at least one template set for the current video block from a plurality of sub-templates;
derive at least one intra-prediction mode (IPM) based on cost calculations; and
perform the conversion based on the at least one IPM,
wherein a most probable mode (MPM) list is constructed for the current video block, and one or more IPMs of the at least one IPM is determined to be added into the MPM list of the current video block, or
wherein a most probable mode (MPM) list is constructed for a subsequent video block after the current video block, and one or more IPMs of the at least one IPM is determined to be added into the MPM list of the subsequent video block based on a slice type of a slice corresponding to the current video block, and the one or more IPMs are determined to be not added into the MPM list of the subsequent video block based on the slice type being a P slice or a B slice.