# US 10,313,703 B2 · Video data encoding and decoding methods and apparatuses

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

- Number: US 10,313,703 B2
- Document ID: US10313703B2
- Status: Granted
- Kind: B2
- Application number: 15/258,450
- Filed: 2016-09-07
- Published: 2016-12-29
- Granted: 2019-06-04
- Earliest claimed: 2014-03-18
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Maxim Sychev; Jin Song
- Web page: https://patentgrep.com/patent/US10313703B2

## CPC

- H04N 19/65: using error resilience
- 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: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Video data encoding and decoding methods and apparatuses which include determining a to-be-encoded information group in a to-be-encoded video sequence, generating a primary information group corresponding to the to-be-encoded information group, wherein the primary information group comprises a first data information, indication information that indicates whether the to-be-encoded information group is the primary information group or a redundant information group, and location information of the primary information group, generating the redundant information group corresponding to the to-be-encoded information group, wherein the redundant information group comprises a second data information, location information of the redundant information group, indication information that indicates whether the to-be-encoded information group is the primary information group or the redundant information group, and location relationship information of the redundant information group and the primary information group, and encoding the primary information group and the redundant information group into a bitstream.

## Claims

### Claim 1

A video data encoding method, comprising:
determining a to-be-encoded information group in a to-be-encoded video sequence;
generating a primary information group corresponding to the to-be-encoded information group, the primary information group comprising a first data information, a first indication information that indicates whether the to-be-encoded information group is the primary information group or a redundant information group, and location information of the primary information group, and the redundant information group comprising a second data information, location information of the redundant information group, a second indication information that indicates whether the to-be-encoded information group is the primary information group or the redundant information group, and location relationship information of the redundant information group and the primary information group;
generating the redundant information group corresponding to the to-be-encoded information group by:
determining whether the primary information group has been generated;
setting a preset location relationship information as the location relationship information of the redundant information group and the primary information group when the primary information group has not been generated:
generating the second data information and the location information of the redundant information group when the primary information group has not been generated;
calculating the location relationship information of the redundant information group and the primary information group when the primary information group has been generated;
setting the location relationship information as the location relationship information of the redundant information group and the primary information group when the primary information group has been generated; and
generating the second data information and the location information of the redundant information group when the primary information group has been generated; and
encoding the primary information group and the redundant information group into a bitstream.

### Claim 2 (depends on 1)

The video data encoding method of claim 1, wherein the location information of the primary information group comprises a location of the primary information group in the bitstream, an order of the primary information group in an encoding process, or a picture display order of the primary information group, and wherein the location information of the redundant information group comprises a location of the redundant information group in the bitstream, an order of the redundant information group in the encoding process, or a picture display order of the redundant information group.

### Claim 3 (depends on 1)

The video data encoding method of claim 1, wherein generating the primary information group corresponding to the to-be-encoded information group further comprises:
generating the first data information and the location information of the primary information group when the redundant information group has not been generated; and
generating the first data information and the location information of the primary information group when the redundant information group has been generated.

### Claim 4 (depends on 2)

The video data encoding method of claim 2, wherein the location information is the picture display order, the primary information group corresponding to the to-be-encoded information group is generated and the redundant information group corresponding to the to-be-encoded information group is generated, and the method further comprises setting the picture display order of the primary information group and the redundant information group according to a preset rule such that the picture display order of the primary information group is different from that of the redundant information group.

### Claim 5

A video data decoding method, comprising:
acquiring a to-be-decoded bitstream;
determining a to-be-decoded information group;
obtaining, by parsing, a primary information group corresponding to the to-be-decoded information group, the primary information group comprising a first data information, a first indication information that indicates whether the to-be-decoded information group is the primary information group or a redundant information group, and location information of the primary information group, the redundant information group comprising a second data information, location information of the redundant information group, a second indication information that indicates whether the to-be-decoded information group is the primary information group or the redundant information group, and location relationship information of the redundant information group and the primary information group, and the location relationship information of the redundant information group and the primary information group being used to deduce the location information of the primary information group;
obtaining, by parsing, the redundant information group corresponding to the to-be-decoded information group by:
determining whether the primary information group is correctly obtained by parsing;
stopping parsing the to-be-decoded information group without further needing to obtain, by parsing, the redundant information group corresponding to the to-be-decoded information group when the primary information group is correctly obtained by parsing; and
continuing to obtain, by parsing, the redundant information group corresponding to the to-be-decoded information group when the primary information group is not correctly obtained by parsing, the redundant information group comprising the second data information, the location information of the redundant information group, the second indication information that indicates whether the to-be-decoded information group is the primary information group or the redundant information group, and the location relationship information of the redundant information group and the primary information group, and the location relationship information of the redundant information group and the primary information group being used to deduce the location information of the primary information group; and
acquiring a decoded information group based on the primary information group obtained by parsing or the redundant information group obtained by parsing, the decoded information group being acquired based on the primary information group obtained by parsing when the primary information group is correctly obtained by parsing, the decoded information group being acquired based on the redundant information group obtained by parsing when the primary information group is not correctly obtained by parsing, and the decoded information group being used for reconstruction of an encoded video sequence.

### Claim 6 (depends on 5)

The video data decoding method of claim 5, wherein the location information of the primary information group comprises a location of the primary information group in the to-be-decoded bitstream, an order of the primary information group in an encoding process, or a picture display order of the primary information group, and wherein the location information of the redundant information group comprises a location of the redundant information group in the to-be-decoded bitstream, an order of the redundant information group in the encoding process, or a picture display order of the redundant information group.

### Claim 7 (depends on 6)

The video data decoding method of claim 6, wherein the location relationship information comprises an absolute value of a location difference between a sequential order of the redundant information group and the primary information group, and wherein the absolute value of the location difference and the sequential order comprise an absolute value of a location difference between the sequential order of the primary information group and the redundant information group in the to-be-decoded bitstream, an absolute value of an order difference between the sequential order of the primary information group and the redundant information group in the encoding process, or an absolute value of a picture display order difference between the sequential order of the primary information group and the redundant information group.

### Claim 8 (depends on 7)

The video data decoding method of claim 7, wherein the location relationship information further comprises a flag information that indicates whether the location information of the redundant information group and the location information of the primary information group belong to a same picture group.

### Claim 9 (depends on 8)

The video data decoding method of claim 8, wherein the location relationship information further comprises a quantity of picture groups that the redundant information group and the primary information group are spaced apart when the location information of the redundant information group and the location information of the primary information group do not belong to the same picture group.

### Claim 10 (depends on 7)

The video data decoding method of claim 7, wherein the location relationship information further comprises a quantity of picture groups that the redundant information group and the primary information group are spaced apart.

### Claim 11 (depends on 6)

The video data decoding method of claim 6, wherein when the location information is the picture display order, and when the primary information group corresponding to the to-be-decoded information group is generated and the redundant information group corresponding to the to-be-decoded information group is generated, the method further comprises confirming the picture display order of the primary information group and the redundant information group according to picture display order that are of the primary information group and the redundant information group and that are set according to a preset rule, the picture display order of the primary information group is different from that of the redundant information group.

### Claim 12 (depends on 11)

The video data decoding method of claim 11, wherein the picture display order of the primary information group is set to consecutive even numbers, and the picture display order of the redundant information group is set to 1 plus the picture display order of a corresponding primary information group.

### Claim 13 (depends on 5)

The video data decoding method of claim 5, wherein the redundant information group further comprises attribute information of the primary information group corresponding to the redundant information group.

### Claim 14 (depends on 13)

The video data decoding method of claim 13, wherein the attribute information of the primary information group comprises at least one of the following information:
a first information that indicates whether the primary information group belongs to an instantaneous refresh frame;
a second information that indicates whether the primary information group can be referenced;
a third information that indicates whether the primary information group is displayed at a decoder; and
a fourth information that indicates whether the primary information group can be discarded.

### Claim 15 (depends on 5)

The video data decoding method of claim 5, wherein the to-be-decoded information group comprises any one or more of a picture, a frame, a slice, a tile, and a set of basic coding units (CUs).

### Claim 16 (depends on 5)

The video data decoding method of claim 5, wherein the location relationship information is located in at least one of supplemental enhancement information, a network abstraction layer unit header, a slice header, a frame header, a tile header, or a picture parameter set.

### Claim 17 (depends on 13)

The video data decoding method of claim 13, wherein the second indication information that indicates whether the to-be-decoded information group is the primary information group or the redundant information group and the attribute information of the primary information group corresponding to the redundant information group are located in at least one of supplemental enhancement information, a network abstraction layer unit header, a slice header, a frame header, a tile header, or a picture parameter set.

### Claim 18

A video data decoding apparatus, comprising:
a memory; and
a processor coupled to the memory and configured to:
acquire a to-be-decoded bitstream;
determine a to-be-decoded information group;
obtain, by parsing, a primary information group corresponding to the to-be-decoded information group, the primary information group comprising a first data information, a first indication information that indicates whether the to-be-decoded information group is the primary information group or a redundant information group, and location information of the primary information group the redundant information group comprising a second data information, location information of the redundant information group, a second indication information that indicates whether the to-be-decoded information group is the primary information group or the redundant information group, and location relationship information of the redundant information group and the primary information group, and the location relationship information of the redundant information group and the primary information group being used to deduce the location information of the primary information group;
obtain, by parsing, the redundant information group corresponding to the to-be-decoded information group by:
determining whether the primary information group is correctly obtained by parsing;
stopping parsing of the to-be-decoded information group without further needing to obtain, by parsing, the redundant information group corresponding to the to-be-decoded information group when the primary information group is correctly obtained by parsing; and
continuing to obtain, by parsing, the redundant information group corresponding to the to-be-decoded information group when the primary information group is not correctly obtained by parsing, the redundant information group comprising the second data information, the location information of the redundant information group, the second indication information that indicates whether the to-be-decoded information group is the primary information group or the redundant information group, and the location relationship information of the redundant information group and the primary information group, and the location relationship information of the redundant information group and the primary information group being used to deduce the location information of the primary information group; and
acquire a decoded information group based on the primary information group obtained by parsing or the redundant information group obtained by parsing, the decoded information group being acquired based on the primary information group obtained by parsing when the primary information group is correctly obtained by parsing, the decoded information group being acquired based on the redundant information group obtained by parsing when the primary information group is not correctly obtained by parsing, and the decoded information group being used for reconstruction of an encoded video sequence.

### Claim 19 (depends on 18)

The video data decoding apparatus of claim 18, wherein the to-be-decoded information group comprises any one or more of a picture, a frame, a slice, a tile, and a set of basic coding units (CUs).

### Claim 20 (depends on 18)

The video data decoding apparatus of claim 18, wherein the location relationship information is located in at least one of supplemental enhancement information, a network abstraction layer unit header, a slice header, a frame header, a tile header, or a picture parameter set.
