# US 2021/0344903 A1 · Video Decoding Method, Video Coding Method, Apparatus, Device, and Storage Medium

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

- Number: US 2021/0344903 A1
- Document ID: US20210344903A1
- Status: Published application
- Kind: A1
- Application number: 17/370,120
- Filed: 2021-07-08
- Published: 2021-11-04
- Earliest claimed: 2019-01-08
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Lu Yu; Ye-Kui Wang; Hualong Yu; Yin Zhao; Yuqun Fan; Xiaoding Gao; Haitao Yang
- Web page: https://patentgrep.com/patent/US20210344903A1

## 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/58: Motion compensation with long-term prediction, i.e. the reference frame for a current frame not being the temporally closest one (H04N19/23 takes precedence)
- 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/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 21/234327: {by decomposing into layers, e.g. base layer and one or more enhancement layers}
- H04N 21/2353: {specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata}
- H04N 21/8451: {using Advanced Video Coding [AVC]}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video encoding method, a video decoding method, an apparatus, a device, and a storage medium include parsing a first flag from the video bitstream when a video bitstream is allowed to be decoded by referencing a library picture corresponding to a library picture bitstream, using a value of a target parameter of the video bitstream as a value of a target parameter of the library picture bitstream referenced by the video bitstream when a value of the first flag is a first value, and reconstructing, based on the value of the target parameter of the library picture bitstream referenced by the video bitstream and the library picture bitstream referenced by the video bitstream to obtain the library picture corresponding to the library picture bitstream referenced by the video bitstream.

## Claims

### Claim 1

A method comprising:
parsing, from a video bitstream, a first flag when the video bitstream is allowed to be decoded by referencing a library picture corresponding to a library picture bitstream; and
when the first flag has a first value:
setting a second value of a first target parameter in a sequence header of the video bitstream as a third value of a second target parameter of the library picture bitstream referenced by the video bitstream; and
reconstructing, based on the third value and the library picture bitstream the library picture.

### Claim 2 (depends on 1)

The method of claim 1, further comprising reconstructing, based on the video bitstream and the library picture a video picture corresponding to the video bitstream.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first flag is located in the sequence header.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first flag comprises a same parameter flag that indicates whether the third value is the same as the second value, and wherein value of the same parameter flag being the first value indicates that the third value is the same as the second value.

### Claim 5 (depends on 1)

The method of claim 1, wherein the second target parameter comprises decoding capability information, and wherein the method further comprises:
determining whether a decoding capability of a to-be-used decoder satisfies a requirement indicated by a fifth value of the decoding capability information; and
parsing, using the to-be-used decoder, the library picture bitstream the to obtain the library picture when the decoding capability satisfies the requirement.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
parsing, from the video bitstream, a library picture reference flag that indicates whether the video bitstream is allowed to be decoded by referencing the library picture; and
further parsing from the video bitstream, the first flag when a sixth value of the library picture reference flag indicates that the video bitstream is allowed to be decoded by referencing the library picture.

### Claim 7 (depends on 6)

The method of claim 6, wherein the video bitstream comprises a library picture flag having a seventh value and indicates that the video bitstream is not the library picture bitstream.

### Claim 8 (depends on 6)

The method of claim 6, further comprising:
obtaining a library picture flag from a current bitstream;
setting the current bitstream as the video bitstream when a seventh value of the library picture flag indicates that the video bitstream is not the library picture bitstream; and
parsing, from the video bitstream, the library picture reference flag.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first target parameter comprises capability information of the library picture bitstream, and wherein the method further comprises:
parsing from a video parameter set (VPS) of the video bitstream, the decoding capability information;
parsing, from a sequence parameter set (SPS) of the video bitstream, the decoding capability information; or
parsing, from the sequence header, the decoding capability information.

### Claim 10 (depends on 1)

The method of claim 1, wherein the first target parameter comprises first decoding capability information of the video bitstream, wherein the first decoding capability information comprises a profile flag indicating a profile that comprises the video bitstream and a level flag indicating a level that comprises the video bitstream, and wherein the method further comprises setting the profile flag and the level flag as second decoding capability information of the library picture bitstream.

### Claim 11

A video encoding method comprising:
encoding a video picture by referencing a encoding a video picture bitstream to obtain encoded data when the video picture is allowed to be encoded by referencing the library picture; and
adding a first flag to the encoded data to obtain a video bitstream,
wherein the first flag is set to a first value and indicates that a second value of a first target parameter in a sequence header of the video bitstream is used as a third value of a second target parameter of the library picture bitstream, and
wherein the video bitstream references the library picture bitstream.

### Claim at position 12

-21. (canceled)

### Claim 22

A video coding device, comprising:
a memory configured to store instructions; and
a processor coupled to the memory, wherein the instructions cause the processor to be configured to:
parse a first flag from a video bitstream when the video bitstream is allowed to be decoded by referencing a library picture corresponding to a library picture bitstream; and
when the first flag has a first value:
set a second value of a first target parameter in a sequence header of the video bitstream as a third value of a second target parameter of the library picture bitstream referenced by the video bitstream; and
reconstruct, based on the third value and the library picture bitstream, the library picture.

### Claim 23 (depends on 22)

The video coding device of claim 22, wherein the processor is further configured to reconstruct, based on the video bitstream and the library picture, a video picture corresponding to the video bitstream.

### Claim 24 (depends on 22)

The video coding device of claim 22, wherein the first flag is located in the sequence header.

### Claim 25 (depends on 22)

The video coding device of claim 22, wherein the first flag comprises a same parameter flag that indicates whether the third value is the same as the second value, and wherein a fourth value of the same parameter flag being the first value indicates that the third value is the same as the second value.

### Claim 26 (depends on 22)

The video coding device of claim 22, wherein the second target parameter comprises decoding capability information, and wherein the processor is further configured to:
determine whether a decoding capability of a to-be-used decoder satisfies a requirement indicated by a fifth value of the decoding capability information; and
parse, using the to-be-used decoder, the library picture bitstream to obtain the library picture when the decoding capability satisfies the requirement.

### Claim 27 (depends on 22)

The video coding device of claim 22, wherein the processor is further configured to:
parse, from the video bitstream, a library picture reference flag that indicates whether the video bitstream is allowed to be decoded by referencing the library picture; and
further parse, from the video bitstream, the first flag when a sixth value of the library picture reference flag indicates that the video bitstream is allowed to be decoded by referencing the library picture.

### Claim 28 (depends on 27)

The video coding device of claim 27, wherein the video bitstream comprises a library picture flag having a seventh value and indicates that the video bitstream is not the library picture bitstream.

### Claim 29 (depends on 27)

The video coding device of claim 27, wherein the processor is further configured to:
obtain a library picture flag from a current bitstream;
set the current bitstream as the video bitstream when a seventh value of the library picture flag indicates that the video bitstream is not the library picture bitstream; and
parse, from the video bitstream, the library picture reference flag.

### Claim 30 (depends on 22)

The video coding device of claim 22, wherein the first target parameter comprises decoding capability information of the library picture bitstream, and wherein the processor is further configured to:
parse, from a video parameter set (VPS) of the video bitstream, the decoding capability information;
parse, from a sequence parameter set (SPS) of the video bitstream, the decoding capability information; or
parse, from the sequence header, the decoding capability information.

### Claim 31

A video coding device comprising:
a memory configured to store instructions; and
a processor coupled to the memory, wherein the instructions cause the processor to be configured to:
encode a video picture by referencing a library picture corresponding to a library picture bitstream to obtain encoded data when the video picture is allowed to be encoded by referencing the library picture; and
add a first flag to the encoded data to obtain a video bitstream,
wherein the first flag is set to a first value and indicates that a second value of a first target parameter in a sequence header of the video bitstream is used as a third value of a second target parameter of the library picture bitstream, and
wherein the video bitstream references the library picture bitstream.
