# US 2021/0281846 A1 · Method of multiple quantization matrix sets for video coding

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

- Number: US 2021/0281846 A1
- Document ID: US20210281846A1
- Status: Published application
- Kind: A1
- Application number: 16/332,435
- Filed: 2016-09-13
- Published: 2021-09-09
- Earliest claimed: 2016-09-13
- Assignees: Mediatek Inc.
- Applicants: Mediatek Inc.
- Inventors: Shih-Ta HSIANG; Shaw-Min LEI; Yu-Wen HUANG; Yu-Chen SUN
- Web page: https://patentgrep.com/patent/US20210281846A1

## CPC

- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method and apparatus for processing transform blocks of video data performed by a video encoder or a video decoder are disclosed. A plurality of quantization matrix sets are determined, where each quantization matrix set includes one or more quantization matrices corresponding to different block types. For a transform block corresponding to a current block in a current picture, a selected quantization matrix set is determined from the plurality of quantization matrix sets for the transform block. Quantization process or de-quantization process is applied to the transform block using a corresponding quantization matrix from the selected quantization matrix set.

## Claims

### Claim 1

A method of processing transform blocks of video data performed by a video encoder or a video decoder, the method comprising:
determining a plurality of quantization matrix sets, wherein each quantization matrix set includes one or more quantization matrices corresponding to different block types;
receiving input data associated with a transform block corresponding to a current block in a current picture;
determining a selected quantization matrix set from the plurality of quantization matrix sets for the transform block; and
applying quantization process or de-quantization process to the transform block using a corresponding quantization matrix from the selected quantization matrix set.

### Claim 2 (depends on 1)

The method of claim 1, wherein said determining the selected quantization matrix set depends on a local region of the current block.

### Claim 3 (depends on 2)

The method of claim 2, wherein the local region of the current block corresponds to one picture, one slice, one CTU (coding tree unit) or one CU (coding unit).

### Claim 4 (depends on 2)

The method of claim 2, wherein one or more syntax elements indicating the selected quantization matrix set for the local region of the current block are signalled by the video encoder.

### Claim 5 (depends on 2)

The method of claim 2, wherein one or more syntax elements indicating the selected quantization matrix set for the local region of the current block are decoded by the video decoder from a video bitstream comprising compressed data of the local region of the current block.

### Claim 6 (depends on 1)

The method of claim 1 further comprising signalling information associated with the plurality of quantization matrix sets by the video encoder.

### Claim 7 (depends on 1)

The method of claim 1 further comprising deriving the plurality of quantization matrix sets by the video decoder from a video bitstream comprising information associated with the plurality of quantization matrix sets.

### Claim 8 (depends on 1)

The method of claim 1 further comprising determining a plurality of quantization factors for controlling quantization step sizes associated with quantization matrices of the plurality of quantization matrix sets.

### Claim 9 (depends on 8)

The method of claim 8, wherein values of the plurality of quantization factors are determined independently for different quantization matrix sets.

### Claim 10 (depends on 1)

The method of claim 1, wherein different quantization matrix sets are selected for blocks having different slice types or in different temporal layers.

### Claim 11 (depends on 1)

The method of claim 1, wherein the plurality of quantization matrix sets is determined for different local regions of a picture corresponding to different levels of human interest.

### Claim 12 (depends on 1)

The method of claim 1, wherein the plurality of quantization matrix sets is determined for different local regions of a picture corresponding to different distances away from a picture centre.

### Claim 13 (depends on 1)

The method of claim 1, wherein at least one of the plurality of quantization matrix sets is determined for natural-scene video and at least one of the plurality of quantization matrix sets is determined for screen-content video.

### Claim 14 (depends on 1)

The method of claim 1, wherein the block types are classified according to block sizes, block shape, block colour component indices, block prediction modes, or a combination thereof.

### Claim 15

A method of processing transform blocks of video data performed by a video encoder or a video decoder, the method comprising:
deriving a quantization matrix set based on quantization setting for a previous picture, wherein the quantization matrix set includes one or more quantization matrices corresponding to different block types;
receiving input data associated with a transform block corresponding to a current block in a current picture; and
applying quantization process or de-quantization process to the transform block using a corresponding quantization matrix from the quantization matrix set.

### Claim 16 (depends on 15)

The method of claim 15, wherein the quantization setting for the previous picture corresponds to the quantization matrix set for a corresponding local region in the previous picture or quantization factors selected for the corresponding local region in the previous picture.

### Claim 17 (depends on 15)

The method of claim 15, wherein the quantization setting for the previous picture corresponds to a syntax element specifying an absolute value of a difference between a luma quantization parameter of the current block and a quantization parameter predictor of the current block.

### Claim 18 (depends on 15)

The method of claim 15, wherein a syntax element is signalled in a slice level to indicate whether to enable derivation of the quantization matrix set based on the quantization setting for a previous picture.

### Claim 19 (depends on 15)

The method of claim 15, wherein the quantization setting for the previous picture is derived from quantization setting of collocated pixels in the previous picture corresponding to the current block.

### Claim 20

An apparatus for processing transform blocks of video data performed by a video encoder or a video decoder, the apparatus comprising one or more electronic circuits or a processor configured to:
determine a plurality of quantization matrix sets, wherein each quantization matrix set includes one or more quantization matrices corresponding to different block types;
receive input data associated with a transform block corresponding to a current block in a current picture;
determine a selected quantization matrix set from the plurality of quantization matrix sets for the transform block; and
apply quantization process or de-quantization process to the transform block using a corresponding quantization matrix from the selected quantization matrix set.
