A block-matching motion estimation apparatus in the form of linear systolic array architecture. The apparatus includes a selecting unit for inputting data of a reference block and other data to delay the data of the reference data and selectively outputting the data; a delaying unit having P-1 delay...http://www.google.com/patents/US5946405?utm_source=gb-gplus-sharePatent US5946405 - Block-matching motion estimation apparatus under use of linear systolic array architecture

Block-matching motion estimation apparatus under use of linear systolic array architectureUS 5946405 A

Abstract

A block-matching motion estimation apparatus in the form of linear systolic array architecture. The apparatus includes a selecting unit for inputting data of a reference block and other data to delay the data of the reference data and selectively outputting the data; a delaying unit having P-1 delay elements where the first delay element delays and outputs an output of the selecting unit and the second to (P-1)-th delay elements delay and output outputs of just front delay element, respectively, the P-1 delay element being connected in serial; and a mean absolute difference operating unit for simultaneously inputting data of a search area to each pipe by connecting in parallel P pipes where operation elements are disposed in a linear systolic array architecture, and then calculating a value of mean absolute difference in each of the search areas by inputting outputs of the selecting unit, the first delay element, and the (P-1)-th delay element to the first pipe, the second pipe, and the (P-th) pipe, respectively.

Images(3)

Claims(2)

What is claimed is:

1. A block-matching motion estimation apparatus under use of a linear systolic array architecture, for which a basic search area is (2P×N), wherein P is an integer greater than 1 and N is a multiple of 2, said apparatus comprising:

means for simultaneously inputting even column search area data and odd column search area data separately into one end of every one of plural linear systolic arrays from a memory;

selecting means for selectively inputting reference block data, delaying said reference block data, and inputting the delayed input reference block data into another end of a first one of said linear systolic arrays;

delaying means having P-1 delay element for supplying further delayed input reference block data to each remaining one of said linear systolic arrays, wherein a first delay element delays and outputs an output of said selecting unit and second to (P-1)-th delay elements delay and output outputs of an immediately preceding delay element, respectively, said P-1 delay elements being connected serially; and

a selecting device for selectively inputting said input and delayed reference block data; and

N operation elements disposed in linear systolic array architecture.

Description

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a block-matching motion estimation apparatus used with a linear systolic array architecture for a full-search motion estimation operation, or a hierarchical-search motion estimation operation.

2. Description of the Related Art

The motion estimation apparatus according to the prior art is limited in its search range. Therefore, the motion estimation apparatus according to the prior art has had problems in that it is incongruent with any system which must search a wide range. Therefore, in order to perform a motion estimation operation for a wide search range, it is desirable that a plurality of chips are used in parallel by dividing the total motion search areas, or it is desirable that the system is implemented based on a method that one chip repeatedly executes the search operation for each search area. However, under such a situation, there may arise problems in that hardware is very large in its size and time taken in performing such operations is very long.

Further, in the motion estimation apparatus according to the prior art, because the operation speed of internal operation elements is the same as the speed at which data is provided from outside, there may arise therein another problem in that the speed of the internal operation element is limited by the external data supplying speed.

SUMMARY OF THE INVENTION

It is therefore, an object of the invention to provide a block-matching motion estimation apparatus capable of providing a wider search area by using a linear systolic array architecture, as compared with the prior art, reducing the speed of external data supply without slowing down the internal operation of processing elements, and thus improving the overall motion estimation function.

To achieve the above object, the block-matching motion estimation apparatus according to the present invention comprises selecting means for inputting both delayed and undelayed data of a reference block, and then selectively outputting the inputted data in turn; delaying means having P-1 delay elements where the first delay element delays and outputs an output of the selecting means, and the second through {(P-1)-th} delay elements delay and output outputs of the immediately preceding delay elements, respectively, the P-1 delay element being connected in serial; and a mean absolute difference operating means for simultaneously inputting data of a search area to each pipe by connecting in parallel P pipes where operation elements are disposed in a linear systolic array architecture, and then calculating a value of mean absolute difference in each of the search areas by inputting outputs of the selecting means, the first delay element, and the {(P-1)-th} delay element to the first pipe, the second pipe, and the (P-th) pipe, respectively.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects, advantages and features of the present invention will be more apparent from the following detailed description taken with the attached drawings in which:

FIG. 1 is a configuration diagram of a basic operation element used for calculating a value of mean absolute difference during a motion estimation operation according to the present invention;

FIG. 2 is a pipe configuration diagram of a linear systolic array architecture using a basic operation element according to the present invention; and

FIG. 3 is a configuration diagram of a block-matching motion estimation apparatus under use of a linear systolic array architecture according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

In the following description, the specific details are set forth to provide a more thorough understanding of the present invention. It will be apparent, however, to one skilled in the art, that the present invention may be practiced without these specific details. In other instances, well known features have not been described in detail so as not to obscure the present invention.

FIG. 1 is a configuration diagram of an operation element for calculating a value of MAD (Mean Absolute Difference) between two adjacent displacement locations in a search area.

Referring to FIG. 1, the operation element has a first shift register 11, second and third shift registers 12 and 13, a MUX 14, a subtracter 15, an absolute value adder 16, and first and second registers 17 and 18. The first shift register 11 stores one of pixel values of a reference block, and also shifts a pixel value of the stored reference block to an adjacent operation element every clock. The second and third shift registers 12 and 13 store pixel values of even and odd columns of the search area, and also shift the pixel values of the stored even and odd columns to the adjacent operation element every clock. The MUX 14 selects either the even column or the odd column of the search area outputted from the second and third shift registers 12 and 13. The subtracter 15 inputs outputs of the first shift register 11 and the MUX 14, and then obtains a difference value from the two pixel values. The absolute value adder 16 receives an output of the subtracter 15, takes an absolute value of the output and adds it to the intermediate value shifted out from the shift register. 18, to thereby obtain the total value. The first and second registers 17 and 18 store values of the MAD in the even and odd columns, respectively.

The operation element performs an operation for one pixel value every clock cycle, and also alternately executes another operation for the MAD in the even and odd columns every clock. Therefore, it takes 128 clock cycles for a calculation operation of the MAD for the reference block consisting of 64 pixels, i.e., 8×8, so that it is possible to obtain two MAD values for two horizontally contiguous displacement locations. In the meantime, as shown in FIG. 2, MAD values for 2N displacement locations can be calculated by connecting N operation elements in a linear manner.

Table <1>shows an index for data of the reference block and the search area. Table <2>shows a data flow and timed operation of each operation element when the N is given as 4.

The data of the search area is divided into two. The data of the even column and that of the odd column are provided to the operation elements PE-- 0˜PE-- 3 through paths path-- e and path-- 0, respectively. When a point of time is given as 0, i.e., T=0, a first data (S(0,0)) of the search area is applied to a unit operation element PE-- 3 from outside. Thereafter, one new data is provided for two cycles. On the other hand, the data of the reference block, as shown in FIG. 2, is provided in opposite direction to that of the search area. When a point of time is given as N-1, i.e., T=N-1 (referred to as T=3, in Table <2>), the first data is supplied.

In the same manner as the data of the search area, one new data of the reference block are provided for two cycles. Thereby, the data which is changed in every clock cycle under use of a delay element 21 and a MUX 22, is generated, and is then provided to each operation element. Meantime, after initial clock cycles during which the necessary data is supplied is completed, all operation elements achieve 100 percent utilization efficiency. Further, the successive operations have maximum operation efficiency by being made as pipe line. Notice here again, the supplying speed of the data from outside is half as fast as the operating speed of the internal operation element.

FIG. 3 is a configuration diagram of a block-matching motion estimation apparatus under use of a linear systolic array architecture according to the present invention.

As shown in FIG. 3, the data of the search area is simultaneously provided to the all pipes and that of reference block is provided through delay elements 33 which are constantly disposed between each pipe. At this point, each of the operation elements of a pipe 0 34 is intended to calculate the value of the MAD between two locations adjacent in the horizontal direction, and also is intended to calculate another value of the MAD for N locations in the vertical direction.

For example, the operation element 0 of the pipe 0 having four operation elements is employed to calculate the values of MAD(0, 0) and MAD(0, 1), the operation element 1 the values of MAD(1, 0) and MAD(1, 1), the operation element 2 the values of MAD(2, 0) and MAD(2, 1), and the operation element 3 the values of MAD(3, 0) and MAD(3, 1), respectively.

Also, each of the operation elements of the pipe 1 is subjected to calculate the value of the MAD between two columns which are adjacent to each other in the horizontal direction, i.e, MAD(0˜3, 2) and MAD(0˜3, 3).

Accordingly, in the motion estimation operation architecture consisting of P pipes, as shown in FIG. 3, the value of the MAD for N×2P displacement locations can be efficiently calculated.

In drawings, a reference numeral 32 represents the MUX for selectively outputting one of two input data per clock cycle in turns and reference numerals 31 and 33 represent delay elements having the sizes of 2N and 4N, respectively.

Therefore, according to the block-matching motion estimation apparatus of the present invention, it is possible for the operation element to calculate the values of the MADs within short time. Further, in accordance with the block-matching motion estimation apparatus of the present invention, the supplying speed of the external data is half as fast as the operable speed of the internal operation element. Furthermore, in the present invention, all operation elements achieve 100 percent utilization efficiency after the initial data is provided. Accordingly, there is provided an efficiency in the present invention in that a wider area can be searched, as compared with the prior art. Moreover, according to the present invention, there is provided further efficiency in that the speed of external data supply is reduced without slowing down internal operation of processing elements and the overall motion estimation operation is improved.

Therefore, it should be understood that the present invention is not limited to the particular embodiment disclosed herein as the best mode contemplated for carrying out the present invention, but rather that the present invention is not limited to the specific embodiments described in this specification except as defined in the appended claims.