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

Claim 15:
16. A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:
determining a coding tool for a video unit comprised in the video according to a rule; and
generating the bitstream according to the determining,
wherein the video unit is a chroma block, and the rule further specifies that when a cross-component linear model (CCLM) prediction mode is applied to the video unit, a parameter of the CCLM is determined based on neighboring chroma samples of the video unit and first variables representing neighboring luma samples of a first luma block corresponding to the video unit,
wherein the first variables are set equal to neighboring luma samples of the first luma block when a value of a second variable indicates that a neighboring block is available and are set equal to valid samples when the value of the second variable indicates the neighboring block is not available,
wherein when the value of the second variable indicates the neighboring block is available, the first variables denoted as pY [x][y] are set equal to a reconstructed neighboring left luma sample prior to a deblocking filter process at a location (xTbY+x, yTbY+y), x is in a range of [−1, −3], and a maximum of y is equal to SubHeightC*Max(numSampL, nTbH)−1, and
wherein (xTbY, yTbY) denotes a top-left position of the first luma block, x and y are integers, nTbH denotes a height of the video unit, SubHeightC is a height scale factor obtained according to a chroma format of a first video picture, and numSampL denotes a number of available neighboring chroma samples in the CCLM prediction mode.