[go: up one dir, main page]

JPH06225287A - Arithmetic circuit - Google Patents

Arithmetic circuit

Info

Publication number
JPH06225287A
JPH06225287A JP2713893A JP2713893A JPH06225287A JP H06225287 A JPH06225287 A JP H06225287A JP 2713893 A JP2713893 A JP 2713893A JP 2713893 A JP2713893 A JP 2713893A JP H06225287 A JPH06225287 A JP H06225287A
Authority
JP
Japan
Prior art keywords
motion vector
sum
difference
block
arithmetic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2713893A
Other languages
Japanese (ja)
Other versions
JP3545004B2 (en
Inventor
Eiji Iwata
英次 岩田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP02713893A priority Critical patent/JP3545004B2/en
Publication of JPH06225287A publication Critical patent/JPH06225287A/en
Application granted granted Critical
Publication of JP3545004B2 publication Critical patent/JP3545004B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To reduce a hardware quantity, external adding circuit and the number of the ports of a memory. CONSTITUTION:Among the respective outputs of arithmetic units 190 to 201 respectively determining difference absolute value arranged in the shape of 3X4 matrix, the outputs of the respective even number-th arithmetic units 190, 192, 194, 196. 198 and 200 are respectively connected in pipe line by way of respective first adders 321 to 325 and the output of the respective odd number-th arithmetic units 191. 193, 195, 197, 199 and 201 are respectively connected in pipe line by way of respective second adders 326 to 330. The output of the first adder 325 on a final stage becomes the sum of difference absolute values at an even field and the output of the second adder 330 on the final stage becomes the sum of the difference absolute values at an odd field. The sum of the difference absolute values in a frame is obtained by adding them by an adder 341.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル画像処理の
画像圧縮符号化等に用いられる動きベクトル検出処理に
用いて好適な演算回路に関するものであり、特に、いわ
ゆるブロックマッチング法で全探索を行って動きベクト
ル検出を行う演算回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arithmetic circuit suitable for use in a motion vector detection process used in image compression encoding of digital image processing, and more particularly to a full search by a so-called block matching method. The present invention relates to an arithmetic circuit for detecting a motion vector.

【0002】[0002]

【従来の技術】従来より、ディジタル画像処理の画像圧
縮符号化等に用いられる動きベクトル検出処理において
一般に実用化されている方式としては、いわゆるブロッ
クマッチング法と勾配法がある。
2. Description of the Related Art Conventionally, so-called block matching method and gradient method have been used as methods that have been generally put to practical use in motion vector detection processing used for image compression encoding of digital image processing.

【0003】以下、ブロックマッチング法について説明
する。当該ブロックマッチング法は、画像圧縮符号化の
動き補償予測に広く用いられている。
The block matching method will be described below. The block matching method is widely used for motion compensation prediction of image compression coding.

【0004】先ず、画像フレーム(或いはフィールド)
を細いブロックに分割する。この時のブロックサイズと
しては、一般に8×8画素や16×16画素のサイズが
用いられる。ここで、動きベクトル検出処理とは、基本
的には、現フレームの対象ブロック(参照ブロックと呼
ぶ)が、前フレームのどの領域から移動してきたかを検
出する処理である。すなわち、具体的に言うと、動きベ
クトル検出処理は、例えば図8に示すように、現フレー
ムFpの参照ブロックBpに最も良く似たブロックを前
フレームFbの探索範囲E内の候補ブロックBbの集合
より検出し、当該検出された候補ブロックBbと参照ブ
ロックBp間の位置のずれを動きベクトルとして検出す
る処理である。
First, an image frame (or field)
Is divided into thin blocks. As the block size at this time, a size of 8 × 8 pixels or 16 × 16 pixels is generally used. Here, the motion vector detection process is basically a process of detecting from which region of the previous frame the target block (referred to as a reference block) of the current frame has moved. That is, specifically, in the motion vector detection process, for example, as shown in FIG. 8, a block that is most similar to the reference block Bp of the current frame Fp is set as a set of candidate blocks Bb within the search range E of the previous frame Fb. More specifically, it is a process of detecting the positional shift between the detected candidate block Bb and the reference block Bp as a motion vector.

【0005】上記動きベクトル検出処理における上記参
照ブロックBpに最も良く似たブロックの判定は、以下
のように行われる。すなわち、先ず第1の判定操作とし
て、ある候補ブロックBbの各画素値cについて、参照
ブロックBpの対応する画素値rとの差分をとり、その
絶対値和(或いは自乗和)を求める。
The determination of the block most similar to the reference block Bp in the motion vector detection processing is performed as follows. That is, first, as a first determination operation, the difference between each pixel value c of a certain candidate block Bb and the corresponding pixel value r of the reference block Bp is calculated, and the sum of absolute values (or sum of squares) is calculated.

【0006】次に、第2の判定操作として、上記第1の
判定操作を探索範囲E内の全ての候補ブロックBbにつ
いて行い、それぞれ求めた各差分絶対値和(或いは差分
自乗和)のうちから最小のものを求める。この最小の差
分絶対値和(或いは差分自乗和)を与える候補ブロック
Bbを、参照ブロックBpに最も良く似たブロックとす
る。
Next, as the second determination operation, the first determination operation is performed for all candidate blocks Bb in the search range E, and the sum of absolute differences (or the sum of squared differences) obtained respectively is calculated. Find the smallest one. The candidate block Bb that gives the smallest sum of absolute differences (or sum of squared differences) is the block most similar to the reference block Bp.

【0007】具体的に言うと、参照ブロックBpのブロ
ックサイズをM×N画素とし、候補ブロックBbの数を
K×L個とした場合、上記動きベクトル検出処理は、以
下の数1の数式(1) と、次の数式(2) で表せる。なお、
この数式(1) ,数式(2) では、差分自乗和でなく、差分
絶対値和D(i,j) を求めている。また、数式(1) の式中
のrは現フレームの参照ブロックBpの画素値を表し、
数式(1) の式中のcは前フレームの画素値を表してい
る。さらに、数式(2) の式中(x,y)は、最小となる
差分絶対値和(minD(i,j) )を与えるときの(i,
j)を意味する。この数式(2) における(x,y)が動
きベクトルMV(x,y) となる。
Specifically, when the block size of the reference block Bp is M × N pixels and the number of candidate blocks Bb is K × L, the motion vector detection process is performed by the following mathematical expression (1). 1) and the following formula (2). In addition,
In these equations (1) and (2), not the sum of squared differences but the sum of absolute differences D (i, j) is obtained. Further, r in the formula (1) represents the pixel value of the reference block Bp of the current frame,
In the equation (1), c represents the pixel value of the previous frame. Further, in the equation (2), (x, y) is (i, when the minimum absolute difference sum (minD (i, j)) is given.
j) is meant. (X, y) in the equation (2) becomes the motion vector MV (x, y).

【0008】[0008]

【数1】 [Equation 1]

【0009】[0009]

【数2】 MV(x,y) =minD(i,j) ・・・・(2) MV (x, y) = minD (i, j) (2)

【0010】このようなことから、参照ブロックBpの
ブロックサイズが4×4画素で候補ブロックBbの数が
7×7個の場合に差分絶対値和D(5,3) が最小になって
いる上記図8の例では、上記動きベクトルMVが(5,
3)となる。
From the above, when the block size of the reference block Bp is 4 × 4 pixels and the number of candidate blocks Bb is 7 × 7, the sum of absolute difference D (5,3) is the smallest. In the example of FIG. 8, the motion vector MV is (5,
3).

【0011】次に、フレームを単位として動きベクトル
を検出する処理(以下フレームのみの動きベクトル検出
処理と呼ぶ)における従来の回路構成について説明す
る。先ず、従来の回路構成を説明するために、動きベク
トル検出処理の例を挙げ、その例について説明する。さ
らに、その例に沿って、従来の回路構成および制御方式
を説明する。
Next, a conventional circuit configuration in a process of detecting a motion vector in units of frames (hereinafter referred to as a motion vector detection process of only a frame) will be described. First, in order to describe the conventional circuit configuration, an example of motion vector detection processing will be given and the example will be described. Furthermore, a conventional circuit configuration and control method will be described along with the example.

【0012】ここで、一例として、参照ブロックBpの
ブロックサイズが3×4画素で、候補ブロックBbの数
もまた3×4個の場合の動きベクトル検出処理につい
て、図9を用いて説明する。なお、この図9では、現フ
レームFpの参照ブロックBpの各画素値rについては
英小文字の番号a,b,c,・・・を付している
(ra,rb ,rc ,・・・・)。また、前フレームF
bの各画素値cについては数字の番号0,1,2,・・
・を付している(c0 ,c1 ,c2 ,・・・・)。以
下、上記フレームのみの動きベクトル検出処理の手順
を、この図9を用いて説明する。
Here, as an example, the motion vector detecting process in the case where the block size of the reference block Bp is 3 × 4 pixels and the number of candidate blocks Bb is also 3 × 4 will be described with reference to FIG. In FIG. 9, lowercase numbers a, for each pixel value r of the reference block Bp of the current frame Fp, b, c, are given the · · · (r a, r b, r c, · ...). Also, the previous frame F
For each pixel value c of b, numeral numbers 0, 1, 2, ...
・ Is attached (c 0 , c 1 , c 2 , ...). The procedure of the motion vector detection processing for only the above frame will be described below with reference to FIG.

【0013】先ず、第1の処理工程として、参照ブロッ
クBp0の画素値r(ra 〜rl )と、参照ブロックB
p0に対する探索範囲E0内の全ての候補ブロックBb
0(12個存在する)の画素値c(c0 〜c34)につい
て、前述した数式(1) に基づいて以下の数式(3) 〜数式
(14)のような計算を行い、差分絶対値和D(i,j) (0≦
i<2,0≦j<3)を求める。
[0013] First, as the first process step, pixel values r of the reference block Bp0 and (r a ~r l), the reference block B
All candidate blocks Bb within the search range E0 for p0
For pixel values c (c 0 to c 34 ) of 0 (there are 12), the following formulas (3) to (3) are calculated based on the above formula (1).
The calculation as shown in (14) is performed, and the sum of absolute differences D (i, j) (0 ≦
i <2,0 ≦ j <3) is obtained.

【0014】[0014]

【数3】 D(0,0)=|ra −c0 |+|rb −c1 |+|rc −c2 |+|rd −c3 | +|re −c7 |+・・・・+|rl −c17| ・・・・(3) ## EQU3 ## D (0,0) = | r a −c 0 | + | r b −c 1 | + | r c −c 2 | + | r d −c 3 | + | r e −c 7 | + ・ ・ ・ ・ + | r l −c 17 | ・ ・ ・ ・ (3)

【0015】[0015]

【数4】 D(0,1)=|ra −c1 |+|rb −c2 |+|rc −c3 |+|rd −c4 | +|re −c8 |+・・・・+|rl −c18| ・・・・(4) Equation 4] D (0,1) = | r a -c 1 | + | r b -c 2 | + | r c -c 3 | + | r d -c 4 | + | r e -c 8 | + ・ ・ ・ ・ + | r l −c 18 | ・ ・ ・ ・ (4)

【0016】[0016]

【数5】 D(0,2)=|ra −c2 |+|rb −c3 |+|rc −c4 |+|rd −c5 | +|re −c9 |+・・・・+|rl −c19| ・・・・(5) Equation 5] D (0,2) = | r a -c 2 | + | r b -c 3 | + | r c -c 4 | + | r d -c 5 | + | r e -c 9 | + ・ ・ ・ ・ + | r l −c 19 | ・ ・ ・ ・ (5)

【0017】[0017]

【数6】 D(0,3)=|ra −c3 |+|rb −c4 |+|rc −c5 |+|rd −c6 | +|re −c10|+・・・・+|rl −c20| ・・・・(6) [6] D (0,3) = | r a -c 3 | + | r b -c 4 | + | r c -c 5 | + | r d -c 6 | + | r e -c 10 | + ・ ・ ・ ・ + | r l −c 20 | ・ ・ ・ ・ (6)

【0018】[0018]

【数7】 D(1,0)=|ra −c7 |+|rb −c8 |+|rc −c9 |+|rd −c10| +|re −c14|+・・・・+|rl −c24| ・・・・(7) Equation 7] D (1,0) = | r a -c 7 | + | r b -c 8 | + | r c -c 9 | + | r d -c 10 | + | r e -c 14 | + ・ ・ ・ ・ + | r l −c 24 | ・ ・ ・ ・ (7)

【0019】[0019]

【数8】 D(1,1)=|ra −c8 |+|rb −c9 |+|rc −c10|+|rd −c11| +|re −c15|+・・・・+|rl −c25| ・・・・(8) Equation 8] D (1,1) = | r a -c 8 | + | r b -c 9 | + | r c -c 10 | + | r d -c 11 | + | r e -c 15 | + ・ ・ ・ ・ + | r l −c 25 | ・ ・ ・ ・ (8)

【0020】[0020]

【数9】 D(1,2)=|ra −c9 |+|rb −c10|+|rc −c11|+|rd −c12| +|re −c16|+・・・・+|rl −c26| ・・・・(9) [Equation 9] D (1,2) = | r a −c 9 | + | r b −c 10 | + | r c −c 11 | + | r d −c 12 | + | r e −c 16 | + ・ ・ ・ ・ + | r l −c 26 | ・ ・ ・ ・ (9)

【0021】[0021]

【数10】 D(1,3)=|ra −c10|+|rb −c11|+|rc −c12|+|rd −c13| +|re −c17|+・・・・+|rl −c27| ・・・・(10)Equation 10] D (1,3) = | r a -c 10 | + | r b -c 11 | + | r c -c 12 | + | r d -c 13 | + | r e -c 17 | + ・ ・ ・ ・ + | r l −c 27 | ・ ・ ・ ・ (10)

【0022】[0022]

【数11】 D(2,0)=|ra −c14|+|rb −c15|+|rc −c16|+|rd −c17| +|re −c21|+・・・・+|rl −c31| ・・・・(11)Equation 11] D (2,0) = | r a -c 14 | + | r b -c 15 | + | r c -c 16 | + | r d -c 17 | + | r e -c 21 | + ・ ・ ・ ・ + | r l −c 31 | ・ ・ ・ ・ (11)

【0023】[0023]

【数12】 D(2,1)=|ra −c15|+|rb −c16|+|rc −c17|+|rd −c18| +|re −c22|+・・・・+|rl −c32| ・・・・(12)Equation 12] D (2,1) = | r a -c 15 | + | r b -c 16 | + | r c -c 17 | + | r d -c 18 | + | r e -c 22 | + ・ ・ ・ ・ + | r l −c 32 | ・ ・ ・ ・ (12)

【0024】[0024]

【数13】 D(2,2)=|ra −c16|+|rb −c17|+|rc −c18|+|rd −c19| +|re −c23|+・・・・+|rl −c33| ・・・・(13)Equation 13] D (2,2) = | r a -c 16 | + | r b -c 17 | + | r c -c 18 | + | r d -c 19 | + | r e -c 23 | + ・ ・ ・ ・ + | r l −c 33 | ・ ・ ・ ・ (13)

【0025】[0025]

【数14】 D(2,3)=|ra −c17|+|rb −c18|+|rc −c19|+|rd −c20| +|re −c24|+・・・・+|rl −c34| ・・・・(14)D (2,3) = | r a −c 17 | + | r b −c 18 | + | r c −c 19 | + | r d −c 20 | + | r e −c 24 | + ・ ・ ・ ・ + | r l −c 34 | ・ ・ ・ ・ (14)

【0026】次に、第2の処理工程として、上記第1の
処理工程で求めた全ての差分絶対値和D(i,j) (0≦i
<2,0≦j<3)について、前述した数式(2) に基づ
いて最小となる差分絶対値和minD(i,j) を求め、動
きベクトルMV(x,y) を得る。
Next, as a second processing step, the sum of all absolute differences D (i, j) (0≤i obtained in the first processing step)
For <2,0 ≦ j <3), the minimum difference absolute value sum minD (i, j) is obtained based on the above-described equation (2), and the motion vector MV (x, y) is obtained.

【0027】第3の処理工程として、参照ブロックBp
0に隣接する参照ブロックBp1の画素値ra'〜r
l'と、参照ブロックBp1の探索範囲E1内のすべての
候補ブロックBb1(12個存在する)の画素値c21
55について、上記第1の処理工程と同様に、数式(1)
に基づいて計算を行い、差分絶対値和D’(i,j) (0≦
i<2,0≦j<3)を求める。
As the third processing step, the reference block Bp
Pixel values r a ′ to r of the reference block Bp1 adjacent to 0
l ′ and the pixel value c 21 of all candidate blocks Bb1 (there are 12) within the search range E1 of the reference block Bp1.
For c 55 , as in the first processing step described above, formula (1)
Calculation is performed based on the sum of absolute differences D ′ (i, j) (0 ≦
i <2,0 ≦ j <3) is obtained.

【0028】その後、第4の処理工程として、上記第3
の処理工程で求めた全ての差分絶対値和D’(i,j) (0
≦i<2,0≦j<3)について、数式(2) に基づいて
最小となる差分絶対値和minD’(i,j) を求め、動き
ベクトルMV(x,y) を得る。
Then, as the fourth processing step, the above-mentioned third step is carried out.
Sum of all absolute differences D ′ (i, j) (0
For ≤i <2, 0≤j <3, the minimum sum of absolute difference values minD '(i, j) is obtained based on the equation (2), and the motion vector MV (x, y) is obtained.

【0029】最後に、第5の処理工程として、以下同様
に、現フレームFpの全ての参照ブロックBpについ
て、上記の操作を繰り返し、動きベクトルMV(x,y) を
求める。
Finally, as the fifth processing step, the above operation is similarly repeated for all reference blocks Bp of the current frame Fp to obtain the motion vector MV (x, y).

【0030】従来は、上述したような動きベクトル検出
処理を図10,図11,図12に示す回路構成で実現し
ている。
Conventionally, the above-described motion vector detection processing is realized by the circuit configuration shown in FIGS. 10, 11 and 12.

【0031】ここで、図10は、従来の動きベクトル検
出回路(動きベクトル検出を行う演算回路)の全体構成
である。この図10において、当該演算回路は、複数の
演算ユニット(PE)10〜21と、複数の画素値格納
用レジスタ(Reg) 22〜38と、複数のマルチプレクサ
付き画素値格納用レジスタ(M&R)39〜44とを相
互接続した構成となっている。
Here, FIG. 10 shows the overall structure of a conventional motion vector detecting circuit (arithmetic circuit for detecting a motion vector). 10, the arithmetic circuit includes a plurality of arithmetic units (PE) 10 to 21, a plurality of pixel value storage registers (Reg) 22 to 38, and a plurality of multiplexer-attached pixel value storage registers (M & R) 39. To 44 are interconnected.

【0032】すなわちこの図10において、端子1には
参照ブロックBpの画素値rが供給され、縦続接続され
た各演算ユニット10〜21に送られる。また、端子2
には例えば探索範囲Eの上半分の候補ブロックBbの画
素値cが供給され、縦続接続された画素値格納用レジス
タ22〜25の初段のレジスタ22の入力端子に送ら
れ、これら画素値格納用レジスタ22〜25で順次格納
される。
That is, in FIG. 10, the pixel value r of the reference block Bp is supplied to the terminal 1 and sent to each of the arithmetic units 10 to 21 connected in cascade. Also, terminal 2
Is supplied with the pixel value c of the candidate block Bb in the upper half of the search range E, sent to the input terminals of the first-stage register 22 of the cascaded pixel value storage registers 22 to 25, and these pixel value storage It is sequentially stored in the registers 22 to 25.

【0033】上記各画素値格納用レジスタ22〜25の
各出力は、上記演算ユニット10〜21のうちの対応す
る演算ユニット10〜13にも送られる。これら演算ユ
ニット10〜13のうちの演算ユニット13の出力は、
縦続接続された画素値格納用レジスタ30〜32の初段
のレジスタ30の入力端子に送られ、これら画素値補間
用レジスタ30〜32で順次格納される。上記各画素値
格納用レジスタ30〜32の出力は、上記演算ユニット
10〜21のうちの対応する演算ユニット15〜17に
も送られる。
The outputs of the pixel value storage registers 22 to 25 are also sent to the corresponding arithmetic units 10 to 13 of the arithmetic units 10 to 21. The output of the arithmetic unit 13 among these arithmetic units 10 to 13 is
The pixel value storage registers 30 to 32 connected in cascade are sent to the input terminal of the register 30 at the first stage, and are sequentially stored in the pixel value interpolation registers 30 to 32. The outputs of the respective pixel value storage registers 30 to 32 are also sent to the corresponding arithmetic units 15 to 17 of the arithmetic units 10 to 21.

【0034】さらに、これら演算ユニット15〜17の
うちの演算ユニット17の出力は、縦続接続された画素
値格納用レジスタ33〜35の初段のレジスタ33の入
力端子に送られ、これら画素値補間用レジスタ33〜3
5で順次格納される。上記各画素値格納用レジスタ33
〜35の出力は、上記演算ユニット10〜21のうちの
対応する演算ユニット19〜21にも送られる。
Further, the output of the arithmetic unit 17 of the arithmetic units 15 to 17 is sent to the input terminal of the first stage register 33 of the cascaded pixel value storage registers 33 to 35 for interpolating these pixel values. Registers 33-3
Sequentially stored at 5. Each pixel value storage register 33
The outputs of ~ 35 are also sent to the corresponding operation units 19-21 of the operation units 10-21.

【0035】また、端子3には例えば探索範囲Eの下半
分の候補ブロックBbの画素値cが供給され、縦続接続
された画素値格納用レジスタ26〜29の初段のレジス
タ26の入力端子に送られ、これら画素値格納用レジス
タ26〜29で順次格納される。上記各画素値格納用レ
ジスタ26〜29のうちのレジスタ27の出力は画素値
格納用レジスタ36にも送られ、レジスタ28の出力は
一方の入力端子に上記レジスタ36の出力が供給される
マルチプレクサ付き画素値格納用レジスタ39の他方の
入力端子に、レジスタ29の出力は一方の入力端子にレ
ジスタ39の出力が供給されるマルチプレクサ付き画素
値格納用レジスタ40の他方の入力端子にも送られる。
Further, for example, the pixel value c of the lower half candidate block Bb of the search range E is supplied to the terminal 3 and is sent to the input terminal of the first-stage register 26 of the cascaded pixel value storage registers 26 to 29. And are sequentially stored in the pixel value storage registers 26 to 29. The output of the register 27 of the pixel value storage registers 26 to 29 is also sent to the pixel value storage register 36, and the output of the register 28 is provided with a multiplexer in which the output of the register 36 is supplied to one input terminal. The output of the register 29 is sent to the other input terminal of the pixel value storage register 39, and is also sent to the other input terminal of the multiplexer-attached pixel value storage register 40 to which the output of the register 39 is supplied to one input terminal.

【0036】上記マルチプレクサ付き画素値格納用レジ
スタ40の出力は、上記演算ユニット10〜21のうち
の演算ユニット10の入力端子に送られる。この演算ユ
ニット10の出力は、次の演算ユニット11に送られる
と共に、画素値格納用レジスタ37の入力端子にも送ら
れる。当該レジスタ37の出力は一方の入力端子に上記
演算ユニット11の出力が供給されるマルチプレクサ付
き画素値格納用レジスタ41の他方の入力端子に供給さ
れ、このレジスタ41の出力は一方の入力端子に上記演
算ユニット12の出力が供給されマルチプレクサ付き画
素値格納用レジスタ42の他方の入力端子に供給され
る。また、演算ユニット13の出力は、上記画素値格納
用レジスタ30へ送られると共に、演算ユニット14に
も送られる。
The output of the pixel value storage register 40 with the multiplexer is sent to the input terminal of the arithmetic unit 10 of the arithmetic units 10 to 21. The output of the arithmetic unit 10 is sent to the next arithmetic unit 11 and also to the input terminal of the pixel value storage register 37. The output of the register 37 is supplied to the other input terminal of the multiplexer-equipped pixel value storage register 41 to which the output of the arithmetic unit 11 is supplied to one input terminal, and the output of the register 41 is supplied to one input terminal. The output of the arithmetic unit 12 is supplied to the other input terminal of the pixel value storage register 42 with a multiplexer. The output of the arithmetic unit 13 is sent to the pixel value storage register 30 and also to the arithmetic unit 14.

【0037】さらに、上記演算ユニット14の出力は、
次の演算ユニット15に送られると共に、画素値格納用
レジスタ38の入力端子にも送られる。当該レジスタ3
8の出力は一方の入力端子に上記演算ユニット15の出
力が供給されるマルチプレクサ付き画素値格納用レジス
タ43の他方の入力端子に供給され、このレジスタ43
の出力は一方の入力端子に上記演算ユニット16の出力
が供給されまマルチプレクサ付き画素値格納用レジスタ
44の他方の入力端子に供給される。また、演算ユニッ
ト17の出力は、上記画素値格納用レジスタ33へ送ら
れると共に、演算ユニット18にも送られる。
Further, the output of the arithmetic unit 14 is
It is sent to the next arithmetic unit 15 and also to the input terminal of the pixel value storage register 38. The register 3
The output of 8 is supplied to the other input terminal of the pixel value storage register 43 with a multiplexer to which the output of the arithmetic unit 15 is supplied to one input terminal.
The output of the arithmetic unit 16 is supplied to one input terminal of the output of the above, and is supplied to the other input terminal of the pixel value storage register 44 with a multiplexer. The output of the arithmetic unit 17 is sent to the pixel value storage register 33 and also to the arithmetic unit 18.

【0038】ここで、上述した図10の各演算ユニット
10〜21は、具体的には図11に示すように構成され
るものである。この図11において、端子51には図1
0の他の演算ユニット或いは画素値格納用レジスタから
の出力が供給され、端子55には図10の他の演算ユニ
ット或いはマルチプレクサ付き画素値格納用レジスタか
らの出力が供給される。これら端子51,55を介した
信号は、マルチプレクサ(MPX)57で多重化された
後画素値格納用レジスタ58に送られる。当該画素値格
納用レジスタ58の出力は、端子52及び54から出力
されると共に、差分絶対値演算器(|r−c|)59の
一方の入力端子に供給される。この差分絶対値演算器5
9の他方の入力端子には、端子53を介した上記図10
の端子1を介した参照ブロックBpの画素値rが供給さ
れる。当該差分絶対値演算器59の出力は、累算器(A
CC)60に送られ、当該累算器60で累加算された
後、端子56から差分絶対値和D(i,j) として出力され
る。
Here, each of the arithmetic units 10 to 21 in FIG. 10 described above is specifically configured as shown in FIG. In FIG. 11, the terminal 51 is shown in FIG.
The output from the other arithmetic unit 0 or the pixel value storing register of 0 is supplied, and the output from the other arithmetic unit of FIG. 10 or the pixel value storing register with a multiplexer is supplied to the terminal 55. The signals passed through the terminals 51 and 55 are sent to the pixel value storage register 58 after being multiplexed by the multiplexer (MPX) 57. The output of the pixel value storage register 58 is output from the terminals 52 and 54, and is also supplied to one input terminal of a difference absolute value calculator (| r−c |) 59. This difference absolute value calculator 5
9 to the other input terminal of FIG.
The pixel value r of the reference block Bp is supplied via the terminal 1 of. The output of the difference absolute value calculator 59 is the accumulator (A
CC) 60, cumulatively added by the accumulator 60, and then output from the terminal 56 as the sum of absolute difference D (i, j).

【0039】また、上述した図10の上記マルチプレク
サ付き画素値格納用レジスタ39〜44は、具体的には
図12に示すように構成されるものである。この図12
において、端子72には前段の図10の画素値格納用レ
ジスタ或いはマルチプレクサ付き画素値格納用レジスタ
の出力が供給され、端子73には対応する図10の画像
値格納用レジスタ或いは演算ユニットの図11の端子5
4からの出力が供給される。この端子72,73を介し
た信号は、マルチプレクサ75で多重化された後画素値
格納用レジスタ76に送られる。当該画素値格納用レジ
スタ76の出力が、端子71を介して後段の構成に送ら
れる。
Further, the above-mentioned multiplexer-equipped pixel value storage registers 39 to 44 shown in FIG. 10 are specifically constructed as shown in FIG. This FIG.
11, the output of the pixel value storage register of FIG. 10 or the pixel value storage register with a multiplexer of the preceding stage is supplied to the terminal 72, and the terminal 73 of the corresponding image value storage register of FIG. Terminal 5
The output from 4 is supplied. The signals through the terminals 72 and 73 are sent to the pixel value storage register 76 after being multiplexed by the multiplexer 75. The output of the pixel value storage register 76 is sent to the subsequent stage configuration via the terminal 71.

【0040】次に、上述した図10,図11,図12に
示した回路構成を用いて動きベクトル検出処理を実現す
るための制御方式について、動きベクトル検出制御のタ
イミングを示す図13を用いて説明する。
Next, regarding the control method for realizing the motion vector detection processing by using the circuit configurations shown in FIGS. 10, 11, and 12, the timing of the motion vector detection control will be described with reference to FIG. explain.

【0041】この図13に示すように、参照ブロックB
pの画素値rは、全ての演算ユニットに対して1クロッ
クサイクル毎に与えられる。すなわち、参照ブロックB
pの画素値rについては、あるクロックサイクルにおい
て、各演算ユニットが同一の画素値rに対して演算を行
っている。
As shown in FIG. 13, reference block B
The pixel value r of p is given to every arithmetic unit every clock cycle. That is, the reference block B
With respect to the pixel value r of p, each arithmetic unit operates on the same pixel value r in a certain clock cycle.

【0042】また、候補ブロックBbの画素値cは、探
索範囲Eの上半分と下半分の2つの領域に分けられて、
図10に示した2つの入力端子2,3に順次入力され
る。さらに、上記候補ブロックBbの画素値cは、1ク
ロックサイクル毎に後段の画素値格納用レジスタに転送
される。但し、4クロックサイクルに一回、図11に示
した演算ユニットの画素値格納用レジスタ58に転送さ
れる。このようにして、候補ブロックBbの画素値cに
ついては、図13に示すように、あるクロックサイクル
において、各演算ユニットが異なる画素値cに対して演
算を行っている。
Further, the pixel value c of the candidate block Bb is divided into two regions, an upper half and a lower half of the search range E,
The signals are sequentially input to the two input terminals 2 and 3 shown in FIG. Further, the pixel value c of the candidate block Bb is transferred to the pixel value storage register in the subsequent stage every clock cycle. However, it is transferred to the pixel value storage register 58 of the arithmetic unit shown in FIG. 11 once every four clock cycles. In this way, with respect to the pixel value c of the candidate block Bb, as shown in FIG. 13, each arithmetic unit operates on a different pixel value c in a certain clock cycle.

【0043】従来の演算回路においては、上述したよう
な制御を行うことにより、12クロックサイクル毎に各
演算ユニットから一斉に差分絶対値和が出力される(図
10の出力端子56から出力される)。その後、これら
の差分絶対値和D(i,j) の大小比較を行うことにより、
動きベクトルMV(x,y) を求める。なお、この際、図1
1に示した累算器60は、次クロックサイクルにおい
て、次の参照ブロックBpについての差分絶対値和D
(i,j) の累算を間断なく開始するので、すべての差分絶
対値和D(i,j) を一旦レジスタに格納してから大小比較
演算を行う必要がある。
In the conventional arithmetic circuit, by performing the above-mentioned control, each arithmetic unit outputs the sum of absolute differences simultaneously every 12 clock cycles (output from the output terminal 56 of FIG. 10). ). After that, by comparing the magnitudes of these sums of absolute differences D (i, j),
The motion vector MV (x, y) is calculated. At this time, FIG.
In the next clock cycle, the accumulator 60 shown in No. 1 outputs the sum of absolute differences D for the next reference block Bp.
Since the accumulation of (i, j) is started without interruption, it is necessary to store all the difference absolute value sums D (i, j) in the register and then perform the magnitude comparison operation.

【0044】以上が、フレームのみの動きベクトル検出
処理を行う従来の回路構成についての説明である。
The above is the description of the conventional circuit configuration for performing the motion vector detection processing of only the frame.

【0045】これに対し、フィールド単位の動きベクト
ル検出処理(以下フィールド対応動きベクトル検出処理
と呼ぶ)にも対応できる従来の回路構成について以下に
説明する。このフィールド対応動きベクトル検出処理に
おいて、動きベクトルは、偶数フィールド、奇数フィー
ルド、フレームの各々に対応して3つ求める。ここで
は、上述のフレームのみの動きベクトル検出処理の説明
で用いた例を再び用いる(図9参照)。
On the other hand, a conventional circuit configuration that can also be applied to a field-based motion vector detection process (hereinafter referred to as a field-based motion vector detection process) will be described below. In this field-based motion vector detection processing, three motion vectors are obtained for each of the even field, the odd field, and the frame. Here, the example used in the above description of the motion vector detection processing of only the frame is used again (see FIG. 9).

【0046】ここで、前提として、参照ブロックBp0
の画素値ra 〜rl は、偶数フィールドと奇数フィール
ドに対応して、以下の2つのグループに分けられる。す
なわち例えば、偶数フィールドでは{ra ,rc
e ,rg ,ri ,rk }のグループに、奇数フィール
ドでは{rb ,rd ,rf ,rh ,rj ,rl }のグル
ープに分けられる。
Here, as a premise, the reference block Bp0
The pixel values r a to r l of are classified into the following two groups corresponding to even and odd fields. That is, for example, in an even field, {r a , r c ,
r e , r g , r i , r k }, and the odd fields are divided into groups {r b , r d , r f , r h , r j , r l }.

【0047】以下、上記前提に基づき、上記フィールド
対応動きベクトル検出処理の手順を、前記図9を用いて
説明する。
Based on the above premise, the procedure of the field corresponding motion vector detecting process will be described below with reference to FIG.

【0048】先ず、偶数フィールドの場合から説明す
る。この場合、参照ブロックBp0の偶数フィールドの
画素値rと、参照ブロックBp0に対する探索範囲E0
内の全ての候補ブロックBb0(12個存在する)の画
素値c0 〜c34とを用いて、前述した数式(1) に基づい
て以下の数式(15)〜数式(26)のような計算を行い、偶数
フィールドにおける差分絶対値和De (i,j) (0≦i<
2,0≦j<3)を求める。
First, the case of an even field will be described. In this case, the pixel value r of the even field of the reference block Bp0 and the search range E0 for the reference block Bp0
Using the pixel values c 0 to c 34 of all the candidate blocks Bb0 (there are 12) in the above, the following formulas (15) to (26) are calculated based on the above formula (1). And the sum of absolute differences in even fields D e (i, j) (0 ≦ i <
2,0 ≦ j <3) is calculated.

【0049】[0049]

【数15】 De (0,0)=|ra −c0 |+|rc −c2 |+|re −c7 |+|rg −c9 | +|ri −c14|+|rk −c16| ・・・・(15)D e (0,0) = | r a −c 0 | + | r c −c 2 | + | r e −c 7 | + | r g −c 9 | + | r i −c 14 │ + │r k −c 16 │ ・ ・ ・ ・ (15)

【0050】[0050]

【数16】 De (0,1)=|ra −c1 |+|rc −c3 |+|re −c8 |+|rg −c10| +|ri −c15|+|rk −c17| ・・・・(16)D e (0,1) = | r a −c 1 | + | r c −c 3 | + | r e −c 8 | + | r g −c 10 | + | r i −c 15 | + | R k −c 17 | ··· (16)

【0051】[0051]

【数17】 De (0,2)=|ra −c2 |+|rc −c4 |+|re −c9 |+|rg −c11| +|ri −c16|+|rk −c18| ・・・・(17)D e (0,2) = | r a −c 2 | + | r c −c 4 | + | r e −c 9 | + | r g −c 11 | + | r i −c 16 │ + │r k −c 18 │ ・ ・ ・ ・ (17)

【0052】[0052]

【数18】 De (0,3)=|ra −c3 |+|rc −c5 |+|re −c10|+|rg −c12| +|ri −c17|+|rk −c19| ・・・・(18)D e (0,3) = | r a −c 3 | + | r c −c 5 | + | r e −c 10 | + | r g −c 12 | + | r i −c 17 │ + │r k -c 19 │ ・ ・ ・ ・ (18)

【0053】[0053]

【数19】 De (1,0)=|ra −c7 |+|rc −c9 |+|re −c14|+|rg −c16| +|ri −c21|+|rk −c23| ・・・・(19)D e (1,0) = | r a −c 7 | + | r c −c 9 | + | r e −c 14 | + | r g −c 16 | + | r i −c 21 │ + │r k -c 23 │ ・ ・ ・ ・ (19)

【0054】[0054]

【数20】 De (1,1)=|ra −c8 |+|rc −c10|+|re −c15|+|rg −c17| +|ri −c22|+|rk −c24| ・・・・(20)D e (1,1) = | r a −c 8 | + | r c −c 10 | + | r e −c 15 | + | r g −c 17 | + | r i −c 22 │ + │r k −c 24 │ ・ ・ ・ ・ (20)

【0055】[0055]

【数21】 De (1,2)=|ra −c9 |+|rc −c11|+|re −c16|+|rg −c18| +|ri −c23|+|rk −c25| ・・・・(21)[Equation 21] D e (1,2) = | r a −c 9 | + | r c −c 11 | + | r e −c 16 | + | r g −c 18 | + | r i −c 23 │ + │r k −c 25 │ ・ ・ ・ ・ (21)

【0056】[0056]

【数22】 De (1,3)=|ra −c10|+|rc −c12|+|re −c17|+|rg −c19| +|ri −c24|+|rk −c26| ・・・・(22)D e (1,3) = | r a −c 10 | + | r c −c 12 | + | r e −c 17 | + | r g −c 19 | + | r i −c 24 │ + │r k -c 26 │ ・ ・ ・ ・ (22)

【0057】[0057]

【数23】 De (2,0)=|ra −c14|+|rc −c16|+|re −c21|+|rg −c23| +|ri −c28|+|rk −c30| ・・・・(23)D e (2,0) = | r a −c 14 | + | r c −c 16 | + | r e −c 21 | + | r g −c 23 | + | r i −c 28 │ + │r k −c 30 │ ・ ・ ・ ・ (23)

【0058】[0058]

【数24】 De (2,1)=|ra −c15|+|rc −c17|+|re −c22|+|rg −c24| +|ri −c29|+|rk −c31| ・・・・(24)D e (2,1) = | r a −c 15 | + | r c −c 17 | + | r e −c 22 | + | r g −c 24 | + | r i −c 29 │ + │r k −c 31 │ ・ ・ ・ ・ (24)

【0059】[0059]

【数25】 De (2,2)=|ra −c16|+|rc −c18|+|re −c23|+|rg −c25| +|ri −c30|+|rk −c32| ・・・・(25)D e (2,2) = | r a −c 16 | + | r c −c 18 | + | r e −c 23 | + | r g −c 25 | + | r i −c 30 │ + │r k -c 32 │ ・ ・ ・ ・ (25)

【0060】[0060]

【数26】 De (2,3)=|ra −c17|+|rc −c19|+|re −c24|+|rg −c26| +|ri −c31|+|rk −c33| ・・・・(26)D e (2,3) = | r a −c 17 | + | r c −c 19 | + | r e −c 24 | + | r g −c 26 | + | r i −c 31 │ + │r k -c 33 │ ・ ・ ・ ・ (26)

【0061】次に、奇数フィールドの場合について説明
する。参照ブロックBp0の奇数フィールドの画素値r
についても、上述した偶数フィールドの場合と同様に、
参照ブロックBp0に対する探索範囲E0内の全ての候
補ブロックBb0(12個存在する)の画素値c0 〜c
34とを用いて、前述した数式(1) に基づいて以下の数式
(27)〜数式(38)のような計算を行い、奇数フィールドに
おける差分絶対値和Do (i,j) (0≦i<2,0≦j<
3)を求める。
Next, the case of odd fields will be described. Pixel value r of odd field of reference block Bp0
As for the even field described above,
Pixel values c 0 to c of all candidate blocks Bb0 (there are 12) in the search range E0 with respect to the reference block Bp0
Based on the above equation (1) using 34 and
Calculations such as (27) to (38) are performed, and the sum of absolute differences D o (i, j) in the odd field (0 ≦ i <2, 0 ≦ j <
3) is asked.

【0062】[0062]

【数27】 Do (0,0)=|rb −c1 |+|rd −c3 |+|rf −c8 |+|rh −c10| +|rj −c15|+|rl −c17| ・・・・(27)[Number 27] D o (0,0) = | r b -c 1 | + | r d -c 3 | + | r f -c 8 | + | r h -c 10 | + | r j -c 15 | + | r l -c 17 | ···· (27)

【0063】[0063]

【数28】 Do (0,1)=|rb −c2 |+|rd −c4 |+|rf −c9 |+|rh −c11| +|rj −c16|+|rl −c18| ・・・・(28)Equation 28] D o (0,1) = | r b -c 2 | + | r d -c 4 | + | r f -c 9 | + | r h -c 11 | + | r j -c 16 │ + │r l −c 18 | ・ ・ ・ ・ (28)

【0064】[0064]

【数29】 Do (0,2)=|rb −c3 |+|rd −c5 |+|rf −c10|+|rh −c12| +|rj −c17|+|rl −c19| ・・・・(29)[Number 29] D o (0,2) = | r b -c 3 | + | r d -c 5 | + | r f -c 10 | + | r h -c 12 | + | r j -c 17 │ + │r l −c 19 | ・ ・ ・ ・ (29)

【0065】[0065]

【数30】 Do (0,3)=|rb −c4 |+|rd −c6 |+|rf −c11|+|rh −c13| +|rj −c18|+|rl −c20| ・・・・(30)Equation 30] D o (0,3) = | r b -c 4 | + | r d -c 6 | + | r f -c 11 | + | r h -c 13 | + | r j -c 18 │ + │r l −c 20 │ ・ ・ ・ ・ (30)

【0066】[0066]

【数31】 Do (1,0)=|rb −c8 |+|rd −c10|+|rf −c15|+|rh −c17| +|rj −c22|+|rl −c24| ・・・・(31)[Number 31] D o (1,0) = | r b -c 8 | + | r d -c 10 | + | r f -c 15 | + | r h -c 17 | + | r j -c 22 │ + │r l −c 24 │ ・ ・ ・ ・ (31)

【0067】[0067]

【数32】 Do (1,1)=|rb −c9 |+|rd −c11|+|rf −c16|+|rh −c18| +|rj −c23|+|rl −c25| ・・・・(32)[Number 32] D o (1,1) = | r b -c 9 | + | r d -c 11 | + | r f -c 16 | + | r h -c 18 | + | r j -c 23 | + | r l -c 25 | ···· (32)

【0068】[0068]

【数33】 Do (1,2)=|rb −c10|+|rd −c12|+|rf −c17|+|rh −c19| +|rj −c24|+|rl −c26| ・・・・(33)[Number 33] D o (1,2) = | r b -c 10 | + | r d -c 12 | + | r f -c 17 | + | r h -c 19 | + | r j -c 24 │ + │r l −c 26 │ ・ ・ ・ ・ (33)

【0069】[0069]

【数34】 Do (1,3)=|rb −c11|+|rd −c13|+|rf −c18|+|rh −c20| +|rj −c25|+|rl −c27| ・・・・(34)Equation 34] D o (1,3) = | r b -c 11 | + | r d -c 13 | + | r f -c 18 | + | r h -c 20 | + | r j -c 25 │ + │r l −c 27 │ ・ ・ ・ ・ (34)

【0070】[0070]

【数35】 Do (2,0)=|rb −c15|+|rd −c17|+|rf −c22|+|rh −c24| +|rj −c29|+|rl −c31| ・・・・(35)[Number 35] D o (2,0) = | r b -c 15 | + | r d -c 17 | + | r f -c 22 | + | r h -c 24 | + | r j -c 29 │ + │r l −c 31 │ ・ ・ ・ ・ (35)

【0071】[0071]

【数36】 Do (2,1)=|rb −c16|+|rd −c18|+|rf −c23|+|rh −c25| +|rj −c30|+|rl −c32| ・・・・(36)Equation 36] D o (2,1) = | r b -c 16 | + | r d -c 18 | + | r f -c 23 | + | r h -c 25 | + | r j -c 30 │ + │rl- c 32 │ ・ ・ ・ ・ (36)

【0072】[0072]

【数37】 Do (2,2)=|rb −c17|+|rd −c19|+|rf −c24|+|rh −c26| +|rj −c31|+|rl −c33| ・・・・(37)[Number 37] D o (2,2) = | r b -c 17 | + | r d -c 19 | + | r f -c 24 | + | r h -c 26 | + | r j -c 31 │ + │r l −c 33 │ ・ ・ ・ ・ (37)

【0073】[0073]

【数38】 Do (2,3)=|rb −c18|+|rd −c20|+|rf −c25|+|rh −c27| +|rj −c32|+|rl −c34| ・・・・(38)Equation 38] D o (2,3) = | r b -c 18 | + | r d -c 20 | + | r f -c 25 | + | r h -c 27 | + | r j -c 32 │ + │r l −c 34 │ ・ ・ ・ ・ (38)

【0074】最後に、フレームの場合については、前述
したフレームのみの動きベクトル検出処理の場合と同様
であり、参照ブロックBp0に対する探索範囲E0内の
全ての候補ブロックBb0の画素値c(c0 〜c34)に
ついて、前述した数式(1) に基づいて前記数式(3) 〜数
式(14)のような計算を行い、フレームにおける差分絶対
値和D(i,j) (0≦i<2,0≦j<3)を求める。
Finally, the case of the frame is similar to the case of the motion vector detection processing of only the frame described above, and the pixel values c (c 0 ~) of all candidate blocks Bb0 within the search range E0 with respect to the reference block Bp0. c 34 ) is calculated based on the above-mentioned mathematical expression (1) as in the mathematical expressions (3) to (14), and the sum of absolute differences D (i, j) in the frame (0 ≦ i <2 0 ≦ j <3) is calculated.

【0075】次に、上記偶数フィールドにおける差分絶
対値和De (i,j) (0≦i<2,0≦j<3)の全てに
ついて、前記数式(2) に基づいて最小となる差分絶対値
和minDe (i,j) を求め、偶数フィールドにおける動
きベクトルMVe (x,y) を得る。
Next, for all of the sums of absolute differences D e (i, j) (0 ≦ i <2, 0 ≦ j <3) in the even field, the minimum difference based on the above equation (2). The sum of absolute values minD e (i, j) is obtained, and the motion vector MV e (x, y) in the even field is obtained.

【0076】また、上記奇数フィールドにおける差分絶
対値和Do (i,j) (0≦i<2,0≦j<3)の全てに
ついて、前記数式(2) に基づいて最小となる差分絶対値
和minDo (i,j) を求め、奇数フィールドにおける動
きベクトルMVo (x,y) を得る。
Further, for all of the sums of absolute differences D o (i, j) (0 ≦ i <2, 0 ≦ j <3) in the above-mentioned odd field, the minimum absolute difference is calculated based on the equation (2). The value sum minD o (i, j) is obtained to obtain the motion vector MV o (x, y) in the odd field.

【0077】同じく、上記フレームにおける差分絶対値
和D(i,j) (0≦i<2,0≦j<3)の全てについ
て、前記数式(2) に基づいて最小となる差分絶対値和m
inD(i,j) を求め、フレームにおける動きベクトルM
V(x,y) を得る。
Similarly, for all of the sums of absolute differences D (i, j) (0≤i <2, 0≤j <3) in the frame, the sum of absolute differences is minimized based on the equation (2). m
inD (i, j) is calculated, and the motion vector M in the frame
Get V (x, y).

【0078】次に、上記参照ブロックBp0に隣接する
参照ブロックBp1の画素値ra'〜rl'と、参照ブロッ
クBp1の探索範囲E1内の全ての候補ブロックBb1
(12個存在する)の画素値c21〜c55とについて、上
述同様にして数式(1) に基づいて、上記偶数フィールド
における差分絶対値和D' e (i,j) (0≦i<2,0≦
j<3)、上記奇数フィールドにおける差分絶対値和
D' o (i,j) (0≦i<2,0≦j<3)、フレームに
おける差分絶対値和D'(i,j)(0≦i<2,0≦j<
3)を求める。
Next, the pixel values r a ′ to r l ′ of the reference block Bp1 adjacent to the reference block Bp0 and all the candidate blocks Bb1 within the search range E1 of the reference block Bp1.
For the pixel values c 21 to c 55 of (there are twelve), the sum of absolute differences D ′ e (i, j) (0 ≦ i < 2,0 ≦
j <3), the sum of absolute difference values D ′ o (i, j) (0 ≦ i <2, 0 ≦ j <3) in the odd field, and the sum of absolute difference values D ′ (i, j) (0 ≤ i <2, 0 ≤ j <
3) is asked.

【0079】ここで上述のようにして求めた全ての差分
絶対値和D' e (i,j) (0≦i<2,0≦j<3)、
D' o (i,j) (0≦i<2,0≦j<3)、D'(i,j)
(0≦i<2,0≦j<3)について、前記数式(2) に
基づいて、それぞれ最小となる差分絶対値和minD'
e (i,j) 、minD' o (i,j) 、minD'(i,j)を求
め、偶数フィールド,奇数フィールド,フレームのそれ
ぞれにおける3種の動きベクトルMVe (x,y) 、MVo
(x,y) 、MV(x,y) を得る。
Here, all the sums of absolute differences D ′ e (i, j) (0 ≦ i <2, 0 ≦ j <3) obtained as described above,
D' o (i, j) (0≤i <2, 0≤j <3), D '(i, j)
For (0 ≦ i <2, 0 ≦ j <3), the minimum absolute difference sum minD ′ is obtained based on the equation (2).
e (i, j), minD ' o (i, j), minD' (i, j) are obtained, and three types of motion vectors MV e (x, y) and MV in the even field, the odd field, and the frame, respectively. o
(x, y) and MV (x, y) are obtained.

【0080】以下同様に、現フレームFpのすべての参
照ブロックBpについて、上記の操作を繰り返し、偶数
フィールド、奇数フィールド、フレームのそれぞれにお
ける3種の動きベクトルMVe (x,y) 、MVo (x,y) 、
MV(x,y) を求める。
Similarly, the above operation is repeated for all reference blocks Bp of the current frame Fp, and three kinds of motion vectors MV e (x, y) and MV o (even fields, odd fields and frames) x, y),
Calculate MV (x, y).

【0081】従来は、上述したようなフィールド対応動
きベクトル検出処理も、前記図10,図11,図12で
示した回路構成で実現している。すなわち、前記図1
0,図11,図12で示した構成の動きベクトル検出回
路(演算回路)を3つ設け、偶数フィールドにおける動
きベクトル検出処理と、奇数フィールドにおける動きベ
クトル検出処理と、フレームにおける動きベクトル検出
処理を、これら3つの動きベクトル検出回路でそれぞれ
別々に行うようにしている。
Conventionally, the field-based motion vector detection processing as described above is also realized by the circuit configuration shown in FIGS. 10, 11 and 12. That is, FIG.
0, FIG. 11 and FIG. 12 are provided with three motion vector detection circuits (arithmetic circuits) for performing motion vector detection processing in even fields, motion vector detection processing in odd fields, and motion vector detection processing in frames. , These three motion vector detection circuits are separately performed.

【0082】[0082]

【発明が解決しようとする課題】上述したように、従来
のフィールド対応動きベクトル検出処理の回路構成で
は、偶数フィールド、奇数フィールド、フレームにおけ
る差分絶対値和を、それぞれ別々に設けられた回路によ
って求めるようにしている。
As described above, in the circuit configuration of the conventional field-based motion vector detection processing, the sum of absolute differences between the even field, the odd field and the frame is obtained by separately provided circuits. I am trying.

【0083】すなわち、従来は、フィールド対応動きベ
クトル検出処理を行うために、偶数フィールド、奇数フ
ィールド、フレームの各々に対応して3つの動きベクト
ル検出回路が必要となり、したがってハードウェア量が
増大する。
That is, conventionally, in order to perform the field-based motion vector detection processing, three motion vector detection circuits are required for each of the even field, the odd field, and the frame, thus increasing the amount of hardware.

【0084】さらに、従来は、フィールド対応動きベク
トル検出処理を行うために、上述のように動きベクトル
検出回路を3つ用意することにより、これら3つの動き
ベクトル検出回路の各々に対して、参照ブロックの画素
値および候補ブロックの画素値を別々に供給する必要が
でてくる。このため、前述したフレームのみの動きベク
トル検出処理を行う場合の回路構成に比較して、上記フ
ィールド対応動きベクトル検出処理を行う回路構成は、
外部の付加回路が必要でかつ複雑化するようになり、ま
た、この動きベクトル検出回路に各画素値を供給するフ
レームメモリのポート数の増大も招くようになる。
Further, conventionally, in order to perform the field-based motion vector detection processing, by preparing three motion vector detection circuits as described above, the reference block is provided for each of these three motion vector detection circuits. It becomes necessary to separately supply the pixel value of P and the pixel value of the candidate block. Therefore, in comparison with the circuit configuration in the case of performing the motion vector detection processing of only the frame described above, the circuit configuration for performing the field corresponding motion vector detection processing is
An external additional circuit becomes necessary and complicated, and the number of ports of the frame memory that supplies each pixel value to the motion vector detection circuit also increases.

【0085】そこで、本発明は、ハードウェア量の削減
や、外部の付加回路の削減、フレームメモリのポート数
の削減が可能な演算回路を提供することを目的とするも
のである。
Therefore, an object of the present invention is to provide an arithmetic circuit capable of reducing the amount of hardware, the number of external additional circuits, and the number of ports of the frame memory.

【0086】[0086]

【課題を解決するための手段】本発明は上述した目的を
達成するために提案されたものであり、現フレームの参
照ブロックのブロックサイズをM×N画素とし、前フレ
ームの候補ブロックの個数をM×N個として、ブロック
マッチング法により全探索を行って動きベクトル検出を
行う演算回路であって、1クロックサイクル毎に順次入
力される参照ブロックの各画素値を所定クロックサイク
ル間保持するレジスタと、候補ブロックの画素値を奇数
カラムと偶数カラムとで適宜切り替えるマルチプレクサ
と、上記レジスタから出力された参照ブロックの画素値
と上記マルチプレクサから出力された候補ブロックの画
素値との差分絶対値(或いは差分自乗値)を計算する差
分絶対値演算器(或いは差分自乗演算器)とを有する演
算ユニットをM×N個設けると共に、当該演算ユニット
をM×Nの行列状に配置し、偶数番目の各演算ユニット
の出力をそれぞれ第1の加算器を介してパイプライン接
続し、奇数番目の各演算ユニットの出力をそれぞれ上記
第1の加算器と別系統の第2の加算器を介してパイプラ
イン接続し、上記参照ブロック及び候補ブロックの画素
値を一定の順序で上記各演算ユニットの差分絶対値演算
器(或いは差分自乗演算器)に供給することにより、偶
数フィールドにおける差分絶対値和(或いは差分自乗
和)と、奇数フィールドにおける差分絶対値和(或いは
差分自乗和)とを求め、さらに、これら偶数フィールド
における差分絶対値和(或いは差分自乗和)と奇数フィ
ールドにおける差分絶対値和(或いは差分自乗和)とを
加算して得たフレームにおける差分絶対値和(或いは差
分自乗和)とを求め、その後、これら得られた偶数フィ
ールドにおける差分絶対値和(或いは差分自乗和)と奇
数フィールドにおける差分絶対値和(或いは差分自乗
和)とフレームにおける差分絶対値和(或いは差分自乗
和)から、それぞれ最小となる差分絶対値和(或いは差
分自乗和)を求めることにより、偶数フィールドにおけ
る動きベクトルと、奇数フィールドにおける動きベクト
ルと、フレームにおける動きベクトルの3種の動きベク
トルを同時に求める動きベクトル検出処理を行うもので
ある。
The present invention has been proposed in order to achieve the above-mentioned object. The block size of the reference block of the current frame is M × N pixels, and the number of candidate blocks of the previous frame is An arithmetic circuit that performs a full search by M × N and performs a motion vector detection by a block matching method, and a register that holds each pixel value of a reference block sequentially input every clock cycle for a predetermined clock cycle. , A multiplexer that appropriately switches the pixel value of the candidate block between an odd-numbered column and an even-numbered column, and a difference absolute value (or difference) between the pixel value of the reference block output from the register and the pixel value of the candidate block output from the multiplexer. A calculation unit having a difference absolute value calculator (or a difference square calculator) for calculating a square value is M × N. In addition to providing the arithmetic units, the arithmetic units are arranged in a matrix of M × N, the outputs of the even-numbered arithmetic units are pipeline-connected via the first adders, and the outputs of the odd-numbered arithmetic units are respectively output. Pipeline connection is made via the second adder of a different system from the first adder, and the pixel values of the reference block and the candidate block are arranged in a certain order in the difference absolute value calculator (or difference The difference absolute value sum in the even field (or the difference sum of squares) and the difference absolute value sum in the odd field (or the difference square sum) are supplied to the even-numbered field. Absolute difference value in the frame obtained by adding the sum of values (or sum of squared differences) and the sum of absolute difference in odd fields (or sum of squared differences) Then, the sum (or the sum of squared differences) is obtained, and then the sum of the absolute difference values (or the sum of the squared differences) in the even field and the sum of the absolute difference values (or the sum of the squared difference) in the odd field and the absolute value of the difference in the frame are obtained. The minimum difference absolute value sum (or difference square sum) is obtained from the sum (or difference square sum) to obtain three types of motion vectors in the even field, the motion vector in the odd field, and the motion vector in the frame. The motion vector detecting process is performed to simultaneously obtain the motion vector.

【0087】また、本発明の演算回路は、1クロックサ
イクル毎に順次入力される参照ブロックの各画素値を所
定クロックサイクル間保持するレジスタと、候補ブロッ
クの画素値を奇数カラムと偶数カラムとで適宜切り替え
るマルチプレクサと、上記レジスタから出力された参照
ブロックの画素値と上記マルチプレクサから出力された
候補ブロックの画素値との差分絶対値(或いは差分自乗
値)を計算する差分絶対値演算器(或いは差分自乗演算
器)と、上記差分絶対値演算器(或いは差分自乗演算
器)からの偶数番目の出力を累加算する偶数番目用累算
器と、上記差分絶対値演算器(或いは差分自乗演算器)
からの奇数番目の出力を累加算する奇数番目用累算器と
を有する演算ユニットをM×N個設けると共に、当該演
算ユニットをM×Nの行列状に配置して相互接続し、上
記参照ブロック及び候補ブロックの画素値を一定の順序
で供給することにより、偶数フィールドにおける差分絶
対値和(或いは差分自乗和)と、奇数フィールドにおけ
る差分絶対値和(或いは差分自乗和)とを求め、さら
に、これら偶数フィールドにおける差分絶対値和(或い
は差分自乗和)と奇数フィールドにおける差分絶対値和
(或いは差分自乗和)とを加算して得たフレームにおけ
る差分絶対値和(或いは差分自乗和)とを求め、その
後、これら得られた偶数フィールドにおける差分絶対値
和(或いは差分自乗和)と奇数フィールドにおける差分
絶対値和(或いは差分自乗和)とフレームにおける差分
絶対値和(或いは差分自乗和)から、それぞれ最小とな
る差分絶対値和(或いは差分自乗和)を求めることによ
り、偶数フィールドにおける動きベクトルと、奇数フィ
ールドにおける動きベクトルと、フレームにおける動き
ベクトルの3種の動きベクトルを同時に求める動きベク
トル検出処理を行うものである。
Further, the arithmetic circuit of the present invention uses a register for holding each pixel value of the reference block sequentially input every one clock cycle for a predetermined clock cycle, and a pixel value of the candidate block in an odd column and an even column. A multiplexer that switches appropriately, and a difference absolute value calculator (or difference) that calculates a difference absolute value (or difference square value) between the pixel value of the reference block output from the register and the pixel value of the candidate block output from the multiplexer. Squared arithmetic unit), an even-numbered accumulator that cumulatively adds even-numbered outputs from the difference absolute value arithmetic unit (or difference squared arithmetic unit), and the difference absolute value arithmetic unit (or difference squared arithmetic unit)
M × N arithmetic units having an odd-numbered accumulator for cumulatively adding the odd-numbered outputs from M to N are arranged, and the arithmetic units are arranged in a matrix of M × N to be interconnected, And by supplying the pixel values of the candidate blocks in a fixed order, the difference absolute value sum in the even field (or the difference squared sum) and the difference absolute value sum in the odd field (or the difference squared sum) are obtained. The difference absolute value sum (or difference square sum) in the frame obtained by adding the difference absolute value sum (or difference square sum) in these even fields and the difference absolute value sum (or difference square sum) in the odd field is calculated. , And then the sum of absolute differences (or the sum of squared differences) in the even fields and the sum of absolute difference (or the difference squares) in the odd fields. Multiply sum) and the sum of absolute differences between frames (or the sum of squared differences) to obtain the minimum sum of absolute differences (or the sum of squared differences) to obtain a motion vector in an even field and a motion vector in an odd field. , And a motion vector detection process for simultaneously obtaining three types of motion vectors in a frame.

【0088】ここで、本発明の演算回路は、さらに、上
記奇数フィールド、偶数フィールド、及びフレームのそ
れぞれにおいて求めた全ての候補ブロックについての参
照ブロックとの差分絶対値和(或いは差分自乗和)を格
納するメモリを有してなり、このメモリに格納された各
差分絶対値和(或いは差分自乗和)から、上記動きベク
トルを求めるための最小となる差分絶対値和(或いは差
分自乗和)を求めるようにしている。
Here, the arithmetic circuit of the present invention further calculates the sum of absolute differences (or the sum of squared differences) with respect to the reference block for all the candidate blocks obtained in each of the odd field, the even field, and the frame. It has a memory for storing, and from each sum of absolute difference values (or sum of squared differences) stored in this memory, obtains the minimum sum of absolute difference (or sum of squared differences) for obtaining the motion vector. I am trying.

【0089】[0089]

【作用】本発明の演算回路によれば、差分絶対値を求め
る演算ユニットをM×Nの行列状に配置し、これら各演
算ユニットの各出力うち、偶数番目の各演算ユニットの
出力をそれぞれ第1の加算器を介してパイプライン接続
し、奇数番目の各演算ユニットの出力をそれぞれ上記第
1の加算器と別系統の第2の加算器を介してパイプライ
ン接続しているため、最終段の第1の加算器の出力が偶
数フィールドにおける差分絶対値和(或いは差分自乗
和)となり、最終段の第2の加算器の出力が奇数フィー
ルドにおける差分絶対値和(或いは差分自乗和)とな
る。これらをさらに加算すればフレームにおける差分絶
対値和(或いは差分自乗和)を求めることができる。
According to the arithmetic circuit of the present invention, the arithmetic units for obtaining the absolute difference are arranged in a matrix of M × N, and among the outputs of these arithmetic units, the outputs of the even-numbered arithmetic units are respectively output as the first output. 1 is connected in a pipeline through an adder, and the outputs of the odd-numbered arithmetic units are connected in pipeline through a second adder in a system different from that of the first adder. The output of the first adder of is the sum of absolute differences (or the sum of squared differences) in the even field, and the output of the second adder in the final stage is the sum of the absolute difference (or the sum of squared differences) in the odd fields. . If these are further added, the sum of absolute differences (or the sum of squared differences) in the frame can be obtained.

【0090】また、本発明の演算回路によれば、奇数番
目の差分絶対値と偶数番目の差分絶対値をそれぞれ別々
に累積して差分絶対値和を求める演算ユニットをM×N
の行列状に配置して相互接続しているため、各演算ユニ
ットからは、偶数フィールドにおける差分絶対値和(或
いは差分自乗和)と奇数フィールドにおける差分絶対値
和(或いは差分自乗和)の2つの出力が得られる。これ
らをさらに加算すればフレームにおける差分絶対値和
(或いは差分自乗和)を求めることができる。
Further, according to the arithmetic circuit of the present invention, an arithmetic unit for accumulating the odd-numbered difference absolute values and the even-numbered difference absolute values separately to obtain the difference absolute value sum is M × N.
Since they are arranged in a matrix form and are connected to each other, from each arithmetic unit, there are two sums of difference absolute values (or sum of squared differences) in even fields and sums of difference absolute values (or sum of squared differences) in odd fields. Output is obtained. If these are further added, the sum of absolute differences (or the sum of squared differences) in the frame can be obtained.

【0091】[0091]

【実施例】以下、本発明の演算回路の一実施例について
図面を参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the arithmetic circuit of the present invention will be described below with reference to the drawings.

【0092】本発明実施例の演算回路は、現フレームF
pの参照ブロックBpのブロックサイズをM×N画素
(本実施例では例えば3×4画素)とし、前フレームF
bの候補ブロックBbの個数をM×N個(本実施例では
例えば3×4個)として、ブロックマッチング法により
全探索を行って動きベクトル検出を行う演算回路であ
る。
The arithmetic circuit of the embodiment of the present invention uses the current frame F
The block size of the reference block Bp of p is M × N pixels (for example, 3 × 4 pixels in this embodiment), and the previous frame F
The number of candidate blocks Bb of b is M × N (for example, 3 × 4 in this embodiment), and is an arithmetic circuit that performs a full search by a block matching method to detect a motion vector.

【0093】ここで、本発明の第1の実施例の演算回路
は、図1及び図2に示すように、1クロックサイクル毎
に順次入力される参照ブロックBpの各画素値rを所定
クロックサイクル間(例えば12クロックサイクル間)
保持するレジスタ182と、候補ブロックBbの画素値
cを奇数カラムと偶数カラムとで適宜切り替えるマルチ
プレクサ184と、上記レジスタ182から出力された
参照ブロックBpの画素値rと上記マルチプレクサ18
4から出力された候補ブロックBbの画素値cとの差分
絶対値(或いは差分自乗値)を計算する差分絶対値演算
器185(或いは差分自乗演算器)とを有する演算ユニ
ット(PE)をM×N個(3×4=12個の演算ユニッ
ト190〜201)設けると共に、当該演算ユニット1
90〜201をM×N(すなわち3×4)の行列状に配
置している。
Here, in the arithmetic circuit of the first embodiment of the present invention, as shown in FIGS. 1 and 2, each pixel value r of the reference block Bp, which is sequentially input every one clock cycle, is converted into a predetermined clock cycle. Between (for example, 12 clock cycles)
A register 182 for holding, a multiplexer 184 for appropriately switching the pixel value c of the candidate block Bb between an odd column and an even column, a pixel value r of the reference block Bp output from the register 182, and the multiplexer 18
The calculation unit (PE) having a difference absolute value calculator 185 (or a difference square calculator) for calculating a difference absolute value (or a difference square value) with respect to the pixel value c of the candidate block Bb outputted from No. 4 is M ×. N (3 × 4 = 12 arithmetic units 190 to 201) are provided and the arithmetic unit 1
90 to 201 are arranged in a matrix of M × N (that is, 3 × 4).

【0094】また、第1の実施例の演算回路は、偶数番
目の各演算ユニット190,192,194,196,
198,200の出力をそれぞれ対応する第1の加算器
321〜325を介してパイプライン接続し、奇数番目
の各演算ユニット191,193,195,197,1
99,201の出力をそれぞれ上記第1の加算器321
〜325と別系統の第2の加算器326〜330を介し
てパイプライン接続し、上記参照ブロック及び候補ブロ
ックの画素値を一定の順序で上記各演算ユニット190
〜201の差分絶対値演算器185(或いは差分自乗演
算器)に供給することにより、偶数フィールドにおける
差分絶対値和De (i,j) (或いは差分自乗和)と、奇数
フィールドにおける差分絶対値和Do (i,j) (或いは差
分自乗和)とを求め、さらに、これら偶数フィールドに
おける差分絶対値和(或いは差分自乗和)と奇数フィー
ルドにおける差分絶対値和(或いは差分自乗和)とを加
算器341で加算することにより、フレームにおける差
分絶対値和D(i,j) (或いは差分自乗和)を求めるよう
にしている。
Further, the arithmetic circuit of the first embodiment has the even-numbered arithmetic units 190, 192, 194, 196 and.
The outputs of 198 and 200 are pipeline-connected via the corresponding first adders 321 to 325, and the odd-numbered arithmetic units 191, 193, 195, 197, 1 are connected.
The outputs of 99 and 201 are respectively output to the first adder 321.
˜325 and pipelines via second adders 326 to 330 of different systems, and the pixel values of the reference block and the candidate block are arranged in a fixed order in the arithmetic units 190.
By supplying to the difference absolute value calculator 185 ~201 (or squared difference calculator), sum of absolute differences D e in the even field (i, j) (or the sum of squared differences), absolute differences in the odd field The sum D o (i, j) (or the sum of the difference squares) is obtained, and the sum of the difference absolute values (or the sum of the difference squares) in the even fields and the sum of the difference absolute values (or the sum of the difference squares) in the odd fields are obtained. By adding in the adder 341, the sum of absolute differences D (i, j) (or the sum of squared differences) in the frame is obtained.

【0095】本実施例の演算回路においては、その後、
これら得られた偶数フィールドにおける差分絶対値和D
e (i,j) (或いは差分自乗和)と奇数フィールドにおけ
る差分絶対値和Do (i,j) (或いは差分自乗和)とフレ
ームにおける差分絶対値和D(i,j) (或いは差分自乗
和)から、それぞれ最小となる差分絶対値和(或いは差
分自乗和)を求めることにより、偶数フィールドにおけ
る動きベクトルMVe (x,y) と、奇数フィールドにおけ
る動きベクトルMVo (x,y) と、フレームにおける動き
ベクトルの3種の動きベクトルMV(x,y) を同時に求め
る動きベクトル検出処理が実現できることになる。
In the arithmetic circuit of this embodiment, after that,
Sum of absolute differences D obtained in these even fields
e (i, j) (or sum of squared differences) and sum of absolute difference in odd fields D o (i, j) (sum of squared differences) and sum of absolute difference in frame D (i, j) (or squared difference) The sum of the absolute differences (or the sum of the squared differences) that minimizes the sum of the motion vectors MV e (x, y) in the even field and the motion vector MV o (x, y) in the odd field. Thus, it is possible to realize the motion vector detection processing for simultaneously obtaining three types of motion vectors MV (x, y) of the motion vectors in the frame.

【0096】なお、図示は省略するが、本実施例の演算
回路には、さらに、上記奇数フィールド、偶数フィール
ド、及びフレームのそれぞれにおいて求めた全ての候補
ブロックについての参照ブロックとの差分絶対値和De
(i,j) 、Do (i,j) 、D(i,j) (或いは差分自乗和)を
格納するメモリを有してなり、このメモリに格納された
各差分絶対値和(或いは差分自乗和)から、上記動きベ
クトルMVe (x,y) 、MVo (x,y) 、MV(x,y) を求め
るための最小となる差分絶対値和(或いは差分自乗和)
を求めるようにしている。
Although not shown, the arithmetic circuit of the present embodiment further includes the sum of absolute differences between the reference blocks of all candidate blocks obtained in each of the odd field, the even field, and the frame. D e
(i, j), D o (i, j), D (i, j) (or a sum of squared differences) is included in the memory, and the sum of absolute differences (or the difference) stored in the memory is included. Sum of squares), the minimum sum of absolute differences (or the sum of squared differences) for obtaining the above motion vectors MV e (x, y), MV o (x, y), and MV (x, y)
I'm trying to ask.

【0097】以下の実施例では差分絶対値演算を行う構
成について説明している。
In the following embodiments, the configuration for performing the difference absolute value calculation is described.

【0098】ここで、本実施例回路は、以下のようなこ
とを踏まえて、フィールド対応動きベクトル検出処理を
行うための演算回路を実現している。
Here, the circuit of this embodiment realizes an arithmetic circuit for carrying out the field-based motion vector detection processing based on the following points.

【0099】すなわち、前述した偶数フィールドにおけ
る差分絶対値和De (i,j) (0≦i<2,0≦j<
3)、上記奇数フィールドにおける差分絶対値和D
o (i,j) (0≦i<2,0≦j<3)、フレームにおけ
る差分絶対値和D(i,j) (0≦i<2,0≦j<3)
は、以下の数式(39)に示すような関係が成立している。
That is, the sum of absolute differences D e (i, j) (0 ≦ i <2, 0 ≦ j <in the even field described above
3), sum of absolute difference D in the odd field
o (i, j) (0 ≦ i <2, 0 ≦ j <3), sum of absolute difference in frame D (i, j) (0 ≦ i <2, 0 ≦ j <3)
Holds the relationship as shown in the following mathematical expression (39).

【0100】[0100]

【数39】 D(i,j) =De (i,j) +Do (i,j) ・・・・・(39)(39) D (i, j) = D e (i, j) + D o (i, j) (39)

【0101】この数式(39)から、フレームにおける差分
絶対値和D(i,j) は、偶数フィールドにおける差分絶対
値和De (i,j) と奇数フィールドにおける差分絶対値和
o(i,j) から求めることができる。
From this equation (39), the sum of absolute differences D (i, j) in the frame is the sum of absolute differences D e (i, j) in the even field and the sum of absolute differences D o (i in the odd field. , j).

【0102】以下、図1〜図5を参照して、本発明の第
1の実施例の演算回路について詳述する。なお、本実施
例では、上述した従来の回路構成を説明するために挙げ
た動きベクトル検出処理の例を用いて、本発明の回路構
成および制御方式について説明する。
The arithmetic circuit of the first embodiment of the present invention will be described in detail below with reference to FIGS. In the present embodiment, the circuit configuration and control method of the present invention will be described using an example of the motion vector detection processing given for explaining the above-mentioned conventional circuit configuration.

【0103】本発明実施例では、前述のフィールド対応
動きベクトル検出処理を、図1,図2に示す回路構成で
実現している。図1には本発明実施例における動きベク
トル検出処理を行う演算回路の全体構成を示し、上述し
たように当該回路は、上記演算ユニット190〜201
を3×4の行列状に配置した構成となっている。
In the embodiment of the present invention, the above-mentioned field-based motion vector detection processing is realized by the circuit configuration shown in FIGS. FIG. 1 shows the overall configuration of an arithmetic circuit that performs motion vector detection processing according to the embodiment of the present invention. As described above, the circuit includes the arithmetic units 190 to 201.
Are arranged in a 3 × 4 matrix.

【0104】この図1において、端子180には前フレ
ームFbの奇数カラムの候補ブロックBbの画素値cが
供給され、当該画素値cが各演算ユニット190〜20
1の第1の入力端子に送られる。また、端子189には
前フレームFbの偶数カラムの候補ブロックBbの画素
値cが供給され、当該画素値cが各演算ユニット190
〜201の第2の入力端子に送られる。端子181には
参照ブロックBpの画素値rが供給され、各演算ユニッ
ト190〜201の第3の入力端子に送られる。これら
各演算ユニット190〜201の出力端子からは差分絶
対値が出力される。
In FIG. 1, the terminal 180 is supplied with the pixel value c of the candidate block Bb in the odd column of the previous frame Fb, and the pixel value c is supplied to each of the arithmetic units 190 to 20.
1 to the first input terminal. Also, the pixel value c of the candidate block Bb in the even column of the previous frame Fb is supplied to the terminal 189, and the pixel value c is supplied to each arithmetic unit 190.
~ 201 to the second input terminal. The pixel value r of the reference block Bp is supplied to the terminal 181, and is sent to the third input terminal of each of the arithmetic units 190 to 201. The absolute difference value is output from the output terminals of each of the arithmetic units 190 to 201.

【0105】ここで、各々の演算ユニット190〜20
1は、図2に示すような内部構成となっている。すなわ
ち、演算ユニット190〜201は、マルチプレクサ1
84、画素値格納用レジスタ182、差分絶対値演算器
185からなる。この図2において、上記第1の入力端
子172には上記図1の端子180を介した前フレーム
Fbの奇数カラムの候補ブロックBbの画素値cが供給
され、上記第2の入力端子173には上記図1の端子1
89を介した前フレームFbの偶数カラムの候補ブロッ
クBbの画素値cが供給される。これら画素値cは、マ
ルチプレクサ184によって適宜切り替えられた後、上
記差分絶対値演算器185の一方の入力端子に送られ
る。さらに、上記第3の端子171には、上記図1の端
子181を介した参照ブロックBpの画素値rが供給さ
れる。この画素値rは、画素値格納用レジスタ182を
介して上記差分絶対値演算器185の他方の入力端子に
送られる。上記差分絶対値演算器185で求められた差
分絶対値は、端子183から出力される。
Here, each of the arithmetic units 190 to 20
1 has an internal configuration as shown in FIG. That is, the arithmetic units 190 to 201 are the multiplexer 1
84, a pixel value storage register 182, and a difference absolute value calculator 185. In FIG. 2, the pixel value c of the odd block candidate block Bb of the previous frame Fb is supplied to the first input terminal 172 through the terminal 180 of FIG. 1, and the second input terminal 173 is supplied. Terminal 1 of FIG. 1 above
The pixel value c of the candidate block Bb in the even column of the previous frame Fb is supplied via 89. These pixel values c are appropriately switched by the multiplexer 184 and then sent to one input terminal of the difference absolute value calculator 185. Further, the pixel value r of the reference block Bp is supplied to the third terminal 171 via the terminal 181 of FIG. The pixel value r is sent to the other input terminal of the difference absolute value calculator 185 via the pixel value storage register 182. The absolute difference value calculated by the absolute difference value calculator 185 is output from the terminal 183.

【0106】図1に戻って、本実施例装置では、上述し
たように、偶数番目の各演算ユニット190,192,
194,196,198,200の出力がそれぞれ第1
の加算器321〜325を介してパイプライン接続さ
れ、奇数番目の各演算ユニット191,193,19
5,197,199,201の出力がそれぞれ上記第2
の加算器326〜330を介してパイプライン接続され
ている。
Returning to FIG. 1, in the apparatus of this embodiment, as described above, each of the even-numbered arithmetic units 190, 192,
The outputs of 194, 196, 198, and 200 are the first
Of the odd-numbered arithmetic units 191, 193, 19
The outputs of 5, 197, 199, and 201 are the second output, respectively.
Pipelined through adders 326 to 330.

【0107】すなわち、偶数番目の各演算ユニットから
説明すると、本実施例装置では、演算ユニット190の
出力と演算ユニット192の出力が加算器321で加算
され、当該加算器321の加算出力と上記演算ユニット
194の出力とが加算器322で加算され、当該加算器
322の加算出力と上記演算ユニット196の出力とが
加算器323で加算され、当該加算器323の加算出力
と上記演算ユニット198の出力とが加算器324で加
算され、当該加算器324の加算出力と上記演算ユニッ
ト200の出力とが加算器325で加算される。これに
より、最終段の第1の加算器325の加算出力が、偶数
フィールドにおける差分絶対値和De (i,j) となる。こ
の偶数フィールドにおける差分絶対値和De (i,j) は、
本実施例回路の偶数フィールド用出力端子342から出
力される。
That is, starting from each of the even-numbered arithmetic units, in the apparatus of this embodiment, the output of the arithmetic unit 190 and the output of the arithmetic unit 192 are added by the adder 321, and the addition output of the adder 321 and the above arithmetic operation. The output of the unit 194 is added by the adder 322, the added output of the adder 322 and the output of the arithmetic unit 196 are added by the adder 323, and the added output of the adder 323 and the output of the arithmetic unit 198 are added. And are added by the adder 324, and the addition output of the adder 324 and the output of the arithmetic unit 200 are added by the adder 325. As a result, the addition output of the first adder 325 at the final stage becomes the difference absolute value sum D e (i, j) in the even field. The sum of absolute differences D e (i, j) in this even field is
It is output from the even field output terminal 342 of the circuit of this embodiment.

【0108】また、奇数番目の各演算ユニットにおいて
は、演算ユニット191の出力と演算ユニット193の
出力が加算器326で加算され、当該加算器326の加
算出力と上記演算ユニット195の出力とが加算器32
7で加算され、当該加算器327の加算出力と上記演算
ユニット197の出力とが加算器328で加算され、当
該加算器328の加算出力と上記演算ユニット199の
出力とが加算器329で加算され、当該加算器329の
加算出力と上記演算ユニット201の出力とが加算器3
30で加算される。これにより、最終段の第2の加算器
330の加算出力が、奇数フィールドにおける差分絶対
値和Do (i,j) となる。この奇数フィールドにおける差
分絶対値和Do (i,j) は、本実施例回路の奇数フィール
ド用出力端子343から出力される。
In each odd-numbered arithmetic unit, the output of the arithmetic unit 191 and the output of the arithmetic unit 193 are added by the adder 326, and the addition output of the adder 326 and the output of the arithmetic unit 195 are added. Bowl 32
7, the addition output of the adder 327 and the output of the arithmetic unit 197 are added by the adder 328, and the addition output of the adder 328 and the output of the arithmetic unit 199 are added by the adder 329. , The addition output of the adder 329 and the output of the arithmetic unit 201 are the adder 3
It is added at 30. As a result, the addition output of the second adder 330 in the final stage becomes the difference absolute value sum D o (i, j) in the odd field. The sum of absolute differences D o (i, j) in the odd field is output from the odd field output terminal 343 of the circuit of this embodiment.

【0109】なお、この図1において、第1,第2の加
算器の入力端子側,出力端子側に接続されている(加算
器間に挿入接続されている)レジスタ301〜319
は、パイプラインレジスタである。
In FIG. 1, registers 301 to 319 connected to the input terminal side and output terminal side of the first and second adders (inserted and connected between the adders).
Is a pipeline register.

【0110】さらに、上記偶数フィールドにおける差分
絶対値和De (i,j) と奇数フィールドにおける差分絶対
値和Do (i,j) は、加算器341で加算されるようにな
っている。この加算器341の加算出力がフレームにお
ける差分絶対値和D(i,j) となる。このフレームにおけ
る差分絶対値和D(i,j) は、本実施例回路のフレーム用
出力端子344から出力される。
Further, the sum of absolute differences D e (i, j) in the even field and the sum of absolute differences D o (i, j) in the odd field are added by the adder 341. The addition output of the adder 341 becomes the sum of absolute differences D (i, j) in the frame. The sum of absolute differences D (i, j) in this frame is output from the frame output terminal 344 of the circuit of this embodiment.

【0111】次に、上記図1,図2に示した回路構成を
用いてフィールド対応動きベクトル検出処理を実現する
ための制御方式について説明する。図3,図4に、上記
図1,図2に示した回路構成を用いたフィールド対応動
きベクトル検出制御における動作のタイミングを示す。
なお、図3には偶数フィールドにおける処理のタイミン
グを、図4には奇数フィールドにおける処理のタイミン
グを示している。
Next, a control method for realizing the field-based motion vector detection processing by using the circuit configurations shown in FIGS. 1 and 2 will be described. FIGS. 3 and 4 show operation timings in the field-based motion vector detection control using the circuit configurations shown in FIGS. 1 and 2.
Note that FIG. 3 shows the processing timing in the even field, and FIG. 4 shows the processing timing in the odd field.

【0112】この図3及び図4において、上記現フィー
ルドFbの参照ブロックBpの画素値rは、1クロック
サイクル毎に図1の各演算ユニット190〜201の画
素値格納用レジスタ182に順次入力される。当該レジ
スタ182は、入力された参照ブロックBpの画素値r
を12クロックサイクルの間保持する。したがって、各
演算ユニット190〜201は、12クロックサイクル
の間、同一の参照ブロックBpの画素値rについての差
分絶対値演算を行うことになる。ただし、それぞれの演
算ユニット190〜201では、参照ブロックBpの異
なる画素値rに対して差分絶対値演算が行われる。
3 and 4, the pixel value r of the reference block Bp of the current field Fb is sequentially input to the pixel value storage register 182 of each of the arithmetic units 190 to 201 of FIG. 1 every clock cycle. It The register 182 receives the pixel value r of the input reference block Bp.
Is held for 12 clock cycles. Therefore, each of the arithmetic units 190 to 201 performs the absolute difference calculation for the pixel value r of the same reference block Bp for 12 clock cycles. However, in each of the arithmetic units 190 to 201, the absolute difference calculation is performed on the different pixel values r of the reference block Bp.

【0113】また、候補ブロックBbの画素値cは、前
フレームFbの偶数カラムと奇数カラムの2つの領域に
分けられて、図1に示す2つの入力端子180,182
から各演算ユニット190〜201に一定の順序で順次
入力される。各演算ユニット190〜201では、図3
或いは図4に示す順序で候補ブロックBbの画素値cが
供給されるように、演算ユニット内のマルチプレクサ1
84によって2つの画素値cを適宜切り替える。このよ
うにすることで、候補ブロックBbの画素値cについて
は、図3或いは図4に示すように、あるクロックサイク
ルにおいて、各演算ユニット190〜201が2つの画
素値cに対して演算を行う。
Further, the pixel value c of the candidate block Bb is divided into two areas, an even column and an odd column of the previous frame Fb, and the two input terminals 180 and 182 shown in FIG.
Is sequentially input to each of the arithmetic units 190 to 201 in a fixed order. In each arithmetic unit 190 to 201, FIG.
Alternatively, the multiplexer 1 in the arithmetic unit is supplied so that the pixel values c of the candidate block Bb are supplied in the order shown in FIG.
The two pixel values c are appropriately switched by 84. By doing so, with respect to the pixel value c of the candidate block Bb, as shown in FIG. 3 or 4, in each clock cycle, each of the arithmetic units 190 to 201 performs an arithmetic operation on the two pixel values c. .

【0114】さらに、本実施例回路では、偶数番目の演
算ユニット190,192,194,196,198,
200の各差分絶対値演算器185からの出力が、上述
のように上記パイプライン接続した第1の加算器321
〜325を用いて順次加算され、偶数フィールドにおけ
る差分絶対値和De (i,j) が計算される。一方、奇数番
目の演算ユニット191,193,195,197,1
99,201の各差分絶対値演算器185からの出力
も、上述のように上記パイプライン接続した第2の加算
器326〜330を用いて順次加算され、奇数フィール
ドにおける差分絶対値和Do (i,j) が計算される。ま
た、本実施例回路では、これら偶数フィールド,奇数フ
ィールドにおける差分絶対値和De (i,j) 及びDo (i,
j) が、上述のように加算器341によって加算され、
フレームにおける差分絶対値和D(i,j)が算出される。
Further, in the circuit of this embodiment, the even-numbered arithmetic units 190, 192, 194, 196, 198,
The output from each differential absolute value calculator 185 of 200 is the first adder 321 pipeline-connected as described above.
˜325 are sequentially added to calculate the difference absolute value sum D e (i, j) in the even field. On the other hand, odd-numbered arithmetic units 191, 193, 195, 197, 1
The outputs from the differential absolute value calculators 185 of 99 and 201 are also sequentially added using the second adders 326 to 330 connected in the pipeline as described above, and the difference absolute value sum D o (in the odd field) i, j) is calculated. Further, in the circuit of the present embodiment, the sums of absolute differences D e (i, j) and D o (i,
j) is added by adder 341 as described above,
The sum of absolute differences D (i, j) in the frame is calculated.

【0115】上述したような制御を行うことにより、本
実施例回路においては、1クロックサイクル毎に偶数フ
ィールド用出力端子342,奇数フィールド用出力端子
343,フレーム用出力端子344から3種の差分絶対
値和が出力されるようになる。これらの差分絶対値和の
大小比較を行うことにより、偶数フィールド,奇数フィ
ールド、フレームの各々における3種の動きベクトルM
e (x,y) 、MVo (x,y) 、MV(x,y) を求めることが
できる。
By performing the control as described above, in the circuit of this embodiment, there are three types of absolute difference from the even field output terminal 342, the odd field output terminal 343, and the frame output terminal 344 for each clock cycle. The sum of values will be output. By comparing the magnitudes of these sums of absolute differences, three types of motion vectors M in each of the even field, the odd field, and the frame
V e (x, y), MV o (x, y), and MV (x, y) can be obtained.

【0116】次に、本発明の第2の実施例の演算回路
は、図5及び図6に示すように、1クロックサイクル毎
に順次入力される参照ブロックBpの各画素値rを所定
クロックサイクル間(例えば12クロックサイクル間)
保持するレジスタ232と、候補ブロックBbの画素値
cを偶数カラムと奇数カラムとで適宜切り替えるマルチ
プレクサ234と、上記レジスタ232から出力された
参照ブロックBpの画素値rと上記マルチプレクサ23
4から出力された候補ブロックBbの画素値cとの差分
絶対値(或いは差分自乗値)を計算する差分絶対値演算
器235(或いは差分自乗演算器)と、上記差分絶対値
演算器235からの偶数番目の出力を累加算する偶数番
目用累算器245と、上記差分絶対値演算器235から
の奇数番目の出力を累加算する奇数番目用累算器246
とを有する演算ユニット(PE)をM×N個(3×4個
の演算ユニット210〜221)設けると共に、当該演
算ユニット210〜221をM×N(3×4)の行列状
に配置して相互接続している。
Next, in the arithmetic circuit of the second embodiment of the present invention, as shown in FIGS. 5 and 6, each pixel value r of the reference block Bp, which is sequentially input every clock cycle, is converted into a predetermined clock cycle. Between (for example, 12 clock cycles)
A register 232 for holding, a multiplexer 234 that appropriately switches the pixel value c of the candidate block Bb between an even column and an odd column, a pixel value r of the reference block Bp output from the register 232, and the multiplexer 23.
From the difference absolute value calculator 235 (or difference square calculator) for calculating the difference absolute value (or difference square value) with the pixel value c of the candidate block Bb output from 4; An even-numbered accumulator 245 that cumulatively adds even-numbered outputs and an odd-numbered accumulator 246 that cumulatively adds odd-numbered outputs from the difference absolute value calculator 235.
M × N (3 × 4 arithmetic units 210 to 221) arithmetic units (PE) having and are provided, and the arithmetic units 210 to 221 are arranged in a matrix of M × N (3 × 4). Interconnected.

【0117】ここで、本実施例回路では、上記参照ブロ
ックBp及び候補ブロックBbの画素値r及びcを一定
の順序で供給することにより、偶数フィールドにおける
差分絶対値和De (i,j) (或いは差分自乗和)と、奇数
フィールドにおける差分絶対値和Do (i,j) (或いは差
分自乗和)とを求め、さらに、これら偶数フィールドに
おける差分絶対値和(或いは差分自乗和)と奇数フィー
ルドにおける差分絶対値和(或いは差分自乗和)とを加
算して得たフレームにおける差分絶対値和D(i,j) (或
いは差分自乗和)とを求めるようにしている。
Here, in the circuit of this embodiment, by supplying the pixel values r and c of the reference block Bp and the candidate block Bb in a fixed order, the sum of absolute differences between even fields D e (i, j) (Or sum of squared differences) and sum of absolute differences D o (i, j) in odd fields (or sum of squared differences), and further sum of absolute differences (or sum of squared differences) in these even fields and odd number The sum of absolute differences (or the sum of squared differences) in the field is added to obtain the sum of absolute differences D (i, j) (or the sum of squared differences) in the frame.

【0118】この第2の実施例の演算回路においても、
その後、これら得られた偶数フィールドにおける差分絶
対値和De (i,j) (或いは差分自乗和)と奇数フィール
ドにおける差分絶対値和Do (i,j) (或いは差分自乗
和)とフレームにおける差分絶対値和D(i,j) (或いは
差分自乗和)から、それぞれ最小となる差分絶対値和
(或いは差分自乗和)を求めることにより、偶数フィー
ルドにおける動きベクトルMVe (x,y) と、奇数フィー
ルドにおける動きベクトルMVo (x,y) と、フレームに
おける動きベクトルMV(x,y) の3種の動きベクトルを
同時に求める動きベクトル検出処理が実現できることに
なる。
Also in the arithmetic circuit of the second embodiment,
After that, the sum of absolute differences D e (i, j) (or the sum of squared differences) in the even field and the sum D o (i, j) of absolute differences in the odd fields (or the sum of squared differences) and the frame From the sum of absolute differences D (i, j) (or the sum of squared differences), the minimum sum of absolute differences (or the sum of squared differences) is calculated to obtain the motion vector MV e (x, y) in the even field. , It is possible to realize the motion vector detection processing for simultaneously obtaining three kinds of motion vectors of the motion vector MV o (x, y) in the odd field and the motion vector MV (x, y) in the frame.

【0119】なお、図示は省略するが、本実施例の演算
回路も、さらに、上記奇数フィールド、偶数フィール
ド、及びフレームのそれぞれにおいて求めた全ての候補
ブロックについての参照ブロックとの差分絶対値和De
(i,j) 、Do (i,j) 、D(i,j)(或いは差分自乗和)を
格納するメモリを有してなり、このメモリに格納された
各差分絶対値和(或いは差分自乗和)から、上記動きベ
クトルMVe (x,y) 、MVo (x,y) 、MV(x,y) を求め
るための最小となる差分絶対値和(或いは差分自乗和)
を求めるようにしている。
Although not shown in the figure, the arithmetic circuit of the present embodiment further includes the sum of absolute differences D between all the candidate blocks obtained in each of the odd field, the even field, and the frame and the reference block. e
(i, j), D o (i, j), D (i, j) (or the sum of squared differences) is included in the memory, and the sum of absolute differences (or the difference) stored in this memory is included. Sum of squares), the minimum sum of absolute differences (or the sum of squared differences) for obtaining the above motion vectors MV e (x, y), MV o (x, y), and MV (x, y)
I'm trying to ask.

【0120】なお、この図5において、端子236には
前フレームFbの奇数カラムの候補ブロックBbの画素
値cが供給され、当該画素値cが各演算ユニット210
〜221の第1の入力端子に送られる。また、端子23
8には前フレームFbの偶数カラムの候補ブロックBb
の画素値cが供給され、当該画素値cが各演算ユニット
210〜221の第2の入力端子に送られる。端子23
7には参照ブロックBpの画素値rが供給され、縦続接
続された各演算ユニット210〜221のうちの初段の
演算ユニット210の第3の入力端子に送られ、順次、
次段の演算ユニットの第3の入力端子に送られる。これ
ら各演算ユニット210〜221に対応する各々2つの
出力端子247,248からは偶数フィールドにおける
差分絶対値和De (i,j) と奇数フィールドにおけるDo
(i,j) が出力される。
In FIG. 5, the pixel value c of the candidate block Bb in the odd column of the previous frame Fb is supplied to the terminal 236, and the pixel value c is supplied to each arithmetic unit 210.
~ 221 first input terminals. Also, the terminal 23
8 is a candidate block Bb in the even column of the previous frame Fb.
Is supplied to the second input terminal of each of the arithmetic units 210 to 221. Terminal 23
7 is supplied with the pixel value r of the reference block Bp, is sent to the third input terminal of the arithmetic unit 210 of the first stage of the arithmetic units 210 to 221 that are connected in cascade, and sequentially,
It is sent to the third input terminal of the arithmetic unit in the next stage. From each of the two output terminals 247 and 248 corresponding to each of the arithmetic units 210 to 221, the sum of absolute differences D e (i, j) in the even field and D o in the odd field are outputted.
(i, j) is output.

【0121】また、この図5の各演算ユニット210〜
221は、図6に示すように、マルチプレクサ234、
画素値格納用レジスタ232、差分絶対値演算器23
5、及び偶数フィールドにおける差分絶対値和De (i,
j) を求めるための累算器(ACC)245と奇数フィ
ールドにおける差分絶対値和Do (i,j) を求めるための
累算器(ACC)246からなる。
Further, each of the arithmetic units 210 to 210 shown in FIG.
221 is a multiplexer 234, as shown in FIG.
Pixel value storage register 232, difference absolute value calculator 23
5 and the sum of absolute differences D e (i, i
An accumulator (ACC) 245 for obtaining j) and an accumulator (ACC) 246 for obtaining the difference absolute value sum D o (i, j) in the odd field.

【0122】この図6において、上記第1の入力端子2
41には、上記図5の端子236を介した前フレームF
bの奇数カラムの候補ブロックBbの画素値cが供給さ
れ、第2の入力端子234には上記図5の端子238を
介した前フレームFbの偶数カラムの候補ブロックBb
の画素値cが供給される。これら画素値cは、マルチプ
レクサ234によって適宜切り替えられた後、上記差分
絶対値演算器235の一方の入力端子に送られる。さら
に、第3の入力端子241には、図5の端子237を介
した参照ブロックBpの画素値r或いは前段の演算ユニ
ットの端子244からの画素値rが供給される。この画
素値rは、画素値格納用レジスタ232を介して上記差
分絶対値演算器235の他方の入力端子に送られると共
に、上記端子244から次段の演算ユニットに送られ
る。上記差分絶対値演算器235の出力は、偶数フィー
ルドにおける差分絶対値和De (i,j) を求めるための累
算器245と奇数フィールドにおける差分絶対値和Do
(i,j) を求めるための累算器246に送られ、これら累
算器245,246で累算された後、これら累算器24
5,246に対応する端子247,248から偶数フィ
ールドにおける差分絶対値和De (i,j) 及び奇数フィー
ルドにおける差分絶対値和Do (i,j) として出力され
る。
In FIG. 6, the first input terminal 2 is
41 includes a front frame F through the terminal 236 of FIG.
The pixel value c of the candidate block Bb of the odd column of b is supplied, and the second input terminal 234 receives the candidate block Bb of the even column of the previous frame Fb via the terminal 238 of FIG.
Pixel value c of is supplied. These pixel values c are appropriately switched by the multiplexer 234 and then sent to one input terminal of the difference absolute value calculator 235. Further, the pixel value r of the reference block Bp or the pixel value r from the terminal 244 of the preceding arithmetic unit is supplied to the third input terminal 241 via the terminal 237 of FIG. The pixel value r is sent to the other input terminal of the difference absolute value calculator 235 via the pixel value storage register 232, and is also sent from the terminal 244 to the calculation unit of the next stage. The output of the difference absolute value calculator 235 is an accumulator 245 for obtaining the difference absolute value sum D e (i, j) in the even field and the difference absolute value sum D o in the odd field.
It is sent to the accumulator 246 for obtaining (i, j), and after being accumulated in these accumulators 245 and 246, these accumulators 24
It is output from terminals 247 and 248 corresponding to 5,246 as the sum of absolute differences D e (i, j) in the even field and the sum of absolute differences D o (i, j) in the odd field.

【0123】次に、上記図5,図6に示した第2の実施
例の回路構成を用いてフィールド対応動きベクトル検出
を実現するための制御方式について説明する。図7に、
上記図5,図6に示した回路構成を用いたフィールド対
応動きベクトル検出制御における動作のタイミングを示
す。
Next, a control system for realizing field-based motion vector detection using the circuit configuration of the second embodiment shown in FIGS. 5 and 6 will be described. In Figure 7,
The operation timing in the field-based motion vector detection control using the circuit configurations shown in FIGS. 5 and 6 is shown.

【0124】この図7に示すように、参照ブロックBp
の画素値rは、1クロックサイクル毎に図5の初段の演
算ユニット210の画素値格納用レジスタ232に順次
入力される。当該入力された参照ブロックBpの画素値
rは、12クロックサイクルかけて図5の全ての演算ユ
ニット210〜221に供給される。すなわち、それぞ
れの演算ユニット210〜221では、参照ブロックB
pの異なる画素値rに対して差分絶対値演算が行われ
る。
As shown in FIG. 7, the reference block Bp
The pixel value r of is sequentially input to the pixel value storage register 232 of the arithmetic unit 210 at the first stage of FIG. 5 every clock cycle. The input pixel value r of the reference block Bp is supplied to all the arithmetic units 210 to 221 in FIG. 5 in 12 clock cycles. That is, in each arithmetic unit 210-221, the reference block B
The difference absolute value calculation is performed on the pixel values r having different p.

【0125】また、候補ブロックBbの画素値cは、前
フレームFbの偶数カラムと奇数カラムの2つの領域に
分けられて、図5に示す2つの入力端子236,238
から各演算ユニット210〜221に一定の順序で順次
入力される。各演算ユニット210〜221では、図7
に示す順序で候補ブロックBbの画素値cが供給される
ように、演算ユニット内のマルチプレクサ234により
2つの画素値cを適宜切り替える。このようにすること
で、候補ブロックBbの画素値cについては、図7に示
すように、あるクロックサイクルにおいて、各演算ユニ
ット210〜221が2つの画素値cに対して演算を行
う。
Further, the pixel value c of the candidate block Bb is divided into two areas of even-numbered columns and odd-numbered columns of the previous frame Fb, and the two input terminals 236 and 238 shown in FIG.
Is sequentially input to each arithmetic unit 210 to 221 in a fixed order. In each of the arithmetic units 210 to 221, FIG.
Two pixel values c are appropriately switched by the multiplexer 234 in the arithmetic unit so that the pixel values c of the candidate block Bb are supplied in the order shown in FIG. By doing so, for the pixel value c of the candidate block Bb, as shown in FIG. 7, each arithmetic unit 210 to 221 performs an arithmetic operation on the two pixel values c in a certain clock cycle.

【0126】さらに、各演算ユニット210〜221で
は、差分絶対値演算器235からの偶数番目の出力を上
記累算器245に送る。これにより、当該累算器245
では、偶数フィールドにおける差分絶対値和De (i,j)
が計算される。一方、差分絶対値演算器235からの奇
数番目の出力は、累算器246に送られる。これによ
り、当該累算器246では、奇数フィールドにおける差
分絶対値和Do (i,j) が計算される。
Further, in each of the arithmetic units 210 to 221, the even-numbered output from the difference absolute value calculator 235 is sent to the accumulator 245. Thereby, the accumulator 245
Then, the sum of absolute differences in even fields D e (i, j)
Is calculated. On the other hand, the odd-numbered output from the absolute difference value calculator 235 is sent to the accumulator 246. As a result, the accumulator 246 calculates the sum of absolute differences D o (i, j) in the odd field.

【0127】上述したような制御を行うことにより、本
実施例においては、1クロックサイクル毎に図5の各演
算ユニット210〜221から、順次、偶数フィールド
における差分絶対値和De (i,j) 及び奇数フィールドに
おける差分絶対値和Do (i,j) が出力(出力端子24
7,248から出力)されるようになる。これらの差分
絶対値和De (i,j) ,Do (i,j) を各々で大小比較する
ことにより、偶数フィールド、奇数フィールドの各々に
おける2種の動きベクトルMVe (x,y) 、MVo(x,y)
を求めることができる。
By performing the control as described above, in the present embodiment, the sum of absolute differences D e (i, j) in even fields is sequentially obtained from each of the arithmetic units 210 to 221 in FIG. 5 every clock cycle. ) And the sum of absolute differences D o (i, j) in the odd field are output (output terminal 24
7, 248). These difference absolute value sums D e (i, j) and D o (i, j) are compared in size to obtain two types of motion vectors MV e (x, y) in each of the even field and the odd field. , MV o (x, y)
Can be asked.

【0128】さらに、本実施例回路では、これら偶数フ
ィールド,奇数フィールドにおける差分絶対値和D
e (i,j) 及びDo (i,j) を加算してフレームにおける差
分絶対値和D(i,j) を求め、このフレームにおける差分
絶対値和D(i,j) を大小比較することで、フレームにお
ける動きベクトルMV(x,y) を求めることができる。
Furthermore, in the circuit of this embodiment, the sum of absolute differences D in these even and odd fields is used.
e (i, j) and D o (i, j) are added to obtain the difference absolute value sum D (i, j) in the frame, and the difference absolute value sum D (i, j) in this frame is compared in magnitude. Thus, the motion vector MV (x, y) in the frame can be obtained.

【0129】なお、上述した各実施例では、参照ブロッ
クBpのサイズが3×4画素で、候補ブロックBbの数
もまた3×4個の場合のフィールド対応動きベクトル検
出処理について述べたが、本発明はこれら実施例に限定
されず、参照ブロックBpのサイズと候補ブロックBb
の数が等しければ、どのような参照ブロックBpのサイ
ズの動きベクトル検出処理についても実現可能である。
In each of the above-described embodiments, the field-based motion vector detection processing in the case where the size of the reference block Bp is 3 × 4 pixels and the number of candidate blocks Bb is also 3 × 4 has been described. The invention is not limited to these examples, and the size of the reference block Bp and the candidate block Bb
With the same number of, the motion vector detection process of any size of the reference block Bp can be realized.

【0130】上述のように、本発明の各実施例の演算回
路によれば、前記数式(39)に示した偶数フィールド,奇
数フィールド,フレームにおける各差分絶対値和の関係
を利用して、偶数フィールドにおける差分絶対値和De
(i,j) と奇数フィールドにおける差分絶対値和Do (i,
j) とからフレームにおける差分絶対値和D(i,j) を求
めることが可能となる。
As described above, according to the arithmetic circuits of the respective embodiments of the present invention, the even-numbered field, the odd-numbered field, and the difference absolute value sum in the frame shown in the equation (39) are used to obtain an even number. Sum of absolute differences in field D e
(i, j) and the sum of absolute differences between odd fields D o (i,
It is possible to obtain the sum of absolute differences D (i, j) in the frame from j).

【0131】また、各実施例回路では、パイプラインの
接続(あるいは累算器の接続)を工夫することにより、
同一の候補ブロックBpの画素値cを用いる偶数フィー
ルドにおける差分絶対値和演算と奇数フィールドにおけ
る差分絶対値和演算とを、1つの動きベクトル検出回路
により行うことが可能となる。
In each of the circuits of the embodiments, by devising the pipeline connection (or the accumulator connection),
It is possible to perform the difference absolute value sum calculation in the even field and the difference absolute value sum calculation in the odd field using the pixel value c of the same candidate block Bp by one motion vector detection circuit.

【0132】したがって、本実施例の演算回路によれ
ば、フィールド対応動きベクトル検出処理において、偶
数フィールド、奇数フィールド、フレームの各々におけ
る3種の動きベクトルMVe (x,y) 、MVo (x,y) 、M
V(x,y) を、1つの動きベクトル検出回路で求めること
が可能となり、ハードウェア量を従来の回路構成の1/
3に削減できる。
Therefore, according to the arithmetic circuit of this embodiment, in the motion vector detection processing for a field, three types of motion vectors MV e (x, y) and MV o (x in each of an even field, an odd field and a frame are used. , y), M
It is possible to obtain V (x, y) with one motion vector detection circuit, and the hardware amount is 1/1 of the conventional circuit configuration.
It can be reduced to 3.

【0133】さらに、本実施例の回路構成における外部
の付加回路は、前記フレームのみの動きベクトル検出処
理を行う場合の回路構成と同一であり、また、フレーム
メモリのポート数も前記フレームのみの動きベクトル検
出処理を行う場合の回路構成と変わらないため、フィー
ルド対応動きベクトル検出処理をフレームメモリのポー
ト数の増加なしに実現することができる。
Further, the external additional circuit in the circuit configuration of the present embodiment has the same circuit configuration as in the case of performing the motion vector detection processing of only the frame, and the number of ports of the frame memory is the motion of only the frame. Since the circuit configuration is the same as in the case of performing the vector detection processing, the field-based motion vector detection processing can be realized without increasing the number of ports of the frame memory.

【0134】[0134]

【発明の効果】上述のように、本発明によれば、参照ブ
ロックのサイズがM×Nで、候補ブロック数もまたM×
Nである場合に、参照ブロックの画素値と候補ブロック
の画素値との差分絶対値(或いは差分自乗値)を計算す
る差分絶対値演算器(或いは差分自乗演算器)を有する
M×N個の演算ユニットをM×Nの行列状に配置し、偶
数番目の各演算ユニットの出力をそれぞれ第1の加算器
を介してパイプライン接続し、奇数番目の各演算ユニッ
トの出力をそれぞれ第1の加算器とは別系統の第2の加
算器を介してパイプライン接続し、各演算ユニットでは
参照ブロック及び候補ブロックの画素値を一定の順序で
差分絶対値演算器(或いは差分自乗演算器)に供給する
ことにより、また、参照ブロックの画素値と候補ブロッ
クの画素値との差分絶対値(或いは差分自乗値)を偶数
用と奇数用の2個の累算器でそれぞれ累積して差分絶対
値和(或いは差分自乗和)を求めるM×N個の演算ユニ
ットをM×Nの行列状に配置して相互接続し、参照ブロ
ック及び候補ブロックの画素値を一定の順序で供給する
ことにより、奇数フィールド、偶数フィールド、フレー
ムにおける差分絶対値和を求めることを可能としてい
る。したがって、本発明の演算回路は、ハードウェア量
の削減ができ、また、外部の付加回路の削減、フレーム
メモリのポート数の増大を防ぐことが可能となってい
る。
As described above, according to the present invention, the reference block size is M × N, and the number of candidate blocks is also M × N.
If it is N, there are M × N number of difference absolute value calculators (or difference square calculators) for calculating the difference absolute value (or difference square value) between the pixel value of the reference block and the pixel value of the candidate block. Arithmetic units are arranged in a matrix of M × N, outputs of even-numbered arithmetic units are pipeline-connected via first adders, and outputs of odd-numbered arithmetic units are respectively subjected to first addition. Pipeline connection through a second adder of a different system from the operation unit, and in each operation unit, the pixel values of the reference block and the candidate block are supplied to the difference absolute value operation unit (or difference square operation unit) in a fixed order. By doing so, the difference absolute value (or the difference square value) between the pixel value of the reference block and the pixel value of the candidate block is accumulated by two accumulators for even number and odd number respectively, and the sum of absolute difference values is obtained. (Or the difference itself The M × N arithmetic units for obtaining the sum of multiplications are arranged in an M × N matrix and interconnected, and the pixel values of the reference block and the candidate block are supplied in a fixed order, so that an odd field, an even field , It is possible to obtain the sum of absolute differences between frames. Therefore, the arithmetic circuit of the present invention can reduce the amount of hardware, reduce the number of external additional circuits, and prevent the number of ports of the frame memory from increasing.

【図面の簡単な説明】[Brief description of drawings]

【図1】フィールド対応動きベクトル検出処理を行う第
1の実施例の演算回路の全体構成を示すブロック回路図
である。
FIG. 1 is a block circuit diagram showing an overall configuration of an arithmetic circuit of a first embodiment that performs a field-based motion vector detection process.

【図2】第1の実施例の演算回路の演算ユニットの具体
的構成を示すブロック回路図である。
FIG. 2 is a block circuit diagram showing a specific configuration of an arithmetic unit of the arithmetic circuit of the first embodiment.

【図3】第1の実施例の演算回路における偶数フィール
ドにおける動きベクトル検出処理の制御のタイミングを
説明するための図である。
FIG. 3 is a diagram for explaining the control timing of motion vector detection processing in an even field in the arithmetic circuit of the first embodiment.

【図4】第1の実施例の演算回路における奇数フィール
ドにおける動きベクトル検出処理の制御のタイミングを
説明するための図である。
FIG. 4 is a diagram for explaining a control timing of a motion vector detection process in an odd field in the arithmetic circuit of the first embodiment.

【図5】フィールド対応動きベクトル検出処理を行う第
2の実施例の演算回路の全体構成を示すブロック回路図
である。
FIG. 5 is a block circuit diagram showing an overall configuration of an arithmetic circuit of a second embodiment that performs field-based motion vector detection processing.

【図6】第2の実施例の演算回路の演算ユニットの具体
的構成を示すブロック回路図である。
FIG. 6 is a block circuit diagram showing a specific configuration of an arithmetic unit of the arithmetic circuit according to the second embodiment.

【図7】第2の実施例の演算回路におけるフィールド対
応動きベクトル検出処理の制御のタイミングを説明する
ための図である。
FIG. 7 is a diagram for explaining the control timing of field-based motion vector detection processing in the arithmetic circuit of the second embodiment.

【図8】動きベクトル検出処理の原理を示す図である。FIG. 8 is a diagram illustrating the principle of motion vector detection processing.

【図9】参照ブロックのサイズが3×4画素で、候補ブ
ロックの数が3×4個の場合の動きベクトル検出処理を
説明するための図である。
FIG. 9 is a diagram for explaining a motion vector detection process when the size of a reference block is 3 × 4 pixels and the number of candidate blocks is 3 × 4.

【図10】従来のフレームのみの動きベクトル検出処理
を行う演算回路の全体構成を示すブロック回路図であ
る。
FIG. 10 is a block circuit diagram showing an overall configuration of a conventional arithmetic circuit that performs motion vector detection processing only for frames.

【図11】従来例回路の演算ユニットの具体的構成を示
すブロック回路図である。
FIG. 11 is a block circuit diagram showing a specific configuration of an arithmetic unit of a conventional example circuit.

【図12】従来例回路のマルチプレクサ付き画素値格納
用レジスタの具体的構成を示すブロック回路図である。
FIG. 12 is a block circuit diagram showing a specific configuration of a pixel value storage register with a multiplexer in a conventional circuit.

【図13】従来の動きベクトル検出処理の制御のタイミ
ングを説明するための図である。
FIG. 13 is a diagram for explaining a control timing of a conventional motion vector detection process.

【符号の説明】[Explanation of symbols]

190〜201,210〜221・・・演算ユニット 182,232・・・・・・・・・・画素値格納用レジ
スタ 184,234・・・・・・・・・・マルチプレクサ 185,235・・・・・・・・・・差分絶対値演算器 245,246・・・・・・・・・・累算器 301〜319・・・・・・・・・・パイプラインレジ
スタ 321〜330,341・・・・・・加算器
190-201, 210-221 ... arithmetic unit 182, 232 ... register for storing pixel value 184, 234 ... multiplexer 185, 235 ... ··· Difference absolute value calculator 245, 246 ··· Accumulators 301 to 319 ··· Pipeline registers 321 to 330, 341・ ・ ・ ・ ・ Adder

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 参照ブロックのブロックサイズをM×N
画素とし、候補ブロックの個数をM×N個として、ブロ
ックマッチング法により全探索を行って動きベクトル検
出を行う演算回路であって、 上記参照ブロックの画素値と候補ブロックの画素値との
差分絶対値を計算する差分絶対値演算器を少なくとも有
する演算ユニットをM×N個設けると共に、当該演算ユ
ニットをM×Nの行列状に配置し、 偶数番目の各演算ユニットの出力をそれぞれ第1の加算
器を介してパイプライン接続し、 奇数番目の各演算ユニットの出力をそれぞれ上記第1の
加算器と別系統の第2の加算器を介してパイプライン接
続し、 上記参照ブロック及び候補ブロックの画素値を一定の順
序で上記各演算ユニットの差分絶対値演算器に供給する
ことにより、 偶数フィールドにおける動きベクトルと、奇数フィール
ドにおける動きベクトルと、フレームにおける動きベク
トルの3種の動きベクトルを同時に求める動きベクトル
検出処理を行うことを特徴とする演算回路。
1. The block size of a reference block is M × N.
It is an arithmetic circuit that performs a full search by a block matching method to detect a motion vector with pixels and the number of candidate blocks is M × N, and the difference between the pixel value of the reference block and the pixel value of the candidate block is absolute. M × N arithmetic units having at least a difference absolute value arithmetic unit for calculating a value are provided, the arithmetic units are arranged in a matrix of M × N, and the outputs of the even-numbered arithmetic units are respectively added to the first addition. Connected in a pipeline through an adder, and the outputs of the odd-numbered arithmetic units are connected in a pipeline via the first adder and the second adder of another system, respectively, and the pixels of the reference block and the candidate block By supplying the values in a fixed order to the difference absolute value calculator of each of the above calculation units, the motion vector in the even field and the Operation circuit and performs a motion vector, at the same time obtaining the motion vector detection processing Three motion vector of the motion vectors in the frame.
【請求項2】 参照ブロックのブロックサイズをM×N
画素とし、候補ブロックの個数をM×N個として、ブロ
ックマッチング法により全探索を行って動きベクトル検
出を行う演算回路であって、 上記参照ブロックの画素値と候補ブロックの画素値との
差分自乗値を計算する差分自乗演算器を少なくとも有す
る演算ユニットをM×N個設けると共に、当該演算ユニ
ットをM×Nの行列状に配置し、 偶数番目の各演算ユニットの出力をそれぞれ第1の加算
器を介してパイプライン接続し、 奇数番目の各演算ユニットの出力をそれぞれ上記第1の
加算器と別系統の第2の加算器を介してパイプライン接
続し、 上記参照ブロック及び候補ブロックの画素値を一定の順
序で上記各演算ユニットの差分自乗演算器に供給するこ
とにより、 偶数フィールドにおける動きベクトルと、奇数フィール
ドにおける動きベクトルと、フレームにおける動きベク
トルの3種の動きベクトルを同時に求める動きベクトル
検出処理を行うことを特徴とする演算回路。
2. The block size of the reference block is M × N.
An arithmetic circuit for performing a full search by a block matching method to detect a motion vector with pixels as the number of candidate blocks of M × N, and a squared difference between the pixel value of the reference block and the pixel value of the candidate block. M × N arithmetic units having at least a difference square arithmetic unit for calculating a value are provided, the arithmetic units are arranged in a matrix of M × N, and the output of each even-numbered arithmetic unit is a first adder. And the output of each odd-numbered arithmetic unit is pipeline-connected via the first adder and the second adder of another system, and the pixel values of the reference block and the candidate block are connected. Are supplied to the difference square calculator of each of the above arithmetic units in a fixed order, the motion vector in the even field and the motion vector in the odd field are Operation circuit and performs a vector, simultaneously obtains motion vector detection processing Three motion vector of the motion vectors in the frame.
【請求項3】 参照ブロックのブロックサイズをM×N
画素とし、候補ブロックの個数をM×N個として、ブロ
ックマッチング法により全探索を行って動きベクトル検
出を行う演算回路であって、 上記参照ブロックの画素値と候補ブロックの画素値との
差分絶対値を計算し、奇数番目の差分絶対値と偶数番目
の差分絶対値をそれぞれ別々に累積して差分絶対値和を
求める演算ユニットをM×N個設けると共に、当該演算
ユニットをM×Nの行列状に配置して相互接続し、上記
参照ブロック及び候補ブロックの画素値を一定の順序で
供給することにより、 偶数フィールドにおける動きベクトルと、奇数フィール
ドにおける動きベクトルと、フレームにおける動きベク
トルの3種の動きベクトルを同時に求める動きベクトル
検出処理を行うことを特徴とする演算回路。
3. The block size of the reference block is M × N
It is an arithmetic circuit that performs a full search by a block matching method to detect a motion vector with pixels and the number of candidate blocks is M × N, and the difference between the pixel value of the reference block and the pixel value of the candidate block is absolute. M × N calculation units for calculating a value and accumulating the odd-numbered difference absolute value and the even-numbered difference absolute value separately to obtain the difference absolute value sum are provided, and the calculation unit is an M × N matrix. Of the reference block and the candidate block are supplied in a fixed order, so that the motion vector in the even field, the motion vector in the odd field, and the motion vector in the frame are classified into three types. An arithmetic circuit characterized by performing motion vector detection processing for simultaneously obtaining motion vectors.
【請求項4】 参照ブロックのブロックサイズをM×N
画素とし、候補ブロックの個数をM×N個として、ブロ
ックマッチング法により全探索を行って動きベクトル検
出を行う演算回路であって、 上記参照ブロックの画素値と候補ブロックの画素値との
差分自乗値を計算し、奇数番目の差分自乗値と偶数番目
の差分自乗値をそれぞれ別々に累積して差分自乗和を求
める演算ユニットをM×N個設けると共に、当該演算ユ
ニットをM×Nの行列状に配置して相互接続し、上記参
照ブロック及び候補ブロックの画素値を一定の順序で供
給することにより、 偶数フィールドにおける動きベクトルと、奇数フィール
ドにおける動きベクトルと、フレームにおける動きベク
トルの3種の動きベクトルを同時に求める動きベクトル
検出処理を行うことを特徴とする演算回路。
4. The block size of the reference block is M × N.
An arithmetic circuit for performing a full search by a block matching method to detect a motion vector with pixels as the number of candidate blocks of M × N, and a squared difference between the pixel value of the reference block and the pixel value of the candidate block. M × N calculation units for calculating a value and accumulating the odd-numbered difference square value and the even-numbered difference square value separately to obtain the sum of difference squares are provided, and the calculation units are arranged in a matrix of M × N. Are arranged and interconnected, and the pixel values of the reference block and the candidate block are supplied in a fixed order, so that there are three types of motion: a motion vector in an even field, a motion vector in an odd field, and a motion vector in a frame. An arithmetic circuit characterized by performing motion vector detection processing for simultaneously obtaining vectors.
【請求項5】 上記奇数フィールド、偶数フィールド、
フレームのそれぞれにおいて、全ての候補ブロックにつ
いての参照ブロックとの差分絶対値和を格納するメモリ
を有することを特徴とする請求項1又は3記載の演算回
路。
5. The odd field, the even field,
The arithmetic circuit according to claim 1 or 3, further comprising a memory that stores a sum of absolute differences between the reference blocks and all the candidate blocks in each frame.
【請求項6】 上記奇数フィールド、偶数フィールド、
フレームのそれぞれにおいて、全ての候補ブロックにつ
いての参照ブロックとの差分自乗和を格納するメモリを
有することを特徴とする請求項2又は4記載の演算回
路。
6. The odd field, the even field,
The arithmetic circuit according to claim 2 or 4, further comprising a memory that stores a sum of squared differences with reference blocks for all candidate blocks in each frame.
JP02713893A 1993-01-25 1993-01-25 Arithmetic circuit Expired - Fee Related JP3545004B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02713893A JP3545004B2 (en) 1993-01-25 1993-01-25 Arithmetic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02713893A JP3545004B2 (en) 1993-01-25 1993-01-25 Arithmetic circuit

Publications (2)

Publication Number Publication Date
JPH06225287A true JPH06225287A (en) 1994-08-12
JP3545004B2 JP3545004B2 (en) 2004-07-21

Family

ID=12212696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02713893A Expired - Fee Related JP3545004B2 (en) 1993-01-25 1993-01-25 Arithmetic circuit

Country Status (1)

Country Link
JP (1) JP3545004B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02177105A (en) * 1988-12-28 1990-07-10 Hitachi Maxell Ltd Magnetic head
JPH0723350A (en) * 1993-05-20 1995-01-24 Korean Broadcasting Syst Method and apparatus for presuming picture data movement in high image quality tv(hdtv)
US5929939A (en) * 1995-04-18 1999-07-27 Matsushita Electric Industrial Co., Ltd. Correlation degree operation apparatus, parallel correlation degree operation apparatus and correlation degree operation method
WO2007037054A1 (en) * 2005-09-29 2007-04-05 Megachips Corporation Motion search method
WO2007037053A1 (en) * 2005-09-29 2007-04-05 Megachips Corporation Motion search method
JP2009536773A (en) * 2006-05-10 2009-10-15 クゥアルコム・インコーポレイテッド Instruction to generate two independent sums of absolute differences

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02177105A (en) * 1988-12-28 1990-07-10 Hitachi Maxell Ltd Magnetic head
JPH0723350A (en) * 1993-05-20 1995-01-24 Korean Broadcasting Syst Method and apparatus for presuming picture data movement in high image quality tv(hdtv)
US5929939A (en) * 1995-04-18 1999-07-27 Matsushita Electric Industrial Co., Ltd. Correlation degree operation apparatus, parallel correlation degree operation apparatus and correlation degree operation method
WO2007037054A1 (en) * 2005-09-29 2007-04-05 Megachips Corporation Motion search method
WO2007037053A1 (en) * 2005-09-29 2007-04-05 Megachips Corporation Motion search method
JP2009536773A (en) * 2006-05-10 2009-10-15 クゥアルコム・インコーポレイテッド Instruction to generate two independent sums of absolute differences
US8290044B2 (en) 2006-05-10 2012-10-16 Qualcomm Incorporation Instruction for producing two independent sums of absolute differences

Also Published As

Publication number Publication date
JP3545004B2 (en) 2004-07-21

Similar Documents

Publication Publication Date Title
US4937666A (en) Circuit implementation of block matching algorithm with fractional precision
US5719642A (en) Full-search block matching motion estimation processor
EP1074941B1 (en) Motion vector detection apparatus
US5512962A (en) Motion vector detecting apparatus for moving picture
US5604546A (en) Image signal processing circuit for performing motion estimation
US8509567B2 (en) Half pixel interpolator for video motion estimation accelerator
KR101578052B1 (en) Motion estimation device and Moving image encoding device having the same
EP1120747A2 (en) Motion estimator
US6516031B1 (en) Motion vector detecting device
KR100416444B1 (en) Motion vector selection method and image processing device performing this method
US5652625A (en) Multi-stage pipeline architecture for motion estimation block matching
JPH06225287A (en) Arithmetic circuit
Baglietto et al. Parallel implementation of the full search block matching algorithm for motion estimation
JPH01269183A (en) Spatial filter picture processor
US6990149B2 (en) Circuit and method for full search block matching
JPH06141304A (en) Arithmetic circuit
US6968011B2 (en) Motion vector detecting device improved in detection speed of motion vectors and system employing the same devices
KR100225690B1 (en) Correlation Computing Device, Parallel Correlation Computing Device, and Correlation Computation Method
US8855446B2 (en) Accelerated video compression multi-tap filter and bilinear interpolator
JPH10322706A (en) Motion vector detection device
JPH07131791A (en) Motion vector detector
JP2002509627A (en) Method and apparatus for generating half-pixel SAD
JPH09503324A (en) Pixel block comparison processor (block matching processor)
JP4170173B2 (en) Block matching arithmetic unit
US6201895B1 (en) Orthogonal converting apparatus

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040407

LAPS Cancellation because of no payment of annual fees