Method for fast macroblock mode decision
First Claim
1. A method for fast macroblock mode decision, which is used in an image frame coding, the method comprising:
- (A) calculating a motion cost at the origin (0,
0) or a prediction motion vector (PMV) for a 4n*4n macroblock;
(B) deciding a macroblock mode as 4n*4n if the motion cost calculated in step (A) is smaller than a first threshold and ending the method;
(C) using an adaptive diversity search strategy to perform motion estimation on four 2n*2n blocks associated with the 4n*4n macroblock if the motion cost calculated in step (A) is greater than or equal to the first threshold;
(D) calculating all motion costs of the four 2n*2n blocks; and
(E) deciding the macroblock mode as 2n*2n if the motion costs of the four 2n*2n blocks calculated in step (D) are smaller than a second threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for fast macroblock mode decision is disclosed. The method includes: (A) determining if a motion cost at the origin (0, 0) or a prediction motion vector (PMV) for a 4n*4n macroblock is smaller than a first threshold; (B) if the motion cost is smaller than the first threshold, determining a macroblock mode as 4n*4n and ending the method; (C) if the motion cost is not smaller than the first threshold, using an adaptive diversity search strategy to perform motion estimation on four 2n*2n blocks associated with the 4n*4n macroblock; (D) determining if all motion costs of the four 2n*2n blocks in step (C) are smaller than a second threshold; and (E) if step (D) determines that the motion costs of the four 2n*2n blocks are smaller than the second threshold, determining the macroblock mode as 2n*2n and ending the method.
-
Citations
24 Claims
-
1. A method for fast macroblock mode decision, which is used in an image frame coding, the method comprising:
-
(A) calculating a motion cost at the origin (0,
0) or a prediction motion vector (PMV) for a 4n*4n macroblock;
(B) deciding a macroblock mode as 4n*4n if the motion cost calculated in step (A) is smaller than a first threshold and ending the method;
(C) using an adaptive diversity search strategy to perform motion estimation on four 2n*2n blocks associated with the 4n*4n macroblock if the motion cost calculated in step (A) is greater than or equal to the first threshold;
(D) calculating all motion costs of the four 2n*2n blocks; and
(E) deciding the macroblock mode as 2n*2n if the motion costs of the four 2n*2n blocks calculated in step (D) are smaller than a second threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for fast macroblock mode decision, which is used in an image frame coding, the method comprising:
-
(A) determining if a motion cost at the origin (0,
0) or a prediction motion vector (PMV) for a 4n*4n macroblock is smaller than a first threshold;
(B) if the motion cost is smaller than the first threshold, deciding a macroblock mode as 4n*4n and ending the method;
(C) if the motion cost is greater than or equal to the first threshold, using an adaptive diversity search strategy to perform motion estimation on four 2n*2n blocks associated with the 4n*4n macroblock;
(D) determining if all motion costs of the four 2n*2n blocks in step (C) are smaller than a second threshold; and
(E) if step (D) decides that the motion costs of the four 2n*2n blocks are smaller than the second threshold, choosing the macroblock mode as 2n*2n and ending the method. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24)
-
Specification