# US 12,120,303 B2 · Signaling for reference picture resampling

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

- Number: US 12,120,303 B2
- Document ID: US12120303B2
- Status: Granted
- Kind: B2
- Application number: 17/832,267
- Filed: 2022-06-03
- Published: 2022-09-15
- Granted: 2024-10-15
- Earliest claimed: 2019-06-24
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Byeongdoo Choi; Stephan Wenger; Shan Liu
- Web page: https://patentgrep.com/patent/US12120303B2

## 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/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- 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/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/172: the region being a picture, frame or field
- 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/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method, device, and non-transitory computer-readable medium for decoding an encoded video bitstream using at least one processor, including obtaining a coded picture from the encoded video bitstream; decoding the coded picture to generate a decoded picture; obtaining a first flag indicating whether reference picture resampling is enabled; obtaining a second flag indicating whether reference pictures have a constant reference picture size; obtaining a third flag indicating whether output pictures have a constant output picture size indicated in the encoded video bitstream; generating a reference picture by resampling the decoded picture to have the constant reference picture size, and storing the reference picture in a decoded picture buffer; and generating an output picture by resampling the decoded picture to have the constant output picture size, and outputting the output picture.

## Claims

### Claim 1

A method of decoding an encoded video bitstream using at least one processor, the method comprising:
obtaining a coded picture from the encoded video bitstream;
obtaining from the encoded video bitstream a first flag indicating whether reference picture resampling is enabled;
based on the first flag indicating that the reference picture resampling is enabled, obtaining a second flag indicating whether motion vector scaling is disabled;
based on determining that the motion vector scaling is disabled, decoding the coded picture using the reference picture resampling and using a reference motion vector without scaling.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first flag is signaled in a sequence parameter set included in the encoded video bitstream.

### Claim 3 (depends on 1)

The method of claim 1, wherein the second flag is signaled in a picture parameter set included in the encoded video bitstream.

### Claim 4 (depends on 1)

The method of claim 1, wherein based on determining that the motion vector scaling is not disabled, decoding the coded picture using the reference picture resampling and using a scaled reference motion vector.

### Claim 5 (depends on 1)

The method of claim 1, further comprising obtaining picture resolution information from the encoded video bitstream,
wherein the picture resolution information indicates at least one from among a maximum picture resolution and a minimum picture resolution.

### Claim 6 (depends on 5)

The method of claim 5, wherein the picture resolution information is signaled in a decoder parameter set included in the encoded video bitstream.

### Claim 7 (depends on 1)

The method of claim 1, further comprising obtaining a list of picture sizes from the encoded video bitstream.

### Claim 8 (depends on 7)

The method of claim 7, further comprising obtaining an index indicating a picture size of the decoded picture within the list of picture sizes.

### Claim 9 (depends on 8)

The method of claim 8, wherein the list of picture sizes is signaled in a sequence parameter set included in the encoded video bitstream, and
wherein the index is signaled in a picture parameter set included in the encoded video bitstream.

### Claim 10

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:
first obtaining code configured to cause the at least one processor to obtain a coded picture from the encoded video bitstream;
second obtaining code configured to cause the at least one processor to obtain, from the encoded video bitstream, a first flag indicating whether reference picture resampling is enabled;
third obtaining code configured to cause the at least one processor to, based on the first flag indicating that the reference picture resampling is enabled, obtain a second flag indicating whether motion vector scaling is disabled;
and
decoding code configured to cause the at least one processor to, based on the motion vector scaling being disabled, decode the coded picture using the reference picture resampling and using a reference motion vector without scaling.

### Claim 11 (depends on 10)

The device of claim 10, wherein the first flag is signaled in a sequence parameter set included in the encoded video bitstream.

### Claim 12 (depends on 10)

The device of claim 10, wherein the second flag is signaled in a picture parameter set included in the encoded video bitstream.

### Claim 13 (depends on 10)

The device of claim 10, wherein based on determining that the motion vector scaling is not disabled, decoding the coded picture using the reference picture resampling and using a scaled reference motion vector.

### Claim 14 (depends on 10)

The device of claim 10, further comprising obtaining picture resolution information from the encoded video bitstream,
wherein the picture resolution information indicates at least one from among a maximum picture resolution and a minimum picture resolution.

### Claim 15 (depends on 14)

The device of claim 14, wherein the picture resolution information is signaled in a decoder parameter set included in the encoded video bitstream.

### Claim 16 (depends on 10)

The device of claim 10, further comprising obtaining a list of picture sizes from the encoded video bitstream.

### Claim 17 (depends on 16)

The device of claim 16, further comprising obtaining an index indicating a picture size of the decoded picture within the list of picture sizes.

### Claim 18 (depends on 17)

The device of claim 17, wherein the list of picture sizes is signaled in a sequence parameter set included in the encoded video bitstream, and
wherein the index is signaled in a picture parameter set included in the encoded video bitstream.

### Claim 19

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 coded picture from the encoded video bitstream;
obtain from the encoded video bitstream a first flag indicating whether reference picture resampling is enabled;
based on the first flag indicating that the reference picture resampling is enabled, obtain a second flag indicating whether motion vector scaling is disabled;
and
based on the motion vector scaling being disabled, decode the coded picture using the reference picture resampling and using a reference motion vector without scaling.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein based on determining that the motion vector scaling is not disabled, decoding the coded picture using the reference picture resampling and using a scaled reference motion vector.
