Dual-prime motion estimation engine

Pulse or digital communications – Bandwidth reduction or expansion – Television or motion video signal

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C375S240240

Reexamination Certificate

active

06501799

ABSTRACT:

BACKGROUND OF THE INVENTION
The invention relates to apparatus and methods for encoding video and image data, and in particular, to apparatus and methods for performing dual prime motion estimation.
The emergence of multimedia computing is driving a need for digitally transmitting and receiving high quality motion video. The high quality motion video consists of high resolution images, each of which requires a large amount of space in a system memory or on a data storage device. Additionally, about 30 of these high resolution images need to be processed and displayed per second in order for a viewer to experience an illusion of motion. As a transfer of large, uncompressed streams of video data is time consuming and costly, data compression is typically used to reduce the amount of data transferred per image.
In motion video, much of the image data remains constant from one frame to another frame. Therefore, video data may be compressed by first describing a reference frame and then describing subsequent frames in terms of changes from the reference frame. Standards from an organization called Motion Pictures Experts Group (MPEG) have evolved to support high quality, full motion video. A first standard (MPEG-1) has been used mainly for video coding at rates of about 1.5 megabit per second. To meet more demanding application, a second standard (MPEG-2) provides for a high quality video compression, typically at coding rates of about 3-10 megabits per second.
An example of the MPEG compression process is discussed next. Generally, a first frame may not be described relative to any other frame. Hence, only intra (I) frame or non-predictive coding is performed on the first frame. When a second frame is received, the second frame may be described in terms of the I frame and a first forward predicted (P) frame. The compression of the received second frame is delayed until receipt of the first P frame by a processing system. In a similar manner, a third frame is also described in terms of the first I and P frames. The first P frame is formed by predicting a fourth received frame using the first I frame as a reference. Upon computation of the first P frame, the motion estimation engine can process the second and third received frames as bidirectionally (B) predicted frames by comparing blocks of these frames to blocks of the first I and P frames.
One primary operation performed by the motion estimation engine is block matching. The block matching process identifies a block of image data that should be used as a predictor for describing the current target block. To identify the proper predictor, tokens containing blocks of picture elements (pel) such as a 16×16 pel block describing the current macroblock are received and compared against the content of a search window.
The block matching process computes a mean absolute difference (MAD) between data stored in the target block and blocks at various offsets in the search window. In this process, corresponding data from the two blocks being compared are subtracted, and the sum of the absolute values of the pel differences are calculated. The smaller the MAD, the better the match between the blocks. The motion estimation engine keeps track of the smallest MAD computed during the search process to determine which of the block in the search window is the best match to the input token. A motion vector describing the offset between the current frame and the best match block is then computed. The motion vector is subsequently sent back to a host processor in the form of an output token.
Although the motion estimation process may be a full, exhaustive block matching search, a multiple step hierarchical search to either a full or a half pixel search resolution is generally performed. In the hierarchical search approach, a best matching block is first found using a low resolution macroblock containing fewer data points than the full resolution image. Once the best matching block has been found, a full resolution search in the vicinity of the best matching block can be performed. This sequence reduces the total number of computations that must be performed by the motion estimation engine as fewer individual pel comparisons are performed in the reduced resolution image. Hence, the appropriate macroblock from which to compute the motion vector is more quickly determined.
Moreover, the MPEG-2 introduces a concept of a dual prime motion compensation in Section 7.6.3.6 of the MPEG H.262 specification. In dual prime motion compensation, a macroblock prediction is computed from an average of two previous field references, one with a same parity (top to top or bottom to bottom fields) and one with an opposite parity (top to bottom or bottom to top fields). Motion vectors for each field are coded as a common motion vector for the same parity fields and a small difference motion for the opposite parity fields. Ideally, the search of the target and reference fields is to be coordinated to minimize the overall error.
Once the motion vector for a macroblock is known relative to a reference field of the same parity, it is extrapolated or interpolated to obtain a prediction of the motion vector for the opposite parity reference field. This prediction is adjusted by adding a small shift to account for a half-pel vertical offset between the two fields. Then, small horizontal and vertical corrections (+1, 0, −1) coded in the bitstream are added. In calculating the pel values of the prediction, motion-compensated predictions from the two reference fields are averaged to reduce noises in the data.
If a field picture is being coded, the coded motion vector is applied to the reference field of the same parity. Obtaining the motion vector for the opposite parity field between the two fields generally involves interpolation. If a frame picture is being coded, the coded motion vector is applied to fields of the same parity, but a single vector is used for both fields. Obtaining motion vectors for the opposite parity fields in a frame picture involves both interpolation and extrapolation, but the computation is otherwise the same.
As the dual prime motion estimation process is compute intensive, dedicated hardware is typically used to perform this function. The hardware may be coupled tightly to a processor or alternatively, may be implemented as a hard wired control logic. A tight coupling with the processor allows flexibility in implementing the search process. Flexibility is desirable, as different video applications would benefit from different levels of processing.
Although flexible, the tight coupling approach does not provide as high performance as the hard wired approach. The hard wired approach delivers high performance as it minimizes the burden of motion estimation searching on the processor and thus releases processing cycles otherwise needed for the encoding process. However, the performance associated with the hard wired approach is achieved at the expense of reductions in the flexibility of handling complex search operations.
SUMMARY
An apparatus performs dual prime motion estimation based on an average of previous field references in a flexible, yet high performance manner. The apparatus has a command memory for storing a motion estimation command list segment which in turn contains a search command for specifying a merged search operation over one or more search positions. The apparatus also has a score memory for storing the result of each merged search operation. The score memory is initialized when the merged search operation is initiated. During the search operation, the score memory accumulates the result of each search position. The apparatus also has a search engine connected to the command memory and to the score memory for determining from the score memory a search position with the lowest score. The search engine then generates dual prime motion estimation outputs in the form of motion estimation result list segments.
Implementations of the invention include the following. The search command has a merge bit to select a merged sear

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Dual-prime motion estimation engine does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Dual-prime motion estimation engine, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Dual-prime motion estimation engine will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2950972

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.