IP Library Granted Patent US 8,837,603
Granted Patent B2
US 8,837,603 · App. 13/161,491 · Granted Sep 16, 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.
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,837,603
App. No.
13/161,491
Granted
Sep 16, 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 (34)

1. A method for encoding a sequence of video pictures comprising first, second, and third video pictures, the 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;

encoding the second video picture by using the computed motion vector; and

storing the encoded second video picture in a bitstream.

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 encoding a plurality of macroblocks in the second video picture.

6. A method for encoding a sequence of video pictures comprising first, second, and third video pictures, the 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;

encoding the second video picture by using the computed motion vector; and

storing the encoded second video picture in a bitstream.

7. The method of claim 6 , wherein computing the scaling value is for 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 encoding a plurality of macroblocks in the second video picture.

11. An encoder for encoding a sequence of video pictures comprising first, second, and third video pictures, the encoder 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;

a module that encodes the second video picture by using the computed motion vector; and

a module that stores the encoded second video picture in a bitstream.

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

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

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

15. An encoder for encoding a sequence of video pictures comprising first, second, and third video pictures, the encoder 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;

a module that encodes the second video picture by using the computed motion vector; and

a module that stores the encoded second video picture in a bitstream.

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

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

18. The encoder of claim 15 , wherein the computed motion vector is for encoding 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 20110249753A1 · Oct 13, 2011