# US 2022/0046240 A1 · Method and Apparatus of Transform Type Assignment for Intra Sub-Partition in Video Coding

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

- Number: US 2022/0046240 A1
- Document ID: US20220046240A1
- Status: Published application
- Kind: A1
- Application number: 17/426,081
- Filed: 2020-01-22
- Published: 2022-02-10
- Earliest claimed: 2019-01-31
- Assignees: Mediatek Inc.
- Applicants: Mediatek Inc.
- Inventors: Man-Shu CHIANG; Chih-Wei HSU
- Web page: https://patentgrep.com/patent/US20220046240A1

## CPC

- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- 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/11: among a plurality of spatial predictive coding modes
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- 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/61: in combination with predictive coding
- 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 of prediction for video coding are disclosed. According to the method, when the Intra Sub-Partition (ISP) mode is applied to a block, the block is partitioned into multiple sub-blocks horizontally or vertically. A target horizontal transform and a target vertical transform are determined from a candidate transform set for each of the multiple sub-blocks according to a target setting belonging to a setting group comprising unified setting and block setting. The target horizontal transform and the target vertical transform selected are then applied to each of the multiple sub-blocks. According to another method, a target horizontal and vertical transform are determined from a candidate transform set without a transform index for the current block according to unified setting, wherein the unified setting comprises two or more Intra modes or Intra-related modes.

## Claims

### Claim 1

A method of prediction for video coding, the method comprising:
receiving input data related to a current block in a current picture at a video encoder side or a video bitstream corresponding to compressed data including the current block in the current picture at a video decoder side;
if Intra Sub-Partition (ISP) mode is used for the current block:
partitioning the current block into multiple sub-blocks horizontally or vertically;
determining a target horizontal transform and a target vertical transform from a candidate transform set for each of the multiple sub-blocks according to a setting group comprising a unified setting or a block setting, wherein the unified setting is applicable to a particular coding mode, a normal Intra mode and other Intra-related modes, and the block setting corresponds to block width, block height, block ratio, block area or any combination thereof of the current block; and
applying the target horizontal transform and the target vertical transform to each of the multiple sub-blocks.

### Claim 2 (depends on 1)

The method of claim 1, wherein the target horizontal transform and the target vertical transform belong to a subset comprising any combination of DCT-II, DST-VII, DCT-VIII, and flipped DST-VII.

### Claim 3 (depends on 2)

The method of claim 2, wherein a pair representing (the target horizontal transform, the target vertical transform) corresponds to (DCT-II, DCT-II), (DST-VII, DCT-II), (DCT-II, DST-VII), or (DST-VII, DST-VII).

### Claim 4 (depends on 1)

The method of claim 1, wherein the target horizontal transform and the target vertical transform are determined based on the block width, the block height, the block ratio, the block area or any combination thereof of the current block.

### Claim 5 (depends on 4)

The method of claim 4, wherein the target horizontal transform is changed from DCT-II to another transform type when the block width is smaller than or equal to the block height.

### Claim 6 (depends on 4)

The method of claim 4, wherein the target horizontal transform is changed from DCT-II to DST-VII when the block width is within [4, 16], the block width is smaller than or equal to the block height, or both the block width is within [4, 16] and the block width is smaller than or equal to the block height.

### Claim 7 (depends on 4)

The method of claim 4, wherein the target vertical transform is changed from DCT-II to DST-VII when the block height is within [4, 16], the block height is smaller than or equal to the block width, or both the block height is within [4, 16] and the block height is smaller than or equal to the block width.

### Claim 8 (depends on 1)

The method of claim 1, wherein the candidate transform set is the same as a normal transform set for the normal Intra mode.

### Claim 9 (depends on 8)

The method of claim 8, wherein a shortest codeword for candidate transforms in the candidate transform set is set to DST-VII for both the target horizontal transform and the target vertical transform.

### Claim 10 (depends on 1)

The method of claim 1, wherein the ISP mode uses a same Intra prediction mode list as that of the normal Intra mode.

### Claim 11 (depends on 10)

The method of claim 10, wherein the ISP mode uses a subset of an Intra prediction mode list of the normal Intra mode.

### Claim 12 (depends on 1)

The method of claim 1, wherein the ISP mode is disabled according to at least one threshold related to the block width, the block height, or the block area.

### Claim 13 (depends on 1)

The method of claim 1, wherein the unified setting or the block setting is determined implicitly.

### Claim 14 (depends on 1)

The method of claim 1, wherein a decision for the unified setting or the block setting is signaled at CU (coding unit), CTU (coding tree unit), slice, tile, tile group, SPS (sequence parameter set), or PPS (picture parameter set) level.

### Claim 15 (depends on 1)

The method of claim 1, wherein the setting group further comprises mode setting and the mode setting corresponds to a selected Intra mode for the current block.

### Claim 16 (depends on 15)

The method of claim 15, wherein the selected Intra mode corresponds to a directional mode satisfying (directional modes % 2==1).

### Claim 17 (depends on 15)

The method of claim 15, wherein the selected Intra mode corresponds to a directional mode satisfying (directional modes % 2==0).

### Claim 18

An apparatus of video coding, the apparatus comprising one or more electronic circuits or processors arranged to:
receive input data related to a current block in a current picture at a video encoder side or a video bitstream corresponding to compressed data including the current block in the current picture at a video decoder side;
if Intra Sub-Partition (ISP) mode is used for the current block:
partition the current block into multiple sub-blocks horizontally or vertically;
determine a target horizontal transform and a target vertical transform from a candidate transform set for each of the multiple sub-blocks according to a setting group comprising a unified setting or a block setting, wherein the unified setting is applicable to a particular coding mode , a normal Intra mode and other Intra-related modes, and the block setting corresponds to block width, block height, block ratio, block area or any combination thereof of the current block; and
apply the target horizontal transform and the target vertical transform to each of the multiple sub-blocks.

### Claim 19

A method of prediction for video coding, the method comprising:
receiving input data related to a current block in a current picture at a video encoder side or a video bitstream corresponding to compressed data including the current block in the current picture at a video decoder side;
determining a target horizontal transform and a target vertical transform from a candidate transform set without a transform index for the current block according to unified setting, wherein the unified setting comprises two or more Intra modes or Intra-related modes; and
applying the target horizontal transform and the target vertical transform to the current block.

### Claim 20

An apparatus of video coding, the apparatus comprising one or more electronic circuits or processors arranged to:
receive input data related to a current block in a current picture at a video encoder side or a video bitstream corresponding to compressed data including the current block in the current picture at a video decoder side;
determine a target horizontal transform and a target vertical transform from a candidate transform set without a transform index for the current block according to unified setting, wherein the unified setting comprises two or more Intra modes or Intra-related modes; and
apply the target horizontal transform and the target vertical transform to the current block.
