# US 2023/0069756 A1 · Cross-component coding of 4:2:0 or 4:2:2 video

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0069756 A1
- Document ID: US20230069756A1
- Status: Published application
- Kind: A1
- Application number: 17/968,510
- Filed: 2022-10-18
- Published: 2023-03-02
- Earliest claimed: 2020-04-18
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Yang Wang; Li Zhang; Kai Zhang; Hongbin Liu; Yue Wang
- Web page: https://patentgrep.com/patent/US20230069756A1

## CPC

- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/124: Quantisation
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/593: involving spatial prediction techniques
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/80: Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation (H04N19/635, H04N19/86 take precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of video processing is provided to include determining, for a conversion between a video block of a video having a 4:2:2 color format and a bitstream of the video, a parameter of a cross-component linear model for the video block according to a rule and performing the conversion based on the determining, wherein a syntax element indicates whether chroma samples of the video are vertically shifted relative to luma samples of the video and wherein the rule specifies that the parameter is determined independent of a value of the syntax element.

## Claims

### Claim 1

A method for processing video data, comprising:
determining, for a conversion between a video comprising a video unit and a bitstream of the video, a coding tool for the video unit according to a rule; and
performing the conversion according to the determining,
wherein the rule specifies that when a transform skip mode is enabled for the video unit, sign data hiding and dependent quantization are disabled for the video unit.

### Claim 2 (depends on 1)

The method of claim 1, wherein the video unit corresponds to a sequence, a picture, a slice, a tile, a block, or a subpicture.

### Claim 3 (depends on 1)

The method of claim 1, wherein a syntax element indicating whether a transform is applied to the video unit is included in the bitstream, and the transform skip mode is enabled for the video unit when a value of the syntax element is equal to 0.

### Claim 4 (depends on 1)

The method of claim 1, 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, and
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.

### Claim 5 (depends on 4)

The method of claim 4, 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,
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.

### Claim 6 (depends on 5)

The method of claim 5, wherein in a case that the CCLM prediction mode is a first CCLM prediction mode, numSampL is equal to a height of the video unit when the value of the second variable indicates the neighboring block is available,
wherein in a case that the CCLM prediction mode is a second CCLM prediction mode, numSampL is equal to nTbH+Min(numLeftBelow, nTbW), where nTbW denotes a width of the video unit, and numLeftBelow denotes a number of available left-below neighboring chroma samples.

### Claim 7 (depends on 5)

The method of claim 5, wherein when the value of the second variable indicates the neighboring block is not available, the first variables denoted as pY [x][y] with x=−1, y=−1 . . . SubHeightC*numSampL−1, are set equal to the reconstructed luma samples pY[0][y].

### Claim 8 (depends on 4)

The method of claim 4, 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 above luma sample prior to a deblocking filter process at a location (xTbY+x, yTbY+y), and a maximum of x is equal to SubWidthC*Max(numSampT, nTbW)−1,
wherein (xTbY, yTbY) denotes a top-left position of the first luma block, x and y are integers, nTbW denotes a width of the video unit, SubWidthC is a width scale factor obtained according to a chroma format of a first video picture, and numSampT denotes a number of available neighboring chroma samples in the CCLM prediction mode.

### Claim 9 (depends on 8)

The method of claim 8, wherein in a case that the CCLM prediction mode is a first CCLM prediction mode, numSampT is equal to a width of the video unit when the value of the second variable indicates the neighboring block is available,
wherein in a case that the CCLM prediction mode is a third CCLM prediction mode, numSampT is equal to nTbW+Min(numTopRight, nTbH), where nTbH denotes a height of the video unit, and numTopRight denotes a number of available top-right neighboring chroma samples.

### Claim 10 (depends on 8)

The method of claim 8, wherein when the value of the second variable indicates the neighboring block is not available, the first variables denoted as pY [x][y] with x=−1 . . . SubWidthC*numSampT−1, y=−1 . . . −2, are set equal to the reconstructed luma samples pY[x][0].

### Claim 11 (depends on 1)

The method of claim 1, wherein the conversion includes encoding the video into the bitstream.

### Claim 12 (depends on 1)

The method of claim 1, wherein the conversion includes decoding the video from the bitstream.

### Claim 13

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:
determine, for a conversion between a video comprising a video unit and a bitstream of the video, a coding tool for the video unit according to a rule; and
perform the conversion according to the determining,
wherein the rule specifies that when a transform skip mode is enabled for the video unit, sign data hiding and dependent quantization are disabled for the video unit.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the video unit corresponds to a sequence, a picture, a slice, a tile, a block, or a subpicture.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein a syntax element indicating whether a transform is applied to the video unit is included in the bitstream, and the transform skip mode is enabled for the video unit when a value of the syntax element is equal to 0.

### Claim 16 (depends on 13)

The apparatus of claim 13, 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, and
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.

### Claim 17 (depends on 16)

The apparatus of claim 16, 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,
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.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein in a case that the CCLM prediction mode is a first CCLM prediction mode, numSampL is equal to a height of the video unit when the value of the second variable indicates the neighboring block is available,
wherein in a case that the CCLM prediction mode is a second CCLM prediction mode, numSampL is equal to nTbH+Min(numLeftBelow, nTbW), where nTbW denotes a width of the video unit, and numLeftBelow denotes a number of available left-below neighboring chroma samples.

### Claim 19

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
determine, for a conversion between a video comprising a video unit and a bitstream of the video, a coding tool for the video unit according to a rule; and
perform the conversion according to the determining,
wherein the rule specifies that when a transform skip mode is enabled for the video unit, sign data hiding and dependent quantization are disabled for the video unit.

### Claim 20

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 rule specifies that when a transform skip mode is enabled for the video unit, sign data hiding and dependent quantization are disabled for the video unit.
