# US 2022/0295061 A1 · Context modeling and selection of multiple transform matrix

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

- Number: US 2022/0295061 A1
- Document ID: US20220295061A1
- Status: Published application
- Kind: A1
- Application number: 17/406,315
- Filed: 2021-08-19
- Published: 2022-09-15
- Earliest claimed: 2019-04-23
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Li ZHANG; Kai ZHANG; Hongbin LIU; Yue WANG
- Web page: https://patentgrep.com/patent/US20220295061A1

## CPC

- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- 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/61: in combination with predictive coding
- H04N 19/625: using discrete cosine transform [DCT]
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Devices, systems and methods for digital video coding, which includes context modeling and multiple transform matrix selection, are described. An exemplary method for video processing includes determining, for a conversion between a current video block of a video and a bitstream representation of the video, that an indication of a transform type in a multiple transform selection (MTS) operation is excluded from the bitstream representation, and wherein the current video block is coded using an intra block copy mode, and performing the conversion, wherein the indication is in a sequence parameter set, a picture parameter set, a tile group header, a slice header, a picture header, a tile header, a coding tree unit row, or a video data unit, and wherein the MTS operation includes using a transform from a plurality of predefined transform candidates for transforming a prediction error of the current video block during the conversion.

## Claims

### Claim 1

A method of processing video data, comprising:
determining, for a conversion between a current video block of a video and a bitstream of the video, whether an indication of a transform type in a multiple transform selection operation is included in the bitstream or not at least based on whether the current video block is coded using an intra block copy mode; and
performing the conversion based on the determining,
wherein the multiple transform selection operation comprises using a transform from a plurality of predefined transform candidates during the conversion.

### Claim 2 (depends on 1)

The method of claim 1, wherein in response to the current video block being coded using the intra block copy mode, the indication is excluded from the bitstream.

### Claim 3 (depends on 1)

The method of claim 1, wherein in response to the indication being included in the bitstream, the indication is in a sequence parameter set, a picture parameter set, a tile group header, a slice header, a picture header, a tile header, a coding tree unit row, a coding unit, or a video data unit.

### Claim 4 (depends on 1)

The method of claim 1, wherein whether the indication is included in the bitstream or not is further based on a position of a last non-zero coefficient of the current video block.

### Claim 5 (depends on 1)

The method of claim 1, wherein whether to apply an implicit multiple transform selection operation is based on whether the current video block is coded with a specific prediction mode.

### Claim 6 (depends on 1)

The method of claim 1, wherein whether the indication is included in the bitstream or not is further based on at least one of a first syntax element in a sequence parameter set indicting whether the indication is allowed to present in the bitstream for an intra coding unit, or a second syntax element in a sequence parameter set indicting whether the indication is allowed to present in the bitstream for an inter coding unit.

### Claim 7 (depends on 1)

The method of claim 1, wherein in response to the current video block is a chroma component which is partitioned using a dual tree from a coding tree unit, the indication is excluded from the bitstream.

### Claim 8 (depends on 1)

The method of claim 1, wherein in response to a value of a third syntax element indicting a transform not applied to an associated transform block of the current video block, the indication is excluded from the bitstream.

### Claim 9 (depends on 1)

The method of claim 1, wherein the transform type of the multiple transform selection comprises of Discrete Cosine Transform Type II (DCT-II), Discrete Cosine Transform Type VII (DCT-VII), or Discrete Cosine Transform Type VIII (DCT-VIII).

### Claim 10 (depends on 1)

The method of claim 1, wherein for an intra block copy mode coded block, its prediction is derived from blocks of sample values of a same slice as determined by block vectors.

### Claim 11 (depends on 1)

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

### Claim 12 (depends on 1)

The method of claim 1, wherein the conversion includes decoding the current video block 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 current video block of a video and a bitstream of the video, whether an indication of a transform type in a multiple transform selection operation is included in the bitstream or not at least based on whether the current video block is coded using an intra block copy mode; and
perform the conversion based on the determining,
wherein the multiple transform selection operation comprises using a transform from a plurality of predefined transform candidates during the conversion.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein in response to the current video block being coded using the intra block copy mode, the indication is excluded from the bitstream.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein in response to the indication being included in the bitstream, the indication is in a sequence parameter set, a picture parameter set, a tile group header, a slice header, a picture header, a tile header, a coding tree unit row, a coding unit, or a video data unit.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein whether the indication is included in the bitstream or not is further based on a position of a last non-zero coefficient of the current video block.

### Claim 17

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
determine, for a conversion between a current video block of a video and a bitstream of the video, whether an indication of a transform type in a multiple transform selection operation is included in the bitstream or not at least based on whether the current video block is coded using an intra block copy mode; and
perform the conversion based on the determining,
wherein the multiple transform selection operation comprises using a transform from a plurality of predefined transform candidates during the conversion.

### Claim 18

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 whether an indication of a transform type in a multiple transform selection operation is included in the bitstream of the video or not at least based on whether a current video block of the video is coded using an intra block copy mode; and
generating the bitstream based on the determining,
wherein the multiple transform selection operation comprises using a transform from a plurality of predefined transform candidates during the conversion.

### Claim 19 (depends on 18)

The non-transitory computer-readable recording medium of claim 18, wherein in response to the current video block being coded using the intra block copy mode, the indication is excluded from the bitstream.

### Claim 20 (depends on 18)

The non-transitory computer-readable recording medium of claim 18, wherein in response to the indication being included in the bitstream, the indication is in a sequence parameter set, a picture parameter set, a tile group header, a slice header, a picture header, a tile header, a coding tree unit row, a coding unit, or a video data unit.
