IP Library Granted Patent US 11,638,016
Granted Patent B2
US 11,638,016 · App. 17/366,887 · Granted Apr 25, 2023

Selection of motion vector precision

Inventors: Gary J. Sullivan (Bellevue, WA); You Zhou (Sammamish, WA); Chih-Lung Lin (Redmond, WA)
Assignee: Microsoft Technology Licensing, LLC
H04N19/174H04N19/105H04N19/109H04N19/136H04N19/139H04N19/142H04N19/147H04N19/17H04N19/177H04N19/179H04N19/52H04N19/521H04N19/523
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,638,016
App. No.
17/366,887
Granted
Apr 25, 2023
Kind
B2
Abstract

Approaches to selection of motion vector (“MV”) precision during video encoding are presented. These approaches can facilitate compression that is effective in terms of rate-distortion performance and/or computational efficiency. For example, a video encoder determines an MV precision for a unit of video from among multiple MV precisions, which include one or more fractional-sample MV precisions and integer-sample MV precision. The video encoder can identify a set of MV values having a fractional-sample MV precision, then select the MV precision for the unit based at least in part on prevalence of MV values (within the set) having a fractional part of zero. Or, the video encoder can perform rate-distortion analysis, where the rate-distortion analysis is biased towards the integer-sample MV precision. Or, the video encoder can collect information about the video and select the MV precision for the unit based at least in part on the collected information.

Claims (51)

1. One or more computer-readable media having stored therein computer-executable instructions for causing one or more processing units, when programmed thereby, to perform operations, the one or more computer-readable media being selected from the group consisting of non-volatile memory, volatile memory, and tangible storage, the operations comprising:

encoding frames of a video sequence, thereby producing encoded data, wherein the encoding the frames includes:

encoding an indicator in a first-layer syntax structure that applies for at least one of the frames of the video sequence, the indicator indicating:

whether or not motion vector (“MV”) precision is adaptively selected for units of the at least one of the frames; and

if the MV precision for the units of the at least one of the frames is not adaptively selected, whether the MV precision for the units of the at least one of the frames is fractional-sample precision or integer-sample precision; and

if the MV precision for the units of the at least one of the frames is adaptively selected, for each of the units, setting a flag in a second-layer syntax structure for the unit, the flag indicating whether MV precision for the unit is fractional-sample precision or integer-sample precision; and

outputting the encoded data as part of a bitstream, the encoded data including the encoded indicator in the first-layer syntax structure and, if the MV precision for the units of the at least one of the frames is adaptively selected, for each of the units, the flag in the second-layer syntax structure for the unit that indicates the MV precision for the unit.

2. The one or more computer-readable media of claim 1 , wherein the first-layer syntax structure is a sequence-layer syntax structure, wherein the units are frames, and wherein the second-layer syntax structure is a picture-layer syntax structure.

3. The one or more computer-readable media of claim 1 , wherein the first-layer syntax structure is a sequence parameter set, wherein the units are slices, and wherein the second-layer syntax structure is a slice-header-layer syntax structure.

4. The one or more computer-readable media of claim 1 , wherein, for the indicator:

a first possible value indicates that the MV precision for the units of the at least one of the frames is not adaptively selected and further indicates that the MV precision for the units of the at least one of the frames is fractional-sample precision;

a second possible value indicates that the MV precision for the units of the at least one of the frames is not adaptively selected and further indicates that the MV precision for the units of the at least one of the frames is integer-sample precision; and

a third possible value indicates that the MV precision for the units of the at least one of the frames is adaptively selected.

5. The one or more computer-readable media of claim 1 , wherein the encoding the indicator uses two bits in the first-layer syntax structure or includes entropy coding a two-bit value for the first-layer syntax structure.

6. The one or more computer-readable media of claim 1 , wherein the fractional-sample precision is quarter-sample precision.

7. The one or more computer-readable media of claim 1 , wherein the indicator is based on source of the frames of the video sequence, measurement of a performance heuristic, or historical data.

8. A computer system comprising:

a buffer, implemented using memory, configured to receive encoded data for frames of a video sequence as part of a bitstream; and

a video decoder, implemented using one or more processing units and memory, configured to perform operations to decode the encoded data to reconstruct the frames of the video sequence, the operations including:

determining an indicator using a first-layer syntax structure that applies for at least one of the frames of the video sequence, the indicator indicating:

whether or not motion vector (“MV”) precision is adaptively selected for units of the at least one of the frames; and

if the MV precision for the units of the at least one of the frames is not adaptively selected, whether the MV precision for the units of the at least one of the frames is fractional-sample precision or integer-sample precision;

determining, based on the indicator, whether or not the MV precision for the units of the at least one of the frames is adaptively selected;

if the MV precision for the units of the at least one of the frames is not adaptively selected, for each of the units, determining, based on the indicator, whether MV precision for the unit is fractional-sample precision or integer-sample precision; and

if the MV precision for the units of the at least one of the frames is adaptively selected, for each of the units, determining, based on a flag in a second-layer syntax structure for the unit, whether the MV precision for the unit is fractional-sample precision or integer-sample precision.

9. The computer system of claim 8 , wherein the first-layer syntax structure is a sequence-layer syntax structure, wherein the units are frames, and wherein the second-layer syntax structure is a picture-layer syntax structure.

10. The computer system of claim 8 , wherein the first-layer syntax structure is a sequence parameter set, wherein the units are slices, and wherein the second-layer syntax structure is a slice-header-layer syntax structure.

11. The computer system of claim 8 , wherein, for the indicator:

a first possible value indicates that the MV precision for the units of the at least one of the frames is not adaptively selected and further indicates that the MV precision for the units of the at least one of the frames is fractional-sample precision;

a second possible value indicates that the MV precision for the units of the at least one of the frames is not adaptively selected and further indicates that the MV precision for the units of the at least one of the frames is integer-sample precision; and

a third possible value indicates that the MV precision for the units of the at least one of the frames is adaptively selected.

12. The computer system of claim 8 , wherein, for a given unit of the units, if the flag for the given unit is not present in the bitstream, the flag for the given unit is inferred to have a value equal to the indicator.

13. The computer system of claim 8 , wherein the determining the indicator uses two bits from the first-layer syntax structure or includes entropy decoding an entropy-coded two-bit value from the first-layer syntax structure.

14. One or more computer-readable media having stored therein computer-executable instructions for causing one or more processing units, when programmed thereby, to perform operations, the one or more computer-readable media being selected from the group consisting of non-volatile memory, volatile memory, and tangible storage, the operations comprising:

receiving encoded data for frames of a video sequence as part of a bitstream; and

decoding the encoded data to reconstruct the frames of the video sequence, including:

determining an indicator using a first-layer syntax structure that applies for at least one of the frames of the video sequence, the indicator indicating:

whether or not motion vector (“MV”) precision is adaptively selected for units of the at least one of the frames; and

if the MV precision for the units of the at least one of the frames is not adaptively selected, whether the MV precision for the units of the at least one of the frames is fractional-sample precision or integer-sample precision;

determining, based on the indicator, whether or not the MV precision for the units of the at least one of the frames is adaptively selected;

if the MV precision for the units of the at least one of the frames is not adaptively selected, for each of the units, determining, based on the indicator, whether MV precision for the unit is fractional-sample precision or integer-sample precision; and

if the MV precision for the units of the at least one of the frames is adaptively selected, for each of the units, determining, based on a flag in a second-layer syntax structure for the unit, whether the MV precision for the unit is fractional-sample precision or integer-sample precision.

15. The one or more computer-readable media of claim 14 , wherein the first-layer syntax structure is a sequence-layer syntax structure, wherein the units are frames, and wherein the second-layer syntax structure is a picture-layer syntax structure.

16. The one or more computer-readable media of claim 14 , wherein the first-layer syntax structure is a sequence parameter set, wherein the units are slices, and wherein the second-layer syntax structure is a slice-header-layer syntax structure.

17. The one or more computer-readable media of claim 14 , wherein, for the indicator:

a first possible value indicates that the MV precision for the units of the at least one of the frames is not adaptively selected and further indicates that the MV precision for the units of the at least one of the frames is fractional-sample precision;

a second possible value indicates that the MV precision for the units of the at least one of the frames is not adaptively selected and further indicates that the MV precision for the units of the at least one of the frames is integer-sample precision; and

a third possible value indicates that the MV precision for the units of the at least one of the frames is adaptively selected.

18. The one or more computer-readable media of claim 14 , wherein, for a given unit of the units, if the flag for the given unit is not present in the bitstream, the flag for the given unit is inferred to have a value equal to the indicator.

19. The one or more computer-readable media of claim 14 , wherein the determining the indicator uses two bits from the first-layer syntax structure or includes entropy decoding an entropy-coded two-bit value from the first-layer syntax structure.

20. The one or more computer-readable media of claim 14 , wherein the fractional-sample precision is quarter-sample precision.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 30, 2021
From: SULLIVAN, GARY J.; ZHOU, YOU; LIN, CHIH-LUNG
To: MICROSOFT CORPORATION
Reel/Frame 057040/0937 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 30, 2021
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 057040/0960 →
Cited By (1)
US 12,368,884