IP Library Granted Patent US 8,817,880
Granted Patent B2
US 8,817,880 · App. 13/161,494 · Granted Aug 26, 2014

Method and apparatus for variable accuracy inter-picture timing specification for digital video encoding with reduced requirements for division operations

Inventors: Barin Geoffry Haskell (Mountain View, CA); David William Singer (San Francisco, CA); Adriana Dumitras (Santa Clara, CA); Atul Puri (Redmond, WA)
Assignee: Apple Inc.
H04N7/50
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 8,817,880
App. No.
13/161,494
Granted
Aug 26, 2014
Kind
B2
Abstract

A method and apparatus for performing motion estimation in a digital video system is disclosed. Specifically, the present invention discloses a system that quickly calculates estimated motion vectors in a very efficient manner. In one embodiment, a first multiplicand is determined by multiplying a first display time difference between a first video picture and a second video picture by a power of two scale value. This step scales up a numerator for a ratio. Next, the system determines a scaled ratio by dividing that scaled numerator by a second first display time difference between said second video picture and a third video picture. The scaled ratio is then stored calculating motion vector estimations. By storing the scaled ratio, all the estimated motion vectors can be calculated quickly with good precision since the scaled ratio saves significant bits and reducing the scale is performed by simple shifts.

Claims (30)

1. For a stream comprising an encoded first video picture, an encoded second video picture, and an encoded third video picture, a method comprising:

computing a scaling value that is (i) inversely proportional to a first order difference value between an order value for the third video picture and an order value for the first video picture and (ii) directly proportional to a second order difference value between an order value for the second video picture and the order value for the first video picture;

computing a motion vector for the second video picture by multiplying the scaling value by a motion vector for the third video picture and performing a bit shifting operation; and

decoding the second video picture by using the computed motion vector.

2. The method of claim 1 , wherein computing the scaling value is for performing an interpolation operation.

3. The method of claim 1 , wherein an order value for a particular video picture specifies a display order for the particular video picture.

4. The method of claim 1 , wherein the bit shifting operation shifts a binary value by 8 bit positions.

5. The method of claim 1 , wherein the computed motion vector is for decoding a plurality of macroblocks in the second video picture.

6. For a stream comprising an encoded first video picture, an encoded second video picture, and an encoded third video picture, a method comprising:

computing a scaling value that is (i) inversely proportional to a first order difference value between an order value for the third video picture and an order value for the first video picture and (ii) directly proportional to a second order difference value between an order value for the second video picture and the order value for the first video picture;

computing a motion vector for the second video picture by multiplying the scaling value by a motion vector for the third video picture and performing a division by a power of two value; and

decoding the second video picture by using the computed motion vector.

7. The method of claim 6 , wherein computing the scaling value is performing an interpolation operation.

8. The method of claim 6 , wherein an order value for a particular video picture specifies a display order for the particular video picture.

9. The method of claim 6 , wherein the power of two value is two hundred and fifty-six (256).

10. The method of claim 6 , wherein the computed motion vector is for decoding a plurality of macroblocks in the second video picture.

11. A decoder for decoding a bitstream comprising an encoded first video picture, an encoded second video picture, and an encoded third video picture, the decoder comprising:

a module that computes a scaling value that is based on (i) a first order difference value between an order value for the third video picture and an order value for the first video picture, and (ii) a second order difference value between an order value for the second video picture and the order value for the first video picture;

a module that computes a motion vector for the second video picture by multiplying the scaling value by a motion vector for the third video picture and performing a bit shifting operation; and

a module that decodes the second video picture by using the computed motion vector.

12. The decoder of claim 11 , wherein an order value for a particular video picture specifies a display order for the particular video picture.

13. The decoder of claim 11 , wherein the bit shifting operation shifts a binary value by 8 bit positions.

14. The decoder of claim 11 , wherein the computed motion vector is for decoding a plurality of macroblocks in the second video picture.

15. A decoder for decoding a bitstream comprising an encoded first video picture, an encoded second video picture, and an encoded third video picture, the decoder comprising:

a module that computes a scaling value that is based on (i) a first order difference value between an order value for the third video picture and an order value for the first video picture, and (ii) a second order difference value between an order value for the second video picture and the order value for the first video picture;

a module that computes a motion vector for the second video picture by multiplying the scaling value by a motion vector for the third video picture and performing a division operation by a power of two value; and

a module that decodes the second video picture by using the computed motion vector.

16. The decoder of claim 15 , wherein an order value for a particular video picture specifies a display order for the particular video picture.

17. The decoder of claim 15 , wherein the power of two value is two hundred and fifty-six (256).

18. The decoder of claim 15 , wherein the computed motion vector is for decoding a plurality of macroblocks in the second video picture.

Continuity (5)
Continuation 11621977 · Jan 10, 2007
Continuation 10792514 · Mar 2, 2004
Continuation 10313773 · Dec 6, 2002
Provisional Application 60398625 · Jul 24, 2002
Related Publication 20110243243A1 · Oct 6, 2011