IP Library Granted Patent US 8,290,055
Granted Patent B2
US 8,290,055 · App. 13/200,795 · Granted Oct 16, 2012

Video compression and encoding method

Assignee: Google 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,290,055
App. No.
13/200,795
Filed
Sep 30, 2011
Granted
Oct 16, 2012
Kind
B2
Art Unit
2482
USPC
375/240.16
Abstract

Disclosed herein is a method for encoding at least one video frame having a plurality of blocks including a current block, including determining motion vectors for each of at least some of blocks surrounding the current block, identifying surrounding blocks having that have the same motion vector and assigning the identified surrounding blocks to a plurality of groups, determining a number of blocks in at least two of the plurality of groups and selecting a motion vector to encode the current block based on the determined number of blocks in the at least two groups.

Claims (65)

1. A method for encoding at least one video frame having a plurality of blocks including a current block, comprising:

identifying one or more prior-coded blocks that, collectively, at least partially surround the current block, wherein at least some of the prior-coded blocks are each associated with a motion vector value;

assigning each of the identified prior-coded blocks to one of a plurality of groups based on that identified prior-coded block's associated motion vector value;

determining, for at least some of the plurality of groups, the number of identified prior-coded blocks assigned to each group;

selecting a mode for the current block;

entropy encoding the selected mode using a probability based on the determined number of identified prior-coded blocks assigned to each group; wherein the steps of determining the number of identified prior-coded blocks assigned to each group includes;

identifying a distance from the current block for each of the identified prior-coded blocks;

applying a weight factor to each of at least some of the identified prior-coded blocks based on that block's distance from the current block; and

increasing the number of identified prior-coded blocks assigned to each group based on the applied weight factors.

2. The method of claim 1 , wherein selecting the mode comprises:

selecting a mode for the current block from a set of modes, wherein the set of modes includes:

a first mode indicative of encoding the current block using no motion vector;

a second mode indicative of encoding the current block using a new motion vector;

a third mode indicative of encoding the current block using a nearest motion vector; and

a fourth mode indicative of encoding the current block using a next nearest motion vector.

3. The method of claim 2 , wherein, if the selected mode is the second mode indicative of encoding the current block using the new motion vector, further comprising:

determining which group of the plurality of groups is assigned a greatest number of blocks; and

using the motion vector value associated with the group assigned the greatest number of blocks to entropy encode the new motion vector for the current block.

4. The method of claim 2 , wherein the plurality of groups comprises:

a first group indicative of a number of identified prior-coded blocks that are encoded using no motion vector;

a second group indicative of a number of identified prior-coded blocks encoded that are encoded using the nearest motion vector;

a third group indicative of a number of identified prior-coded blocks encoded that are encoded using the next nearest motion vector; and

a fourth group indicative of a number of identified prior-coded blocks that are encoded using a motion vector other than no motion vector, the nearest motion vector or the next nearest motion vector.

5. The method of claim 4 , wherein assigning each of the identified prior-coded blocks to one of the plurality of groups, comprises:

assigning the identified prior-coded blocks associated with no motion vector to the first group;

assigning the identified prior-coded blocks associated with the nearest motion vector to the second group;

assigning the identified prior-coded blocks associated with the next nearest motion vector to the third group; and

assigning the identified prior-coded blocks that have not been assigned to the first group, the second group or the third group to the fourth group.

6. The method of claim 5 , wherein determining, for at least some of the plurality of groups, the number of identified prior-coded blocks assigned to each group, comprises:

determining the number of identified prior-coded blocks assigned the first, second, third and fourth groups.

7. The method of claim 1 , wherein the identified prior-coded blocks are twelve blocks neighboring the current block.

8. The method of claim 7 , wherein the twelve blocks include at least a block above the current block and a block to the left of the current block.

9. An apparatus for encoding at least one video frame having a plurality of blocks including a current block, comprising:

a memory; and

a processor configured to execute instructions stored in the memory to:

identify one or more prior-coded blocks that, collectively, at least partially surround the current block, wherein at least some of the prior-coded blocks are each associated with a motion vector value;

assign each of the identified prior-coded blocks to one of a plurality of groups based on that identified prior-coded block's associated motion vector value;

determine, for at least some of the plurality of groups, the number of identified prior-coded blocks assigned to each group;

select a mode for the current block;

entropy encode the selected mode using a probability based on the determined number of identified prior-coded blocks assigned to each group; wherein

the instructions to determine the number of identified prior-coded blocks assigned to each group includes instructions to;

identify a distance from the current block for each of the identified prior-coded blocks;

apply a weight factor to each of at least some of the identified prior-coded blocks based on that block's distance from the current block; and

increase the number of identified prior-coded blocks assigned to each group based on the applied weight factors.

10. The apparatus of claim 9 , wherein the instructions to select the mode for the current block comprises instructions to:

select the mode from a set of modes, wherein the set of modes includes:

a first mode indicative of encoding the current block using no motion vector;

a second mode indicative of encoding the current block using a new motion vector;

a third mode indicative of encoding the current block using a nearest motion vector; and

a fourth mode indicative of encoding the current block using a next nearest motion vector.

11. The apparatus of claim 10 , wherein, if the selected mode is the second mode indicative of encoding the current block using the new motion vector, the processor is further configured to execute instructions stored in the memory to:

determine which group of the plurality of groups is assigned a greatest number of blocks; and

use the motion vector value associated with the group assigned the greatest number of blocks to entropy encode the new motion vector for the current block.

12. The apparatus of claim 10 , wherein the plurality of groups comprises:

a first group indicative of a number of identified prior-coded blocks that are encoded using no motion vector;

a second group indicative of a number of identified prior-coded blocks encoded that are encoded using the nearest motion vector;

a third group indicative of a number of identified prior-coded blocks encoded that are encoded using the next nearest motion vector; and

a fourth group indicative of a number of identified prior-coded blocks that are encoded using a motion vector other than no motion vector, the nearest motion vector or the next nearest motion vector.

13. The apparatus of claim 12 , wherein the instructions to assign each of the identified prior-coded blocks to one of the plurality of groups comprises instructions to:

assign the identified prior-coded blocks associated with no motion vector to the first group;

assign the identified prior-coded blocks associated with the nearest motion vector to the second group;

assign the identified prior-coded blocks associated with the next nearest motion vector to the third group; and

assign the identified prior-coded blocks that have not been assigned to the first group, the second group or the third group to the fourth group.

14. The apparatus of claim 9 , wherein the identified prior-coded blocks are twelve blocks neighboring the current block.

15. The apparatus of claim 14 , wherein the twelve blocks includes at least a block above the current block and a block to the left of the current block.

Assignments (5)
CHANGE OF NAME Recorded Oct 5, 2017
From: GOOGLE INC.
To: GOOGLE LLC
Reel/Frame 044129/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 7, 2012
From: AMERES, ERIC L.; BANKOSKI, JAMES B.; GRANGE, ADRIAN W.; WILKINS, PAUL G.; XU, YAOWU
To: ON2 TECHNOLOGIES, INC.
Reel/Frame 028336/0373 →
MERGER Recorded Jun 7, 2012
From: ON2 TECHNOLOGIES, INC.
To: ON2 TECHNOLOGIES, LLC
Reel/Frame 028336/0479 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 7, 2012
From: ON2 TECHNOLOGIES, LLC
To: GOOGLE INC.
Reel/Frame 028336/0520 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 30, 2012
From: MURPHY, TIM
To: GOOGLE INC.
Reel/Frame 027965/0274 →
Continuity (4)
Continuation 13066668 · Apr 21, 2011
Continuation 11170629 · Jun 28, 2005
Provisional Application 60583872 · Jun 28, 2004
Related Publication 20120027096A1 · Feb 2, 2012