IP Library › Granted Patent US 12,081,765
Granted Patent B2
US 12,081,765 · App. 17/681,066 · Granted Sep 3, 2024

Method and apparatus for motion information storage

Inventors: Han Gao (Munich, DE); Semih Esenlik (Munich, DE); Elena Alexandrovna Alshina (Munich, DE); Biao Wang (Munich, DE); Anand Meher Kotra (Munich, DE)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04N19/137H04N19/105H04N19/132H04N19/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 12,081,765
App. No.
17/681,066
Granted
Sep 3, 2024
Kind
B2
Abstract

A motion information storing method comprises: determining a distance between a sample set in the current block and the common boundary; and comparing the distance with a threshold to determine whether third motion information is stored for the sample set, wherein the third motion information is derived by the first motion information and the second motion information.

Claims (56)

1. A motion information storing method, comprising:

determining a distance between a sample set in a current block and a common boundary, wherein the current block comprises of a first subblock and a second subblock, the first subblock and the second subblock are separated by the common boundary, the first subblock corresponds to first motion information and the second subblock corresponds to second motion information, wherein the first motion information comprises a uni-prediction motion vector for the first subblock, the second motion information comprises a uni-prediction motion vector for the second subblock;

comparing the distance with a threshold to determine whether third motion information is stored for the sample set, wherein the third motion information is derived by the first motion information and the second motion information, wherein the third motion information is derived by combining the first motion information and the second motion information when the first motion information and the second motion information are from different reference picture lists, wherein the third motion information is equal to the first motion information or the second motion information when the first motion information and the second motion information are from a same reference picture list; and

storing the third motion information for the sample set when an absolute value of the distance is smaller than the threshold, wherein the stored motion information is used for determining prediction value of the sample set or the stored motion information is used as reference information for prediction process of future coding blocks.

2. The method of claim 1 , further comprising:

when the absolute value of the distance is larger than the threshold, determining the first motion information is stored for the sample set when the distance is positive; or,

determining the second motion information is stored for the sample set when the distance is negative.

3. The method of claim 1 , wherein the threshold is predetermined.

4. The method of claim 1 , further comprising:

determining an angular parameter and a distance parameter, wherein the common boundary is determined by the angular parameter and the distance parameter, before determining the distance between the sample set in the current block and the common boundary.

5. The method of claim 4 , wherein determining the angular parameter and the distance parameter comprises:

parsing the angular parameter and the distance parameter from a bitstream; or,

parsing an indicator from the bitstream, and

obtaining the angular parameter and the distance parameter based on the indicator.

6. The method of claim 4 , further comprising:

after determining the angular parameter and the distance parameter, determining a first calculation parameter based on the angular parameter;

calculating a temp angular parameter based on the angular parameter;

determining a second calculation parameter based on the temp angular parameter; and

calculating a third calculation parameter based on the angular parameter and the distance parameter.

7. The method of claim 6 , wherein the first calculation parameter is determined by checking a preset lookup table according to the angular parameter and the second calculation parameter is determined by checking a lookup table according to the temp angular parameter.

8. The method of claim 6 , wherein the distance is calculated by the following:

distFromLine=( x+K )* P 1+( y+K )* P 2 −P 3

wherein P1, P2 and P3 are the first calculation parameter, the second calculation parameter and the third calculation parameter respectively, distFromLine represents the distance, K is a non-negative integer, x represents a horizontal coordinate of a target position in the sample set, y represents a vertical coordinate of the target position in a rectangular coordinate system, where a position of a top-left sample of the current block is set as a coordinate origin, right direction is set as a positive horizontal direction and down direction is set as a positive vertical direction.

9. The method of claim 8 , wherein K equals to 1.

10. The method of claim 8 , wherein a sample precision of the distance is higher than an integer sample and the distance is calculated by the following:

distFromLine=(( x<<N )+ K )* P 1+(( y<<N )+ K )* P 2 −P 3

where 2 N represents a reciprocal of the sample precision of the distance.

11. The method of claim 9 , wherein N equals to 1.

12. The method of claim 1 , wherein the sample set is a luma sample set of the current block.

13. The method of claim 1 , further comprising:

before determining the distance between the sample set in the current block and the common boundary, splitting the current block into multiple sample sets, wherein each of the multiple sample sets has a same size as the sample set; or

setting the current block as the sample set.

14. A motion information storing apparatus, comprising:

a memory storing instructions; and

at least one processor coupled to the memory, wherein the instructions when executed by the at least one processor, configures the apparatus to:

determine a distance between a sample set in a current block and a common boundary, wherein the current block comprises a first subblock and a second subblock, the first subblock and the second subblock are separated by the common boundary, the first subblock corresponds to first motion information and the second subblock corresponds to second motion information, wherein the first motion information comprises a uni-prediction motion vector for the first subblock, the second motion information comprises a uni-prediction motion vector for the second subblock;

compare the distance with a threshold to determine whether third motion information is stored for the sample set, wherein the third motion information is derived by the first motion information and the second motion information, wherein the third motion information is derived by combining the first motion information and the second motion information when the first motion information and the second motion information are from different reference picture lists, wherein the third motion information is equal to the first motion information or the second motion information when the first motion information and the second motion information are from a same reference picture list; and

store the third motion information for the sample set when an absolute value of the distance is smaller than the threshold, wherein the stored motion information is used for determining prediction value of the sample set or the stored motion information is used as reference information for prediction process of future coding blocks.

15. The apparatus of claim 14 , wherein the instructions when executed by the at least one processor, further configures the apparatus to:

when the absolute value of the distance is larger than the threshold, determining the first motion information is stored for the sample set when the distance is positive; or

determining the second motion information is stored for the sample set when the distance is negative.

16. The apparatus of claim 14 , wherein the instructions when executed by the at least one processor, further configures the apparatus to:

determine an angular parameter and a distance parameter, wherein the common boundary is determined by the angular parameter and the distance parameter, before determining the distance between the sample set in the current block and the common boundary.

17. The apparatus of claim 16 , wherein determine the angular parameter and the distance parameter comprises:

parse the angular parameter and the distance parameter from a bitstream; or

parse an indicator from the bitstream, and

obtain the angular parameter and the distance parameter based on the indicator.

18. A non-transitory machine-readable medium having stored thereon instructions that, when executed by at least one processor, cause the at least one processor to perform operations including:

determining a distance between a sample set in a current block and a common boundary, wherein the current block comprises of a first subblock and a second subblock, the first subblock and the second subblock are separated by the common boundary, the first subblock corresponds to first motion information and the second subblock corresponds to second motion information, wherein the first motion information comprises a uni-prediction motion vector for the first subblock, the second motion information comprises a uni-prediction motion vector for the second subblock;

comparing the distance with a threshold to determine whether third motion information is stored for the sample set, wherein the third motion information is derived by the first motion information and the second motion information, wherein the third motion information is derived by combining the first motion information and the second motion information when the first motion information and the second motion information are from different reference picture lists, wherein the third motion information is equal to the first motion information or the second motion information when the first motion information and the second motion information are from a same reference picture list; and

storing the third motion information for the sample set when an absolute value of the distance is smaller than the threshold, wherein the stored motion information is used for determining prediction value of the sample set or the stored motion information is used as reference information for prediction process of future coding blocks.

19. The machine-readable medium of claim 18 , wherein the operations further comprise:

when the absolute value of the distance is larger than the threshold, determining the first motion information is stored for the sample set when the distance is positive; or

determining the second motion information is stored for the sample set when the distance is negative.

20. The machine-readable medium of claim 18 , wherein the operations further comprise:

determining an angular parameter and a distance parameter, wherein the common boundary is determined by the angular parameter and the distance parameter, before determining the distance between the sample set in the current block and the common boundary.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 7, 2024
From: GAO, HAN; ESENLIK, SEMIH; ALSHINA, ELENA ALEXANDROVNA; WANG, BIAO; KOTRA, ANAND MEHER
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 067338/0496 →
Continuity (2)
Continuation PCTEP2019072716 · Aug 26, 2019
Related Publication 20220191504A1 · Jun 16, 2022