# US 2026/0089315 A1 · Image decoding method, image encoding method, method of transmitting bitstream, recording medium

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

- Number: US 2026/0089315 A1
- Document ID: US20260089315A1
- Status: Published application
- Kind: A1
- Application number: 19/408,313
- Filed: 2025-12-03
- Published: 2026-03-26
- Earliest claimed: 2019-09-24
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Hyeong Moon JANG
- Web page: https://patentgrep.com/patent/US20260089315A1

## CPC

- 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/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- 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/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/573: Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image decoding method performed by an image decoding apparatus includes: determining that bi-directional optical flow (BDOF) or prediction refinement with optical flow (PROF) is applied to a current block; generating a prediction sample of the current block from a reference picture of the current block based on motion information of the current block; and deriving a refined prediction sample for the current block, by applying BDOF or PROF to the generated prediction sample of the current block, where the generating the prediction sample of the current block is performed based on whether a current subpicture including the current block is treated as a picture, where the generating the prediction sample of the current block comprises obtaining a reference sample specified by a position inside the reference picture and left-shifting a value of the reference sample, where the position inside the reference picture is clipped in a predetermined range.

## Claims

### Claim 1

An image decoding method performed by an image decoding apparatus, the image decoding method comprising:
determining whether bi-directional optical flow (BDOF) or prediction refinement with optical flow (PROF) is applied to a current subblock;
generating a prediction sample of the current subblock from a reference picture of the current subblock based on motion information of the current subblock; and
deriving a refined prediction sample for the current subblock, by applying BDOF or PROF to the current subblock based on the generated prediction sample,
wherein the generating the prediction sample of the current subblock is performed based on whether a current subpicture is treated as a picture,
wherein the generating the prediction sample of the current subblock comprises obtaining a reference sample specified by a position inside the reference picture and left-shifting a value of the reference sample,
wherein the position inside the reference picture is clipped in a predetermined range,
wherein, based on the current subpicture being treated as the picture, the predetermined range is specified by a boundary position of the current subpicture,
wherein the position inside the reference picture comprises an x-coordinate and a y-coordinate,
wherein the x-coordinate is clipped in a range of a left boundary position and right boundary position of the current subpicture,
wherein the y-coordinate is clipped in a range of a top boundary position and bottom boundary position of the current subpicture,
wherein the left boundary position of the current subblock is derived as a product of a left position of the current subpicture in a unit of a predetermined size and the predetermined size,
wherein the right boundary position of the current subpicture is derived by performing “−1” operation on a product of a right position of the current subpicture in a unit of the predetermined size and the predetermined size,
wherein the top boundary position of the current subpicture is derived as a product of a top position of the current subpicture in a unit of the predetermined size and the predetermined size, and
wherein the bottom boundary position of the current subpicture is derived by performing “−1” operation on a product of a bottom position of the current subpicture in a unit of the predetermined size and the predetermined size.

### Claim 2 (depends on 1)

The image decoding method of claim 1, wherein whether the current subpicture is treated as the picture is determined based on flag information signaled through a bitstream.

### Claim 3 (depends on 2)

The image decoding method of claim 2, wherein the flag information is signaled through a sequence parameter set (SPS).

### Claim 4 (depends on 1)

The image decoding method of claim 1, wherein the predetermined unit is a grid or a CTU.

### Claim 5 (depends on 1)

The image decoding method of claim 1, wherein, based on the current subpicture being not treated as the picture, the predetermined range is a range of a current picture including the current subblock.

### Claim 6

An image encoding method performed by an image encoding apparatus, the image encoding method comprising:
determining whether bi-directional optical flow (BDOF) or prediction refinement with optical flow (PROF) is applied to a current subblock:
generating a prediction sample of the current subblock from a reference picture of the current subblock based on motion information of the current subblock; and
deriving a refined prediction sample for the current subblock, by applying BDOF or PROF to the current subblock based on the generated prediction sample,
wherein the generating the prediction sample of the current subblock is performed based on whether a current subpicture is treated as a picture,
wherein the generating the prediction sample of the current subblock comprises obtaining a reference sample specified by a position inside the reference picture and left-shifting a value of the reference sample,
wherein the position inside the reference picture is clipped in a predetermined range,
wherein, based on the current subpicture being treated as the picture, the predetermined range is specified by a boundary position of the current subpicture,
wherein the position inside the reference picture comprises an x-coordinate and a y-coordinate,
wherein the x-coordinate is clipped in a range of a left boundary position and right boundary position of the current subpicture,
wherein the y-coordinate is clipped in a range of a top boundary position and bottom boundary position of the current subpicture,
wherein the left boundary position of the current subblock is derived as a product of a left position of the current subpicture in a unit of a predetermined size and the predetermined size,
wherein the right boundary position of the current subpicture is derived by performing “−1” operation on a product of a right position of the current subpicture in a unit of the predetermined size and the predetermined size,
wherein the top boundary position of the current subpicture is derived as a product of a top position of the current subpicture in a unit of the predetermined size and the predetermined size, and
wherein the bottom boundary position of the current subpicture is derived by performing “−1” operation on a product of a bottom position of the current subpicture in a unit of the predetermined size and the predetermined size.

### Claim 7 (depends on 6)

A method of transmitting a bitstream, comprising:
performing the image encoding method of claim 6 to generate the bitstream; and
transmitting the bitstream.
