# US 2025/0220243 A1 · Methods and apparatuses for signaling of syntax elements 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 2025/0220243 A1
- Document ID: US20250220243A1
- Status: Published application
- Kind: A1
- Application number: 19/045,514
- Filed: 2025-02-04
- Published: 2025-07-03
- Earliest claimed: 2020-04-08
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Yi-Wen CHEN; Xiaoyu XIU; Tsung-Chuan MA; Hong-Jheng JHU; Wei CHEN; Xianglin WANG; Bing YU
- Web page: https://patentgrep.com/patent/US20250220243A1

## CPC

- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- 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/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/52: by predictive encoding
- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Methods and apparatuses for video encoding are provided. The method includes signaling one or more enable flags in a sequence parameter set (SPS) of a picture; and selectively signaling a disable flag in a picture header (PH) associated with a picture, wherein the disable flag specifies whether a coding tool is disabled for one or more slices associated with the PH; wherein in response to the disable flag being determined not to be signaled in the PH, a value of the disable flag is inferred according to one or more enable flags at the SPS level; and wherein in response to a first enable flag at the SPS level being determined to be equal to 1 and a second enable flag at the SPS level being determined to be equal to 0, the value of the disable flag is inferred to be 0.

## Claims

### Claim 1

A method for video encoding, comprising:
signaling one or more enable flags in a sequence parameter set (SPS) of a picture; and
selectively signaling a disable flag in a picture header (PH) associated with a picture, wherein the disable flag specifies whether a coding tool is disabled for one or more slices associated with the PH;
wherein in response to the disable flag being determined not to be signaled in the PH, a value of the disable flag is inferred according to one or more enable flags at the SPS level; and
wherein in response to a first enable flag at the SPS level being determined to be equal to 1 and a second enable flag at the SPS level being determined to be equal to 0, the value of the disable flag is inferred to be 0.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first enable flag at the SPS level specifies whether the coding tool is enabled, the first enable flag equaling to 1 specifies that the coding tool is enabled, and the first enable flag equaling to 0 specifies that the coding tool is disabled; and
wherein the second enable flag at the SPS level specifies whether the disable flag is present in the PH referring to the SPS, the second enable flag equaling to 0 specifies that the disable flag is not present in the PH referring to the SPS, and the second enable flag equaling to 1 specifies that the disable flag is able to be present in the PH referring to the SPS.

### Claim 3 (depends on 1)

The method of claim 1, wherein
the value of the disable flag equals to 1 specifies that the coding tool in decoding the one or more slices is disabled; and
the value of the disable flag equals to 0 specifies that the coding tool in decoding the one or more slices is enabled.

### Claim 4 (depends on 1)

The method of claim 1, wherein the coding tool comprises at least one of decoder motion vector refinement (DMVR) based inter bi-prediction and bi-directional optical flow (BDOF) based inter bi-prediction.

### Claim 5 (depends on 4)

The method of claim 4, wherein the selectively signaling the disable flag in the picture header (PH) associated with the picture comprises:
in response to one or more slices associated with the picture being determined not to be bi-predictive from one or more reference picture lists, not signaling the disable flag in the PH.

### Claim 6 (depends on 5)

The method of claim 5, wherein the disable flag specifies whether the DMVR based inter bi-prediction is disabled for the one or more slices associated with the PH;
wherein the value of the disable flag equals to 1 specifies that the DMVR based inter bi-prediction in decoding the one or more slices is disabled; and
the value of the disable flag equals to 0 specifies that the DMVR based inter bi-prediction in decoding the one or more slices is enabled.

### Claim 7 (depends on 6)

The method of claim 6, wherein
in response to the first enable flag at the SPS level being determined to be equal to 1 and the second enable flag at the SPS level being determined to be equal to 1, the value of the disable flag is inferred to be 1, and
in response to the first enable flag at the SPS level being determined to be equal to 0, the value of the disable flag is inferred to be 1.

### Claim 8 (depends on 7)

The method of claim 7, wherein in response to a plurality of reference picture lists being determined to be signaled in the PH, and a number of reference pictures in a second reference picture list being determined to be equal to 0, the one or more slices associated with the picture are determined not to be bi-predictive, wherein the plurality of reference picture lists comprise a first reference picture list and the second reference picture list;
wherein in response to the first enable flag at the SPS level being determined to be equal to 0 and the second enable flag at the SPS level being determined to be equal to 0, the disable flag is inferred to be 1; and
wherein in response to the first enable flag at the SPS level being determined to be equal to 1 and the second enable flag at the SPS level being determined to be equal to 1, the value of the disable flag is inferred to be 1.

### Claim 9 (depends on 7)

The method of claim 7, wherein in response to the first enable flag at the SPS level being determined to be equal to 0, the value of the disable flag is inferred to be 1; and
wherein in response to determining that the second enable flag at the SPS level being determined to be equal to 1, the value of the disable flag is inferred to be 1.

### Claim 10 (depends on 6)

The method of claim 6, wherein a value of the first enable flag at the SPS level is determined as W, and wherein
in response to the second enable flag at the SPS level being determined to be equal to 0, the value of the disable flag is inferred to be 1-W, or
in response to the second enable flag at the SPS level being determined not equal to 0, the value of the disable flag is inferred to be 1.

### Claim 11 (depends on 10)

The method of claim 10, wherein in response to a plurality of reference picture lists being determined to be signaled in the PH, and a number of reference pictures in a second reference picture list being determined to be equal to 0, the one or more slices associated with the picture are determined not to be bi-predictive, wherein the plurality of reference picture lists comprise a first reference picture list and the second reference picture list, and
wherein in response to the second enable flag at the SPS level being determined to be equal to 1, the value of the disable flag is inferred to be 1.

### Claim 12 (depends on 5)

The method of claim 5, wherein the disable flag specifies whether the BDOF based inter bi-prediction is disabled for the one or more slices associated with the PH;
wherein the value of the disable flag equals to 1 specifies that the BDOF based inter bi-prediction in decoding the one or more slices is disabled; and
wherein the value of the disable flag equals to 0 specifies that the BDOF based inter bi-prediction in decoding the one or more slices is enabled.

### Claim 13 (depends on 12)

The method of claim 12, wherein
in response to both of the first enable flag at the SPS level and the second enable flag at the SPS level being determined to be equal to 1, the value of the disable flag is inferred to be 1, and in response to both of the first enable flag at the SPS level and the second enable flag at the SPS level being determined to be equal to 0, the value of the disable flag is inferred to be 1; or
in response to the first enable flag at the SPS level determined to be equal to 0, the value of the disable flag is inferred to be 1, and in response to the second enable flag at the SPS level determined to be equal to 1, the value of the disable flag is inferred to be 1.

### Claim 14 (depends on 13)

The method of claim 13, wherein in response to a plurality of reference picture lists being determined to be signaled in the PH, and a number of reference pictures in a second reference picture list being determined to be equal to 0, the one or more slices associated with the picture are determined not to be bi-predictive, wherein the plurality of reference picture lists comprise a first reference picture list and the second reference picture list,
wherein in response to the first enable flag at the SPS level being determined to be equal to 0 and the second enable flag at the SPS level being determined to be equal to 0, the disable flag is inferred to be 1; and
wherein in response to the first enable flag at the SPS level being determined to be equal to 1, and the second enable flag at the SPS level being determined to be equal to 1, the value of the disable flag is inferred to be 1.

### Claim 15 (depends on 12)

The method of claim 12, wherein a value of the first enable flag at the SPS level is determined as V; and wherein
in response to the second enable flag at the SPS level being determined to be equal to 0, the value of the disable flag is inferred to be 1-V, or
in response to the second enable flag at the SPS level being determined not to be equal to 0, the value of the disable flag is inferred to be 1.

### Claim 16 (depends on 15)

The method of claim 15, wherein in response to a plurality of reference picture lists being determined to be signaled in the PH, and a number of reference pictures in a second reference picture list being determined to be equal to 0, the one or more slices associated with the picture are determined not to be bi-predictive, wherein the plurality of reference picture lists comprise a first reference picture list and the second reference picture list, and wherein in response to the second enable flag at the SPS level being determined to be equal to 1, the value of the disable flag is inferred to be 1.

### Claim 17

A method for video decoding, comprising:
receiving a bitstream comprising encoded data about a picture and a sequence parameter set (SPS) and a picture header (PH) associated with the picture;
determining whether a disable flag is present in the PH associated with the picture, wherein the disable flag specifies whether a coding tool is disabled for one or more slices associated with the PH; and
in response to determining that the disable flag is not present in the PH, inferring a value of the disable flag according to one or more enable flags at the SPS level, wherein in response to determining that the disable flag is not present in the PH, inferring the value of the disable flag according to the one or more enable flags at the SPS level comprises:
in response to determining that a first enable flag at the SPS level equals to 1 and a second enable flag at the SPS level equals to 0, inferring the value of the disable flag to be 0.

### Claim 18

An apparatus for video encoding, comprising:
one or more processors; and
a memory configured to store instructions executable by the one or more processors; wherein the one or more processors, upon execution of the instructions, are configured to perform acts comprising:
signaling one or more enable flags in a sequence parameter set (SPS) of a picture; and
selectively signaling a disable flag in a picture header (PH) associated with a picture, wherein the disable flag specifies whether a coding tool is disabled for one or more slices associated with the PH;
wherein in response to the disable flag being determined not to be signaled in the PH, a value of the disable flag is inferred according to one or more enable flags at the SPS level; and
wherein in response to a first enable flag at the SPS level being determined to be equal to 1 and a second enable flag at the SPS level being determined to be equal to 0, the value of the disable flag is inferred to be 0.

### Claim 19 (depends on 1)

A non-transitory computer-readable storage medium for video coding storing a bitstream generated by the method for video encoding of claim 1.

### Claim 20 (depends on 1)

A method for storing a bitstream, comprising:
generating a bitstream by performing the method for video encoding of claim 1; and
storing the bitstream on a non-transitory computer-readable storage medium.
