A method and device for motion estimation
A motion estimation and motion technology, applied in the field of video coding, can solve the problems of reducing the search efficiency, slowing down the search speed, and many search points, so as to ensure the search accuracy and reduce the search complexity.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0071] In a preferred embodiment of the present invention, when the reference frame is a P frame, the preset rules for selecting a simple search algorithm or a complex search algorithm can be:
[0072] Judging whether the adjacent upper macroblock, the adjacent left macroblock and the upper left macroblock of the current macroblock to be encoded are available;
[0073] If it is available, predict the motion level of the current macroblock to be encoded according to the motion vectors of the adjacent upper macroblock, adjacent left macroblock, and upper left macroblock;
[0074] Judging whether the motion level is higher than a first threshold, if yes, calling a complex search algorithm for motion estimation; if not, calling a simple search algorithm for motion estimation.
[0075] In the embodiment of the present invention, the "available" means that the corresponding macroblocks exist and these macroblocks are encoded by interframe (Inter). It is well known that because the ...
example 2
[0081] As another preferred embodiment of the present invention, when the reference frame is a P frame, the preset rules for selecting a simple search algorithm or a complex search algorithm can be:
[0082] Judging whether the adjacent upper macroblock, the adjacent left macroblock and the upper left macroblock of the current macroblock to be encoded are available;
[0083] If it is available, predict the motion level and the number of motion pixels of the current macroblock to be encoded according to the motion vectors of the adjacent upper macroblock, adjacent left macroblock, and upper left macroblock;
[0084]Judging whether the motion level is higher than the first threshold, if so, calling a complex search algorithm to perform motion estimation, and determining the number of search steps of the currently called complex search algorithm according to the number of moving pixels; if not, calling a simple search algorithm to perform motion estimation, and determine the numb...
example 3
[0091] As another preferred embodiment of the present invention, when the reference frame is a P frame, the preset rules for selecting a simple search algorithm or a complex search algorithm can be:
[0092] Counting the number of macroblocks that adopt intra-frame coding in the reference frame;
[0093] Judging whether the number of macroblocks is higher than a second threshold, if yes, calling a complex search algorithm for motion estimation; otherwise, calling a simple search algorithm for motion estimation.
[0094] It is well known that intra-frame coding only considers the data in the current frame, and does not consider the redundant information between adjacent frames, so in practice, when the number of macroblocks encoded in the intra-frame is large, it means that the motion estimation The effect is not good, so it is necessary to use a complex search algorithm for motion estimation.
[0095] In practice, the second threshold can be determined according to a certain ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 