# US 2021/0092391 A1 · Method for reference picture resampling with offset in video bitstream

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

- Number: US 2021/0092391 A1
- Document ID: US20210092391A1
- Status: Published application
- Kind: A1
- Application number: 17/022,727
- Filed: 2020-09-16
- Published: 2021-03-25
- Earliest claimed: 2019-09-24
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Byeongdoo CHOI; Stephan Wenger; Shan Liu
- Web page: https://patentgrep.com/patent/US20210092391A1

## 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/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/146: Data rate or code amount at the encoder output
- H04N 19/172: the region being a picture, frame or field
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- 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/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- H04N 19/597: specially adapted for multi-view video sequence encoding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method, device, and computer-readable medium for decoding an encoded video bitstream using at least one processor, including obtaining a flag indicating that a conformance window is not used for reference picture resampling; based on the flag indicating that the conformance window is not used for the reference picture resampling, determining whether a resampling picture size is signaled; based on determining that the resampling picture size is signaled, determining a resampling ratio based on the resampling picture size; based on determining that the resampling picture size is not signaled, determining the resampling ratio based on an output picture size; and performing the reference picture resampling on a current picture using the resampling ratio.

## Claims

### Claim 1

A method of decoding an encoded video bitstream using at least one processor,
the method comprising:
obtaining a flag indicating that a conformance window is not used for reference picture resampling;
based on the flag indicating that the conformance window is not used for the reference picture resampling, determining whether a resampling picture size is signaled;
based on determining that the resampling picture size is signaled, determining a resampling ratio based on the resampling picture size;
based on determining that the resampling picture size is not signaled, determining the resampling ratio based on an output picture size; and
performing the reference picture resampling on a current picture using the resampling ratio.

### Claim 2 (depends on 1)

The method of claim 1, wherein the flag is signaled in a picture parameter set.

### Claim 3 (depends on 1)

The method of claim 1, wherein the resampling picture size is signaled in the encoded video bitstream as at least one of a width of the resampling picture size and a height of the resampling picture size.

### Claim 4 (depends on 3)

The method of claim 3, wherein the at least one of the width and the height is signaled in a picture parameter set.

### Claim 5 (depends on 3)

The method of claim 3, wherein the at least one of the width and the height is expressed as a number of luma samples included in the at least one of the width and the height.

### Claim 6 (depends on 3)

The method of claim 3, wherein the at least one of the width and the height is determined based on at least one offset distance between a border of the current picture and a predetermined luma sample of a reference region.

### Claim 7 (depends on 6)

The method of claim 6, wherein the at least one offset distance is signaled in a picture parameter set.

### Claim 8 (depends on 6)

The method of claim 6, wherein the at least one offset distance comprises at least one from among:
a horizontal offset distance between a left border of the current picture and a top-left luma sample of the reference region,
a vertical offset distance between a top border of the current picture and the top-left luma sample of the reference region,
a horizontal offset distance between a right border of the current picture and a bottom-right luma sample of the reference region, and
a vertical offset distance between a bottom border of the current picture and the bottom-right luma sample of the reference region.

### Claim 9

A device for decoding an encoded video bitstream, the device comprising:
at least one memory configured to store program code; and
at least one processor configured to read the program code and operate as instructed by the program code, the program code including:
obtaining code configured to cause the at least one processor to obtain a flag indicating that a conformance window is not used for reference picture resampling;
first determining code configured to cause the at least one processor to, based on the flag indicating that the conformance window is not used for the reference picture resampling, determine whether a resampling picture size is signaled;
second determining code configured to cause the at least one processor to, based on determining that the resampling picture size is signaled, determine a resampling ratio based on the resampling picture size;
third determining code configured to cause the at least one processor to, based on determining that the resampling picture size is not signaled, determine the resampling ratio based on an output picture size; and
performing code configured to cause the at least one processor to perform the reference picture resampling on a current picture using the resampling ratio.

### Claim 10 (depends on 9)

The device of claim 9, wherein the flag is signaled in a picture parameter set.

### Claim 11 (depends on 9)

The device of claim 9, wherein the resampling picture size is signaled in the encoded video bitstream as at least one of a width of the resampling picture size and a height of the resampling picture size.

### Claim 12 (depends on 11)

The device of claim 11, wherein the at least one of the width and the height is signaled in a picture parameter set.

### Claim 13 (depends on 3)

The device of claim 3, wherein the at least one of the width and the height is expressed as a number of luma samples included in the at least one of the width and the height.

### Claim 14 (depends on 11)

The device of claim 11, wherein the at least one of the width and the height is determined based on at least one offset distance between a border of the current picture and a predetermined luma sample of a reference region.

### Claim 15 (depends on 14)

The device of claim 14, wherein the at least one offset distance is signaled in a picture parameter set.

### Claim 16 (depends on 14)

The device of claim 14, wherein the at least one offset distance comprises at least one from among:
a horizontal offset distance between a left border of the current picture and a top-left luma sample of the reference region,
a vertical offset distance between a top border of the current picture and the top-left luma sample of the reference region,
a horizontal offset distance between a right border of the current picture and a bottom-right luma sample of the reference region, and
a vertical offset distance between a bottom border of the current picture and the bottom-right luma sample of the reference region.

### Claim 17

A non-transitory computer-readable medium storing instructions, the instructions comprising: one or more instructions that, when executed by one or more processors of a device for decoding an encoded video bitstream, cause the one or more processors to:
obtain a flag indicating that a conformance window is not used for reference picture resampling;
based on the flag indicating that the conformance window is not used for the reference picture resampling, determine whether a resampling picture size is signaled;
based on determining that the resampling picture size is signaled, determining a resampling ratio based on the resampling picture size;
based on determine that the resampling picture size is not signaled, determining the resampling ratio based on an output picture size; and
perform the reference picture resampling on a current picture using the resampling ratio.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the resampling picture size is signaled in the encoded video bitstream as at least one of a width of the resampling picture size and a height of the resampling picture size.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the at least one of the width and the height is expressed as a number of luma samples included in the at least one of the width and the height.

### Claim 20 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the at least one of the width and the height is determined based on at least one offset distance between a border of the current picture and a predetermined luma sample of a reference region.
