# US 2018/0324464 A1 · Context modeling for transform coefficient coding

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

- Number: US 2018/0324464 A1
- Document ID: US20180324464A1
- Status: Published application
- Kind: A1
- Application number: 15/973,347
- Filed: 2018-05-07
- Published: 2018-11-08
- Earliest claimed: 2017-05-08
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Li Zhang; Nan Hu; Wei-Jung Chien; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US20180324464A1

## CPC

- H04N 19/61: in combination with predictive coding
- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- 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/625: using discrete cosine transform [DCT]
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A device for coding video data is configured to code a first syntax element, wherein a value for the first syntax element indicates whether there is at least one non-zero transform coefficient level associated with a first block of video data; determine a context for a second syntax element based on the value for the first syntax element, wherein the second syntax element indicates coding mode information for a second block of video data; and code the second syntax element based on the determined context.

## Claims

### Claim 1

A method of coding video data, the method comprising;
coding a first syntax element, wherein a value for the first syntax element indicates whether there is at least one non-zero transform coefficient level associated with a first block of video data;
determining a context for a second syntax element based on the value for the first syntax element, wherein the second syntax element indicates coding mode information for a second block of video data; and
coding the second syntax element based on the determined context.

### Claim 2 (depends on 1)

The method of claim 1, wherein the second syntax element comprises a merge flag for the second block.

### Claim 3 (depends on 1)

The method of claim 1, wherein the second syntax element indicates a prediction mode for the second block.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first block and the second block are spatially neighboring blocks.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first block is in a reference picture and the second block is in a current picture, and the first block is co-located relative to the second block.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first block is in a reference picture and the second block is in a current picture, and wherein the first block neighbors a block that is co-located relative to the second block.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first block and the second block comprise luma blocks.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first block and the second block comprise chroma blocks.

### Claim 9 (depends on 1)

The method of claim 1, wherein coding the second syntax element based on the determined context comprises performing a context-adaptive binary arithmetic coding (CABAC) operation on the second syntax element.

### Claim 10 (depends on 1)

The method of claim 1, wherein coding comprises encoding, and wherein coding the second syntax element based on the determined context comprises outputting a bitstream of encoded video data comprising the second syntax element.

### Claim 11 (depends on 1)

The method of claim 1, wherein coding comprises decoding, and wherein coding the second syntax element based on the determined context comprises receiving a bitstream of encoded video data comprising the second syntax element and determining the value for the second syntax element.

### Claim 12

A device for coding video data, the device comprising:
a memory; and
one or more processors configured to:
code a first syntax element, wherein a value for the first syntax element indicates whether there is at least one non-zero transform coefficient level associated with a first block of video data;
determine a context for a second syntax element based on the value for the first syntax element, wherein the second syntax element indicates coding mode information for a second block of video data; and
code the second syntax element based on the determined context.

### Claim 13 (depends on 12)

The device of claim 12, wherein the second syntax element comprises a merge flag for the second block.

### Claim 14 (depends on 12)

The device of claim 12, wherein the second syntax element indicates a prediction mode for the second block.

### Claim 15 (depends on 12)

The device of claim 12, wherein the first block and the second block are spatially neighboring blocks.

### Claim 16 (depends on 12)

The device of claim 12, wherein the first block is in a reference picture and the second block is in a current picture, and the first block is co-located relative to the second block.

### Claim 17 (depends on 12)

The device of claim 12, wherein the first block is in a reference picture and the second block is in a current picture, and wherein the first block neighbors a block that is co-located relative to the second block.

### Claim 18 (depends on 12)

The device of claim 12, wherein the first block and the second block comprise luma blocks.

### Claim 19 (depends on 12)

The device of claim 12, wherein the first block and the second block comprise chroma blocks.

### Claim 20 (depends on 12)

The device of claim 12, wherein to code the second syntax element based on the determined context, the one or more processors are configured to perform a context-adaptive binary arithmetic coding (CABAC) operation on the second syntax element.

### Claim 21 (depends on 12)

The device of claim 12, wherein the device comprises a video encoder, and wherein to code the second syntax element based on the determined context, the one or more processors are configured to output a bitstream of encoded video data comprising the second syntax element.

### Claim 22 (depends on 12)

The device of claim 12, wherein the device comprises a video decoder, and wherein to code the second syntax element based on the determined context, the one or more processors are configured to receive a bitstream of encoded video data comprising the second syntax element and to determine the value for the second syntax element.
