JPH08228353A - Motion compensation circuit for moving image encoding - Google Patents

Motion compensation circuit for moving image encoding

Info

Publication number
JPH08228353A
JPH08228353A JP3217695A JP3217695A JPH08228353A JP H08228353 A JPH08228353 A JP H08228353A JP 3217695 A JP3217695 A JP 3217695A JP 3217695 A JP3217695 A JP 3217695A JP H08228353 A JPH08228353 A JP H08228353A
Authority
JP
Japan
Prior art keywords
output
averaging
delay
unit
circuit
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.)
Pending
Application number
JP3217695A
Other languages
Japanese (ja)
Inventor
Naoya Hayashi
直哉 林
Norio Tokuda
憲夫 徳田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP3217695A priority Critical patent/JPH08228353A/en
Publication of JPH08228353A publication Critical patent/JPH08228353A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To compress a circuit scale by sharing two filters; a half picture element interpolation filter for MPEG system and a loop filter for H261 system. CONSTITUTION: A filter circuit is operated by switching to a loop filter in accordance with an H261 mode and an MPEG mode and the half picture element interpolation filter by the switching of selectors S61 to 70. When the H261 mode is set, the selectors S61 to 68 select delay circuits 61, 62, delay devices D61, D63 and D67, averaging devices M62 and M64 in accordance with a contact H. Also, the selectors S69, S70 select one of other contacts H1, H2 without selecting a contact M in accordance with the output of the delay devices D66, D67. When the MPEG mode is set, the selectors S61, S63 to 68 select a terminal 61, the delay devices D62, D63, D66 and D67 and the delay circuit 61 in accordance with the contact M. Also, the selectors S62, S69 select one of other two contacts without selecting the contact H in accordance with the output of the delay device D61, D67.

Description

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

【0001】前記一方の半画素内挿フィルタに入力する
前記ブロック内の水平方向8画素×垂直方向8画素から
なるサブブロックに対して、このサブブロックの上端及
び下端の画素に対しては1、それ以外の画素に対しては
1/4,1/2,1/4の係数を持つ垂直方向1次元フ
ィルタと前記サブブロックの左端及び右端の画素に対し
ては1、それ以外の画素に対しては1/4,1/2,1
/4の係数を持つ水平方向1次元フィルタを接続してな
るループフィルタを、前記動画像符号化用フィルタ内の
遅延手段、平均手段及び選択手段を用いて実現すること
を特徴とする動画像符号化用動き補償回路。
For a sub-block consisting of 8 pixels in the horizontal direction and 8 pixels in the vertical direction in the block that is input to the one half-pixel interpolation filter, 1 is set for the pixels at the upper and lower ends of this sub-block. A vertical one-dimensional filter having coefficients of 1/4, 1/2, and 1/4 for other pixels and 1 for pixels at the left and right ends of the sub-block, and for other pixels. 1/4, 1/2, 1
A moving picture code, wherein a loop filter formed by connecting horizontal one-dimensional filters having a coefficient of / 4 is realized by using the delay means, the averaging means and the selecting means in the moving picture coding filter. Motion compensation circuit.

【0002】[0002]

【産業上の利用分野】本発明は動画像符号化用動き補償
回路に関し、特にMPEG方式とH.261方式との共
用の動画像符号化回路に用いる動画像符号化用動き補償
回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion compensation circuit for moving picture coding, and more particularly to the MPEG system and H.264 standard. The present invention relates to a moving picture coding motion compensation circuit used in a moving picture coding circuit shared with the H.261 system.

【0003】[0003]

【従来の技術】動画像はデータ量が膨大であるため、圧
縮して伝送あるいは記録し、受信あるいは再生側で伸長
するという処理を行うことがしばしば要望される。従
来、この種の圧縮伸長技術の応用は、膨大なデータ量を
効率よく圧縮伸長する手段が安価に得られなかったた
め、主に通信分野のテレビ会議装置などの専用大型装置
に限定されていた。最近では、圧縮伸長技術の改良と半
導体技術の進歩により、比較的少数のLSIで低価格の
実用に耐える動画像圧縮伸長装置の構築が可能となって
きている。
2. Description of the Related Art Since a moving image has an enormous amount of data, it is often desired that the moving image is compressed or transmitted or recorded and then decompressed on the receiving or reproducing side. Conventionally, the application of this type of compression / expansion technology has been limited mainly to large-scale dedicated devices such as video conferencing devices in the field of communication because a means for efficiently compressing / expanding a huge amount of data has not been obtained at low cost. Recently, due to improvements in compression / expansion technology and advances in semiconductor technology, it has become possible to construct a moving image compression / expansion apparatus that can withstand low-cost practical use with a relatively small number of LSIs.

【0004】このような動画像圧縮伸長方式は動画像符
号化復号化方式とも呼ばれ、国際標準化の検討が進めら
れてきた。その一つであり、CCITT(国際電信電話
諮問委員会)が1990年に勧告した、H.261規格
は、主に、テレビ電話、テレビ会議システムで用いる動
画像符号化復号化方式を対象とする。また、ISOとC
CITTの専門家グループ(ISO/IEC,JTC1
/SC2/WG8(Moving Picture E
xpert Group:MPEG)が1993年に勧
告ISO/IEC−11172−2として規定したMP
EG1規格は、蓄積媒体への記録等に用いる動画像符号
化復号化方式を対象とする。
Such a moving picture compression / decompression method is also called a moving picture coding / decoding method, and studies of international standardization have been made. One of them is H.264, which was recommended by CCITT (International Telegraph and Telephone Consultative Committee) in 1990. The H.261 standard mainly targets moving image coding / decoding methods used in videophones and videoconference systems. Also, ISO and C
CITT expert group (ISO / IEC, JTC1
/ SC2 / WG8 (Moving Picture E)
xpert Group (MPEG) MP specified in 1993 as Recommendation ISO / IEC-11172-2
The EG1 standard targets a moving image coding / decoding method used for recording on a storage medium or the like.

【0005】この種の圧縮方式では動き補償フレーム間
予測符号化方式が採用されている。これは動画像を構成
する各フレームの相関が高いことを利用して、過去に符
号化したフレームから予測フレームを作成し、現在符号
化中のフレーム(以下現フレームと呼ぶ)と予測フレー
ムの差分すなわち予測誤差を符号化することにより圧縮
率を上げる方式である。また、動いている被写体はフレ
ーム内で少しずつ位置を変えるので、予測フレームを被
写体の動きにしたがって移動させたのちに予測誤差を抽
出することによりその値が小さくなり、圧縮率をさらに
向上できる。この動きを表す情報を動きベクトルと呼
び、予測誤差とともに伝送あるいは記録する。
In this type of compression method, a motion-compensated interframe predictive coding method is adopted. This is because the prediction frame is created from the previously coded frames by utilizing the high correlation between the frames that make up the moving image, and the difference between the current coding frame (hereinafter referred to as the current frame) and the prediction frame. That is, this is a method of increasing the compression rate by encoding the prediction error. Further, since the position of the moving subject is gradually changed within the frame, the value is reduced by extracting the prediction error after moving the prediction frame according to the movement of the subject, and the compression rate can be further improved. Information representing this motion is called a motion vector, and is transmitted or recorded together with a prediction error.

【0006】予測フレームは、過去に伝送あるいは記録
したフレームから生成するが、H.261規格に準拠し
た符号化復号化方式(以下H.261方式)では1フレ
ーム前の過去のフレーム(以下過去フレーム)を予測フ
レームとする。また、MPEG1規格に準拠した符号化
復号化方式(以下MPEG方式)では、数フレーム前の
過去のフレームの他に数フレーム後の未来のフレーム
(以下未来フレーム)、及びこの過去フレームと未来フ
レームとを時間軸方向で内挿して得られる架空のフレー
ム(以下架空フレーム)を予測フレームとすることがで
きる。ただし、未来フレームから予測フレームを生成す
るときは、フレームの順番を入替えて、現フレームは参
照対象の未来フレームの後に符号化される。また、場面
が変わった場合など、予測フレームとの相関が低い場合
には、予測誤差を符号化するより、現フレームをそのま
ま符号化した方が圧縮率を高くできる。したがって、予
測誤差を符号化する場合と現フレームをそのまま符号化
する場合を適応的に切替えて圧縮する。
Predicted frames are generated from frames transmitted or recorded in the past. In a coding / decoding method (hereinafter referred to as H.261 method) conforming to the H.261 standard, a past frame one frame before (hereinafter referred to as past frame) is set as a prediction frame. In addition, in an encoding / decoding method (hereinafter, MPEG method) based on the MPEG1 standard, a future frame (hereinafter, future frame) several frames after, in addition to a past frame several frames before, and this past frame and future frame An imaginary frame obtained by interpolating in the time axis direction (hereinafter, imaginary frame) can be used as the prediction frame. However, when the prediction frame is generated from the future frame, the order of the frames is exchanged, and the current frame is encoded after the future frame to be referenced. When the correlation with the prediction frame is low, such as when the scene changes, the compression rate can be increased by coding the current frame as it is rather than coding the prediction error. Therefore, compression is performed by adaptively switching between the case of encoding the prediction error and the case of encoding the current frame as it is.

【0007】以下、過去フレームを予測フレームとする
場合を順方向予測符号化、未来フレームを予測フレーム
とする場合を逆方向予測符号化、架空フレームを予測フ
レームとする場合を両方向予測符号化と呼び、これら3
つをまとめてフレーム間予測符号化と呼ぶ。また現フレ
ームをそのまま符号化する場合をフレーム内符号化と呼
ぶ。従って、MPEG方式では順方向予測符号化、逆方
向予測符号化、及び両方向予測符号化及びフレーム内符
号化が可能で、H.261方式では順方向予測符号化と
フレーム内符号化が可能である。
Hereinafter, the case where the past frame is used as the prediction frame is called forward prediction coding, the case where the future frame is used as the prediction frame is called backward prediction coding, and the case where the fictitious frame is used as the prediction frame is called bidirectional prediction coding. , These 3
These are collectively called interframe predictive coding. In addition, the case where the current frame is encoded as it is is called intraframe encoding. Therefore, according to the MPEG method, forward predictive coding, backward predictive coding, bidirectional predictive coding and intra-frame coding are possible. In the H.261 system, forward predictive coding and intraframe coding are possible.

【0008】H.261方式に対応する第1の動画像符
号化回路をブロックで示す図4を参照すると、この第1
の動画像符号化回路は、現フレームFIと予測フレーム
対応の過去画像データDPSとの差分をとり差分データ
DDを出力する加算器101と、差分データDDを離散
コサイン変換し信号DTを発生する離散コサイン変換回
路(DCT)102と、信号DTを量子化してデータD
Qを生成する量子化回路103と、データDQをハフマ
ン符号化圧縮し符号化データDOを出力するハフマン符
号化回路104と、データDQを逆量子化し信号ITを
発生する逆量子化回路105と、信号ITを逆離散コサ
イン変換し信号IDを発生する逆離散コサイン変換回路
(IDCT)106と、信号IDと過去画像DPとを加
算し参照フレームデータPIを発生する加算器107
と、データPIを格納し参照領域ARを含む予測フレー
ムデータFRを出力するフレームメモリ108と、デー
タFR,ベクトルVの供給に応答してアドレスAV,評
価データEを発生する動き補償回路109と、データF
R,DIから動きベクトルVを生成する動きベクトル検
出回路110と、アドレスAVをフィルタリングしてデ
ータDPを発生するループフィルタ111と、現フレー
ムFI(MBI),評価データEの供給を受け符号化タ
イプを判定し符号化タイプKを出力する符号化タイプ判
定回路112と、符号化タイプKに制御されデータDP
とデータ0とを選択的に出力するセレクタ113とを備
える。
H. Referring to FIG. 4 which is a block diagram showing a first moving picture coding circuit corresponding to the H.261 system,
The moving picture coding circuit of (1) calculates the difference between the current frame FI and the past image data DPS corresponding to the predicted frame and outputs difference data DD, and the discrete cosine transform of the difference data DD to generate the signal DT. Cosine transform circuit (DCT) 102 and data D by quantizing signal DT
A quantization circuit 103 for generating Q, a Huffman coding circuit 104 for Huffman coding and compressing the data DQ and outputting coded data DO, a dequantization circuit 105 for dequantizing the data DQ and generating a signal IT, An inverse discrete cosine transform circuit (IDCT) 106 that performs an inverse discrete cosine transform of the signal IT to generate a signal ID, and an adder 107 that adds the signal ID and the past image DP to generate reference frame data PI.
A frame memory 108 that stores the data PI and outputs the predicted frame data FR including the reference area AR; and a motion compensation circuit 109 that generates the address AV and the evaluation data E in response to the supply of the data FR and the vector V. Data F
A motion vector detection circuit 110 for generating a motion vector V from R and DI, a loop filter 111 for filtering an address AV to generate data DP, a current frame FI (MBI), and evaluation data E are supplied and a coding type And a coding type determination circuit 112 for determining the coding type K and outputting the coding type K, and the data DP controlled by the coding type K.
And a selector 113 for selectively outputting data 0.

【0009】動きベクトル検出の概念を説明する図5を
参照すると、H.261方式の画像では、現フレームF
Iは水平垂直各方向の画素数がそれぞれ16(以下16
×16画素)の正方形のマクロブロックに分割される。
このマクロブロックMBはさらに8×8画素の輝度信号
ブロックY4個と同一画素数の2種類の色差信号Cブロ
ック2個の計6ブロックから構成される。ここで色差信
号は輝度信号と比べると水平・垂直方向とも1/2に間
引かれているので、上記の色差信号ブロックCの8×8
画素が輝度信号ブロックYの16×16画素の範囲に相
当する。図4を参照すると、動きベクトル検出回路11
0,符号化タイプ判定回路112の各処理はマクロブロ
ック単位の処理を行い、他はブロック単位の処理を行
う。また以下の説明では、現フレームFIの中で現在処
理中のマクロブロックを現マクロブロックMBIと呼
ぶ。
Referring to FIG. 5, which illustrates the concept of motion vector detection, H.264. In the H.261 format image, the current frame F
I has 16 pixels in each of the horizontal and vertical directions (hereinafter 16
It is divided into square macroblocks of (× 16 pixels).
The macro block MB is further composed of four luminance signal blocks Y of 8 × 8 pixels and two types of color difference signal C blocks of the same number of pixels, that is, a total of six blocks. Here, since the color difference signal is thinned out to 1/2 in the horizontal and vertical directions as compared with the luminance signal, 8 × 8 in the color difference signal block C described above.
The pixels correspond to the 16 × 16 pixel range of the luminance signal block Y. Referring to FIG. 4, the motion vector detection circuit 11
0, each processing of the coding type determination circuit 112 performs processing in macroblock units, and the other processing is performed in block units. Further, in the following description, the macroblock currently being processed in the current frame FI is called the current macroblock MBI.

【0010】図4および図5を参照して第1の動画像符
号化回路の動作について説明すると、まず、符号化タイ
プ判定回路112は、動きベクトル検出回路110から
の後述する評価データEと現マクロブロックMBIとの
供給を受けこの現マクロブロックMBIを順方向予測符
号化するかフレーム内符号化するかを判定する。1枚目
のフレームの符号化時にはフレームメモリ108には無
効データが格納されており、このフレームでは後述する
ように全てのマクロブロックでフレーム内符号化を選択
するが、2枚目以降のフレーム符号化時には符号化後復
号した1枚の参照フレームFRが格納されており、順方
向予測符号化とフレーム内符号化のうちの一方を選択す
る。
The operation of the first moving picture coding circuit will be described with reference to FIGS. 4 and 5. First, the coding type judging circuit 112 and the evaluation data E, which will be described later, from the motion vector detecting circuit 110 and the present data. When the current macroblock MBI is supplied with the macroblock MBI, it is determined whether to perform forward predictive coding or intraframe coding. When the first frame is encoded, invalid data is stored in the frame memory 108. In this frame, intraframe encoding is selected for all macroblocks as will be described later. At the time of encoding, one reference frame FR decoded after encoding is stored, and one of forward prediction encoding and intraframe encoding is selected.

【0011】参照領域ARは、参照フレームFR内で現
マクロブロックMBIと同一位置のマクロブロックを含
むより大きな輝度信号領域である。動きベクトル検出回
路110は、参照領域AR内で現マクロブロックMBI
と最も類似している16×16画素の領域(以下類似ブ
ロックBSと呼ぶ)を探索し、その場合の動きベクトル
Vを動き補償回路109に出力する。参照領域AR内で
探索した類似ブロックBSの現フレームFIへのに投影
位置PBSと現マクロブロックMBIの位置との差が現
マクロブロックMBIの動きベクトルVとなる。
The reference area AR is a larger luminance signal area including a macroblock located at the same position as the current macroblock MBI in the reference frame FR. The motion vector detection circuit 110 detects the current macroblock MBI within the reference area AR.
An area of 16 × 16 pixels (hereinafter referred to as a similar block BS) that is most similar to is searched, and the motion vector V in that case is output to the motion compensation circuit 109. The motion vector V of the current macroblock MBI is the difference between the projection position PBS and the position of the current macroblock MBI on the current frame FI of the similar block BS searched in the reference area AR.

【0012】このとき、動きベクトル検出回路110か
ら、現マクロブロックMBIと類似ブロックBSとの類
似性評価用の評価データEを算出し、前述のように符号
化タイプ判定回路112に供給する。符号化タイプ判定
回路112はこの評価データEをフレーム内符号化を行
った場合の評価データと比較し、順方向予測符号化とフ
レーム内符号化のどちらが圧縮率が高くなるかを推定す
る。そしてその判定結果である符号化タイプKをセレク
タ113に供給する。ただし現フレームFIが符号化す
る最初のフレーム、あるいは場面が変った場合などフレ
ームメモリ108に格納されている参照フレームと相関
が低い場合には、常にフレーム内符号化と判定する。
At this time, the motion vector detection circuit 110 calculates the evaluation data E for similarity evaluation between the current macroblock MBI and the similar block BS, and supplies it to the coding type determination circuit 112 as described above. The coding type determination circuit 112 compares the evaluation data E with the evaluation data when intraframe coding is performed, and estimates which one of the forward prediction coding and the intraframe coding has a higher compression rate. Then, the coding type K that is the determination result is supplied to the selector 113. However, if the current frame FI has a low correlation with the first frame to be encoded or the reference frame stored in the frame memory 108, such as when the scene changes, it is always determined to be intra-frame encoding.

【0013】次にこの符号化タイプKにしたがって現フ
レームFIの現マクロブロックMBIをブロック毎に符
号化する。このため、現マクロブロックMBIを構成す
る4個の輝度信号ブロックYと2個の色差信号ブロック
Cを順に入力する。以下では現在処理中のブロックを現
ブロックと呼ぶ。動き補償回路109は現マクロブロッ
クMBIの動きベクトルVを入力し、このベクトルVと
現フレームFI上の現ブロック(以下現ブロックFI)
の位置からフレームメモリ108に格納されている参照
フレームFRの類似ブロックBSの位置を求める。次
に、その中で現ブロックFIと対応する8×8画素の輝
度信号ブロックまたは色差信号ブロックのアドレスAV
を算出し、このブロックを読込んでループフィルタ11
1に出力する。ここで、ループフィルタはH.261方
式では、必ずしも適用しなくてもよいオプションである
が、復号画像に生じるブロック歪を軽減する効果がある
のでしばしば用いられる。
Next, the current macroblock MBI of the current frame FI is coded block by block according to the coding type K. Therefore, the four luminance signal blocks Y and the two color difference signal blocks C that form the current macroblock MBI are sequentially input. Below, the block currently being processed is called the current block. The motion compensation circuit 109 inputs the motion vector V of the current macroblock MBI, and this vector V and the current block on the current frame FI (hereinafter referred to as the current block FI).
The position of the similar block BS of the reference frame FR stored in the frame memory 108 is obtained from the position of. Next, the address AV of the 8 × 8 pixel luminance signal block or chrominance signal block corresponding to the current block FI
Is calculated, this block is read, and the loop filter 11
Output to 1. Here, the loop filter is H.264. The H.261 method is an option that does not necessarily have to be applied, but is often used because it has an effect of reducing block distortion that occurs in a decoded image.

【0014】ループフィルタ111の原理を説明する図
6を参照すると、このループフィルタ111は、ブロッ
ク内の画素データ位置に対応して、信号レベルにウエィ
テイングをかけるための4種類のフィルタ係数d,e,
f,gのいずれかを配分するフィルタである。このフィ
ルタは、ブロックの両端で1の係数を、中間で1/4,
2/4,1/4の順で配列した3つの係数をそれぞれ持
つ持つ1次元フィルタを入力ブロックに対して水平及び
垂直両方向にそれぞれかけて成る2次元フィルタで実現
できる。したがって、係数dは1、係数eは水平方向
(行)に1/4,2/4,1/4の順で配列した3つの
係数群、係数fは垂直方向(列)に1/4,2/4,1
/4の順で配列した3つの係数群、係数gは第1および
第3行が1/16,2/16,1/16の順でそれぞれ
配列した3つの係数および第2行が2/16,4/1
6,2/16の順で配列した3つの係数から成る9つの
係数群からそれぞれ構成される。こうして、動き補償回
路109とループフィルタ111とにより予測フレーム
DPを構成し現ブロック予測用の予測ブロック(以下予
測ブロックDP)を求める。
Referring to FIG. 6 for explaining the principle of the loop filter 111, the loop filter 111 has four kinds of filter coefficients d for weighting the signal level corresponding to the pixel data position in the block. e,
It is a filter that distributes either f or g. This filter has a coefficient of 1 at both ends of the block and 1/4 at the middle.
A one-dimensional filter having three coefficients arranged in the order of 2/4 and 1/4 can be realized by a two-dimensional filter formed by horizontally and vertically applying to an input block. Therefore, the coefficient d is 1, the coefficient e is three coefficient groups arranged in the order of 1/4, 2/4, and 1/4 in the horizontal direction (row), and the coefficient f is 1/4 in the vertical direction (column). 2/4, 1
The three coefficient groups arranged in the order of / 4, and the coefficient g is three coefficients arranged in the order of 1/16, 2/16, 1/16 in the first and third rows and 2/16 in the second row. , 4/1
Each of the groups is composed of nine coefficient groups consisting of three coefficients arranged in the order of 6, 2/16. In this way, the motion compensation circuit 109 and the loop filter 111 form a prediction frame DP, and a prediction block for current block prediction (hereinafter, prediction block DP) is obtained.

【0015】セレクタ113には、予測ブロックDPと
値が全て0のブロック(ブロック0)とが供給されてお
り、符号化タイプKが順方向予測符号化の場合には予測
ブロックDPを、フレーム内符号化の場合にはブロック
0をそれぞれ選択して出力する。
The selector 113 is supplied with the prediction block DP and a block with all values of 0 (block 0). If the coding type K is forward predictive coding, the prediction block DP is In the case of encoding, block 0 is selected and output.

【0016】加算器101は差分データDDとして、符
号化タイプKが順方向予測符号化の場合に現ブロックF
Iと予測ブロックDPの差分すなわち予測誤差ブロック
を出力し、フレーム内符号化の場合には現ブロックFI
とブロック0との差分すなわち現ブロックFIをそのま
ま出力する。
The adder 101 calculates the difference data DD as the current block F when the coding type K is forward predictive coding.
The difference between I and the prediction block DP, that is, the prediction error block is output, and in the case of intraframe coding, the current block FI
And block 0, that is, the current block FI is output as it is.

【0017】DCT102は差分データDDを離散コサ
イン変換により周波数成分データDTに変換し、量子化
回路103に供給する。量子化回路103はこの周波数
成分データDTを量子化しきい値と呼ばれるパラメータ
により除算し量子化データDQをハフマン符号化回路1
04および逆量子化回路105に出力する。この結果、
多少の高周波成分情報の損失を生ずるが目立ち難いので
実質的な画質低下なしに圧縮可能となる。次に、ハフマ
ン符号化回路104は量子化データDQを統計的性質を
利用してさらに圧縮し出力データDOとして出力する。
The DCT 102 converts the difference data DD into frequency component data DT by discrete cosine transform and supplies it to the quantization circuit 103. The quantizing circuit 103 divides this frequency component data DT by a parameter called a quantizing threshold value to quantize the quantizing data DQ in the Huffman coding circuit 1.
04 and the inverse quantization circuit 105. As a result,
Although some loss of high frequency component information occurs, it is inconspicuous, so that compression is possible without substantial image quality deterioration. Next, the Huffman coding circuit 104 further compresses the quantized data DQ using statistical properties and outputs it as output data DO.

【0018】一方、逆量子化回路105は供給を受けた
量子化データDQと上記量子化しきい値との乗算を行
い、上記周波数成分データを復元してデータITを発生
する。逆DCT106はデータITを逆離散コサイン変
換し、予測誤差ブロックあるいは現ブロックを復元した
データIDを加算器107に供給する。ただし、このデ
ータIDは量子化,逆量子化演算およびDCT,逆DC
T演算誤差により、差分データDDとは一致しないが、
十分に近い値をとることができる。加算器107は、符
号化タイプKが順方向予測符号化の場合には復元した予
測誤差ブロック対応のデータIDとセレクタ113から
の予測ブロックDPとを加算し、現ブロックFI対応の
データPIとして復元できる。フレーム内符号化の場合
には復元した現ブロックFIとブロック0とを加算し、
同様に現ブロックFI対応のデータPIを復元できる。
このようにして符号化後、復号した現ブロック対応のデ
ータPIはフレームメモリ108の所定アドレスに格納
され、次の符号化対象フレームの参照フレームFRとし
て用いられる。
On the other hand, the dequantization circuit 105 multiplies the supplied quantized data DQ by the quantized threshold value and restores the frequency component data to generate the data IT. The inverse DCT 106 performs inverse discrete cosine transform on the data IT and supplies the data ID obtained by restoring the prediction error block or the current block to the adder 107. However, this data ID is used for quantization, inverse quantization operation, DCT, and inverse DC.
Although it does not match the difference data DD due to the T calculation error,
It can be close enough. When the coding type K is forward predictive coding, the adder 107 adds the data ID corresponding to the restored prediction error block and the prediction block DP from the selector 113, and restores as the data PI corresponding to the current block FI. it can. In the case of intra-frame coding, the restored current block FI and block 0 are added,
Similarly, the data PI corresponding to the current block FI can be restored.
After being encoded in this way, the decoded data PI corresponding to the current block is stored in a predetermined address of the frame memory 108 and used as the reference frame FR of the next encoding target frame.

【0019】次に、MPEG方式に対応する第2の動画
像符号化回路を図4と共通の構成要素には共通の参照文
字/数字を付して同様にブロックで示す図7を参照する
と、この第2の動画像符号化回路の第1の動画像符号化
回路との相違点は、フレームメモリ108の代りに過去
および未来の2枚の参照フレームを格納するフレームメ
モリ108Aと、動きベクトル検出回路110の代りに
動きベクトルVを半画素単位で検出する動きベクトル検
出回路110Aと、後述のI,P,およびBの各フレー
ムに対応する採用可能な符号化タイプを判定する際のフ
レーム間予測符号化方式を選択するフレーム間予測選択
回路115を備え、ループフィルタ111が不要である
ことである。
Next, referring to FIG. 7, in which the second moving picture coding circuit corresponding to the MPEG system is also shown in the same block with common reference characters / numerals attached to the same components as in FIG. 4, The difference between this second moving picture coding circuit and the first moving picture coding circuit is that instead of the frame memory 108, a frame memory 108A for storing two reference frames, past and future, and motion vector detection. Instead of the circuit 110, a motion vector detection circuit 110A that detects a motion vector V in half-pixel units, and inter-frame prediction when determining an employable coding type corresponding to each frame of I, P, and B described later. That is, the inter-frame prediction selection circuit 115 that selects an encoding method is provided, and the loop filter 111 is unnecessary.

【0020】動作について説明すると、MPEG方式で
は、Iフレーム,Pフレーム,Bフレームと呼ぶ3種類
のフレームが定められ、それぞれ採用可能な符号化タイ
プが異なる。すなわち、現フレームがIフレームの場合
には、フレーム内の全マクロブロックをフレーム内符号
化する。Pフレームの場合には、フレーム内のマクロブ
ロックを順方向予測符号化とフレーム内符号化のどちら
か一方の符号化タイプで符号化する。またBフレームの
場合には、フレーム内のマクロブロックを順方向予測符
号化、逆方向予測符号化、両方向予測符号化あるいはフ
レーム内符号化の4つのうちの1つの符号化タイプを選
んで符号化する。このように現フレームがBフレームの
場合、符号化タイプ判定の際にフレーム間予測符号化方
式の選択が必要となる。
The operation will be described. In the MPEG system, three types of frames called I frame, P frame, and B frame are defined, and the applicable coding types are different. That is, when the current frame is an I frame, all macroblocks in the frame are intraframe coded. In the case of the P frame, the macroblock in the frame is encoded by either the forward prediction encoding or the intraframe encoding type. In the case of a B frame, a macroblock in a frame is coded by selecting one of four coding types: forward predictive coding, backward predictive coding, bidirectional predictive coding, or intraframe coding. To do. As described above, when the current frame is the B frame, it is necessary to select the interframe predictive coding method when determining the coding type.

【0021】このため動き補償回路109で求めた3種
類のフレーム間予測符号化の予測値と現マクロブロック
MBIとをフレーム間予測選択回路315に供給し、フ
レーム間予測選択回路115はこれら3種類の予測値の
各々と現マクロブロックMBIとの類似性を評価する。
そして最も類似している予測値DPMをセレクタ113
に供給するとともに、そのフレーム間予測方式の場合の
評価データとフレーム間予測方式を示す信号を含むデー
タPEを符号化タイプ判定回路112に供給する。現フ
レームがPフレームまたはIフレームの場合には、フレ
ーム間予測選択回路115は常に順方向予測符号化を選
択することにより3種類のフレームを同様に扱うことが
できる。符号化タイプ判定回路112は、入力評価デー
タPEをフレーム内符号化した場合の評価データと比較
し、圧縮率が高くなると推定される符号化方式を現マク
ロブロックの符号化タイプKとする。ただし現フレーム
がIフレームの場合にはフレーム内符号化を必ず選択す
る。
Therefore, the three types of interframe predictive coding prediction values obtained by the motion compensation circuit 109 and the current macroblock MBI are supplied to the interframe prediction selection circuit 315, and the interframe prediction selection circuit 115 receives these three types. Evaluate the similarity between each of the predicted values of P and the current macroblock MBI.
Then, the most similar predicted value DPM is set to the selector 113.
And the data PE including the evaluation data in the case of the interframe prediction method and the signal indicating the interframe prediction method to the coding type determination circuit 112. When the current frame is a P frame or an I frame, the inter-frame prediction selection circuit 115 can always handle the three types of frames by selecting the forward prediction coding. The coding type determination circuit 112 compares the input evaluation data PE with the evaluation data in the case of intra-frame coding, and sets the coding method estimated to increase the compression rate as the coding type K of the current macroblock. However, if the current frame is an I frame, the intraframe coding is always selected.

【0022】また上述のように、フレームメモリ108
Aは順方向予測,逆方向予測の各々のための過去,未来
の各々の参照フレームの2枚を格納する。さらに動きベ
クトル検出回路310AはH.261方式とは異なり、
動きベクトルVを半画素単位で検出する。またBフレー
ムでは、順方向の動きベクトルVAの他に、未来の参照
フレームを用いた逆方向の動きベクトルVBを出力す
る。
As described above, the frame memory 108
A stores two past and future reference frames for forward prediction and backward prediction, respectively. Furthermore, the motion vector detection circuit 310A is an H.264 / AVC. Unlike the 261 system,
The motion vector V is detected in half pixel units. In addition, in the B frame, in addition to the forward motion vector VA, the backward motion vector VB using the future reference frame is output.

【0023】半画素単位の動きベクトル検出では、まず
参照領域の半画素内挿をした後に類似ブロックを探索を
行う。
In the half-pixel unit motion vector detection, first, half-pixel interpolation of the reference area is performed, and then a similar block is searched.

【0024】半画素内挿の概念を示し半画素の位置を×
で示す説明図である図8を参照して半画素内挿方法を説
明すると、例としてこの図の下部に示す領域HB1の半
画素の位置の画素データc1〜c5を周囲の原画素の位
置の画素データb1〜b4から内挿するものとする。ま
ず、周囲の画素データc1〜c4の各々はそれぞれ画素
データb1とb2,b3とb4,b1とb3,およびb
2とb4の各々の平均により求める。また中央の画素デ
ータc5は、最初に垂直方向の平均によって求めた画素
データc3とc4の水平方向の平均、あるいは最初に水
平方向の平均によって求めた画素データc1とc2の垂
直方向の平均により求める。このような半画素挿により
半画素単位の画素データを作成し、これを用いて類似ブ
ロックの探索をおこなって半画素単位の動きベクトルV
を求める。また現マクロブロックMBI内の各ブロック
の符号化に用いる予測ブロックDPも、動きベクトルが
半画素精度を示していれば半画素内挿して求める。
The concept of half-pixel interpolation is shown, and the position of the half-pixel is defined as ×
The half-pixel interpolation method will be described with reference to FIG. 8, which is an explanatory diagram shown in FIG. 7. As an example, the pixel data c1 to c5 at the half-pixel position in the area HB1 shown in the lower part of the figure are used to determine the positions of the surrounding original pixels. The pixel data b1 to b4 are interpolated. First, the surrounding pixel data c1 to c4 are respectively pixel data b1 and b2, b3 and b4, b1 and b3, and b.
It is calculated by averaging each of 2 and b4. Further, the central pixel data c5 is obtained by first averaging the pixel data c3 and c4 in the horizontal direction first by the average in the vertical direction, or by vertically averaging the pixel data c1 and c2 initially obtained by the average in the horizontal direction. . Pixel data in half-pixel units is created by such half-pixel insertion, and a similar block is searched using this data to calculate a motion vector V in half-pixel units.
Ask for. The prediction block DP used for coding each block in the current macroblock MBI is also obtained by half-pixel interpolation if the motion vector indicates half-pixel accuracy.

【0025】以上、H.261符号化方式とMPEG符
号化方式について説明したが、この両方式は似ている部
分が多いため、この両方式の符号化回路を共に実現する
共用の動画像符号化回路が用いられている。
As described above, H. Although the H.261 coding system and the MPEG coding system have been described, since both of these systems have many similar parts, a common moving picture coding circuit that implements both coding systems is used.

【0026】従来のMPEG,H.261両方式共用の
動き補償回路109Bをブロックで示す図9を参照する
と、この図に示す動き補償回路109Bはこれら両方式
の各々の動き補償回路109,109AとH.261方
式のループフィルタ111と、MPEG方式のフレーム
間予測選択回路115との機能を有する。この動き補償
回路109Bは、動きベクトルVの供給に応答してフレ
ームメモリ2のアドレスを生成するアドレス発生器1
と、フレームメモリ2と、参照メモリ4,5のアドレス
を発生するアドレス発生器3と、順方向および逆方向の
各々の参照メモリ4,5と、ループフィルタ16と、順
方向および逆方向の各々の半画素内挿により順方向およ
び逆方向の各々の予測フレームFRA,FRBをそれぞ
れ出力する半画素内挿フィルタ17,18と、加算器と
1/2乗算器とから成る平均化器19と、フレーム間予
測選択回路7と、セレクタ12とを備える。
Conventional MPEG, H.264. 261 which is a block diagram of the motion compensation circuit 109B for both of the two systems, the motion compensation circuit 109B shown in the figure is similar to the H.261 motion compensation circuits 109, 109A and H.264. It has the functions of the H.261 system loop filter 111 and the MPEG system inter-frame prediction selection circuit 115. The motion compensation circuit 109B is an address generator 1 that generates an address of the frame memory 2 in response to the supply of the motion vector V.
, A frame memory 2, an address generator 3 for generating addresses in the reference memories 4 and 5, reference memories 4 and 5 in forward and backward directions, a loop filter 16, and forward and backward directions, respectively. Half-pixel interpolation filters 17 and 18 for outputting the forward and backward prediction frames FRA and FRB, respectively, by half-pixel interpolation, and an averaging unit 19 including an adder and a 1/2 multiplier, An inter-frame prediction selection circuit 7 and a selector 12 are provided.

【0027】説明の便宜上、MPEG,H.261の各
々の方式対応の符号化動作をそれぞれMPEGモード,
H.261モードと呼び、図9を参照して従来の動き補
償回路109Bの動作について説明すると、まず、H.
261モードでは、アドレス発生器1には現マクロブロ
ックMBIの動きベクトルVが供給され、この動きベク
トルVと現ブロックFIの位置とから、予測ブロックD
Pの生成用の画素データアドレスADPを算出して出力
する。次に、フレームメモリ2からこの画素データを読
出し参照メモリ4に格納する。図10を参照すると、参
照メモリ4は左上の画素データa0から右下の画素デー
タa80までの各々のアドレスに対応する9×9画素の
容量を持ち、読込んだ8×8画素の領域は左上の8×8
画素の位置に格納する。
For convenience of explanation, MPEG, H.264 and H.264 are used. The H.261-based encoding operation is performed in the MPEG mode,
H. 261 mode, and the operation of the conventional motion compensation circuit 109B will be described with reference to FIG.
In the H.261 mode, the address generator 1 is supplied with the motion vector V of the current macroblock MBI, and the prediction block D is calculated from the motion vector V and the position of the current block FI.
The pixel data address ADP for generating P is calculated and output. Next, this pixel data is read from the frame memory 2 and stored in the reference memory 4. Referring to FIG. 10, the reference memory 4 has a capacity of 9 × 9 pixels corresponding to respective addresses from the upper left pixel data a0 to the lower right pixel data a80, and the read area of 8 × 8 pixels is the upper left. 8 × 8
Store at the pixel position.

【0028】次に、アドレス発生器3は、参照メモリ4
に格納された左上の画素データa0から水平方向に右下
の画素データa80までラスタ走査の順序でアドレスを
発生し、1画素データ分ずつループフィルタ6へ出力す
る。
Next, the address generator 3 includes the reference memory 4
Addresses are generated in the order of raster scanning from the pixel data a0 at the upper left stored in the pixel data a0 to the pixel data a80 at the lower right in the horizontal direction, and the addresses are output to the loop filter 6 for each pixel data.

【0029】ループフィルタ16の構成をブロックで示
す図11を参照すると、このループフィルタ16は、参
照フレームFR対応の画素データa0〜a80を9クロ
ック分遅延させる遅延回路61と、8クロック分遅延さ
せる遅延器62と、Dフリップフロップ(以下DFF)
から成る1クロック遅延器D161〜D166と、平均
化器M161〜M164と、セレクタS161,S16
2とを備え、図6に示したループフィルタを実現するた
め、まず、垂直方向のフィルタを生成し、続いて水平方
向のフィルタを生成する。
Referring to FIG. 11 which shows the configuration of the loop filter 16 in blocks, the loop filter 16 delays the pixel data a0 to a80 corresponding to the reference frame FR by 9 clocks and a delay circuit 61 by 8 clocks. Delay device 62 and D flip-flop (hereinafter DFF)
1-clock delay devices D161 to D166, averaging devices M161 to M164, selectors S161 and S16
In order to realize the loop filter shown in FIG. 6 including 2 and 1, first, a vertical filter is generated, and then a horizontal filter is generated.

【0030】図11および動作タイムチャートを示す図
12を参照して動作について説明すると、ここでは、画
素データA(a0〜a80)が1クロックあたり1画素
ずつ入力されるものとする。まず垂直方向のフィルタ処
理は、遅延回路61,D161,162とを通過した計
18クロック分遅延画素データADと入力画素データA
との平均を平均化器M161で求め、その平均値を遅延
器D162で1クロック遅延させた値BAと遅延器D1
61の出力AAとの平均CAを平均化器M162で求め
る。順方向の参照メモリ4は水平方向に9画素分の容量
を持っているので、平均化器M161の出力は任意位置
の入力画素データaiとこれから垂直方向に2画素上の
画素データの平均であり、平均化器M162の出力CA
はこの平均と入力画素から垂直方向に1画素上の画素デ
ータの平均、すなわち1/4,2/4,1/4の係数を
もつ垂直方向フィルタの出力となる。たとえば図12の
時刻t5では入力画素a18とその2画素上のa0を平
均し、時刻t6で(a0+a18)/2を遅延器D16
2に書き込む。そしてこれと遅延器D161の出力AA
対応のa9との平均(a0+2a9+a18)/4をC
Aとして時刻t7で遅延器D163に書き込む。セレク
タS161では、画素データAAがループフィルタの係
数d,eで示した領域(a0〜a8、a72〜a80)
に入っていれば、データAAを選択し、その他はデータ
CAを選択する。
The operation will be described with reference to FIG. 11 and FIG. 12 showing an operation time chart. Here, it is assumed that the pixel data A (a0 to a80) is input pixel by pixel for each clock. First, in the vertical filtering process, a total of 18 clocks of delayed pixel data AD and input pixel data A that have passed through the delay circuits 61, D161 and 162 are passed.
Is calculated by the averaging device M161, and the average value is delayed by one clock by the delay device D162 and the delay device D1.
The average CA with the output AA of 61 is obtained by the averaging device M162. Since the reference memory 4 in the forward direction has a capacity of 9 pixels in the horizontal direction, the output of the averaging device M161 is the average of the input pixel data ai at an arbitrary position and the pixel data two pixels above in the vertical direction. , The output CA of the averager M162
Is the average of the average and the pixel data one pixel above in the vertical direction from the input pixel, that is, the output of the vertical filter having the coefficients of 1/4, 2/4, and 1/4. For example, at time t5 in FIG. 12, the input pixel a18 and a0 on the two pixels are averaged, and at time t6, (a0 + a18) / 2 is added to the delay device D16.
Write to 2. And this and the output AA of the delay device D161
The average (a0 + 2a9 + a18) / 4 with the corresponding a9 is C
A is written in the delay device D163 at time t7. In the selector S161, the pixel data AA is a region (a0 to a8, a72 to a80) indicated by the coefficients d and e of the loop filter.
If yes, select data AA, otherwise select data CA.

【0031】次に水平方向の計算は、セレクタS161
からの垂直方向フィルタ出力を1クロック遅延させた遅
延器D163の出力DAと、出力DAをさらに遅延器D
164,D165によって2クロック遅延した垂直方向
フィルタ出力EAとの平均を平均化器M163によって
求め、それを遅延器D166で1クロック遅延させた値
FAと値EAとの平均を平均化器M164で求める。こ
こで1クロックにつき水平方向1画素分遅延するので、
平均化器M163の出力は垂直方向フィルタ出力DA
と、そこから水平方向に2画素分左の垂直方向フィルタ
出力の平均であり、平均化器M164の出力はこの平均
とこれらの間の位置となる垂直方向フィルタ出力の平
均、すなわち1/4,2/4,1/4の係数をもつ水平
方向フィルタの出力となる。たとえば時刻t9でDFF
162の出力EA(a0+2a9+a18)/4とDF
F160の出力DA(a2+2a11+a20)/4と
の平均(a0+2a9+a18+a2+2a11+a2
0)/8を算出し、それを時刻t10で遅延器D166
にデータFAとして書込む。そしてこれと遅延器D16
5の出力する(a1+2a10+a19)/4の平均
(a0+2a9+a18+2a1+4a10+2a19
+a0+2a9+a18+a2+2a11+a20)/
16を算出し、それをデータDPLとして出力する。セ
レクタS162は、遅延器D165の出力EAがループ
フィルタ係数d,fで示した領域(a0、a9、a1
8、…、a72、a8、a17、…、a80)にあたる
場合には、データEAを選択し、その他は平均化器M1
64の出力GAを選択する。このようにセレクタS16
1,S162を制御することによりループフィルタ16
を実現できる。
Next, the horizontal calculation is performed by the selector S161.
Output DA of the delay device D163 which is obtained by delaying the output of the vertical filter from 1 to 1 clock, and the output DA is further delayed by the delay device D
The average of the vertical filter output EA delayed by 2 clocks by 164 and D165 is obtained by the averaging device M163, and the average thereof is delayed by one clock by the delay device D166, and the average of the value FA and the value EA is obtained by the averaging device M164. . Here, since one pixel is delayed in the horizontal direction for one clock,
The output of the averaging device M163 is the vertical filter output DA.
And the average of the vertical filter outputs left by two pixels in the horizontal direction from that, and the output of the averager M164 is the average of the vertical filter outputs at a position between these averages, that is, 1/4, It becomes the output of the horizontal filter having the coefficients of 2/4 and 1/4. For example, at time t9, DFF
162 output EA (a0 + 2a9 + a18) / 4 and DF
FDA output DA (a2 + 2a11 + a20) / 4 and average (a0 + 2a9 + a18 + a2 + 2a11 + a2
0) / 8 is calculated, and the delay device D166 is calculated at time t10.
Write as data FA to. And this and delay device D16
5 output (a1 + 2a10 + a19) / 4 average (a0 + 2a9 + a18 + 2a1 + 4a10 + 2a19)
+ A0 + 2a9 + a18 + a2 + 2a11 + a20) /
16 is calculated and is output as data DPL. The selector S162 has a region (a0, a9, a1) in which the output EA of the delay device D165 is indicated by the loop filter coefficients d, f.
8, ..., A72, a8, a17, ..., A80), the data EA is selected, and the others are averager M1.
Select 64 output GAs. Thus, the selector S16
1, the loop filter 16 is controlled by controlling S162.
Can be realized.

【0032】セレクタ12は、このH.261モードの
場合にループフィルタ16の出力データDPLを選択し
てデータDPとして出力する。このデータDPLは、上
述のように、9×9画素からなり、この中の左上の8×
8画素(時刻t0〜t7,t9〜t16等)がH.26
1モードの予測ブロックとなる。
The selector 12 uses the H.264 standard. In the 261 mode, the output data DPL of the loop filter 16 is selected and output as the data DP. As described above, this data DPL is composed of 9 × 9 pixels, of which the upper left 8 ×
8 pixels (time t0 to t7, t9 to t16, etc.) 26
It becomes a prediction block in one mode.

【0033】次に、MPEGモードでは、動き補償回路
109Bはフレーム間予測方式の選択のために順方向、
逆方向、両方向予測符号化の各々の予測値FRA,FR
B,FRCを並列に出力する。ただしこれら3つの予測
値FRA,FRB,FRCが有効なのは、現フレームF
IがBフレームの場合で、Pフレームの場合には予測値
FRAのみ有効であり、Iフレームでは3つの予測値と
も無効となる。
Next, in the MPEG mode, the motion compensation circuit 109B operates in the forward direction to select the interframe prediction method.
Prediction values FRA and FR for backward and bidirectional predictive coding
B and FRC are output in parallel. However, these three predicted values FRA, FRB, and FRC are valid only in the current frame F.
When I is a B frame and when it is a P frame, only the predicted value FRA is valid, and in the I frame, all three predicted values are invalid.

【0034】現フレームFIがBフレームの場合には、
まず、半画素精度の動きベクトルに合わせて半画素内挿
するため、現マクロブロックMBIの順及び逆方向動き
ベクトルVA,VBの各々とと現ブロックの位置とか
ら、アドレス発生器1がアドレスADPを発生し、参照
メモリ4,5の各々にそれぞれ順方向及び逆方向予測ブ
ロックの各々の生成用の9×9画素の画素データをそれ
ぞれ格納する。動きベクトルVの水平方向成分の半画素
精度対応の最下位ビット(以下vx0)が0の場合に
は、最右端の画素は予測ブロック生成には不要となるが
制御の簡単化のため読込み、参照メモリ4あるいは5に
左上角から詰める。同様に動きベクトルVの垂直方向成
分の半画素精度対応の最下位ビット(以下vy0)が0
の場合にも最下位の画素は不要だが読込み左上角から詰
める。
If the current frame FI is a B frame,
First, since half-pixel interpolation is performed in accordance with a half-pixel precision motion vector, the address generator 1 determines the address ADP from the forward and backward motion vectors VA and VB of the current macroblock MBI and the position of the current block. And the pixel data of 9 × 9 pixels for generating each of the forward and backward prediction blocks are stored in the reference memories 4 and 5, respectively. When the least significant bit (hereinafter, vx0) corresponding to the half-pixel precision of the horizontal component of the motion vector V is 0, the rightmost pixel is not necessary for predictive block generation, but is read and referenced for simplification of control. Fill memory 4 or 5 from the upper left corner. Similarly, the least significant bit (hereinafter vy0) corresponding to the half pixel precision of the vertical direction component of the motion vector V is 0.
In case of, the lowest pixel is not necessary, but it is read from the upper left corner and packed.

【0035】次に、アドレス発生器3はラスタ走査の順
序でアドレスを発生し、同時に参照メモリ4,5の各々
からそれぞれ半画素内挿フィルタ17,18の各々に画
素データを出力する。半画素内挿フィルタ17,18の
各々から出力される順,逆方向予測値FRA,FRBの
各々と、及びこれら予測値FRA,FRBの平均化器1
9による平均値演算結果である両方向予測値FRCとを
フレーム間予測選択回路7に並列に供給する。フレーム
間予測選択回路7は、これら順方向,逆方向,両方向予
測値FRA,FRB,FRCの各々を、それぞれ現マク
ロブロックMBIの輝度信号Yと比較評価して最も類似
している予測値を選択し、セレクタ12に選択予測値S
FRを、端子T3にその場合の評価データEを出力す
る。セレクタ12はフレーム間予測選択回路7から供給
された予測値SFRを端子T2からデータDPとして出
力する。
Next, the address generator 3 generates addresses in raster scanning order, and at the same time outputs pixel data from the reference memories 4 and 5 to the half pixel interpolation filters 17 and 18, respectively. The forward and backward prediction values FRA and FRB output from the half-pixel interpolation filters 17 and 18, and the averaging unit 1 of these prediction values FRA and FRB
The bidirectional prediction value FRC, which is the average value calculation result of 9 is supplied to the inter-frame prediction selection circuit 7 in parallel. The inter-frame prediction selection circuit 7 compares and evaluates each of the forward, backward and bidirectional prediction values FRA, FRB and FRC with the luminance signal Y of the current macroblock MBI and selects the most similar prediction value. The selected predicted value S in the selector 12
The FR outputs the evaluation data E in that case to the terminal T3. The selector 12 outputs the prediction value SFR supplied from the inter-frame prediction selection circuit 7 from the terminal T2 as the data DP.

【0036】現フレームFIがPフレームの場合、参照
メモリ5には無効な画素データが格納されているが、フ
レーム間予測選択回路7で順方向値FRAを常に選択す
ることによりBフレームと同様に処理できる。また、I
フレームの場合、参照メモリ4,5の両方に無効な画素
データが格納されているが、前述したような後段の符号
化タイプ判定で常にフレーム内符号化と判定されるの
で、例えばフレーム間予測選択回路7が順方向値FRA
を選択すればやはり同様に処理できる。
When the current frame FI is a P frame, invalid pixel data is stored in the reference memory 5. However, by always selecting the forward value FRA by the inter-frame prediction / selection circuit 7, similar to the B frame. It can be processed. Also, I
In the case of a frame, invalid pixel data is stored in both the reference memories 4 and 5, but since it is always determined to be intra-frame coding by the coding type determination in the latter stage as described above, for example, inter-frame prediction selection Circuit 7 has forward value FRA
If is selected, the same processing can be performed.

【0037】次に、半画素内挿フィルタ17,18の構
成をブロックで示す図13を参照すると、この半画素内
挿フィルタ17,18は、9クロック遅延用の遅延回路
61と、平均化器M171,M172と、セレクタS1
71,S172と、1クロック遅延器D171〜D17
3とを備える。
Next, referring to FIG. 13 showing the configuration of the half pixel interpolation filters 17 and 18 in blocks, the half pixel interpolation filters 17 and 18 are composed of a delay circuit 61 for delaying 9 clocks and an averaging device. M171, M172 and selector S1
71, S172 and 1-clock delay devices D171 to D17
3 and 3.

【0038】図13,,図8,図10および動作タイム
チャートを示す図14を参照して動作について説明する
と、まず、垂直方向の半画素内挿フィルタに続いて水平
方向の半画素内挿フィルタをかける構成となっており、
図10に示す参照メモリ4の格納画素データA(a0〜
a80)が1画素データ/1クロックで入力されるもの
とする。
The operation will be described with reference to FIGS. 13, 8 and 10 and FIG. 14 showing an operation time chart. First, the vertical half-pixel interpolation filter is followed by the horizontal half-pixel interpolation filter. It is configured to apply
Pixel data A (a0-a0) stored in the reference memory 4 shown in FIG.
a80) is input with 1 pixel data / 1 clock.

【0039】まず垂直方向の半画素内挿は、遅延回路6
1の出力データABと入力画素Aの平均を平均化器M1
71で求め、図8に示すc3あるいはc4相当位置の画
素データを求める。セレクタS17は、画素データvy
0が1ならば平均化器M171の出力を選択し、0なら
ば遅延回路61の出力AB、すなわち入力画素Aから垂
直方向に1画素上の画素データをとる。時刻t0に入力
されたデータa9とその1画素上のデータa0との平均
(a0+a9)/2を算出し、時刻t1で、データvy
0が1ならば平均(a0+a9)/2を、0ならばa0
を遅延器D171に書込む。次に水平方向の半画素内挿
は、セレクタS171の入力を1クロック分遅延した遅
延器D171の出力ACと1クロック前、すなわち1画
素左の出力である遅延器D172の入力との平均を平均
化器M172で求め、図8のc1,c2あるいはc5相
当の水平方向の半画素内挿をする。そしてデータvx0
が1ならば平均化器M172の出力を、0ならば遅延器
D172の出力AEをそれぞれ選択する。時刻t2で、
データvx0が0の場合、出力データAEであるデータ
a0(vy0が0)あるいは(a0+a9)/2(vy
0が1)を選択し、データvx0が1の場合、平均化器
M172が出力する(a0+a1)/2(vy0が0)
あるいは(a0+a9+a1+a10)/4(vy0が
1)を選択し、時刻t3でそれをDFF210に書込み
出力FRとして出力する。
First, the half-pixel interpolation in the vertical direction is performed by the delay circuit 6
The average of the output data AB of 1 and the input pixel A is averaged by the averager M1.
The pixel data at the position corresponding to c3 or c4 shown in FIG. The selector S17 determines the pixel data vy
If 0 is 1, the output of the averager M171 is selected, and if 0, the output AB of the delay circuit 61, that is, pixel data one pixel above in the vertical direction from the input pixel A is taken. The average (a0 + a9) / 2 of the data a9 input at the time t0 and the data a0 on one pixel thereof is calculated, and the data vy is calculated at the time t1.
If 0 is 1, the average is (a0 + a9) / 2, and if 0 is a0
Is written in the delay device D171. Next, in half-pixel interpolation in the horizontal direction, the average of the output AC of the delay device D171 delayed by one clock from the input of the selector S171 and one clock before, that is, the input of the delay device D172 which is the output one pixel left is averaged. The half-pixel interpolation in the horizontal direction corresponding to c1, c2 or c5 in FIG. And the data vx0
If is 1, the output of the averager M172 is selected, and if 0, the output AE of the delay device D172 is selected. At time t2,
When the data vx0 is 0, the data a0 (vy0 is 0) or (a0 + a9) / 2 (vy) which is the output data AE.
If 0 is 1) and the data vx0 is 1, the averager M172 outputs (a0 + a1) / 2 (vy0 is 0).
Alternatively, (a0 + a9 + a1 + a10) / 4 (vy0 is 1) is selected and is output to the DFF 210 as the write output FR at time t3.

【0040】このようにセレクタを切り替えることによ
り半画素内挿が実現できる。なお出力予測値FRは9×
9画素からなるが、この中の左上の8×8画素(t3〜
t10,t12〜t19等)がMPEGモードの予測ブ
ロックとなる。
By switching the selector in this way, half-pixel interpolation can be realized. The predicted output value FR is 9 ×
It consists of 9 pixels, of which the upper left 8 × 8 pixels (from t3
(t10, t12 to t19, etc.) are the prediction blocks in the MPEG mode.

【0041】[0041]

【発明が解決しようとする課題】上述した従来の動画像
符号化用動き補償回路は、MPEG方式用の順方向,逆
方向の各々用の2個の半画素内挿フィルタとH.261
方式用のループフィルタとを独立に備えているため、M
PEGモードの場合は上記ループフィルタは使用され
ず、また、H.261モードの場合には2個の上記半画
素内挿フィルタは使用されないこととなり、これらの回
路を構成するDFFや平均化器やセレクタ等の回路素子
が有効使用されないという欠点があった。
The conventional motion compensation circuit for moving picture coding described above is provided with two half-pixel interpolation filters for the MPEG system, one for the forward direction and the other for the backward direction. 261
Since the loop filter for the system is provided independently, M
In the PEG mode, the loop filter is not used, and the H.264 standard is not used. In the case of the 261 mode, the above two half-pixel interpolation filters are not used, and there is a drawback that the circuit elements such as DFF, averaging device, selector, etc. which constitute these circuits are not effectively used.

【0042】本発明の目的は、従来と同等の機能を実現
するとともに回路規模を低減できる動画像符号化用動き
補償回路を提供することにある。
An object of the present invention is to provide a motion compensating circuit for moving picture coding, which can realize the same function as the conventional one and can reduce the circuit scale.

【0043】[0043]

【課題を解決するための手段】本発明の動画像符号化用
動き補償回路は、入力画像データとこの入力画像データ
の1フレーム前の過去画像データとを予め定めた垂直お
よび水平方向の探索範囲内で比較して動きベクトルを検
出し、この動きベクトルを切替制御信号により予め定め
た第1および第2の符号化方法にそれぞれ適合する第1
および第2のフィルタ処理を行い参照画像データを生成
する符号化フィルタ手段を備え、前記入力画像データと
前記参照画像データとの差分データを符号化する動画像
符号化装置の動き補償回路において、前記符号化フィル
タ手段が、入力データを予め定めた第1,第2の画素ク
ロック数対応の第1,第2の遅延時間分それぞれ遅延す
る第1,第2の遅延手段と、入力データを1画素クロッ
ク対応の遅延時間分遅延する複数の単位遅延手段と、2
つの入力データの平均を算出する複数の平均化手段と、
前記切替制御信号の供給に応答して前記第1および第2
のフィルタ処理にそれぞれ対応する予め定めた第1およ
び第2の組合せで前記第1,第2の遅延手段と前記複数
の単位遅延手段と前記複数の平均化手段とを接続する複
数の選択手段とを備えて構成されている。
SUMMARY OF THE INVENTION A motion compensation circuit for moving picture coding according to the present invention comprises a predetermined vertical and horizontal search range for input image data and past image data one frame before the input image data. To detect the motion vector and compare the motion vector with the first and second encoding methods predetermined by the switching control signal.
And a motion compensating circuit of a motion picture coding apparatus, comprising: coding filter means for performing second filter processing to generate reference image data, and coding difference data between the input image data and the reference image data. The encoding filter means delays the input data by the first and second delay times corresponding to the predetermined first and second pixel clock numbers, respectively, and the input data by one pixel. A plurality of unit delay means for delaying by a delay time corresponding to the clock;
A plurality of averaging means for calculating the average of one input data,
In response to the supply of the switching control signal, the first and second
A plurality of selecting means for connecting the first and second delay means, the plurality of unit delay means, and the plurality of averaging means in predetermined first and second combinations respectively corresponding to the filtering processing It is configured with.

【0044】[0044]

【実施例】次に、本発明の実施例を図9と共通の構成要
素には共通の参照文字/数字を付して同様にブロックで
示す図1を参照すると、この図に示す本実施例の動画像
符号化用動き補償回路109Cは、従来と共通のアドレ
ス発生器1と、フレームメモリ2と、アドレス発生器3
と、参照メモリ4,5と、フレーム間予測選択回路7と
に加えて、ループフィルタ16,半画素内挿フィルタ1
7,18,平均化回路19,およびセレクタ12の代り
にこれら各構成要素12,16〜19の機能を複合した
符号化フィルタ回路6を備える。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Next, referring to FIG. 1, which is a block diagram in which components common to those of FIG. 9 are designated by common reference characters / numerals, the embodiment of this invention shown in FIG. The moving picture coding motion compensation circuit 109C of FIG. 1 includes an address generator 1, a frame memory 2 and an address generator 3 which are common to the conventional ones.
In addition to the reference memories 4 and 5 and the inter-frame prediction selection circuit 7, the loop filter 16 and the half pixel interpolation filter 1
Instead of the averaging circuit 7 and the averaging circuit 19 and the selector 12, there is provided an encoding filter circuit 6 in which the functions of the respective components 12, 16 to 19 are combined.

【0045】符号化フィルタ回路6をブロックで示す図
2を参照すると、この符号化フィルタ回路6は、従来の
ループフィルタ16,半画素内挿フィルタ17,18の
各構成要素と同様な9クロック,8クロックの遅延回路
61,62と、セレクタS61〜S70と、DFFから
成る1クロック遅延器D61〜D67と、加算器と1/
2乗算器とから成る平均化器M61〜M65とを備え
る。
Referring to FIG. 2 which shows the coding filter circuit 6 in blocks, this coding filter circuit 6 has the same 9 clocks as the components of the conventional loop filter 16 and half-pixel interpolation filters 17 and 18. 8-clock delay circuits 61 and 62, selectors S61 to S70, 1-clock delay units D61 to D67 including DFF, an adder and 1 /
And two averaging devices M61 to M65.

【0046】次に、図1および図2を参照して本実施例
の動作について説明すると、符号化フィルタ回路6以外
の部分は上述の第1および第2の動画像部符号化回路と
共通であり、動作も共通であるので、本発明に関連する
もの以外は冗長とならないよう説明を省略する。本実施
例の動画像部符号化回路は、符号化フィルタ回路6の内
部のセレクタS61〜S70の切替えにより、このフィ
ルタ回路6がH.26DモードとMPEGモードの各々
の対応のループフィルタと半画素内挿フィルタに切替ら
れ、これによりH.261モードとMPEGモードの各
々の動作を切替る。
Next, the operation of the present embodiment will be described with reference to FIGS. 1 and 2. The parts other than the coding filter circuit 6 are common to the first and second moving picture part coding circuits described above. Since the operation is the same as that of the present invention, the description thereof will be omitted so that it is not redundant except for those related to the present invention. In the moving image encoding circuit of this embodiment, the filter circuit 6 is switched to the H.264 signal by switching the selectors S61 to S70 in the encoding filter circuit 6. The H.26D mode and the MPEG mode are switched to the corresponding loop filter and half-pixel interpolation filter, respectively. The operation of each of the 261 mode and the MPEG mode is switched.

【0047】まずH.261モードでは、符号化フィル
タ回路6のセレクタS61〜S68の各々は接点H側を
選択するとともに、端子T62,T61の各々に参照メ
モリ4,5の各々から出力される画素データA,無効画
素データをそれぞれ供給する。この結果、端子T65に
ループフィルタの出力である予測値DPLが出力され
る。このとき端子T63,T64の出力は無効である
が、後段のフレーム間予測選択回路7で常に端子T65
の出力を選択するため支障はない。
First, H. In the H.261 mode, each of the selectors S61 to S68 of the encoding filter circuit 6 selects the contact H side, and the pixel data A and the invalid pixel data output from the reference memories 4 and 5 to the terminals T62 and T61, respectively. Supply each. As a result, the predicted value DPL which is the output of the loop filter is output to the terminal T65. At this time, the outputs of the terminals T63 and T64 are invalid, but the inter-frame prediction selection circuit 7 in the subsequent stage always outputs the terminal T65.
There is no problem because the output of is selected.

【0048】図2を参照すると、これらセレクタS61
〜S68の各々は、それぞれ接点Hに対応する遅延回路
61,遅延器D67,遅延器D67,平均化器M62,
遅延器D63,遅延回路62,平均化器M64,遅延器
D61を選択している。またセレクタS69,S70の
各々は遅延器D66,D67の出力対応の接点Mをそれ
ぞれ選択せず他の2つの接点H1,H2のいずれか一方
を選択するよう制御する。以下この条件で、図11に示
したループフィルタ回路の動作を実現できることを説明
する。
Referring to FIG. 2, these selectors S61
To S68 are the delay circuit 61, the delay device D67, the delay device D67, the averaging device M62, which correspond to the contact H, respectively.
The delay device D63, the delay circuit 62, the averaging device M64, and the delay device D61 are selected. Further, each of the selectors S69 and S70 controls so as to select one of the other two contacts H1 and H2 without selecting the contact M corresponding to the output of the delay devices D66 and D67. It will be described below that the operation of the loop filter circuit shown in FIG. 11 can be realized under this condition.

【0049】図6を併せて参照して、まず垂直方向のフ
ィルタ係数f(1/4,2/4,1/4)の実現につい
て説明すると、上述のセレクタS61,S66〜S70
の選択結果、遅延回路61,遅延器D61,遅延回路6
2,平均化器M64,遅延器D65,平均化器M65,
およびセレクタS69から成る回路が、図11の遅延回
路61,遅延器D161、遅延回路62,平均化器M1
61,遅延器D162、平均化器M162,およびセレ
クタS161から成る回路と同一となる。したがってセ
レクタS69を図11のセレクタS161と同様に制御
すれば遅延器D67の出力に垂直フィルタ係数fが出力
される。
Referring to FIG. 6 together, first, the realization of the filter coefficient f (1/4, 2/4, 1/4) in the vertical direction will be described. The above-mentioned selectors S61 and S66 to S70 will be described.
Selection result, delay circuit 61, delay device D61, delay circuit 6
2, averaging device M64, delay device D65, averaging device M65,
The circuit including the selector S69 is a delay circuit 61, a delay device D161, a delay circuit 62, and an averaging device M1 shown in FIG.
The circuit is the same as the circuit including 61, delay device D162, averaging device M162, and selector S161. Therefore, if the selector S69 is controlled in the same manner as the selector S161 of FIG. 11, the vertical filter coefficient f is output to the output of the delay device D67.

【0050】次に水平方向のフィルタ係数eの実現につ
いて説明すると、上述のセレクタS62〜S65,S7
0の選択結果、遅延器D67,D62,D63,平均化
器M62,遅延器D64,平均化器M63,およびセレ
クタS63から成る回路が、図11の遅延器D163,
D164,D165、平均化器M163,遅延器D16
5,平均化器M164,およびセレクタS162から成
る回路と同一となる。したがってセレクタS70を図1
1のセレクタS162と同様に制御すれば水平フィルタ
係数eが出力される。したがって端子T65には図11
のループフィルタ16と同一の予測値DPLを出力でき
る。
Next, the realization of the filter coefficient e in the horizontal direction will be described. The above-mentioned selectors S62 to S65, S7.
As a result of selecting 0, the circuit including the delay devices D67, D62, D63, the averaging device M62, the delay device D64, the averaging device M63, and the selector S63 is the delay device D163 of FIG.
D164, D165, averaging device M163, delay device D16
5, the same circuit as the averager M164 and the selector S162. Therefore, the selector S70 is shown in FIG.
If the control is performed in the same manner as the selector S162 of 1, the horizontal filter coefficient e is output. Therefore, the terminal T65 is shown in FIG.
The same predicted value DPL as that of the loop filter 16 can be output.

【0051】次に、MPEGモードでは、符号化フィル
タ回路6のセレクタS61〜S68の各々は接点M側を
選択するとともに、端子T62,T61の各々に参照メ
モリ4,5の各々から出力される画素データA,Bをそ
れぞれ供給する。この結果、端子T63、T64、T6
5にそれぞれ逆方向,両方向,順方向の各々の予測値F
RA,FRC,FRCが並列に出力される。
Next, in the MPEG mode, each of the selectors S61 to S68 of the encoding filter circuit 6 selects the contact M side, and the pixels output from the reference memories 4 and 5 to the terminals T62 and T61, respectively. Data A and B are supplied respectively. As a result, terminals T63, T64, T6
Predicted values F in the backward, bidirectional, and forward directions respectively in 5
RA, FRC and FRC are output in parallel.

【0052】図2を再度参照すると、これらセレクタS
61,S63〜S68の各々は、それぞれ接点Mに対応
する端子T61,遅延器D62,遅延器D63,遅延器
D67,遅延回路61,遅延回路61,遅延器D66を
それぞれ選択している。また、セレクタS62,S69
の各々は遅延器D67,D61の出力対応の接点Hをそ
れぞれ選択せず、他の2つの接点のいずれか一方を選択
するよう制御する。以下この条件で、図9に示した2個
の半画素内挿フィルタ回路の動作を実現できることを説
明する。
Referring again to FIG. 2, these selectors S
61 and S63 to S68 respectively select the terminal T61, the delay device D62, the delay device D63, the delay device D67, the delay circuit 61, the delay circuit 61, and the delay device D66 corresponding to the contact M, respectively. In addition, selectors S62 and S69
Controls the contacts H corresponding to the outputs of the delay devices D67 and D61 so as to select either one of the other two contacts. It will be described below that the operation of the two half-pixel interpolation filter circuits shown in FIG. 9 can be realized under this condition.

【0053】まず順方向予測のための半画素内挿フィル
タ動作について説明すると、上述のセレクタS66の遅
延回路61の選択結果、遅延回路61,平均化器M6
4,セレクタS67から成る回路が、図13の遅延回路
61,平均化器M171,セレクタS171から成る回
路と同一となる。したがって従来と同様に、セレクタS
67を順方向動きベクトルvy0で制御すれば垂直方向
の半画素内挿が可能なことは明かである。同様にセレク
タS68の遅延器D66の選択およびセレクタS69の
遅延器D61の非選択結果、遅延器D65,D66,平
均化器M65,セレクタS69から成る回路は、図13
の遅延器D171,D172,平均化器M172,セレ
クタS172から成る回路と同一となる。したがって従
来と同様にセレクタS69を順方向動きベクトルvx0
で制御すれば水平方向の半画素内挿が可能になる。また
セレクタS70の遅延器D67の選択結果、端子T65
には順方向予測の半画素内挿フィルタの出力データFR
Aが出力される。
First, the half-pixel interpolation filter operation for forward prediction will be described. The selection result of the delay circuit 61 of the selector S66 described above, the delay circuit 61, and the averaging device M6.
4, the circuit including the selector S67 is the same as the circuit including the delay circuit 61, the averager M171, and the selector S171 in FIG. Therefore, as in the conventional case, the selector S
It is obvious that half-pixel interpolation in the vertical direction is possible if 67 is controlled by the forward motion vector vy0. Similarly, as a result of the selection of the delay device D66 of the selector S68 and the non-selection of the delay device D61 of the selector S69, the circuit including the delay devices D65, D66, the averaging device M65 and the selector S69 is shown in FIG.
The delay circuit D171, D172, the averaging device M172, and the selector S172 are the same circuits. Therefore, as in the conventional case, the selector S69 is set to the forward motion vector vx0.
If it is controlled by, half-pixel interpolation in the horizontal direction becomes possible. The selection result of the delay device D67 of the selector S70 indicates that the terminal T65
Is the output data FR of the forward prediction half-pixel interpolation filter.
A is output.

【0054】次に逆方向予測の半画素内挿フィルタ動作
について説明すると、セレクタS61の端子T61の選
択結果、遅延器D61とその後続の遅延回路62とが図
13の遅延回路61と同一動作をし、セレクタS62の
遅延器D67の非選択結果、平均化器M61,セレクタ
S62から成る回路が、図13の平均化器M171,セ
レクタS171から成る回路と同一となる。したがって
従来と同様に、セレクタS62を逆方向動きベクトルv
y0で制御すれば、垂直方向の半画素内挿が可能であ
る。同様にセレクタS63の遅延器D62の選択結果、
遅延器D62,D68,平均化器M62,セレクタS6
4から成る回路は図13の遅延器D171,D172,
平均化器M172,セレクタS172から成る回路と同
一となる。したがって従来と同様に、セレクタS64を
逆方向動きベクトルvx0で制御すれば水平方向の半画
素内挿が可能になる。したがって端子T63には逆方向
予測の半画素内挿フィルタの出力データFRBが出力さ
れる。
Next, the backward prediction half-pixel interpolation filter operation will be described. As a result of the selection at the terminal T61 of the selector S61, the delay device D61 and the subsequent delay circuit 62 perform the same operation as the delay circuit 61 of FIG. As a result of the non-selection of the delay device D67 of the selector S62, the circuit composed of the averaging device M61 and the selector S62 becomes the same as the circuit composed of the averaging device M171 and the selector S171 of FIG. Therefore, as in the conventional case, the selector S62 is set to the backward motion vector v
If controlled by y0, half-pixel interpolation in the vertical direction is possible. Similarly, the selection result of the delay device D62 of the selector S63,
Delay devices D62, D68, averaging device M62, selector S6
The circuit composed of 4 has delay circuits D171, D172 and
The circuit is the same as that of the averaging device M172 and the selector S172. Therefore, as in the conventional case, if the selector S64 is controlled by the backward motion vector vx0, half-pixel interpolation in the horizontal direction becomes possible. Therefore, the output data FRB of the backward prediction half-pixel interpolation filter is output to the terminal T63.

【0055】セレクタS65の遅延器D67の選択結
果、遅延器D67,D64の各々の出力順方向予測値F
RA,逆方向予測値FRBを平均化器M63により平均
し、端子T64に両方向予測値FRCが出力される。
As a result of the selection of the delay device D67 of the selector S65, the output forward prediction value F of each of the delay devices D67 and D64 is obtained.
RA and the backward prediction value FRB are averaged by the averaging device M63, and the bidirectional prediction value FRC is output to the terminal T64.

【0056】次に、本発明の第2の実施例の符号化フィ
ルタ回路6Aを図2と共通の構成要素には共通の参照文
字/数字を付して同様にブロックで示す図3を参照する
と、本実施例の符号化フィルタ回路6Aの第1の実施例
の符号化フィルタ回路6との相違点は、セレクタS6
2,S63,S65,S68〜S70の代りに、異なる
位置に挿入したセレクタS71〜S78を備え、H.2
61モードのループフィルタ用として、5個の平均化器
M61〜M65のうち、第1の実施例では平均化器M6
1を除く平均化器M62〜M65を使用するのに対し、
本実施例は平均化器M65以外のM61〜M64を用い
ることである。
Next, referring to FIG. 3, which is a block diagram of the coding filter circuit 6A of the second embodiment of the present invention, the same components as those in FIG. 2 are designated by common reference characters / numerals. The difference between the coding filter circuit 6A of this embodiment and the coding filter circuit 6 of the first embodiment is that the selector S6 is used.
2, S63, S65, S68 to S70 are replaced with selectors S71 to S78 inserted at different positions, and H.S. Two
Of the five averagers M61 to M65 for the 61-mode loop filter, the averager M6 is used in the first embodiment.
Whereas averagers M62 to M65 other than 1 are used,
This embodiment is to use M61 to M64 other than the averager M65.

【0057】H.261モードでは、符号化フィルタ回
路6AのセレクタS61,S64,S66,S67,S
71〜S78の各々は接点H側を選択する。
H. In the H.261 mode, the selectors S61, S64, S66, S67, S of the encoding filter circuit 6A are
Each of 71 to S78 selects the contact H side.

【0058】図3を再度参照すると、セレクタS61,
S64,S66,S67,S71,S72,S74,S
75,およびS77の各々は、遅延回路61,平均化器
M62,遅延回路62,平均化器M64,遅延器D6
1,D65,D66,D62,およびD63をそれぞれ
選択する。また、セレクタS73は遅延器D61または
平均化器M61のどちらか一方を、セレクタS78は遅
延器D63または平均化器M61のどちらか一方を選択
するよう制御する。
Referring again to FIG. 3, the selector S61,
S64, S66, S67, S71, S72, S74, S
75 and S77 respectively include a delay circuit 61, an averaging device M62, a delay circuit 62, an averaging device M64, and a delay device D6.
1, D65, D66, D62, and D63 are respectively selected. Further, the selector S73 controls so as to select either the delay device D61 or the averaging device M61, and the selector S78 controls so as to select either the delay device D63 or the averaging device M61.

【0059】この結果、遅延回路61,遅延器D61,
遅延回路62,平均化器M64,遅延器D65,平均化
器M61,セレクタS73から成る垂直フィルタ回路
が、図11の遅延回路61,遅延器D161,遅延回路
62,平均化器M161,遅延器D162,平均化器M
162,セレクタS161から成る回路と同一となる。
また、遅延器D62,D66,平均化器M62,遅延器
D64,平均化器M63,セレクタS78から成る水平
フィルタ回路が、図11の遅延器D163,D164,
D165,平均化器M163,遅延器D165,平均化
器M164,セレクタS162から成る回路と同一とな
る。
As a result, the delay circuit 61, the delay device D61,
The vertical filter circuit including the delay circuit 62, the averaging device M64, the delay device D65, the averaging device M61, and the selector S73 is the delay circuit 61, the delay device D161, the delay circuit 62, the averaging device M161, and the delay device D162 of FIG. , Averager M
The circuit is the same as the circuit including 162 and the selector S161.
Further, the horizontal filter circuit including the delay devices D62 and D66, the averaging device M62, the delay device D64, the averaging device M63, and the selector S78 is the delay devices D163, D164, and D164 of FIG.
The circuit is the same as the circuit including D165, averaging device M163, delay device D165, averaging device M164, and selector S162.

【0060】したがって端子T65には図11のループ
フィルタと同一予測値DPLを出力できる。
Therefore, the same predicted value DPL as that of the loop filter of FIG. 11 can be output to the terminal T65.

【0061】MPEGモードでは、符号化フィルタ回路
6AのセレクタS61,S64,S66,S67,S7
1〜S78の各々は接点M側を選択する。
In the MPEG mode, the selectors S61, S64, S66, S67, S7 of the coding filter circuit 6A are used.
Each of 1 to S78 selects the contact M side.

【0062】図3を再度参照すると、これらセレクタS
61,S66,S71,S72,S74,S75,S7
7,S78の各々はそれぞれ接点Mに対応する端子T6
1,遅延回路61,遅延回路62,端子T61,遅延器
D62,D65,D67,D68を選択する。また、セ
レクタS73は遅延器D61を非選択するよう制御す
る。
Referring again to FIG. 3, these selectors S
61, S66, S71, S72, S74, S75, S7
7 and S78 are terminals T6 corresponding to the contacts M, respectively.
1, delay circuit 61, delay circuit 62, terminal T61, delay devices D62, D65, D67, D68 are selected. Further, the selector S73 controls so that the delay device D61 is not selected.

【0063】この結果、遅延回路61,平均化器M6
4,セレクタS67から成る回路が、図13の遅延回路
61,平均化器M171,セレクタS171から成る回
路と同一となる。同様に、遅延器D65,D66,平均
化器M65,セレクタS76から成る回路が、図13の
遅延器D171,D172,平均化器M172,セレク
タS172から成る回路と同一となる。これにより、第
1の実施例と同様に、順方向予測のための垂直・水平方
向の半画素内挿動作が可能となる。
As a result, the delay circuit 61 and the averaging device M6
4, the circuit including the selector S67 is the same as the circuit including the delay circuit 61, the averager M171, and the selector S171 in FIG. Similarly, the circuit including the delay devices D65 and D66, the averaging device M65, and the selector S76 is the same as the circuit including the delay devices D171, D172, the averaging device M172, and the selector S172 in FIG. As a result, similarly to the first embodiment, the vertical / horizontal half-pixel interpolation operation for forward prediction becomes possible.

【0064】また、第1の実施例と同様にセレクタS6
1の端子T61の選択結果、遅延器D61とその後続の
遅延回路62とが図13の遅延回路61と同一動作を
し、セレクタS72,S71の各々が端子T61,遅延
回路62をそれぞれ選択し、セレクタS73が遅延回路
62または平均化器M61のいずれか一方を選択してい
るため、これら平均化器M61,セレクタS73から成
る回路が、図13の平均化器M171,セレクタS17
1から成る回路と同一とる。同様にセレクタS74が遅
延器D62を選択しているため、遅延器D62,D6
3,平均化器M62,セレクタS64から成る回路は、
図13の遅延器D171,D172,平均化器M17
2,セレクタS172から成る回路と同一となる。これ
により、第1の実施例と同様に、逆方向予測のための垂
直・水平方向の半画素内挿動作が可能となる。
Further, similarly to the first embodiment, the selector S6
As a result of the selection of the terminal T61 of No. 1, the delay device D61 and the delay circuit 62 subsequent thereto operate the same as the delay circuit 61 of FIG. 13, and the selectors S72 and S71 select the terminal T61 and the delay circuit 62, respectively. Since the selector S73 selects either the delay circuit 62 or the averaging device M61, the circuit including the averaging device M61 and the selector S73 is the averaging device M171 and the selector S17 shown in FIG.
It is the same as the circuit consisting of 1. Similarly, since the selector S74 selects the delay device D62, the delay devices D62 and D6 are selected.
3, the circuit composed of the averager M62 and the selector S64 is
Delay devices D171, D172 and averaging device M17 of FIG.
2, the circuit is the same as the circuit including the selector S172. As a result, similarly to the first embodiment, the vertical / horizontal half-pixel interpolation operation for backward prediction can be performed.

【0065】またセレクタS77の遅延器D67の選択
結果、遅延器D67,D64の各々の出力データである
順方向,逆方向の予測値FRA,FRBを平均化器M6
3により平均し、両方向予測値FRCを生成し端子T6
4に出力する。
Further, as a result of the selection of the delay device D67 of the selector S77, the forward and backward prediction values FRA and FRB which are output data of the delay devices D67 and D64 are averaged by the averaging device M6.
3 and average to generate the bidirectional predicted value FRC, and the terminal T6
4 is output.

【0066】図9に示す従来の動き補償回路では、9ク
ロック,8クロック遅延回路がそれぞれ遅延器9個,8
個から成るとしてループフィルタと2個の半画素内挿フ
ィルタとは遅延器47個、平均化器9個、セレクタ6個
を含むのに対し、第1の実施例では、遅延器24個、平
均化器5個、セレクタ10個となる。また、第2の実施
例では第1の実施例に対しセレクタのみ12個に増加す
る。したがって、従来の回路に比較し、回路規模が大き
い遅延器および平均化器の数が半減し、回路規模が小さ
いセレクタの数が約2倍となっている。
In the conventional motion compensation circuit shown in FIG. 9, the 9-clock and 8-clock delay circuits are 9 delay units and 8 delay units, respectively.
While the loop filter and the two half-pixel interpolation filters each include 47 delay units, 9 averaging units, and 6 selectors, in the first embodiment, 24 delay units, averaging units are included. There are 5 rectifiers and 10 selectors. In the second embodiment, only 12 selectors are added to the first embodiment. Therefore, the number of delay circuits and averaging circuits having a large circuit size is reduced by half, and the number of selectors having a small circuit size is approximately doubled as compared with the conventional circuit.

【0067】[0067]

【発明の効果】以上説明したように、本発明の動画像符
号化用動き補償回路は、符号化フィルタ手段が、複数の
単位遅延手段と、複数の平均化手段と、第1および第2
のフィルタ処理にそれぞれ対応する第1および第2の組
合せで上記複数の単位遅延手段と平均化手段とを接続す
る複数の選択手段とを備えることにより、これら回路規
模が大きい遅延手段および平均化手段を上記第1,第2
のフィルタ処理に共用できるので、従来の回路に比較し
てこれら遅延手段および平均化手段の数を半減でき、全
体の回路規模を大幅に縮小できるという効果がある。
As described above, in the motion compensation circuit for moving picture coding according to the present invention, the coding filter means includes a plurality of unit delay means, a plurality of averaging means, and the first and second means.
By providing the plurality of unit delay means and the plurality of selecting means for connecting the plurality of unit delay means and the averaging means in the first and second combinations respectively corresponding to the filter processing of 1, the delay means and the averaging means having a large circuit scale are provided. The first and second
Since it can be commonly used for the filter processing of 1, the number of the delay means and the averaging means can be reduced by half as compared with the conventional circuit, and the overall circuit scale can be significantly reduced.

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

【図1】本発明の動画像符号化用動き補償回路の第1の
実施例を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a motion compensation circuit for video encoding according to the present invention.

【図2】本実施例の動画像符号化用動き補償回路を構成
する符号化フィルタ回路のブロック図である。
FIG. 2 is a block diagram of a coding filter circuit which constitutes a motion compensation circuit for moving picture coding according to the present embodiment.

【図3】本発明の第2の実施例の符号化フィルタ回路の
ブロック図である。
FIG. 3 is a block diagram of an encoding filter circuit according to a second embodiment of the present invention.

【図4】第1の動画像符号化回路の一例を示すブロック
図である。
FIG. 4 is a block diagram showing an example of a first moving image encoding circuit.

【図5】図4に示す動きベクトル検出回路の動作概念の
説明図である。
5 is an explanatory diagram of an operation concept of the motion vector detection circuit shown in FIG.

【図6】図4に示すループフィルタの動作概念の説明図
である。
FIG. 6 is an explanatory diagram of an operation concept of the loop filter shown in FIG.

【図7】第2の動画像符号化回路の一例を示すブロック
図である。
FIG. 7 is a block diagram showing an example of a second moving image coding circuit.

【図8】図7に示す半画素内挿フィルタの概念の説明図
である。
8 is an explanatory view of the concept of the half-pixel interpolation filter shown in FIG.

【図9】従来の動画像符号化用動き補償回路の一例を示
すブロック図である。
FIG. 9 is a block diagram showing an example of a conventional motion compensation circuit for video encoding.

【図10】図9に示す参照メモリの読出順序の概念の説
明図である。
10 is an explanatory diagram of a concept of a reading order of the reference memory shown in FIG.

【図11】図9に示すループフィルタ回路のブロック図
である。
11 is a block diagram of the loop filter circuit shown in FIG. 9. FIG.

【図12】ループフィルタ回路の動作を示すタイムチャ
ートである。
FIG. 12 is a time chart showing the operation of the loop filter circuit.

【図13】図9に示す半画素内挿フィルタ回路のブロッ
ク図である。
13 is a block diagram of the half-pixel interpolation filter circuit shown in FIG.

【図14】半画素内挿フィルタ回路の動作を示すタイム
チャートである。
FIG. 14 is a time chart showing the operation of the half-pixel interpolation filter circuit.

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

1,3 アドレス発生器 2,108 フレームメモリ 4,5 参照メモリ 6,6A 符号化フィルタ回路 7,115 フレーム間予測選択回路 12,113,S61〜S78,S161,S162,
S171,S172,セレクタ 16,111 ループフィルタ 17,18 半画素内挿フィルタ 19,M61〜M65,M161〜M164,M17
1,M172 平均化器 61,62 遅延回路 101,107 加算器 102 DCT 103 量子化回路 104 ハフマン符号化回路 105 逆量子化回路 106 IDCT 109,109A,109B,109C 動き補償回
路 110,110A 動きベクトル検出回路 112 符号化タイプ判定回路 D61〜D67,D161〜D166,D171〜D1
73 遅延器
1,3 Address generator 2,108 Frame memory 4,5 Reference memory 6,6A Encoding filter circuit 7,115 Inter-frame prediction selection circuit 12,113, S61 to S78, S161, S162,
S171, S172, selector 16,111 loop filter 17,18 half-pixel interpolation filter 19, M61 to M65, M161 to M164, M17
1, M172 Averager 61, 62 Delay circuit 101, 107 Adder 102 DCT 103 Quantization circuit 104 Huffman coding circuit 105 Inverse quantization circuit 106 IDCT 109, 109A, 109B, 109C Motion compensation circuit 110, 110A Motion vector detection Circuit 112 Encoding type determination circuit D61 to D67, D161 to D166, D171 to D1
73 Delay device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力画像データとこの入力画像データの
1フレーム前の過去画像データとを予め定めた垂直およ
び水平方向の探索範囲内で比較して動きベクトルを検出
し、この動きベクトルを切替制御信号により予め定めた
第1および第2の符号化方法にそれぞれ適合する第1お
よび第2のフィルタ処理を行い参照画像データを生成す
る符号化フィルタ手段を備え、前記入力画像データと前
記参照画像データとの差分データを符号化する動画像符
号化装置の動き補償回路において、 前記符号化フィルタ手段が、 入力データを予め定めた第1,第2の画素クロック数対
応の第1,第2の遅延時間分それぞれ遅延する第1,第
2の遅延手段と、 入力データを1画素クロック対応の遅延時間分遅延する
複数の単位遅延手段と、 2つの入力データの平均を算出する複数の平均化手段
と、 前記切替制御信号の供給に応答して前記第1および第2
のフィルタ処理にそれぞれ対応する予め定めた第1およ
び第2の組合せで前記第1,第2の遅延手段と前記複数
の単位遅延手段と前記複数の平均化手段とを接続する複
数の選択手段とを備えることを特徴とする動画像符号化
用動き補償回路。
1. A motion vector is detected by comparing input image data with past image data one frame before the input image data within a predetermined vertical and horizontal search range, and this motion vector is switched and controlled. The input image data and the reference image data are provided with an encoding filter means for generating reference image data by performing first and second filtering processes respectively adapted to first and second encoding methods predetermined by a signal. In the motion compensation circuit of the moving picture coding apparatus for coding the difference data between the first and second pixel clock numbers, the coding filter means corresponds to predetermined first and second pixel clock numbers. First and second delay means for delaying each by a time, a plurality of unit delay means for delaying input data by a delay time corresponding to one pixel clock, and two input data A plurality of averaging means for calculating the average, the switching control of the first in response to the supply of the signal and the second
A plurality of selecting means for connecting the first and second delay means, the plurality of unit delay means, and the plurality of averaging means in predetermined first and second combinations respectively corresponding to the filtering processing A motion compensation circuit for video coding, comprising:
【請求項2】 前記第1のフィルタ処理が、 入力データを9画素クロック分遅延する前記第1の遅延
手段とこの第1の遅延手段の入出力を平均する第1の平
均化手段と、前記第1の遅延手段の出力と前記第1の平
均化手段の出力とのいずれか一方を選択する第1の選択
手段と、前記第1の選択手段の出力を1画素クロック分
遅延し第1の処理出力を発生する第1の単位遅延手段と
を含む第1のフィルタと、 前記第1の処理出力を遅延する第2の単位遅延手段とこ
の第2の単位遅延手段の入出力を平均する第2の平均化
手段と、前記第2の単位遅延手段の出力と前記第2の平
均化手段の出力とのいずれか一方を選択する第2の選択
手段と、前記第2の選択手段の出力を遅延して前記第1
のフィルタ処理の出力データを発生する第3の単位遅延
手段とを含む第2のフィルタとを備え、それぞれ水平方
向と垂直方向の各々9個の画素からなるブロックのデー
タを1画素分ずつ入力し前記第1,第2の選択手段の制
御に応答して前記ブロックの半画素内挿処理を行う第1
および第2の半画素内挿フィルタを形成し、 前記第2のフィルタ処理が、 前記第1の遅延手段と、この第1の遅延手段の出力を遅
延する第4の単位遅延手段と、この第4の単位遅延手段
の出力を8画素クロック分遅延する前記第2の遅延手段
と、この第2の遅延手段の出力と前記第1の遅延手段の
入力とを平均する第3の平均化手段と、この第3の平均
化手段の出力を遅延する第5の単位遅延手段と、この第
5の単位遅延手段の出力と前記第4の単位遅延手段の出
力とを平均する第4の平均化手段と、この第4の平均化
手段の出力と前記第4の単位遅延手段の出力とのいずれ
か一方を選択する第3の選択手段と、この第3の選択手
段の出力を遅延し第2の処理出力を発生する第5の単位
遅延手段とを含む第3のフィルタと、 前記第2の処理出力を遅延する第6,第7の単位遅延手
段と、前記第2の処理出力と前記第7の単位遅延手段の
出力とを平均する第5の平均化手段と、前記第5の平均
化手段の出力を遅延する第8の単位遅延手段と、この第
8の単位遅延手段の出力と前記第7の単位遅延手段の出
力とのいずれか一方を選択して第2のフィルタ処理出力
を出力する第4の選択手段とを備え、 前記ブロックのうちのそれぞれ水平方向と垂直方向の各
々8個の画素からなるサブブロックに対し予め定めた垂
直・水平フィルタ係数の重み付けを行うループフィルタ
を形成することを特徴とする請求項1記載の動画像符号
化用動き補償回路。
2. The first filter processing comprises: a first delay means for delaying input data by 9 pixel clocks; a first averaging means for averaging the input and output of the first delay means; A first selection unit that selects one of the output of the first delay unit and the output of the first averaging unit, and the output of the first selection unit is delayed by one pixel clock, and the first output unit is delayed. A first filter including a first unit delay means for generating a processed output; a second unit delay means for delaying the first processed output; and a second unit for averaging the inputs and outputs of the second unit delay means. 2 averaging means, a second selecting means for selecting one of the output of the second unit delay means and the output of the second averaging means, and the output of the second selecting means. Delay the first
And a second filter including a third unit delay means for generating output data of the filter processing of (1), and data of a block consisting of nine pixels in each of the horizontal direction and the vertical direction is input for each pixel. A first half-pixel interpolation process for the block in response to the control of the first and second selecting means;
And a second half-pixel interpolation filter, wherein the second filtering process includes the first delay unit, a fourth unit delay unit that delays an output of the first delay unit, and a second unit delay unit. The second delay means for delaying the output of the unit delay means of 4 by 8 pixel clocks, and the third averaging means for averaging the output of the second delay means and the input of the first delay means. A fifth unit delay means for delaying the output of the third averaging means, and a fourth averaging means for averaging the output of the fifth unit delay means and the output of the fourth unit delay means. And a third selecting means for selecting one of the output of the fourth averaging means and the output of the fourth unit delay means, and the second selecting means for delaying the output of the third selecting means. A third filter including fifth unit delay means for generating a processing output; and the second processing The sixth and seventh unit delay means for delaying the force, the fifth averaging means for averaging the second processing output and the output of the seventh unit delay means, and the fifth averaging means. Unit delay means for delaying the output of the second unit delay means, and any one of the output of the eighth unit delay means and the output of the seventh unit delay means is selected to output the second filter processing output. Forming a loop filter for weighting predetermined vertical / horizontal filter coefficients to a sub-block consisting of 8 pixels in each of the horizontal and vertical directions of the block The motion compensation circuit for moving picture coding according to claim 1.
JP3217695A 1995-02-21 1995-02-21 Motion compensation circuit for moving image encoding Pending JPH08228353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3217695A JPH08228353A (en) 1995-02-21 1995-02-21 Motion compensation circuit for moving image encoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3217695A JPH08228353A (en) 1995-02-21 1995-02-21 Motion compensation circuit for moving image encoding

Publications (1)

Publication Number Publication Date
JPH08228353A true JPH08228353A (en) 1996-09-03

Family

ID=12351636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3217695A Pending JPH08228353A (en) 1995-02-21 1995-02-21 Motion compensation circuit for moving image encoding

Country Status (1)

Country Link
JP (1) JPH08228353A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000035202A1 (en) * 1998-12-10 2000-06-15 Matsushita Electric Industrial Co., Ltd. Filter arithmetic device
KR100655837B1 (en) * 2000-05-11 2006-12-12 소니 가부시끼 가이샤 Data processing apparatus, data processing method, and recording medium therefor
JP2011061320A (en) * 2009-09-07 2011-03-24 Sony Corp Motion compensation apparatus, encoder, decoder, and processing method and program therefor
US8594443B2 (en) 2006-11-08 2013-11-26 Samsung Electronics Co., Ltd. Method and apparatus for motion compensation supporting multicodec
US9172977B2 (en) 2005-10-04 2015-10-27 Samsung Electronics Co., Ltd. Filtering apparatus, method, and medium for multi-format codec

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0879758A (en) * 1994-08-31 1996-03-22 Fujitsu Ltd Movement compensation prediction device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0879758A (en) * 1994-08-31 1996-03-22 Fujitsu Ltd Movement compensation prediction device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000035202A1 (en) * 1998-12-10 2000-06-15 Matsushita Electric Industrial Co., Ltd. Filter arithmetic device
EP1056295A1 (en) * 1998-12-10 2000-11-29 Matsushita Electric Industrial Co., Ltd. Filter arithmetic device
EP1056295A4 (en) * 1998-12-10 2003-01-02 Matsushita Electric Ind Co Ltd Filter arithmetic device
US6668087B1 (en) 1998-12-10 2003-12-23 Matsushita Electric Industrial Co., Ltd. Filter arithmetic device
KR100655837B1 (en) * 2000-05-11 2006-12-12 소니 가부시끼 가이샤 Data processing apparatus, data processing method, and recording medium therefor
US9172977B2 (en) 2005-10-04 2015-10-27 Samsung Electronics Co., Ltd. Filtering apparatus, method, and medium for multi-format codec
US8594443B2 (en) 2006-11-08 2013-11-26 Samsung Electronics Co., Ltd. Method and apparatus for motion compensation supporting multicodec
JP2011061320A (en) * 2009-09-07 2011-03-24 Sony Corp Motion compensation apparatus, encoder, decoder, and processing method and program therefor

Similar Documents

Publication Publication Date Title
US5438374A (en) System and method for filtering video signals
US4999705A (en) Three dimensional motion compensated video coding
JP4092734B2 (en) Digital signal conversion method and digital signal conversion apparatus
CA2130779C (en) Method and apparatus for improving motion compensation in digital video coding
USRE35158E (en) Apparatus for adaptive inter-frame predictive encoding of video signal
EP1098528B1 (en) Device for predicting and decoding image
US9332270B2 (en) Apparatus capable of performing both block-matching motion compensation and global motion compensation and method thereof
US5453799A (en) Unified motion estimation architecture
JP3737586B2 (en) Pre-processing device for digital video data stream
EP0637894B1 (en) Apparatus and method for detecting motion vectors to half-pixel accuracy
US5532747A (en) Method for effectuating half-pixel motion compensation in decoding an image signal
US5963222A (en) Multi-format reduced memory MPEG decoder with hybrid memory address generation
JP2001292451A (en) Moving picture signal compression device and method
JPH104550A (en) Mpeg-2 decoding method and mpeg-2 video decoder
WO2003043344A2 (en) Reduced-complexity video decoding using larger pixel-grid motion compensation
KR20010043396A (en) Scaling compressed images
JP3667105B2 (en) Motion vector detection method and apparatus for implementing the method
US8594192B2 (en) Image processing apparatus
JPH08228353A (en) Motion compensation circuit for moving image encoding
US6108381A (en) Tree search vector quantization for compressing digital video data to be stored in buffers and MPEG decoder and SQTV processor with reduced memory requisites
JPH09149414A (en) Picture signal decoder
JPH0730903A (en) Integrated memory circuit for picture processing
JPH09322175A (en) Method and device for decoding time varying image
Licciardo et al. An H. 264 encoder for real time video processing designed for spear customizable system-on-chip family
US6038345A (en) Apparatus for encoding/decoding image data

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980526