# US 2020/0404342 A1 · Video processing method, video processing apparatus, encoder, decoder, medium and computer program

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

- Number: US 2020/0404342 A1
- Document ID: US20200404342A1
- Status: Published application
- Kind: A1
- Application number: 16/994,554
- Filed: 2020-08-15
- Published: 2020-12-24
- Earliest claimed: 2018-08-10
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Anand Meher KOTRA; Semih ESENLIK; Jianle Chen; Biao Wang; Han Gao; Zhijie Zhao
- Web page: https://patentgrep.com/patent/US20200404342A1

## CPC

- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N 19/103: Selection of coding mode or of prediction mode
- 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/109: among a plurality of temporal predictive coding modes
- 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/176: the region being a block, e.g. a macroblock
- H04N 19/436: using parallelised computational arrangements
- H04N 19/52: by predictive encoding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video processing method, comprising: initializing a HMVP list for a current CTU row when the current CTU is the beginning CTU of a current CTU row; and processing the current CTU row based on the HMVP list. By performing the method, the encoding efficiency and decoding efficiency are improved.

## Claims

### Claim 1

A video processing method for processing a video, wherein the video comprises frames including a first frame, the first frame comprising one or more areas including a first area, the first area includes one or more current coding tree unit (CTU) rows including a first CTU row, the method comprising:
obtaining the first CTU row, the first CTU row comprising multiple CTUs in a sequence; and
processing the first CTU row, wherein the processing comprises:
detecting a beginning CTU in the sequence of the multiple CTUs;
in response to detecting the beginning CTU, initializing a history-based motion vector prediction (HMVP) list for the first CTU row; and
processing the current CTU row based on the initialized HMVP list.

### Claim 2 (depends on 1)

The video processing method according to claim 1, wherein initializing the HVMP list for the first CTU row comprises setting a quantity of candidate motion vectors in the HMVP list to zero.

### Claim 3 (depends on 1)

The method according to claim 1 further comprising:
initializing a HMVP list for each of the plurality of CTU rows except a current CTU row, wherein HMVP lists for the plurality of CTU rows are identical or different.

### Claim 4 (depends on 1)

The method according to claim 1, wherein processing the first CTU row based on the HMVP list comprises:
processing the beginning CTU in the sequence;
updating the HMVP list based on the processed beginning CTU to obtain an updated HMPV list; and
processing a second CTU of the current CTU row based on the updated HMVP list, wherein the second CTU is subsequent to the beginning CTU in the sequence.

### Claim 5 (depends on 1)

The video processing method according to claim 1, further comprising:
updating the HMVP list according to a processed CTU of the first CTU row.

### Claim 6 (depends on 1)

The video processing method according to claim 1, wherein initializing the HMVP list for the first CTU row comprises:
emptying the HMVP list for the first CTU row.

### Claim 7 (depends on 1)

The video processing method according to claim 1, wherein the one or more CTU rows are processed in wavefront parallel processing (WPP) mode.

### Claim 8 (depends on 7)

The video processing method according to claim 7, wherein the first CTU row is processed after a particular CTU of a previous CTU row is processed.

### Claim 9 (depends on 8)

The video processing method according to claim 8, wherein the previous CTU row is a CTU row immediately adjacent to the first CTU row and on top of the first CTU row in the first area.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the particular CTU of the previous CTU row is a second CTU in the previous CTU row;
or
the particular CTU of the previous CTU row is a first CTU in the previous CTU row, wherein the first CTU in the previous CTU row is a beginning CTU in the previous CTU row and the second CTU is subsequent to the first CTU in the previous CTU row.

### Claim 11

A decoder for processing a video, wherein the video comprises frames including a first frame, the first frame comprising one or more areas including a first area, the first area includes one or more current coding tree unit (CTU) rows including a first CTU row, the decoder comprising:
one or more processors; and
a non-transitory computer-readable storage medium coupled to the processors and storing a program for execution by the processors, wherein the program, when executed by the processors, causes the one or more processors to perform:
detecting a beginning CTU in the sequence of the multiple CTUs in the first CTU row;
in response to detecting the beginning CTU, initializing a history-based motion vector prediction (HMVP) list for the first CTU row; and
processing the first CTU row based on the initialized HMVP list.

### Claim 12 (depends on 11)

The decoder according to claim 11, wherein the quantity of the candidate motion vectors in the initialized HMVP list is zero.

### Claim 13 (depends on 11)

The decoder according to claim 11, wherein the program, when executed by the processors, further cause the one or more processors to perform:
initializing a HMVP list for each of the plurality of CTU rows except a current CTU row, wherein HMVP lists for the plurality of CTU rows are identical or different.

### Claim 14 (depends on 11)

The decoder according to claim 11, wherein processing the first CTU row based on the HMVP list comprises:
processing the beginning CTU of the first CTU row;
updating the initialized HMVP list based on the processed beginning CTU to obtain a updated HMPV list; and
processing a second CTU of the first CTU row based on the updated HMVP list, wherein the second CTU is adjacent to the beginning CTU.

### Claim 15 (depends on 11)

The decoder according to claim 11, wherein the program, when executed by the processors, further causes the one or more processors to perform:
updating the initialized HMVP list according to a processed CTU of the first CTU row.

### Claim 16 (depends on 11)

The decoder according to claim 11, wherein initializing the HMVP list for the first CTU row comprises:
emptying the HMVP list for the first CTU row.

### Claim 17 (depends on 11)

The decoder according to claim 11, wherein the one or more CTU rows are processed in wavefront parallel processing (WPP) mode.

### Claim 18 (depends on 17)

The decoder according to claim 17, wherein the first CTU row is processed after a particular CTU of a previous CTU row is processed.

### Claim 19 (depends on 18)

The decoder according to claim 18, wherein the previous CTU row is the CTU row immediately adjacent to the current CTU row and on top of the current CTU row.

### Claim 20 (depends on 18)

The decoder according to claim 18, wherein the particular CTU of the previous CTU row is the second CTU of the previous CTU row;
or
the particular CTU of the previous CTU row is the first CTU of the previous CTU row, wherein the first CTU in the previous CTU row is a beginning CTU in the previous CTU row and the second CTU is subsequent to the first CTU in the previous CTU row.

### Claim 21

A computer-readable storage medium storing computer instructions for processing a video, wherein the video comprises frames including a first frame, the first frame comprising one or more areas including a first area, the first area includes one or more current coding tree unit (CTU) rows including a first CTU row, wherein when the instructions are executed by one or more processors of an apparatus, the one or more processors of the apparatus are caused to perform:
obtaining the first CTU row, the first CTU row comprising multiple CTUs in a sequence; and
processing the first CTU row, wherein the processing comprises:
detecting a beginning CTU in the sequence of the multiple CTUs;
in response to detecting the beginning CTU, initializing a history-based motion vector prediction (HMVP) list for the first CTU row; and
processing the current CTU row based on the initialized HMVP list.

### Claim 22 (depends on 21)

The computer-readable storage medium according to claim 21, wherein the quantity of the candidate motion vectors in the initialized HMVP list is zero.

### Claim 23 (depends on 21)

The computer-readable storage medium according to claim 21, wherein the one or more processors of the apparatus are further caused to perform:
initializing a HMVP list for each of the plurality of CTU rows except a current CTU row, wherein HMVP lists for the plurality of CTU rows are identical or different.

### Claim 24 (depends on 21)

The computer-readable storage medium according to claim 21, wherein processing the first CTU row based on the HMVP list comprises:
processing the beginning CTU of the first CTU row;
updating the initialized HMVP list based on the processed beginning CTU to obtain a updated HMPV list; and
processing a second CTU of the current CTU row based on the updated HMVP list, wherein the second CTU is adjacent to the beginning CTU.

### Claim 25 (depends on 21)

The computer-readable storage medium according to claim 21, wherein the one or more processors of the apparatus are further caused to perform:
updating the initialized HMVP list according to a processed CTU of the first CTU row.

### Claim 26 (depends on 21)

The computer-readable storage medium according to claim 21, wherein initializing the HMVP list for the current CTU row comprises:
emptying the HMVP list for the current CTU row.

### Claim 27 (depends on 21)

The computer-readable storage medium according to claim 21, wherein the one or more CTU rows are processed in wavefront parallel processing (WPP) mode.
