# US 2023/0421772 A1 · Handling of multiple picture size and conformance windows for reference picture resampling 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 2023/0421772 A1
- Document ID: US20230421772A1
- Status: Published application
- Kind: A1
- Application number: 18/458,815
- Filed: 2023-08-30
- Published: 2023-12-28
- Earliest claimed: 2019-07-08
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jianle Chen; FNU Hendry
- Web page: https://patentgrep.com/patent/US20230421772A1

## CPC

- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/172: the region being a picture, frame or field
- H04N 19/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- 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 of decoding includes receiving a first picture parameter set and a second picture parameter set each referring to same sequence parameter set, the first picture parameter set and the second picture parameter set having same values of a conformance window when the first picture parameter set and the second picture parameter set have same values of picture width and picture height, and applying the conformance window to a current picture corresponding to the first picture parameter set or the second picture parameter set.

## Claims

### Claim 1

A method of encoding implemented by a video encoder, the method comprising:
generating a first picture parameter set (PPS) and a second PPS each referring to a same sequence parameter set (SPS), wherein the first PPS comprises a first picture width parameter, a first picture height parameter, and a first conformance window flag, wherein the second PPS comprises a second picture width parameter, a second picture height parameter, and a second conformance window flag, wherein the first conformance window flag being equal to 1 specifies that the first PPS further comprises first conformance window parameters, wherein the second conformance window flag being equal to 1 specifies that the second PPS further comprises second conformance window parameters, and wherein when the first picture width parameter has a same value as the second picture width parameter and the first picture height parameter has a same value as the second picture height parameter, the first conformance window parameters have same values as the second conformance window parameters; and
encoding the first PPS and the second PPS into a bitstream.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first conformance window parameters or the second conformance window parameters comprise a conformance window left offset, a conformance window right offset, a conformance window top offset, and a conformance window bottom offset.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first picture width parameter or the second picture width parameter is measured in luma samples, and wherein the first picture height parameter or the second picture height parameter is measured in luma samples.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first conformance window flag being equal to 0 indicates that the first PPS does not comprise the first conformance window parameters, and wherein the second conformance window flag being equal to 0 indicates that the second PPS does not comprise the second conformance window parameters.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first picture width parameter, the first picture height parameter, and the first conformance window parameters of a current picture and a reference picture for the current picture are used to determine whether bi-direction optical flow (BDOF) is enabled.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first picture width parameter, the first picture height parameter, and the first conformance window parameters of a current picture and a reference picture for the current picture are used to determine whether decoder-side motion vector refinement (DMVR) is enabled.

### Claim 7

An encoding device, comprising:
a memory containing instructions;
one or more processors coupled to the memory, the one or more processors are configured to implement the instructions to cause the encoding device to:
generate a first picture parameter set (PPS) and a second PPS each referring to a same sequence parameter set (SPS), wherein the first PPS comprises a first picture width parameter, a first picture height parameter, and a first conformance window flag, wherein the second PPS comprises a second picture width parameter, a second picture height parameter, and a second conformance window flag, wherein the first conformance window flag being equal to 1 specifies that the first PPS further comprises first conformance window parameters, wherein the second conformance window flag being equal to 1 specifies that the second PPS further comprises second conformance window parameters, and wherein when the first picture width parameter has a same value as the second picture width parameter and the first picture height parameter has a same value as the second picture height parameter, the first conformance window parameters have same values as the second conformance window parameters; and
encoding the first PPS and the second PPS into a bitstream.

### Claim 8 (depends on 7)

The encoding device of claim 7, wherein the first conformance window parameters or the second conformance window parameters comprise a conformance window left offset, a conformance window right offset, a conformance window top offset, and a conformance window bottom offset.

### Claim 9 (depends on 7)

The encoding device of claim 7, wherein the first picture width parameter or the second picture width parameter is measured in luma samples, and wherein the first picture height parameter or the second picture height parameter is measured in luma samples.

### Claim 10 (depends on 7)

The encoding device of claim 7, wherein the first conformance window flag being equal to 0 indicates that the first PPS does not comprise the first conformance window parameters, and wherein the second conformance window flag being equal to 0 indicates that the second PPS does not comprise the second conformance window parameters.

### Claim 11 (depends on 7)

The encoding device of claim 7, wherein the first picture width parameter, the first picture height parameter, and the first conformance window parameters of a current picture and a reference picture for the current picture are used to determine whether bi-direction optical flow (BDOF) is enabled.

### Claim 12 (depends on 7)

The encoding device of claim 7, wherein the first picture width parameter, the first picture height parameter, and the first conformance window parameters of a current picture and a reference picture for the current picture are used to determine whether decoder-side motion vector refinement (DMVR) is enabled.

### Claim 13

An encoded bitstream, comprising:
a first picture parameter set (PPS) and a second PPS each referring to a same sequence parameter set (SPS), wherein the first PPS comprises a first picture width parameter, a first picture height parameter, and a first conformance window flag, wherein the second PPS comprises a second picture width parameter, a second picture height parameter, and a second conformance window flag, wherein the first conformance window flag being equal to 1 specifies that the first PPS further comprises first conformance window parameters, wherein the second conformance window flag being equal to 1 specifies that the second PPS further comprises second conformance window parameters, and wherein when the first picture width parameter has a same value as the second picture width parameter and the first picture height parameter has a same value as the second picture height parameter, the first conformance window parameters have same values as the second conformance window parameters.

### Claim 14 (depends on 13)

The encoded bitstream of claim 13, wherein the first conformance window parameters or the second conformance window parameters comprise a conformance window left offset, a conformance window right offset, a conformance window top offset, and a conformance window bottom offset.

### Claim 15 (depends on 13)

The encoded bitstream of claim 13, wherein the first picture width parameter or the second picture width parameter is measured in luma samples, and wherein the first picture height parameter or the second picture height parameter is measured in luma samples.

### Claim 16 (depends on 13)

The encoded bitstream of claim 13, wherein the first conformance window flag being equal to 0 indicates that the first PPS does not comprise the first conformance window parameters, and wherein the second conformance window flag being equal to 0 indicates that the second PPS does not comprise the second conformance window parameters.

### Claim 17 (depends on 13)

The encoded bitstream of claim 13, wherein the first picture width parameter, the first picture height parameter, and the first conformance window parameters of a current picture and a reference picture for the current picture are used to determine whether bi-direction optical flow (BDOF) is enabled.

### Claim 18 (depends on 13)

The encoded bitstream of claim 13, wherein the first picture width parameter, the first picture height parameter, and the first conformance window parameters of a current picture and a reference picture for the current picture are used to determine whether decoder-side motion vector refinement (DMVR) is enabled.
