Context-based intra prediction
AssigneesBeijing Bytedance Network Technology Co., Ltd., Bytedance Inc.
InventorsKai Zhang, Li Zhang, Hongbin Liu, Jizheng Xu, Yue Wang
Life of this patent
Estimating the term…
Abstract
A method for video processing is provided. The method includes performing downsampling on chroma and luma samples of a neighboring block of the current video block; determining, for a conversion between a current video block of a video that is a chroma block and a coded representation of the video, parameters of cross-component linear model (CCLM) based on the downsampled chroma and luma samples obtained from the downsampling; applying the CCLM on luma samples located in a luma block corresponding to the current video block to derive prediction values of the current video block; and performing the conversion based on the prediction values.
Claims19
A video coding method, comprising:
- determining, for a conversion between a current video block of a video that is a chroma block and a bitstream of the video, parameters of a cross-component linear model (CCLM) at least based on two or more chroma samples from neighboring chroma samples of the current video block, wherein the two or more chroma samples are selected based on a CCLM mode of the current video block and availabilities of the neighboring chroma samples;
- applying the CCLM on luma samples located in a luma block corresponding to the current video block to derive prediction values of the current video block;
- and
- performing the conversion based on the prediction values,
- wherein the CCLM mode of the current video block is one of a first CCLM mode that derives the parameters of CCLM based on left neighboring chroma samples and above neighboring chroma samples, a second CCLM mode that derives the parameters of CCLM based on left neighboring chroma samples and below-left neighboring samples, and a third CCLM mode that derives the parameters of CCLM based on above neighboring chroma samples and above-right neighboring chroma sample, wherein a width and a height of the current video block is W and H, respectively,
- wherein the two or more chroma samples are selected further based on the W and/or the H, and wherein exactly two chroma samples are selected from the above neighboring chroma samples in response to only the above neighboring chroma samples being available, the CCLM mode of the current video block being the first CCLM mode, and the W being equal to 2.
A video coding apparatus comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
- determine, for a conversion between a current video block of a video that is a chroma block and a bitstream of the video, parameters of a cross-component linear model (CCLM) at least based on two or more chroma samples from neighboring chroma samples of the current video block, wherein the two or more chroma samples are selected based on a CCLM mode of the current video block and availabilities of the neighboring chroma samples;
- apply the CCLM on luma samples located in a luma block corresponding to the current video block to derive prediction values of the current video block;
- and
- perform the conversion based on the prediction values,
- wherein the CCLM mode of the current video block is one of a first CCLM mode that derives the parameters of CCLM based on left neighboring chroma samples and above neighboring chroma samples, a second CCLM mode that derives the parameters of CCLM based on left neighboring chroma samples and below-left neighboring samples, and a third CCLM mode that derives the parameters of CCLM based on above neighboring chroma samples and above-right neighboring chroma sample, wherein a width and a height of the current video block is W and H, respectively,
- wherein the two or more chroma samples are selected further based on the W and/or the H, and wherein exactly two chroma samples are selected from the above neighboring chroma samples in response to only the above neighboring chroma samples being available, the CCLM mode of the current video block being the first CCLM mode, and the W being equal to 2.
A non-transitory computer-readable storage medium storing instruction that cause a processor to:
- determine, for a conversion between a current video block of a video that is a chroma block and a bitstream of the video, parameters of a cross-component linear model (CCLM) at least based on two or more chroma samples from neighboring chroma samples of the current video block, wherein the two or more chroma samples are selected based on a CCLM mode of the current video block and availabilities of the neighboring chroma samples;
- apply the CCLM on luma samples located in a luma block corresponding to the current video block to derive prediction values of the current video block;
- and
- perform the conversion based on the prediction values,
- wherein the CCLM mode of the current video block is one of a first CCLM mode that derives the parameters of CCLM based on left neighboring chroma samples and above neighboring chroma samples, a second CCLM mode that derives the parameters of CCLM based on left neighboring chroma samples and below-left neighboring samples, and a third CCLM mode that derives the parameters of CCLM based on above neighboring chroma samples and above-right neighboring chroma sample, wherein a width and a height of the current video block is W and H, respectively,
- wherein the two or more chroma samples are selected further based on the W and/or the H, and wherein exactly two chroma samples are selected from the above neighboring chroma samples in response to only the above neighboring chroma samples being available, the CCLM mode of the current video block being the first CCLM mode, and the W being equal to 2.
A non-transitory computer-readable storage medium storing a bitstream which is generated by a method by a video processing apparatus, wherein the method comprises:
- determining, for a conversion between a current video block of a video that is a chroma block and a bitstream of the video, parameters of a cross-component linear model (CCLM) at least based on two or more chroma samples from neighboring chroma samples of the current video block, wherein the two or more chroma samples are selected based on a CCLM mode of the current video block and availabilities of the neighboring chroma samples;
- applying the CCLM on luma samples located in a luma block corresponding to the current video block to derive prediction values of the current video block;
- and
- generating the bitstream based on the prediction values,
- wherein the CCLM mode of the current video block is one of a first CCLM mode that derives the parameters of CCLM based on left neighboring chroma samples and above neighboring chroma samples, a second CCLM mode that derives the parameters of CCLM based on left neighboring chroma samples and below-left neighboring samples, and a third CCLM mode that derives the parameters of CCLM based on above neighboring chroma samples and above-right neighboring chroma sample, wherein a width and a height of the current video block is W and H, respectively,
- wherein the two or more chroma samples are selected further based on the W and/or the H, and wherein exactly two chroma samples are selected from the above neighboring chroma samples in response to only the above neighboring chroma samples being available, the CCLM mode of the current video block being the first CCLM mode, and the W being equal to 2.
Dependencies are inferred from the claim text.