Patent ID: 11882274
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 13:
14. A method of storing a bitstream of a video to a non-transitory computer-readable medium, comprising:
making a determination, during a conversion between a current chroma block of a video unit of the video and the bitstream of the video, whether a coding mode of a luma block covering a luma sample located to correspond to a chroma sample only at a center of the current chroma block is a specific coding mode;
deriving, for a derivation process of a chroma intra prediction mode for the current chroma block, a variable denoted as lumaIntraPredMode based on the determination, wherein the variable lumaIntraPredMode is equal to a default intra prediction mode in a case that the luma block is coded with the specific coding mode, and the variable lumaIntraPredMode is equal to a luma intra prediction mode of the luma block in a case that the luma block is not coded with the specific coding mode;
deriving the chroma intra prediction mode for the current chroma block, wherein the chroma intra prediction mode is derived using a first flag indicating whether a cross-component linear model prediction mode is applied to the current chroma block (cclm_mode_flag), a second flag indicating which one of INTRA_LT_CCLM, INTRA_L_CCLM and INTRA_T_CCLM chroma intra prediction modes is applied to the current chroma block (cclm_mode_idx), a third flag indicating an intra prediction mode for chroma samples of the current chroma block (intra_chroma_pred_mode), and the variable lumaIntraPredMode; and
generating the bitstream based on the chroma intra prediction mode; and
storing the bitstream to the non-transitory computer-readable medium;
wherein when the current chroma block is coded with the cross-component linear model prediction mode, the default intra prediction mode is utilized in a secondary transform process for the current chroma block in a case that the coding mode of the luma block is the specific coding mode, wherein a transform set for the secondary transform process is determined based on the default intra prediction mode;

wherein in a case that the specific coding mode of the luma block is a matrix based intra prediction (MIP) mode that generates prediction samples of the luma block using a matrix vector multiplication, the default intra prediction mode is determined as a planar intra prediction mode;
wherein in a case that the specific coding mode of the luma block is an intra block copy (IBC) mode that generates prediction samples of the luma block are derived from blocks of sample values of a same video region as determined by block vectors, the default intra prediction mode is determined as a DC intra prediction mode; and
wherein in a case that the specific coding mode of the luma block is a palette mode that allows to represent or reconstruct the luma block using a palette of representative sample values, the default intra prediction mode is determined as the DC intra prediction mode.