# US 2021/0344920 A1 · Encoder, decoder and corresponding methods using dct2 enabled high level flag

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

- Number: US 2021/0344920 A1
- Document ID: US20210344920A1
- Status: Published application
- Kind: A1
- Application number: 17/370,805
- Filed: 2021-07-08
- Published: 2021-11-04
- Earliest claimed: 2019-01-11
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Han Gao; Jianle Chen; Semih Esenlik; Anand Meher Kotra; Biao Wang
- Web page: https://patentgrep.com/patent/US20210344920A1

## CPC

- H04N 19/122: Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
- G06T 9/007: {Transform coding, e.g. discrete cosine transform}
- G06T 9/40: Tree coding, e.g. quadtree, octree
- 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/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/179: the unit being a scene or a shot
- H04N 19/196: being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters (processing of motion vectors H04N19/513)
- 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 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/51: Motion estimation or motion compensation
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method of video coding a block of a picture includes: obtaining a residual signal resulting from inter- or intra-picture prediction; inferring use of a DCT2 transform core for a sequence of the residual signal; processing the transformation of the block using the inferred transform core.

## Claims

### Claim 1

A method of coding video picture blocks of a picture by a coding device, comprising:
obtaining a residual signal resulting from inter-picture prediction or intra-picture prediction;
inferring use of a Discrete Cosine Transform type 2 (DCT2) transform core for a block of a sequence of the residual signal; and
transforming the block using the DCT2 transform core.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the use of DCT2 is inferred from a sequence level DCT2 enabled flag in a Sequence Parameter Set(SPS).

### Claim 3 (depends on 2)

The method according to claim 2, wherein the sequence level DCT2 enabled flag is denoted as sps_dct2_enabled_flag.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the sequence level DCT2 enabled flag is comprised in a SPS level syntax as follows:
Descriptor
seq_parameter_set_rbsp( ) {
...
ue(v)
sps_dct2_enabled_flag
if (! sps_dct2_enabled_flag) {
sps_mts_intra_enabled_flag
u(1)
sps_mts_inter_enabled_flag
u(1)
}
...
u(1)
}
wherein sps_dct2_enabled_flag represents the sequence level DCT2 enabled flag.

### Claim 5 (depends on 2)

The method according to claim 2,
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 transform core is used for transformation,
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 transform core is used for transformation, only,
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 is used for both horizontal direction transformation and vertical direction transformation, or
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 is used for sub block transformation.

### Claim 6 (depends on 2)

The method according to claim 2,
wherein the sequence level DCT2 enabled flag being equal to 0 specifies that other transform cores than DCT2 are used for the transformation.

### Claim 7 (depends on 6)

The method according to claim 6,
wherein the other transform cores comprise a Discrete Sine Transform type 7, DST7, a Discrete Cosine Transform type 8, or DCT8.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the sequence level DCT2 enabled flag being equal to 0 specifies that using at least one of DST7 or DCT8 for transformation is inferred.

### Claim 9 (depends on 6)

The method according to claim 6, further comprising:
when the sequence level DCT2 enabled flag is equal to 0, determining whether Multiple Transform Selection for Sequence Parameter Set is enabled via a flag.

### Claim 10

A decoder, comprising:
a memory; and
one or more processors in communication with the memory, wherein the one or more processors are configured to:
obtain a residual signal resulting from inter-picture prediction or intra-picture prediction;
infer use of a Discrete Cosine Transform type 2 (DCT2) transform core for a block of a sequence of the residual signal; and
transforming the block using the DCT2 transform core.

### Claim 11 (depends on 10)

The decoder according to claim 10, wherein the use of DCT2 is inferred from a sequence level DCT2 enabled flag in a Sequence Parameter Set (SPS).

### Claim 12 (depends on 11)

The decoder according to claim 11, wherein the sequence level DCT2 enabled flag is denoted as sps_dct2_enabled_flag.

### Claim 13 (depends on 11)

The decoder according to claim 11, wherein the sequence level DCT2 enabled flag is comprised in a SPS level syntax as follows:
Descriptor
seq_parameter_set_rbsp( ) {
...
ue(v)
sps_dct2_enabled_flag
if (! sps_dct2_enabled_flag) {
sps_mts_intra_enabled_flag
u(1)
sps_mts_inter_enabled_flag
u(1)
}
...
u(1)
}
wherein sps_dct2_enabled_flag represents the sequence level DCT2 enabled flag.

### Claim 14 (depends on 11)

The decoder according to claim 11,
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 transform core is used for transformation,
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 transform core is used for transformation, only,
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 is used for both horizontal direction transformation and vertical direction transformation, or
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 is used for sub block transformation.

### Claim 15 (depends on 11)

The decoder according to claim 11,
wherein the sequence level DCT2 enabled flag being equal to 0 specifies that other transform cores than DCT2 are used for the transformation.

### Claim 16 (depends on 15)

The decoder according to claim 15,
wherein the other transform cores comprise a Discrete Sine Transform type 7 (DST7) and/or a Discrete Cosine Transform type 8 (DCT8).

### Claim 17 (depends on 15)

The decoder according to claim 15, wherein the sequence level DCT2 enabled flag being equal to 0
specifies that using at least one of DST7 or DCT8 for transformation is inferred.

### Claim 18 (depends on 15)

The decoder according to claim 15, wherein the one or more processors are further configured to,
when the sequence level DCT2 enabled flag is equal to 0, determine whether Multiple Transform Selection for Sequence Parameter Set is enabled via a flag.

### Claim 19

A non-transitory computer-readable recording medium storing a bitstream that is generated by an image encoding method with an encoding apparatus, wherein the image encoding method comprises:
obtaining a residual signal resulting from inter-picture prediction or intra-picture prediction;
inferring use of a Discrete Cosine Transform type 2 (DCT2) transform core for a block of a sequence of the residual signal; and
transforming the block using the DCT2 transform core.

### Claim 20 (depends on 19)

The non-transitory computer-readable recording medium according to claim 19, wherein the use of DCT2 is inferred from a sequence level DCT2 enabled flag in a Sequence Parameter Set (SPS).

### Claim 21 (depends on 20)

The non-transitory computer-readable recording medium according to claim 20, wherein the sequence level DCT2 enabled flag is denoted as sps_dct2_enabled_flag.

### Claim 22 (depends on 20)

The non-transitory computer-readable recording medium according to claim 20, wherein the sequence level DCT2 enabled flag is comprised in a SPS level syntax as follows:
Descriptor
seq_parameter_set_rbsp( ) {
...
ue(v)
sps_dct2_enabled_flag
if (! sps_dct2_enabled_flag) {
sps_mts_intra_enabled_flag
u(1)
sps_mts_inter_enabled_flag
u(1)
}
...
u(1)
}
wherein sps_dct2_enabled_flag represents the sequence level DCT2 enabled flag.

### Claim 23 (depends on 20)

The non-transitory computer-readable recording medium according to claim 20,
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 transform core is used for transformation,
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 transform core is used for transformation, only,
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 is used for both horizontal direction transformation and vertical direction transformation, or
wherein the sequence level DCT2 enabled flag being equal to 1 specifies that DCT2 is used in sub block transformation.

### Claim 24 (depends on 20)

The non-transitory computer-readable recording medium according to claim 20,
wherein the sequence level DCT2 enabled flag being equal to 0 specifies that other transform cores than DCT2 are used for the transformation.

### Claim 25 (depends on 24)

The non-transitory computer-readable recording medium according to claim 24,
wherein the other transform cores comprise a Discrete Sine Transform type 7 (DST7) or a Discrete Cosine Transform type 8 (DCT8).

### Claim 26 (depends on 24)

The non-transitory computer-readable recording medium according to claim 24, wherein the sequence level DCT2 enabled flag being equal to 0
specifies that using at least one of DST7 or DCT8 for transformation is inferred.

### Claim 27 (depends on 24)

The non-transitory computer-readable recording medium according to claim 24, wherein the image encoding method further comprises:
when the sequence level DCT2 enabled flag is equal to 0, determining whether Multiple Transform Selection for Sequence Parameter Set is enabled via a flag.
