IP Library › Granted Patent US 11,563,949
Granted Patent B2
US 11,563,949 · App. 17/190,041 · Granted Jan 24, 2023

Motion vector obtaining method and apparatus, computer device, and storage medium

Inventors: Xu Chen (Shenzhen, CN); Jianhua Zheng (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04N19/139H04N19/147H04N19/176
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,563,949
App. No.
17/190,041
Granted
Jan 24, 2023
Kind
B2
Abstract

This application discloses a motion vector obtaining method and apparatus, a computer device, and a storage medium. In the method, an initial motion vector of a to-be-processed picture block is determined by using a location relationship between a reference block and the to-be-processed picture block. When the reference block and the to-be-processed picture block are located in a same coding tree block, a decoder uses an initial motion vector of the reference block as the initial motion vector of the to-be-processed picture block. When the reference block and the to-be-processed picture block are located in different coding tree blocks, the decoder uses a final motion vector of the reference block as the initial motion vector of the to-be-processed picture block.

Claims (49)

1. A motion vector residual determining method, comprising:

parsing a bitstream to obtain identification information used to determine an initial motion vector of a picture block to be processed;

separately adding the initial motion vector and a plurality of preset offset vectors to obtain a plurality of candidate final motion vectors;

determining a candidate final motion vector corresponding to a minimum distortion cost in the plurality of candidate final motion vectors as a final motion vector; and

using a difference between the final motion vector and the initial motion vector as a motion vector residual of the picture block, or using the final motion vector as a motion vector residual of the picture block.

2. The method according to claim 1 , wherein the method is used for bidirectional inter prediction, the final motion vector comprises a first final motion vector and a second final motion vector, and the initial motion vector comprises a first initial motion vector and a second initial motion vector; the first final motion vector and the first initial motion vector indicate a motion compensation block based on a first reference frame list of the picture block, and the second final motion vector and the second initial motion vector indicate a motion compensation block based on a second reference frame list of the picture block; and

wherein the using a difference between the final motion vector and the initial motion vector as a motion vector residual of the picture block comprises:

using a difference between the first final motion vector and the first initial motion vector as a first motion vector residual of the picture block.

3. The method according to claim 2 , further comprising:

using a difference between the second final motion vector and the second initial motion vector as a second motion vector residual of the picture block.

4. The method according to claim 2 , further comprising:

using the first final motion vector as the first motion vector residual of the picture block.

5. The method according to claim 4 , further comprising:

using the second final motion vector as a second motion vector residual of the picture block.

6. A motion vector residual determining apparatus, comprising:

a parsing module; configured to parse a bitstream to obtain identification information used to determine an initial motion vector of a picture block to be processed;

a summation module; configured to separately add the initial motion vector and a plurality of preset offset vectors to obtain a plurality of candidate final motion vectors;

a determining module; configured to determine a candidate final motion vector corresponding to a minimum distortion cost in the plurality of candidate final motion vectors as the final motion vector; and

an obtaining module; configured to: use a difference between the final motion vector and the initial motion vector as a motion vector residual of the picture block, or use the final motion vector as a motion vector residual of the picture block.

7. The apparatus according to claim 6 , wherein the apparatus is used for bidirectional inter prediction, the final motion vector comprises a first final motion vector and a second final motion vector, and the initial motion vector comprises a first initial motion vector and a second initial motion vector; the first final motion vector and the first initial motion vector indicate a motion compensation block based on a first reference frame list of the picture block, and the second final motion vector and the second initial motion vector indicate a motion compensation block based on a second reference frame list of the picture block; and wherein

the obtaining module is further configured to:

use a difference between the first final motion vector and the first initial motion vector as a first motion vector residual of the picture block.

8. The apparatus according to claim 7 , wherein the obtaining module is further configured to: use a difference between the second final motion vector and the second initial motion vector as a second motion vector residual of the picture block.

9. The apparatus according to claim 7 , wherein the obtaining module is further configured to: use the first final motion vector as the first motion vector residual of the picture block.

10. The apparatus according to claim 9 , wherein the obtaining module is further configured to: use the second final motion vector as a second motion vector residual of the picture block.

11. A motion vector residual determining apparatus, comprising:

a memory for storing computer executable instructions; and

at least one processor operatively coupled to the memory to execute the computer-executable instructions to:

parse a bitstream to obtain identification information used to determine an initial motion vector of a picture block to be processed;

separately add the initial motion vector and a plurality of preset offset vectors to obtain a plurality of candidate final motion vectors;

determine a candidate final motion vector corresponding to a minimum distortion cost in the plurality of candidate final motion vectors as the final motion vector; and

use a difference between the final motion vector and the initial motion vector as a motion vector residual of the picture block, or use the final motion vector as a motion vector residual of the picture block.

12. The apparatus according to claim 11 , wherein the apparatus is used for bidirectional inter prediction, the final motion vector comprises a first final motion vector and a second final motion vector, and the initial motion vector comprises a first initial motion vector and a second initial motion vector; the first final motion vector and the first initial motion vector indicate a motion compensation block based on a first reference frame list of the picture block, and the second final motion vector and the second initial motion vector indicate a motion compensation block based on a second reference frame list of the picture block; and wherein

the at least one processor being further configured to execute the computer-executable instructions to:

use a difference between the first final motion vector and the first initial motion vector as a first motion vector residual of the picture block.

13. The apparatus according to claim 12 , wherein the at least one processor is further configured to execute the computer-executable instructions to: use a difference between the second final motion vector and the second initial motion vector as a second motion vector residual of the picture block.

14. The apparatus according to claim 12 , wherein the at least one processor is further configured to execute the computer-executable instructions to: use the first final motion vector as the first motion vector residual of the picture block.

15. The apparatus according to claim 14 , wherein the at least one processor is further configured to execute the computer-executable instructions to: use the second final motion vector as a second motion vector residual of the picture block.

16. A non-transitory computer-readable storage medium storing computer instructions, that when executed by one or more processors, cause the one or more processors to:

parse a bitstream to obtain identification information used to determine an initial motion vector of a picture block to be processed;

separately add the initial motion vector and a plurality of preset offset vectors to obtain a plurality of candidate final motion vectors;

determine a candidate final motion vector corresponding to a minimum distortion cost in the plurality of candidate final motion vectors as the final motion vector; and

use a difference between the final motion vector and the initial motion vector as a motion vector residual of the picture block, or use the final motion vector as a motion vector residual of the picture block.

17. The non-transitory computer-readable storage medium according to claim 16 , wherein the apparatus is used for bidirectional inter prediction, the final motion vector comprises a first final motion vector and a second final motion vector, and the initial motion vector comprises a first initial motion vector and a second initial motion vector; the first final motion vector and the first initial motion vector indicate a motion compensation block based on a first reference frame list of the picture block, and the second final motion vector and the second initial motion vector indicate a motion compensation block based on a second reference frame list of the picture block; and wherein

the computer instructions further cause the one or more processors to:

use a difference between the first final motion vector and the first initial motion vector as a first motion vector residual of the picture block.

18. The non-transitory computer-readable storage medium according to claim 17 , wherein the computer instructions further cause the one or more processors to: use a difference between the second final motion vector and the second initial motion vector as a second motion vector residual of the picture block.

19. The non-transitory computer-readable storage medium according to claim 17 , wherein the computer instructions further cause the one or more processors to: use the first final motion vector as the first motion vector residual of the picture block.

20. The non-transitory computer-readable storage medium according to claim 19 , wherein the computer instructions further cause the one or more processors to: use the second final motion vector as a second motion vector residual of the picture block.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 21, 2021
From: CHEN, XU; ZHENG, JIANHUA
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 056930/0740 →
Priority Claims (2)
CN 201811020181.9 · Sep 3, 2018 · national
CN 201811271726.3 · Oct 29, 2018 · national
Continuity (2)
Continuation PCTCN2019091308 · Jun 14, 2019
Related Publication 20210185325A1 · Jun 17, 2021
Cited By (1)
US 12,587,673