JPH0879758A - Movement compensation prediction device - Google Patents

Movement compensation prediction device

Info

Publication number
JPH0879758A
JPH0879758A JP6207493A JP20749394A JPH0879758A JP H0879758 A JPH0879758 A JP H0879758A JP 6207493 A JP6207493 A JP 6207493A JP 20749394 A JP20749394 A JP 20749394A JP H0879758 A JPH0879758 A JP H0879758A
Authority
JP
Japan
Prior art keywords
pixel
data
processing
image data
output
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.)
Withdrawn
Application number
JP6207493A
Other languages
Japanese (ja)
Inventor
Yasuhiro Sakawaki
康弘 坂脇
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP6207493A priority Critical patent/JPH0879758A/en
Publication of JPH0879758A publication Critical patent/JPH0879758A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE: To provide a movement compensation prediction circuit capable of processings both ISO MPEG1 and ITU-T recommendation H.261 while avoiding the increase of delay and addition elements by making a hardware common as much as possible. CONSTITUTION: A front direction and horizontal, direction processing circuit 2 is provided with both functions of a front direction and horizontal direction half picture element processing circuit in the MPEG1 and a horizontal direction processing circuit in the H.261 and a front direction and vertical direction processing circuit 3 is provided with both functions of a front direction and vertical direction half picture element processing circuit in the MPEG1 and a vertical direction processing circuit in the H.261. Thus, this device is in conformity with both MPEG1 and H.261, and the increase of a circuit scale is suppressed by sharing the circuit.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、動き補償予測器に係
り、特にディジタル動画像を復号するデコーダにおける
動き補償予測器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion compensation predictor, and more particularly to a motion compensation predictor in a decoder for decoding digital moving images.

【0002】一般に動画像の符号化の国際標準として、
ISO(国際標準化機構)及びIEC(国際電気標準会
議)の合同規格であるMPEG1(Moving Picture Exp
ertsGroup phase 1;ISO/IEC11172)と、ITU−T勧
告H.261(以下、H.261とする。)とがよく知
られている。
Generally, as an international standard for encoding moving images,
MPEG1 (Moving Picture Exp), which is a joint standard of ISO (International Organization for Standardization) and IEC (International Electrotechnical Commission)
ertsGroup phase 1; ISO / IEC11172) and ITU-T Recommendation H.264. 261 (hereinafter referred to as H.261) is well known.

【0003】近年、テレビ電話、テレビ会議、ディジタ
ルビデオ等をはじめとする分野で、ディジタル動画像情
報の復元が必要とされており、この様な分野ではMPE
G1及びH.261の双方に準拠し、かつ、回路規模を
小さく抑えた動き補償予測器が望まれている。
In recent years, it has been necessary to restore digital moving image information in fields such as videophones, videoconferences, and digital video, and MPE is used in such fields.
G1 and H.G. There is a demand for a motion compensation predictor that conforms to both H.261 and has a small circuit size.

【0004】[0004]

【従来の技術】[Prior art]

a)MPEG1について MPEG1は、蓄積型ディジタル記憶媒体用のビデオ高
能率符号化方式について規定している。
a) About MPEG1 MPEG1 defines a video high-efficiency encoding system for storage-type digital storage media.

【0005】主な用途としては、CD−ROM、DA
T、ハードディスク等のデータ転送速度が約1.5Mb
ps以下の蓄積型ディジタル記憶媒体が、デコーダに直
接あるいは通信回線等の伝送媒体を介して接続されてい
る環境を想定している。
Main applications are CD-ROM, DA
Data transfer rate of T, hard disk, etc. is about 1.5Mb
It is assumed that an accumulation type digital storage medium of ps or less is connected to the decoder directly or via a transmission medium such as a communication line.

【0006】図28に従来のMPEG1における動画像
復元装置の概要構成ブロック図を示す。MPEG1にお
ける動画像復元装置100は、CD(Compact Disk)、
MO(Magneto Optical Disk)等の光ディスクや、磁気
テープ等の記録媒体(蓄積装置)からビデオ(画像)デ
ータ、オーディオ(音声)データ、さらにそれらの付加
データ(テキストデータ等)の圧縮データを再生する蓄
積装置101と、圧縮データを、ビデオ圧縮データとオ
ーディオ圧縮データと付加圧縮データとに分離するシス
テム多重化復号装置102と、分離されたビデオ圧縮デ
ータを復号し、動画像であるビデオデータにする動画像
情報復号装置103と、同期データの付加等の後処理を
行う後処理装置104と、後処理の行われた画像データ
をディジタル/アナログ(D/A)変換して出力するD
/A変換装置105と、を備えて構成されている。
FIG. 28 shows a schematic block diagram of a conventional moving picture restoring apparatus in MPEG1. The moving image restoration apparatus 100 in MPEG1 is a CD (Compact Disk),
Video (image) data, audio (voice) data, and compressed data such as additional data (text data, etc.) from an optical disk such as MO (Magneto Optical Disk) or a recording medium (storage device) such as a magnetic tape are reproduced. A storage device 101, a system multiplexing decoding device 102 that separates compressed data into video compressed data, audio compressed data, and additional compressed data, and decodes the separated video compressed data into video data that is a moving image. A moving image information decoding apparatus 103, a post-processing apparatus 104 that performs post-processing such as addition of synchronization data, and a D that outputs digital-analog (D / A) -converted post-processed image data.
/ A converter 105, and is comprised.

【0007】図29に示すように、動画像情報復号装置
103は、大別すると、ビデオ圧縮データを、動きベク
トルデータ、量子化の際に用いた量子化テーブルを特定
するための量子化テーブルデータ符号化に用いたモード
を特定するための符号化モードデータ等と、圧縮実画素
データと、を分離するビデオ多重化復号装置106と、
圧縮実画素データをビデオデータに復号するビデオソー
ス復号装置107とを備えて構成されている。
As shown in FIG. 29, the moving picture information decoding apparatus 103 is roughly classified into motion vector data, quantization table data for specifying a quantization table used in quantization. A video multiplex decoding device 106 that separates the compressed real pixel data from the encoded mode data for specifying the mode used for encoding,
And a video source decoding device 107 for decoding the compressed real pixel data into video data.

【0008】ビデオソース復号装置107は、図30に
示すように、実画素データの逆量子化を行う逆量子化回
路108と、逆量子化された実画素データの逆DCT
(Discrete Cosine Transform )処理を行って差分画素
データとして出力する逆DCT回路109と、差分画素
データと後述の予測画素データとを加算して、画素デー
タとして出力する加算器110と、所定タイミングにお
ける画素データをそれぞれ格納する第1フレームメモリ
111及び第2フレームメモリ112と、第1フレーム
メモリ111及び第2フレームメモリ112に格納され
た画素データに基づいて半画素精度両方向動き補償予測
を行って予測画素データを出力する半画素精度両方向動
き補償予測回路118と、を備えて構成されている。
As shown in FIG. 30, the video source decoding device 107 includes an inverse quantization circuit 108 for inverse quantization of real pixel data and an inverse DCT of the inverse quantized real pixel data.
An inverse DCT circuit 109 that performs (Discrete Cosine Transform) processing and outputs it as difference pixel data, an adder 110 that adds the difference pixel data and predicted pixel data described below, and outputs as pixel data, and a pixel at a predetermined timing. A first frame memory 111 and a second frame memory 112 that store data, respectively, and a half-pixel precision bidirectional motion compensation prediction based on pixel data stored in the first frame memory 111 and the second frame memory 112 And a half-pixel precision bidirectional motion compensation prediction circuit 118 that outputs data.

【0009】半画素精度両方向動き補償予測回路118
は、図31に示すように、時間的に前方向、かつ、画素
配置的に横方向の半画素精度の動き補償予測を行う前方
向横方向半画素処理回路113と、時間的に前方向、か
つ、画素配置的に縦方向の半画素精度の動き補償予測を
行う前方向縦方向半画素処理回路114と、時間的に後
方向、かつ、画素配置的に横方向の半画素精度の動き補
償予測を行う後方向横方向半画素処理回路115と、時
間的に後方向、かつ、画素配置的に縦方向の半画素精度
の動き補償予測を行う後方向縦方向半画素処理回路11
6と、時間的に両方向の動き補償予測を行う両方向処理
回路117と、を備えて構成されている。
Half-pixel precision bidirectional motion compensation prediction circuit 118
As shown in FIG. 31, a forward horizontal half-pixel processing circuit 113 that performs a motion-compensated prediction with half-pixel accuracy in the forward direction in terms of time and pixel arrangement in the horizontal direction, and the forward direction in terms of time, In addition, a forward vertical half-pixel processing circuit 114 for performing motion compensation prediction with half-pixel precision in the pixel arrangement in the vertical direction, and motion compensation with half-pixel precision in the backward direction in time and the horizontal direction in pixel arrangement. A backward horizontal half-pixel processing circuit 115 that performs prediction, and a backward vertical half-pixel processing circuit 11 that performs motion-compensated prediction with half-pixel accuracy in the backward direction in terms of time and pixel arrangement in the vertical direction.
6 and a bidirectional processing circuit 117 for temporally performing bidirectional motion compensation prediction.

【0010】次に動作を説明する。この場合において、
第1フレームメモリ111には逆DCT回路109から
供給される現在の差分画素データに対して、時間的に前
方向(過去)のフレームのデータが記憶され、第2フレ
ームメモリ112には逆DCT回路109から供給され
る現在の差分画像データに対して、時間的に後方向(未
来)のフレームのデータが記憶されるものとする。
Next, the operation will be described. In this case,
The first frame memory 111 stores the data of the frame in the forward direction (past) with respect to the current difference pixel data supplied from the inverse DCT circuit 109, and the second frame memory 112 stores the inverse DCT circuit. It is assumed that, with respect to the current difference image data supplied from 109, temporally backward (future) frame data is stored.

【0011】まず、蓄積装置101は、記録媒体(蓄積
装置)からビデオ(画像)データ、オーディオ(音声)
データ、さらにそれらの付加データ(テキストデータ
等)の圧縮データを再生し、システム多重化復号装置1
02に出力する。システム多重化復号装置102は、圧
縮データを、ビデオ圧縮データとオーディオ圧縮データ
と付加圧縮データとに分離して、ビデオ圧縮データを動
画像情報復号装置103に出力する。
First, the storage device 101 stores video (image) data and audio (voice) from a recording medium (storage device).
The system multiplex decoding apparatus 1 reproduces the data and the compressed data of the additional data (text data etc.).
Output to 02. The system multiplexing decoding apparatus 102 separates the compressed data into video compression data, audio compression data and additional compression data, and outputs the video compression data to the moving picture information decoding apparatus 103.

【0012】これにより動画像情報復号装置103のビ
デオ多重化復号装置106は、ビデオ圧縮データを、動
きベクトルデータ、量子化の際に用いた量子化テーブル
を特定するための量子化テーブルデータ、符号化に用い
たモードを特定するための符号化モードデータ等と、圧
縮実画素データと、を分離して圧縮実画素データをビデ
オソース復号装置107に出力する。
As a result, the video multiplex decoding device 106 of the moving image information decoding device 103 encodes the compressed video data as motion vector data, quantization table data for specifying the quantization table used for quantization, and code. The encoding mode data for specifying the mode used for encoding and the compressed real pixel data are separated, and the compressed real pixel data is output to the video source decoding device 107.

【0013】ビデオソース復号装置107の逆量子化回
路108は、実画素データの逆量子化を行い逆DCT回
路109に出力し、逆DCT回路109は、逆量子化さ
れた実画素データの逆DCT処理を行って差分画素デー
タとして加算器110に出力する。
The inverse quantization circuit 108 of the video source decoding device 107 inversely quantizes the real pixel data and outputs it to the inverse DCT circuit 109. The inverse DCT circuit 109 inverts the inversely quantized actual pixel data. Processing is performed and the difference pixel data is output to the adder 110.

【0014】これにより加算器110は、差分画素デー
タと後述の予測画素データとを加算して、画素データと
して出力する。これらと並行して、第1フレームメモリ
111及び第2フレームメモリ112は所定タイミング
における画素データをそれぞれ格納し、半画素精度両方
向動き補償予測回路118は、この格納された画素デー
タに基づいて半画素精度両方向動き補償予測を行って予
測画素データを加算器110に出力する。
As a result, the adder 110 adds the difference pixel data and predicted pixel data, which will be described later, and outputs the result as pixel data. In parallel with these, the first frame memory 111 and the second frame memory 112 respectively store the pixel data at a predetermined timing, and the half-pixel precision bidirectional motion compensation prediction circuit 118 uses the half-pixel accuracy based on the stored pixel data. Precision bidirectional motion compensation prediction is performed and predicted pixel data is output to the adder 110.

【0015】ここで、動き補償予測について詳細に説明
する。まず、横方向処理及び縦方向処理について説明す
る。半画素精度動き補償予測は、9×9画素のブロック
単位で行われる。
Here, the motion compensation prediction will be described in detail. First, the horizontal processing and the vertical processing will be described. Half-pixel precision motion-compensated prediction is performed in block units of 9 × 9 pixels.

【0016】以下の説明においては、図32に示すよう
に、元のブロックの隣接する画素を画素a、b、c、d
とし、横方向処理で得られる画素を画素A、縦方向処理
で得られる画素を画素B、横方向処理により得られた画
素A及び縦方向処理により得られた画素Bに基づいて横
方向処理及び縦方向処理を行うことにより得られる画素
を画素Cとする。
In the following description, as shown in FIG. 32, the adjacent pixels of the original block are referred to as pixels a, b, c and d.
Pixel A obtained by the horizontal direction processing, pixel B obtained by the vertical direction processing, pixel A obtained by the horizontal direction processing, and pixel B obtained by the vertical direction processing. A pixel obtained by performing the vertical processing is referred to as a pixel C.

【0017】横方向処理は、横方向に隣接する画素の平
均値をとることである。より具体的には、 A=(a+b)/2 E=(c+d)/2 という式で表すことが出来る。
The horizontal processing is to take an average value of pixels adjacent in the horizontal direction. More specifically, it can be expressed by the formula A = (a + b) / 2 E = (c + d) / 2.

【0018】縦方向処理は、縦方向に隣接する画素の平
均値をとることである。より具体的には、 B=(a+c)/2 D=(b+d)/2 という式で表すことが出来る。
The vertical processing is to take an average value of pixels adjacent in the vertical direction. More specifically, it can be expressed by the equation B = (a + c) / 2 D = (b + d) / 2.

【0019】また、画素Cについては、横方向処理で得
られた画素A及び画素E並びに縦方向処理で得られた画
素B及び画素Dの4つの画素の平均値をとることであ
る。より具体的には、 C=(A+B+D+E)/4 =(((a+b)+(a+c)+(b+d)+(c+d))/2)/4 =(2・(a+b+c+d)/2)/4 =(a+b+c+d)/4 という式で表すことが出来る。
For pixel C, the average value of four pixels, pixel A and pixel E obtained by the horizontal processing and pixel B and pixel D obtained by the vertical processing, is taken. More specifically, C = (A + B + D + E) / 4 = (((a + b) + (a + c) + (b + d) + (c + d)) / 2) / 4 = (2. (a + b + c + d) / 2) / 4 = It can be expressed by the equation (a + b + c + d) / 4.

【0020】次に図33を参照して前後両方向の動き補
償予測について説明する。前後両方向動き補償予測は、
時間的に前方向の前方向参照画面の画素a’と、時間的
に後方向の後方向参照画面の画素a’と同一画素位置の
画素b’と、の平均値をとることである。
Next, the motion-compensated prediction in both the front and back directions will be described with reference to FIG. Bi-directional motion compensation prediction
That is, the average value of the pixel a ′ of the forward reference screen that is temporally forward and the pixel b ′ at the same pixel position as the pixel a ′ of the backward reference screen that is temporally backward is taken.

【0021】より具体的には、 A’=(a’+b’)/2 という式で表すことが出来る。More specifically, it can be expressed by the equation A '= (a' + b ') / 2.

【0022】これらの結果、出力された画素データに
は、同期データ等の付加が後処理装置104により行わ
れ、さらにD/A変換装置105によりD/A変換され
て出力されて画像表示が行われることとなる。 b)H.261について H.261は、64k〜2Mbpsの転送レートを有す
る1次群サブレートを用いる動画像通信用の映像符号化
方式について規定している。
As a result of these, the post-processing device 104 adds synchronization data and the like to the output pixel data, and further D / A-converts it by the D / A conversion device 105 to output and display an image. Will be seen. b) H. H.261 . 261 stipulates a video encoding method for video communication using a primary group sub-rate having a transfer rate of 64 k to 2 Mbps.

【0023】主な用途としては、テレビ会議あるいはテ
レビ電話を想定している。図34に従来のH.261に
おける動画像復元装置の概要構成ブロック図を示す。
The main application is assumed to be a video conference or a video telephone. FIG. 34 shows a conventional H.264 standard. 261 shows a schematic block diagram of a moving image restoration apparatus in H.261.

【0024】H.261における動画像復元装置200
は、通信回線等の伝送路を介して入力された受信データ
を実時間で伝送復号する伝送符号化復号装置201と、
受信データを、ビデオ圧縮データとオーディオ圧縮デー
タと付加圧縮データとに分離するシステム多重化復号装
置202と、分離されたビデオ圧縮データを復号し、動
画像であるビデオデータとする動画像情報復号装置20
3と、同期データの付加等の後処理を行う後処理装置2
04と、後処理の行われた画像データをディジタル/ア
ナログ(D/A)変換して出力するD/A変換装置20
5と、を備えて構成されている。
H. Moving picture restoration apparatus 200 in H.261
Is a transmission encoding / decoding device 201 for transmitting and decoding reception data input via a transmission line such as a communication line in real time;
A system multiplexing decoding device 202 that separates received data into video compressed data, audio compressed data, and additional compressed data, and a moving image information decoding device that decodes the separated video compressed data into video data that is a moving image. 20
3 and a post-processing device 2 for performing post-processing such as addition of synchronization data
04, and a D / A converter 20 for converting the post-processed image data into digital / analog (D / A) and outputting it.
5, and is comprised.

【0025】図35に示すように、動画像情報復号装置
203は、大別すると、ビデオ圧縮データを、動きベク
トルデータ、量子化の際に用いた量子化テーブルを特定
するための量子化テーブルデータ、符号化に用いたモー
ドを特定するための符号化モードデータ等と、圧縮実画
素データと、を分離するビデオ多重化復号装置206
と、圧縮実画素データをビデオデータに復号するビデオ
ソース復号装置207とを備えて構成されている。
As shown in FIG. 35, the moving picture information decoding apparatus 203 is roughly classified into motion vector data, quantization table data for specifying a quantization table used at the time of quantization. , A video multiplex decoding device 206 for separating the compressed actual pixel data from the encoding mode data for specifying the mode used for encoding
And a video source decoding device 207 for decoding the compressed real pixel data into video data.

【0026】ビデオソース復号装置207は、図36に
示すように、実画素データの逆量子化を行う逆量子化回
路208と、逆量子化された実画素データの逆DCT
(Discrete Cosine Transform )処理を行って差分画素
データとして出力する逆DCT回路209と、差分画素
データと後述の予測画素データとを加算して、画素デー
タとして出力する加算器210と、所定タイミングにお
ける画素データを格納するとともに動きベクトル量に応
じて遅延量を可変することが可能なフレームメモリ21
1と、フレームメモリ211に格納された画素データに
基づいて前方向動き補償予測を行って予測画素データを
出力する前方向動き補償予測回路212と、前方向動き
補償予測回路の差分画素データに対し、フィルタ処理を
行う1−2−1型のディジタルロウパスフィルタである
ループ内フィルタ213と、を備えて構成されている。
As shown in FIG. 36, the video source decoding device 207 includes an inverse quantization circuit 208 for inverse quantization of real pixel data, and an inverse DCT of the inverse quantized real pixel data.
An inverse DCT circuit 209 that performs (Discrete Cosine Transform) processing and outputs it as difference pixel data, an adder 210 that adds difference pixel data and predicted pixel data described below, and outputs as pixel data, and a pixel at a predetermined timing. A frame memory 21 capable of storing data and varying a delay amount according to a motion vector amount
1 and the forward motion compensation prediction circuit 212 that performs forward motion compensation prediction based on the pixel data stored in the frame memory 211 and outputs the predicted pixel data, and the difference pixel data of the forward motion compensation prediction circuit. , An in-loop filter 213, which is a 1-2-1 type digital low-pass filter that performs filter processing.

【0027】ループ内フィルタ213は、図37に示す
ように、横方向処理を行う横方向処理回路214と、縦
方向処理を行う縦方向処理回路215と、を備えて構成
されている。
As shown in FIG. 37, the in-loop filter 213 includes a horizontal processing circuit 214 for performing horizontal processing and a vertical processing circuit 215 for performing vertical processing.

【0028】次に動作を説明する。以下の説明において
は、フレームメモリ211には逆DCT回路209から
供給される現在の差分画素データに対して、時間的に前
方向(過去)のフレームのデータが記憶されるものとす
る。
Next, the operation will be described. In the following description, it is assumed that the frame memory 211 stores temporally forward (past) frame data with respect to the current differential pixel data supplied from the inverse DCT circuit 209.

【0029】まず、伝送符号化復号装置201は、通信
回線等の伝送路を介して入力された受信データを実時間
で伝送復号し、システム多重化復号装置202に出力す
る。システム多重化復号装置102は、受信データを、
ビデオ圧縮データとオーディオ圧縮データと付加データ
とに分離して、ビデオ圧縮データを動画像情報復号装置
203に出力する。
First, the transmission encoding / decoding apparatus 201 transmits and decodes the received data input via a transmission line such as a communication line in real time and outputs it to the system multiplexing / decoding apparatus 202. The system multiplexing decoding device 102
The video compressed data, the audio compressed data, and the additional data are separated, and the video compressed data is output to the moving image information decoding apparatus 203.

【0030】これにより動画像情報復号装置203のビ
デオ多重化復号装置206は、ビデオ圧縮データを、動
きベクトルデータ、量子化の際に用いた量子化テーブル
を特定するための量子化テーブルデータ、符号化に用い
たモードを特定するための符号化モードデータ等と、圧
縮実画素データと、を分離して圧縮実画素データをビデ
オソース復号装置207に出力する。
As a result, the video multiplex decoding device 206 of the moving image information decoding device 203 encodes the compressed video data into motion vector data, the quantization table data for specifying the quantization table used for quantization, and the code. Encoding mode data for specifying the mode used for encoding and compressed real pixel data are separated, and the compressed real pixel data is output to the video source decoding device 207.

【0031】ビデオソース復号装置207の逆量子化回
路208は、実画素データの逆量子化を行い逆DCT回
路209に出力し、逆DCT回路209は、逆量子化さ
れた実画素データの逆DCT処理を行って差分画素デー
タとして加算器210に出力する。
The dequantization circuit 208 of the video source decoding device 207 dequantizes the actual pixel data and outputs it to the inverse DCT circuit 209. The inverse DCT circuit 209 inverts the dequantized actual pixel data. Processing is performed and the difference pixel data is output to the adder 210.

【0032】これにより加算器210は、差分画素デー
タと後述の予測画素データとを加算して、画素データと
して出力する。これらと並行して、フレームメモリ21
1は所定タイミングにおける画素データを格納し、前方
向動き補償予測回路212は、この格納された画素デー
タに基づいて前方向動き補償予測を行って予測画素デー
タをループ内フィルタ213に出力する。
As a result, the adder 210 adds the difference pixel data and predicted pixel data, which will be described later, and outputs the result as pixel data. In parallel with these, the frame memory 21
1 stores pixel data at a predetermined timing, and the forward motion compensation prediction circuit 212 performs forward motion compensation prediction based on the stored pixel data and outputs the predicted pixel data to the in-loop filter 213.

【0033】ループ内フィルタ213は、横方向処理回
路214により横方向処理を行うとともに、縦方向処理
回路215により縦方向処理を行って加算器210に対
しフィルタ処理後の予測画素データを出力する。
The in-loop filter 213 performs horizontal processing by the horizontal processing circuit 214 and vertical processing by the vertical processing circuit 215, and outputs the predicted pixel data after the filtering processing to the adder 210.

【0034】ここで、ループ内フィルタ処理について詳
細に説明する。ループ内フィルタ処理は、8×8画素の
ブロック単位で、1−2−1型のロウパスフィルタでフ
ィルタ処理を行うものである。1−2−1型のロウパス
フィルタとは、横方向処理及び縦方向処理の何れにおい
ても、着目する画素に対する重みを「2」とし、前後又
は上下に隣接する画素に対する重みをそれぞれ「1」と
するものである。
Here, the in-loop filter processing will be described in detail. The in-loop filter processing is performed by a 1-2-1 type low-pass filter in block units of 8 × 8 pixels. In the 1-2-1 type low-pass filter, in both the horizontal processing and the vertical processing, the weight for the pixel of interest is set to “2”, and the weight for the pixels adjacent to the front, rear, or top and bottom is set to “1”. It is what

【0035】図38は、ループ内フィルタ処理を行う対
象ブロックを模式的に示したものであり、各画素はその
配置により4種類の画素(図中、それぞれ●、○、◎、
□で表す)に分類でき、種類毎に処理が異なっている。
FIG. 38 schematically shows a target block to be subjected to the in-loop filter processing. Each pixel has four kinds of pixels (in the figure, ●, ○, ◎, respectively).
(Represented by □) can be classified, and the processing differs for each type.

【0036】「●」で表される画素は、元の値がA”で
あったとすると、そのままの値=A”とする。「○」で
表される画素については、横方向処理の対象となり、着
目する画素をB”、横方向に隣接する画素をA”、C”
とすると、画素B”については重みを「2」とし、画素
A”、C”については重みを「1」とし、それらの加算
平均をとる。
If the original value of the pixel represented by "" is A ", the original value is A". Pixels represented by “◯” are subjected to the horizontal processing, and the pixel of interest is B ″, and the pixels adjacent in the horizontal direction are A ″ and C ″.
Then, the weight is set to “2” for the pixel B ″, the weight is set to “1” for the pixels A ″ and C ″, and the arithmetic mean thereof is calculated.

【0037】より具体的には、 ○=((A”×1)+(B”×2)+(C”×1))/4 =(A”+2×B”+C”)/4 という式で表すことが出来る。More specifically, the formula: ◯ = ((A "× 1) + (B" × 2) + (C "× 1)) / 4 = (A" + 2 × B "+ C") / 4 Can be expressed as

【0038】同様に「◎」で表される画素については、
縦方向処理の対象となり、着目する画素をB”、縦方向
に隣接する画素をA”、C”とすると、画素B”につい
ては重みを「2」とし、画素A”、C”については重み
を「1」とし、それらの加算平均をとる。
Similarly, for the pixel represented by "⊚",
If the pixel of interest is B ″ and the vertically adjacent pixels are A ″ and C ″, the weight is “2” for the pixel B ″ and the weight is for the pixels A ″ and C ″. Is set to "1" and the arithmetic mean of them is calculated.

【0039】より具体的には、 ◎=((A”×1)+(B”×2)+(C”×1))/4 =(A”+2×B”+C”)/4 という式で表すことが出来る。More specifically, ⊚ = ((A ″ × 1) + (B ″ × 2) + (C ″ × 1)) / 4 = (A ″ + 2 × B ″ + C ″) / 4 Can be expressed as

【0040】また、「□」で表される画素については、
着目する画素をE”、画素E”に隣接する周囲の画素を
A”、B”、C”、D”、F”、G”、H”、I”とす
ると、 □=((A”+2×B”+C”)+2×(D”+2×E”+F”) +(G”+2×H”+I”))/16 という式で表すことが出来る。
For the pixel represented by "□",
If the pixel of interest is E ″, and surrounding pixels adjacent to the pixel E ″ are A ″, B ″, C ″, D ″, F ″, G ″, H ″, and I ″, □ = ((A ″ +2 XB "+ C") + 2x (D "+ 2xE" + F ") + (G" + 2xH "+ I")) / 16.

【0041】[0041]

【発明が解決しようとする課題】ところでMPEG1及
びH.261の双方に対応可能なシステムを単純に構築
すると、半画素精度両方向動き補償予測回路及びループ
内フィルタの双方をそのまま組込むことになる。
By the way, according to MPEG1 and H.264. If a system that can support both H.261 is simply constructed, both the half-pixel precision bidirectional motion compensation prediction circuit and the in-loop filter will be incorporated as they are.

【0042】図39に半画素精度両方向動き補償予測回
路及びループ内フィルタを単純に組込む場合の半画素精
度両方向動き補償予測回路及びループ内フィルタ部分の
概要構成ブロック図を示す。図39において図31ある
いは図37と同一の部分には同一の符号を付し、その詳
細な説明を省略する。
FIG. 39 shows a schematic block diagram of the half-pixel precision bidirectional motion compensation prediction circuit and the in-loop filter portion when the half-pixel precision bidirectional motion compensation prediction circuit and the in-loop filter are simply incorporated. 39, the same parts as those in FIG. 31 or FIG. 37 are designated by the same reference numerals, and detailed description thereof will be omitted.

【0043】この場合には、半画素精度両方向動き補償
予測回路及びループ内フィルタを単純に組合わせた構成
に加えて、いずれかの出力を選択するための選択回路2
20が必要となり、回路規模が増大するとともに冗長な
構成となるという問題点があった。
In this case, in addition to the simple combination of the half-pixel precision bidirectional motion compensation prediction circuit and the in-loop filter, the selection circuit 2 for selecting either output.
20 is required, and there is a problem that the circuit scale increases and the configuration becomes redundant.

【0044】そこで、本発明の目的は、遅延、加算要素
をできる限り共通化し、回路規模の増加を避けつつ、M
PEG1とH.261の処理の双方が可能な動き補償予
測回路を提供することにある。
Therefore, the object of the present invention is to make the delay and addition elements common as much as possible, while avoiding an increase in circuit scale, and
PEG1 and H.264. It is to provide a motion compensation prediction circuit capable of performing both of the processes of H.261.

【0045】[0045]

【課題を解決するための手段】上記課題を解決するた
め、本発明は、入力画像データに対して時間的に前後両
方向の動き補償予測処理あるいは1−2−1型ディジタ
ルロウパスフィルタを用いた動き補償予測処理のいずれ
かを外部からの選択制御信号に基づいて選択的に行うデ
ィジタル動画像復号器における動き補償予測器であっ
て、前記選択制御信号により前記前後両方向の動き補償
予測処理が選択された場合には、前記入力画像データに
基づいて時間的に前方向、かつ、画素配置的に横方向の
半画素精度の動き補償予測処理を行い第1処理画像デー
タを出力し、前記選択制御信号により前記1−2−1型
ディジタルロウパスフィルタを用いた動き補償予測処理
が選択された場合には、前記1−2−1型ディジタルロ
ウパスフィルタをループ内フィルタとして画素配置的に
横方向のループ内フィルタ処理を行い第2処理画像デー
タを出力する前方向横方向処理手段と、前記第1処理画
像データ又は前記第2処理画像データが入力され、前記
前後両方向の動き補償予測処理が選択された場合には、
前記第1処理画像データに基づいて時間的に前方向、か
つ、画素配置的に縦方向の半画素精度の動き補償予測処
理を行い第3処理画像データを出力し、前記1−2−1
型ディジタルロウパスフィルタを用いた動き補償予測処
理が選択された場合には、前記第2処理画像データに基
づいて前記1−2−1型ディジタルロウパスフィルタを
ループ内フィルタとして画素配置的に縦方向のループ内
フィルタ処理を行い第4処理画像データを出力する前方
向縦方向処理手段と、前記前後両方向の動き補償予測処
理が選択された場合に、前記入力画像データに基づいて
時間的に後方向、かつ、画素配置的に横方向の半画素精
度で動き補償予測処理を行い第5処理画像データを出力
する後方向横方向半画素処理手段と、前記前後両方向の
動き補償予測処理が選択された場合に、前記第5処理画
像データに基づいて時間的に後方向、かつ、画素配置的
に縦方向の半画素精度で動き補償予測処理を行い第6処
理画像データを出力する後方向縦方向半画素処理手段
と、前記第3処理画像データ及び前記第6処理画像デー
タ又は前記第4処理画像データが入力され、前記前後両
方向の動き補償予測処理が選択された場合には、前記第
3処理画像データ及び前記第6処理画像データに基づい
て時間的に前後両方向の動き補償予測処理を行い第7処
理画像データを出力し、前記1−2−1型ディジタルロ
ウパスフィルタを用いた動き補償予測処理が選択された
場合には、前記第4処理画像データをそのまま出力する
両方向処理手段と、を備えて構成する。
In order to solve the above problems, the present invention uses a motion compensation prediction process in both forward and backward directions with respect to input image data or a 1-2-1 type digital low pass filter. A motion compensation predictor in a digital video decoder for selectively performing one of motion compensation prediction processes based on an external selection control signal, wherein the motion compensation prediction process in both the front and rear directions is selected by the selection control signal. In this case, based on the input image data, the motion-compensated prediction process is performed in the forward direction in time and in the horizontal direction in terms of pixel arrangement with half-pixel accuracy, and the first processed image data is output to perform the selection control. When the motion-compensated prediction process using the 1-2-1 type digital low-pass filter is selected by the signal, the 1-2-1 type digital low-pass filter is routed. As an inner filter, a forward horizontal processing means for performing horizontal in-loop filter processing in a pixel arrangement manner to output second processed image data, and the first processed image data or the second processed image data are input, and When motion compensation prediction processing in both the front and back directions is selected,
Based on the first processed image data, a motion-compensated prediction process with half-pixel accuracy in the forward direction in time and in the vertical direction in pixel arrangement is performed, and third processed image data is output.
When the motion compensation prediction process using the digital low-pass filter is selected, the 1-2-1 digital low-pass filter is used as a loop filter based on the second processed image data. When the forward vertical processing means for performing the in-loop filter processing and outputting the fourth processed image data, and the motion compensation prediction processing in both the front and rear directions are selected, the temporally rearward processing is performed based on the input image data. The backward horizontal half-pixel processing means that performs the motion compensation prediction processing in the horizontal direction in terms of the pixel arrangement and the half-pixel accuracy in the horizontal direction and outputs the fifth processed image data, and the motion compensation prediction processing in both the front and rear directions are selected. In this case, the motion-compensated prediction process is performed on the basis of the fifth processed image data with a half-pixel accuracy in the backward direction and the pixel arrangement in the vertical direction, and the sixth processed image data is output. In the case where the backward vertical half-pixel processing means, the third processed image data, the sixth processed image data, or the fourth processed image data are input, and the motion compensation prediction process in both the front and rear directions is selected. , The second processed image data and the sixth processed image data are subjected to temporally forward and backward motion compensation prediction processing to output seventh processed image data, and the 1-2-1 type digital low-pass filter is output. When the motion compensation prediction process used is selected, the bidirectional processing means for outputting the fourth processed image data as it is.

【0046】[0046]

【作用】本発明の作用について、選択制御信号により前
後両方向の動き補償予測処理が選択された場合と、1−
2−1型ディジタルロウパスフィルタを用いた動き補償
予測処理が選択された場合とに分けて説明する。
With respect to the operation of the present invention, the case where the motion compensation prediction processing in both the front and rear directions is selected by the selection control signal,
The case where the motion compensation prediction process using the 2-1 type digital low-pass filter is selected will be described separately.

【0047】1)前後両方向の動き補償予測処理が選択
された場合 前方向横方向処理手段は、選択制御信号により前後両方
向の動き補償予測処理が選択された場合には、入力画像
データに基づいて時間的に前方向、かつ、画素配置的に
横方向の半画素精度の動き補償予測処理を行い第1処理
画像データを前方向縦方向処理手段に出力する。
1) Motion compensation prediction processing in both front and rear directions is selected
When the motion compensation prediction process in both the front and rear directions is selected by the selection control signal, the forward and horizontal direction processing means temporally frontward based on the input image data and pixelwise lateral direction. The first processing image data is output to the forward vertical processing means.

【0048】前方向縦方向処理手段は、第1処理画像デ
ータに基づいて時間的に前方向、かつ、画素配置的に縦
方向の半画素精度の動き補償予測処理を行い第3処理画
像データを両方向処理手段に出力する。
The forward-direction vertical-direction processing means performs a motion-compensated prediction process with half-pixel accuracy in the forward direction in time and in the vertical direction in terms of pixel arrangement based on the first processed image data. Output to the bidirectional processing means.

【0049】これと並行して後方向横方向半画素処理手
段は、入力画像データに基づいて時間的に後方向、か
つ、画素配置的に横方向の半画素精度で動き補償予測処
理を行い第5処理画像データを後方向縦方向半画素処理
手段に出力する。
In parallel with this, the backward horizontal half-pixel processing means performs the motion compensation prediction processing on the basis of the input image data with half-pixel accuracy in the backward direction in terms of time and pixel arrangement in the horizontal direction. The 5 processed image data is output to the backward vertical half pixel processing means.

【0050】後方向縦方向半画素処理手段は、前記第5
処理画像データに基づいて時間的に後方向、かつ、画素
配置的に縦方向の半画素精度で動き補償予測処理を行い
第6処理画像データを両方向処理手段に出力する。
The backward vertical half-pixel processing means includes the fifth
Based on the processed image data, the motion-compensated prediction process is performed in the backward direction in time and in the pixel arrangement in the vertical direction with half-pixel accuracy, and the sixth processed image data is output to the bidirectional processing means.

【0051】これらの結果、両方向処理手段は、第3処
理画像データ及び前記第6処理画像データに基づいて時
間的に前後両方向の動き補償予測処理を行い、前後両方
向の動き補償予測処理の規格に沿った第7処理画像デー
タを出力する。
As a result, the bidirectional processing means temporally performs forward and backward bidirectional motion compensation prediction processing based on the third processed image data and the sixth processed image data, and conforms to the forward and backward bidirectional motion compensation prediction processing standard. The seventh processed image data along the line is output.

【0052】2)1−2−1型ディジタルロウパスフィ
ルタを用いた動き補償予測処理が選択された場合 前方向横方向処理手段は、選択制御信号により1−2−
1型ディジタルロウパスフィルタを用いた動き補償予測
処理が選択された場合には、1−2−1型ディジタルロ
ウパスフィルタをループ内フィルタとして画素配置的に
横方向のループ内フィルタ処理を行い第2処理画像デー
タを前方向縦方向処理手段に出力する。
2) 1-2-1 type digital low pass filter
When the motion-compensated prediction process using the filter is selected, the forward-direction / horizontal-direction processing unit receives 1-2 according to the selection control signal.
When the motion compensation prediction process using the 1-type digital low-pass filter is selected, the 1-2-1 type digital low-pass filter is used as the in-loop filter to perform the in-loop filter process in the horizontal direction in the pixel arrangement. The two-processed image data is output to the forward direction vertical direction processing means.

【0053】前方向縦方向処理手段は、第2処理画像デ
ータに基づいて1−2−1型ディジタルロウパスフィル
タをループ内フィルタとして画素配置的に縦方向のルー
プ内フィルタ処理を行い第4処理画像データを両方向処
理手段に出力する。
The forward-direction vertical-direction processing means performs a vertical intra-loop filter process in a pixel arrangement manner using the 1-2-1 type digital low-pass filter as the intra-loop filter based on the second processed image data. The image data is output to the bidirectional processing means.

【0054】両方向処理手段は、第4処理画像データを
そのまま出力する。この結果、1−2−1型ディジタル
ロウパスフィルタを用いて前方向横方向処理及び前方向
縦方向処理が行われた第4処理画像データを得ることが
できる。
The bidirectional processing means outputs the fourth processed image data as it is. As a result, it is possible to obtain the fourth processed image data that has been subjected to the forward horizontal processing and the forward vertical processing using the 1-2-1 type digital low-pass filter.

【0055】[0055]

【実施例】次に図面を参照して本発明の好適な実施例を
説明する。図1に実施例の動き補償予測器の概要構成ブ
ロック図を示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described with reference to the drawings. FIG. 1 shows a schematic block diagram of the motion compensation predictor of the embodiment.

【0056】動き補償予測器1は、現在の差分フレーム
画像データに対して前方向(過去)のフレーム画像デー
タFO に基づいて、時間的に前方向、画素配置的に横方
向の処理を行い第1前方向フレーム画像データFO1とし
て出力する前方向横方向処理回路2と、第1前方向フレ
ーム画像データFO1に基づいて、時間的に前方向、画素
配置的に縦方向の処理を行い第2前方向フレーム画像デ
ータFO2として出力する前方向縦方向処理回路3と、現
在の差分フレーム画像データに対して後方向(未来)の
フレーム画像データFF に基づいて、時間的に後方向で
あり、画素配置的に横方向、かつ、半画素(1/2画
素)の処理を行い第1後方向フレーム画像データFF1
出力する後方向横方向半画素処理回路4と、第1後方向
フレーム画像データFF1に基づいて、時間的に後方向で
あり、画素配置的に縦方向、かつ、半画素(1/2画
素)の処理を行い第2後方向フレーム画像データFF2
出力する後方向縦方向半画素処理回路5と、第2前方向
フレーム画像データFO2及び第2後方向フレーム画像デ
ータFF2に基づいて時間的に前後両方向の処理を行い予
測フレーム画像データFD として出力する両方向処理回
路6と、を備えて構成されている。
The motion compensation predictor 1 processes the current difference frame image data in the forward direction temporally and in the horizontal direction pixelwise based on the forward (past) frame image data F O. Based on the forward direction horizontal direction processing circuit 2 that outputs the first forward direction frame image data F O1 and the first forward direction frame image data F O1 , the time direction forward direction and the pixel arrangement vertical direction process are performed. The forward vertical processing circuit 3 that outputs the second forward frame image data F O2 and the backward (future) frame image data F F with respect to the current difference frame image data And the rearward horizontal half-pixel processing circuit 4 for processing the first rearward frame image data F F1 by processing half pixels (1/2 pixels) in the horizontal direction in terms of pixel arrangement, and the first rearward Directional frame image data F Based on F1 , it is a backward direction in time, a pixel arrangement is in a vertical direction, and half pixel (1/2 pixel) processing is performed to output second backward direction frame image data F F2. A half-pixel processing circuit 5 and a bidirectional processing circuit that performs forward and backward bidirectional processing in time based on the second forward frame image data F O2 and the second backward frame image data F F2 and outputs the predicted frame image data F D. 6 is provided.

【0057】図2に前方向横方向処理回路2の詳細構成
ブロック図を示す。前方横方向処理回路2は、フレーム
画像データFO を構成する第2入力データD2 を2倍し
て出力する乗算器10と、MPEG1動作モードとH.
261動作モードとを切替えるためのモード切替信号に
より第2入力データD2 あるいは乗算器10により2倍
された第2入力データD2 の何れかを選択的に出力する
第1選択回路11と、第1ループ内フィルタ制御信号に
基づいて、「0」あるいはフレーム画像データFO を構
成する第1入力データD1 の何れかを選択的に出力する
第2選択回路12と、半画素処理制御信号に基づいて第
1選択回路11の出力あるいは第2選択回路12の出力
の何れかを選択的に出力する第3選択回路13と、第2
選択回路12の出力と第3選択回路13の出力を加算し
て出力する第1加算器14と、第1加算器14の出力信
号を所定時間遅延して出力する第1画素遅延回路15
と、第2ループ内フィルタ制御信号に基づいて第2入力
データD2あるいは第1画素遅延回路15の出力信号の
何れかを選択的に出力する第4選択回路16と、第1画
素遅延回路15の出力と第4選択回路16の出力を加算
する第2加算器17と、第2加算器17の出力信号を所
定時間遅延して出力する第2画素遅延回路18と、を備
えて構成されている。
FIG. 2 shows a detailed block diagram of the forward-direction horizontal processing circuit 2. The front / lateral processing circuit 2 includes a multiplier 10 that doubles and outputs the second input data D 2 that forms the frame image data F O , an MPEG1 operation mode, and an H.264 standard.
The mode switching signal for switching between 261 operation mode by the second input data D 2 or multiplier 10 and the first selection circuit 11 for selectively outputting one of the second input data D 2 that is 2-fold, first The second selection circuit 12 for selectively outputting either "0" or the first input data D 1 forming the frame image data F O based on the in-one-loop filter control signal, and the half pixel processing control signal A third selection circuit 13 that selectively outputs either the output of the first selection circuit 11 or the output of the second selection circuit 12 based on the second
A first adder 14 that adds and outputs the output of the selection circuit 12 and the output of the third selection circuit 13, and a first pixel delay circuit 15 that delays and outputs the output signal of the first adder 14 for a predetermined time.
A fourth selection circuit 16 for selectively outputting either the second input data D 2 or the output signal of the first pixel delay circuit 15 based on the second loop filter control signal; and the first pixel delay circuit 15 2 and the output of the fourth selection circuit 16 are added, and a second pixel delay circuit 18 that outputs the output signal of the second adder 17 after delaying for a predetermined time is configured. There is.

【0058】次にMPEG1とH.261の場合に分け
て前方向横方向処理回路2の動作を説明する。 a)MPEG1の場合 まず動作説明に先立ち、MPEG1の場合の入力データ
フォーマットを図4を参照して説明する。
Next, according to MPEG1 and H.264. The operation of the forward / lateral processing circuit 2 will be described separately for the case of H.261. a) In the case of MPEG1 Before describing the operation, the input data format in the case of MPEG1 will be described with reference to FIG.

【0059】MPEG1の入力データフォーマットは、
図4(a)に示すように、9×9画素構成となってお
り、図4(b)に示すように、二次元空間上、左から
右、上から下へと順次処理を行う。より具体的には、図
4(a)に示すように、A→B→C→……→I→J→K
→……→Zの順序で処理を行うことになる。
The input data format of MPEG1 is
As shown in FIG. 4A, it has a 9 × 9 pixel configuration, and as shown in FIG. 4B, processing is sequentially performed from left to right and from top to bottom in a two-dimensional space. More specifically, as shown in FIG. 4A, A → B → C → …… → I → J → K.
→ …… → Z will be processed in the order.

【0060】次に具体的動作を図3のタイミングチャー
トを参照して説明する。まず、時刻t0 において、動作
モード切替信号(図3(b)参照)はMPEG1側であ
り、第1選択回路11において第2入力データD2
「B」が選択される。
Next, the specific operation will be described with reference to the timing chart of FIG. First, at time t 0 , the operation mode switching signal (see FIG. 3B) is on the MPEG1 side, and the second input data D 2 =
"B" is selected.

【0061】一方、第1ループ内フィルタ制御信号は、
MPEG1の処理の際には常に第1入力データD1 (ル
ープ内フィルタオフ)側であり、第2選択回路12にお
いて第1入力データD1 =「A」が選択される。
On the other hand, the filter control signal in the first loop is
During the processing of MPEG1, the first input data D 1 (in-loop filter off) is always present, and the second selection circuit 12 selects the first input data D 1 = “A”.

【0062】次に半画素処理制御信号(図3(e)参
照)は、第1選択回路11側であり、第3選択回路13
において第1選択回路11の出力である第2入力データ
2 =「B」が選択される。
Next, the half-pixel processing control signal (see FIG. 3E) is on the side of the first selection circuit 11 and the third selection circuit 13
At, the second input data D 2 = “B” output from the first selection circuit 11 is selected.

【0063】これらの結果、第1加算器14において
は、第1入力データD1 と第2入力データD2 が加算さ
れ、時刻t0 における第1加算器14の出力データ=
「A+B」となる(図3(f)参照)。
As a result, the first input data D 1 and the second input data D 2 are added in the first adder 14, and the output data of the first adder 14 at time t 0 =
It becomes "A + B" (see FIG. 3 (f)).

【0064】そして出力データは、第1画素遅延回路
15により1クロック分遅延されて時刻t1 に出力デー
タ(図3(g)参照)として出力される。このとき、
第2ループ内フィルタ制御信号はMPEG1の処理の際
には常に第1画素遅延回路15(ループ内フィルタオ
フ)側であり、時刻t1 において第4選択回路16によ
り第1画素遅延回路15の出力データである出力データ
が選択され、第2加算器17により出力データに加
算され、出力データ=「2×(A+B)」となる(図
3(h)参照)。
The output data is delayed by one clock by the first pixel delay circuit 15 and output as output data (see FIG. 3 (g)) at time t 1 . At this time,
The second in-loop filter control signal is always on the first pixel delay circuit 15 (in-loop filter off) side during the MPEG1 processing, and the fourth selection circuit 16 outputs the output of the first pixel delay circuit 15 at time t 1 . The output data, which is data, is selected and added to the output data by the second adder 17, so that the output data = “2 × (A + B)” (see FIG. 3 (h)).

【0065】さらにこの出力データは、第2画素遅延
回路18により1クロック分遅延されて時刻t2 に出力
データ=「2×(A+B)」として出力される。以
下、同様にして、第2画素遅延回路18からは、時刻t
3 、t4 、t5 、……のタイミングで、出力データ=
「2×(B+C)」、「2×(C+D)」、「2×(D
+E)」、……のように順次出力されることになる。
Further, this output data is delayed by one clock by the second pixel delay circuit 18 and is output as output data = “2 × (A + B)” at time t 2 . Thereafter, similarly, the second pixel delay circuit 18 outputs the time t
At the timing of 3 , t 4 , t 5 , ..., Output data =
"2x (B + C)", "2x (C + D)", "2x (D
+ E) ”, ..., and so on.

【0066】b)H.261の場合 まず動作説明に先立ち、H.261の場合の入力データ
フォーマットを図7を参照して説明する。
B) H. In the case of H.261, prior to the explanation of the operation, H.264 is used. The input data format for H.261 will be described with reference to FIG.

【0067】H.261の入力データフォーマットは、
図7(a)に示すように、8×8画素構成となってお
り、図7(b)に示すように、二次元空間上、左から
右、上から下へと順次処理を行う。より具体的には、図
7(a)に示すように、A→B→C→……→F→G→H
→I→J→……→Zの順序で処理を行うことになる。
H. The input data format of H.261 is
As shown in FIG. 7A, it has an 8 × 8 pixel configuration, and as shown in FIG. 7B, processing is sequentially performed from left to right and from top to bottom in a two-dimensional space. More specifically, as shown in FIG. 7A, A → B → C → ... → F → G → H.
The processing is performed in the order of → I → J → …… → Z.

【0068】次に具体的動作を図5及び図6のタイミン
グチャートを参照して説明する。まず、時刻t0 におい
て動作モード切替信号(図5(b)参照)はH.261
側であり、第1選択回路11において乗算器10の出力
である2×第2入力データD2 =「2×A」が選択され
る。
Next, the specific operation will be described with reference to the timing charts of FIGS. First, at time t 0 , the operation mode switching signal (see FIG. 5B) is H.264. 261
In the first selection circuit 11, 2 × second input data D 2 = “2 × A”, which is the output of the multiplier 10, is selected.

【0069】一方、時刻t0 において第1ループ内フィ
ルタ制御信号(図5(e)参照)は、「0」(ループ内
フィルタオフ)側であり、第2選択回路12においてデ
ータ=「0」が選択される。
On the other hand, at time t 0 , the first in-loop filter control signal (see FIG. 5E) is on the “0” (in-loop filter-off) side, and the data = “0” in the second selection circuit 12. Is selected.

【0070】次に半画素処理制御信号は、H.261の
処理の際には、常に第1選択回路11側であり、第3選
択回路13において第1選択回路11の出力である2倍
の第2入力データD2 =「2×A」が選択される。
Next, the half pixel processing control signal is H.264. During the processing of 261, the first selection circuit 11 side is always present, and the second selection data D 2 = “2 × A”, which is the output of the first selection circuit 11, is selected in the third selection circuit 13. To be done.

【0071】これらの結果、第1加算器14において
は、2倍の第2入力データD2 と「0」が加算され、時
刻t0 における第1加算器14の出力データ=「2×
A」となる(図5(f)参照)。
As a result, in the first adder 14, the doubled second input data D 2 and “0” are added, and the output data of the first adder 14 at time t 0 = “2 ×
A ”(see FIG. 5 (f)).

【0072】そして出力データは、第1画素遅延回路
15により1クロック分遅延されて時刻t1 において出
力データ(図5(g)参照)として出力される。この
とき、第2ループ内フィルタ制御信号(図5(h)参
照)は、第1画素遅延回路15(ループ内フィルタオ
フ)側であり、第4選択回路16において第1画素遅延
回路15の出力データである出力データが選択され、
第2加算器17により出力データに加算され、出力デ
ータ=「2×(2×A)」、すなわち、時刻t1 にお
いて出力データ=「4×A」となる(図5(i)参
照)。
The output data is delayed by one clock by the first pixel delay circuit 15 and output as output data (see FIG. 5 (g)) at time t 1 . At this time, the second in-loop filter control signal (see FIG. 5 (h)) is on the first pixel delay circuit 15 (in-loop filter off) side, and the output of the first pixel delay circuit 15 in the fourth selection circuit 16 is output. Output data that is data is selected,
The output data is added to the output data by the second adder 17, and the output data = “2 × (2 × A)”, that is, the output data = “4 × A” at time t 1 (see FIG. 5 (i)).

【0073】さらにこの出力データは、第2画素遅延
回路18により1クロック分遅延されて時刻t2 に出力
データ=「4×A」として出力される(図5(j)参
照)。
Further, this output data is delayed by one clock by the second pixel delay circuit 18 and output as output data = “4 × A” at time t 2 (see FIG. 5 (j)).

【0074】これと同時に時刻t2 において、第1選択
回路11において乗算器10の出力である2×第2入力
データD2 =「2×B」が選択される。一方、第1ルー
プ内フィルタ制御信号(図5(e)参照)は、第1入力
データD1 =「A」(ループ内フィルタオン)側であ
り、第2選択回路12において第1入力データD1
「A」が選択される。
At the same time, at time t 2 , 2 × second input data D 2 = “2 × B” which is the output of the multiplier 10 is selected in the first selection circuit 11. On the other hand, the first in-loop filter control signal (see FIG. 5E) is on the first input data D 1 = “A” (in-loop filter on) side, and the first input data D in the second selection circuit 12 is 1 =
"A" is selected.

【0075】半画素処理制御信号は、常に第1選択回路
11側であるので、第3選択回路13において第1選択
回路11の出力である2倍の第2入力データD2 =「2
×B」が選択される。
Since the half pixel processing control signal is always on the first selection circuit 11 side, the second input data D 2 = “2” which is the output of the first selection circuit 11 in the third selection circuit 13 is doubled.
× B ”is selected.

【0076】これらの結果、第1加算器14において
は、2倍の第2入力データD2 =「2×B」と第1入力
データD1 =「A」が加算され、時刻t1 における第1
加算器14の出力データ=「A+2×B」となる。
As a result, in the first adder 14, the doubled second input data D 2 = “2 × B” and the first input data D 1 = “A” are added, and the second input data D 1 = “A” is added at the time t 1 . 1
The output data of the adder 14 = “A + 2 × B”.

【0077】そして出力データは、第1画素遅延回路
15により1クロック分遅延されて時刻t2 において出
力データとして出力される。このとき、第2ループ内
フィルタ制御信号は、第2入力データD2 =「C」(ル
ープ内フィルタオン)側であり、第4選択回路16にお
いて第2入力データD 2 「C」が選択され、第2加算器
17により出力データに加算され、時刻t2において
出力データ=「A+2×B+C」となる。
The output data is the first pixel delay circuit.
1 clock is delayed by 15 and time t2Out at
It is output as force data. At this time, in the second loop
The filter control signal is the second input data D2= "C" (Le
Loop filter on) side, and the fourth selection circuit 16
The second input data D 2"C" is selected and the second adder
It is added to the output data by 17 and time t2At
Output data = “A + 2 × B + C”.

【0078】さらにこの出力データは、第2画素遅延
回路18により1クロック分遅延されて時刻t3 に出力
データ=「A+2×B+C」として出力される。以
下、同様にして、第2画素遅延回路18からは、時刻t
4 、t5 、t6 、……のタイミングで、出力データ=
「B+2×C+D」、「C+2×D+E」、「D+2×
E+F」、……のように順次出力されることになる。
Further, the output data is delayed by one clock by the second pixel delay circuit 18 and is output as output data = “A + 2 × B + C” at time t 3 . Thereafter, similarly, the second pixel delay circuit 18 outputs the time t
At the timing of 4 , t 5 , t 6 , ..., Output data =
"B + 2xC + D", "C + 2xD + E", "D + 2x"
"E + F", ... will be sequentially output.

【0079】そして時刻t7 において、第2入力データ
2 =「H」となると、再び第1ループフィルタ制御信
号は、「0」(ループ内フィルタオフ)側となり、第2
入力データD2 =「A」の場合と同様の処理に移行す
る。
Then, at time t 7 , when the second input data D 2 = “H”, the first loop filter control signal again becomes the “0” (in-loop filter off) side, and the second
The processing shifts to the same processing as when the input data D 2 = “A”.

【0080】さらに時刻t8 (図6参照)において、第
2入力データD2 =「I」となると、再び第2ループフ
ィルタ制御信号は、第1画素遅延回路15(ループ内フ
ィルタオフ)側となり時刻t0 (図5参照)の場合と同
様の処理に移行する。
Further, at time t 8 (see FIG. 6), when the second input data D 2 = “I”, the second loop filter control signal again becomes the first pixel delay circuit 15 (in-loop filter off) side. The processing shifts to the same processing as at time t 0 (see FIG. 5).

【0081】より具体的には、時刻t8 には、出力デー
タとして「F+2×G+H」が出力され、時刻t9
は、出力データとして「4×H」が出力され、時刻t
10には、出力データとして「4×I」が出力される。
More specifically, at time t 8 , “F + 2 × G + H” is output as output data, at time t 9 , “4 × H” is output as output data, and at time t 9.
“4 × I” is output to 10 as output data.

【0082】時刻t11以降は、出力データとして順次
「I+2×J+K」、「J+2×K+L」、「K+2×
L+M」、……のように出力される。図8に後方向横方
向半画素処理回路4の詳細構成ブロック図を示す。
After time t 11 , the output data is "I + 2 × J + K", "J + 2 × K + L", "K + 2 ×".
L + M ”, ... FIG. 8 shows a detailed block diagram of the rearward horizontal half-pixel processing circuit 4.

【0083】後方向横方向半画素処理回路4は、半画素
処理制御信号に基づいて、第1入力データD11あるいは
第2入力データD12の何れかを選択的に出力する選択回
路20と、選択回路20の出力と第1入力データD11
加算する加算器21と、加算器21の出力信号を所定時
間遅延して出力する第1画素遅延回路22と、第1画素
遅延回路22の出力を2倍する乗算器23と、乗算器2
3の出力を所定時間遅延して出力する第2画素遅延回路
24と、を備えて構成されている。
The backward horizontal half-pixel processing circuit 4 includes a selection circuit 20 for selectively outputting either the first input data D 11 or the second input data D 12 based on the half-pixel processing control signal. An adder 21 that adds the output of the selection circuit 20 and the first input data D 11 , a first pixel delay circuit 22 that outputs the output signal of the adder 21 after delaying for a predetermined time, and an output of the first pixel delay circuit 22. And a multiplier 23 that doubles
And a second pixel delay circuit 24 which delays the output of No. 3 by a predetermined time and outputs the delayed signal.

【0084】次に後方向横方向処理回路4の動作を説明
するが、後方向処理はH.261の場合には存在しない
ので、MPEG1の場合についてのみ説明する。まず動
作説明に先立ち、MPEG1の入力データフォーマット
を図10を参照して説明する。
Next, the operation of the backward horizontal direction processing circuit 4 will be described. Since it does not exist in the case of H.261, only the case of MPEG1 will be described. Before explaining the operation, the input data format of MPEG1 will be described with reference to FIG.

【0085】MPEG1の入力データフォーマットは、
図10(a)に示すように、9×9画素構成となってお
り、図10(b)に示すように、二次元空間上、左から
右、上から下へと順次処理を行う。より具体的には、図
10(a)に示すように、A→B→C→……→I→J→
K→……→Zの順序で処理を行うことになる。
The input data format of MPEG1 is
As shown in FIG. 10A, it has a 9 × 9 pixel configuration, and as shown in FIG. 10B, processing is sequentially performed from left to right and from top to bottom in a two-dimensional space. More specifically, as shown in FIG. 10A, A → B → C → …… → I → J →
Processing is performed in the order of K → ... → Z.

【0086】次に具体的動作を図9のタイミングチャー
トを参照して説明する。時刻t0 に半画素処理制御信号
がオンになると、選択回路20は第2入力データD12
「B」を選択し出力する。
Next, the specific operation will be described with reference to the timing chart of FIG. When the half pixel processing control signal is turned on at time t 0 , the selection circuit 20 causes the second input data D 12 =
Select "B" and output.

【0087】これにより加算器21は第1入力データD
11=「A」と第2入力データD12=「B」を加算して、
時刻t0 に出力データ’=「A+B」として第1画素
遅延回路22に出力する(図9(e)参照)。
As a result, the adder 21 causes the first input data D
11 = “A” and second input data D 12 = “B” are added,
At time t 0 , output data '= “A + B” is output to the first pixel delay circuit 22 (see FIG. 9E).

【0088】第1画素遅延回路22は、出力データ’
を所定時間(1クロック相当)遅延して、時刻t1 に出
力データ’として乗算器23に出力する(図9(f)
参照)。
The first pixel delay circuit 22 outputs the output data '
Is delayed by a predetermined time (corresponding to one clock) and is output to the multiplier 23 as output data ′ at time t 1 (FIG. 9 (f)).
reference).

【0089】乗算器23は、出力データ’=「A+
B」を2倍して、時刻t1 に出力データ’=「2×
(A+B)」として第2画素遅延回路24に出力する
(図9(g)参照)。
The multiplier 23 outputs the output data '= “A +
B ”is doubled and output data at time t 1 ′ =“ 2 ×
(A + B) ”and is output to the second pixel delay circuit 24 (see FIG. 9G).

【0090】第2画素遅延回路24は、出力データ’
を所定時間(1クロック相当)遅延し、時刻t2 に出力
データ’=「2×(A+B)」として出力する。以
下、同様にして、第2画素遅延回路24からは、時刻t
3 、t4 、t5 、……のタイミングで、出力データ=
「2×(B+C)」、「2×(C+D)」、「2×(D
+E)」、……のように順次出力されることになる。
The second pixel delay circuit 24 outputs the output data '
Is delayed by a predetermined time (corresponding to one clock), and is output as output data '= “2 × (A + B)” at time t 2 . Thereafter, similarly, the second pixel delay circuit 24 outputs the time t
At the timing of 3 , t 4 , t 5 , ..., Output data =
"2x (B + C)", "2x (C + D)", "2x (D
+ E) ”, ..., and so on.

【0091】図11に前方向縦方向処理回路3の詳細構
成ブロック図を示す。前方向縦方向処理回路3は、入力
データD3 を所定時間(1クロック相当)遅延して出力
データ”として出力する第1画素遅延回路30と、結
果的に入力データD3 を1行分(8クロック相当)遅延
して出力データ”として出力する第1行遅延回路31
と、入力データD3 を2倍して出力する乗算器32と、
MPEG1動作モードとH.261動作モードとを切替
えるためのモード切替信号により入力データD3 あるい
は乗算器10により2倍された入力データD3 の何れか
を選択的に出力する第1選択回路33と、第1ループ内
フィルタ制御信号に基づいて、「0」あるいは出力デー
タ”の何れかを選択的に出力する第2選択回路34
と、半画素処理制御信号に基づいて第1選択回路33の
出力あるいは第2選択回路34の出力の何れかを選択的
に出力する第3選択回路35と、第2選択回路34の出
力と第3選択回路35の出力を加算して出力データ”
として出力する第1加算器36と、第1加算器36の出
力信号を所定時間(1クロック相当)遅延して出力デー
タ”として出力する第2画素遅延回路37と、出力デ
ータ”を1行分(8クロック相当)遅延して出力デー
タ”として出力する第2行遅延回路38と、前述のモ
ード切替信号により出力データ”あるいは出力データ
”の何れかを選択的に出力する第4選択回路39と、
第2ループ内フィルタ制御信号に基づいて出力データ
”あるいは第4選択回路39の出力データの何れかを
選択的に出力する第5選択回路40と、第4選択回路3
9の出力データと第5選択回路40の出力データとを加
算して出力データ”として出力する第2加算器41
と、第2加算器41の出力データを所定時間(1クロッ
ク相当)遅延して出力データ”として出力する第3画
素遅延回路42と、出力データ”を16分の1して出
力する除算器43と、を備えて構成されている。次にM
PEG1とH.261の場合に分けて前方向縦方向処理
回路3の動作を説明する。
FIG. 11 shows a detailed block diagram of the forward vertical processing circuit 3. The forward / vertical direction processing circuit 3 delays the input data D 3 by a predetermined time (corresponding to one clock) and outputs it as output data ", and consequently the input data D 3 for one row ( First row delay circuit 31 which delays (equivalent to 8 clocks) and outputs as output data "
And a multiplier 32 that doubles and outputs the input data D 3 .
MPEG1 operating mode and H.264. The first selection circuit 33 for outputting either selectively input data D 3 or multiplier 10 by 2-fold input data D 3 by a mode switching signal for switching between 261 operation mode, the first loop filter A second selection circuit 34 that selectively outputs either "0" or output data "based on the control signal.
And a third selection circuit 35 that selectively outputs either the output of the first selection circuit 33 or the output of the second selection circuit 34 based on the half-pixel processing control signal, and the output of the second selection circuit 34 Output data of the output of the 3 selection circuit 35
And a second pixel delay circuit 37 for delaying the output signal of the first adder 36 by a predetermined time (corresponding to one clock) and outputting as output data ", and the output data" for one row. A second row delay circuit 38 that delays (equivalent to 8 clocks) and outputs as output data, and a fourth selection circuit 39 that selectively outputs either output data "or output data" by the mode switching signal described above. ,
A fifth selection circuit 40 for selectively outputting either the output data "or the output data of the fourth selection circuit 39 based on the second loop filter control signal, and the fourth selection circuit 3.
The second adder 41 that adds the output data of 9 and the output data of the fifth selection circuit 40 and outputs the result as "output data".
And a third pixel delay circuit 42 that delays the output data of the second adder 41 for a predetermined time (corresponding to one clock) and outputs the output data as "output data", and a divider 43 that outputs the output data as "1/16". And are provided. Then M
PEG1 and H.264. The operation of the forward vertical processing circuit 3 will be described separately for the case of H.261.

【0092】a)MPEG1の場合 まず動作説明に先立ち、MPEG1の場合の入力データ
フォーマットを図14を参照して説明する。
[0092] a) For MPEG1 first before describing the operation will be described with reference to FIG. 14 the input data formats for MPEG1.

【0093】MPEG1の入力データフォーマットは、
図14(a)に示すように、8×9画素構成となってお
り、図14(b)に示すように、二次元空間上、左から
右、上から下へと順次処理を行う。より具体的には、図
14(a)に示すように、A→B→C→……→H→I→
J→……→Zの順序で処理を行うこととなる。
The input data format of MPEG1 is
As shown in FIG. 14A, it has an 8 × 9 pixel configuration, and as shown in FIG. 14B, processing is sequentially performed from left to right and from top to bottom in a two-dimensional space. More specifically, as shown in FIG. 14A, A → B → C → …… → H → I →
Processing is performed in the order of J → ... → Z.

【0094】次に具体的動作を図12及び図13のタイ
ミングチャートを参照して説明する。まず第1画素遅延
回路30は、入力データD3 を所定時間(1クロック相
当)遅延して出力データ”(図11参照)として第1
行遅延回路31及び第5選択回路40に出力する。
Next, the specific operation will be described with reference to the timing charts of FIGS. 12 and 13. First, the first pixel delay circuit 30 delays the input data D 3 for a predetermined time (corresponding to one clock) and outputs it as “output data” (see FIG. 11).
It is output to the row delay circuit 31 and the fifth selection circuit 40.

【0095】より具体的には、データの入力は半画素処
理制御信号がオンとなる時刻t0 (図12参照)から開
始するが、実質的に動作を開始するのは、入力データD
3 =「I」、出力データ”=「H」、出力データ”
=「A」のとき、すなわち、時刻t1 (図13参照)か
らである。
More specifically, the data input is started at time t 0 (see FIG. 12) when the half pixel processing control signal is turned on, but the operation is substantially started by the input data D.
3 = "I", output data "=" H ", output data"
= “A”, that is, from time t 1 (see FIG. 13).

【0096】時刻t1 になると、第1選択回路33は、
入力データD3 =「I」を選択的に出力する。つづいて
第3選択回路35は半画素処理制御信号に基づいて入力
データD3 =「I」を選択的に第1加算器36に出力す
る。
At time t 1 , the first selection circuit 33
Input data D 3 = “I” is selectively output. Subsequently, the third selection circuit 35 selectively outputs the input data D 3 = “I” to the first adder 36 based on the half pixel processing control signal.

【0097】一方、第2選択回路34は、第1ループ内
フィルタ制御信号により、出力データ”=「A」を選
択し第3選択回路35及び第1加算器36に出力する。
これらにより第1加算器36は出力データ”=「A」
及び入力データD3 =「I」を加算し、時刻t1 に出力
データ”=「A+I」を第2画素遅延回路37に出力
する。
On the other hand, the second selection circuit 34 selects the output data "=" A "by the first loop filter control signal and outputs it to the third selection circuit 35 and the first adder 36.
As a result, the first adder 36 outputs data "=" A ".
And input data D 3 = “I” are added, and output data “=“ A + I ”is output to the second pixel delay circuit 37 at time t 1 .

【0098】第2画素遅延回路37は、出力データ”
を1クロック遅延して出力データ”として時刻t2
第4選択回路39に出力する。このとき第4選択回路3
9は、モード切替信号により第2画素遅延回路37側で
あり、出力データ”を選択的に第5選択回路40及び
第2加算器41に出力する。
The second pixel delay circuit 37 outputs the output data "
Is delayed by 1 clock and output as output data "at time t 2 to the fourth selection circuit 39. At this time, the fourth selection circuit 3
Reference numeral 9 denotes the second pixel delay circuit 37 side according to the mode switching signal, and selectively outputs the output data "to the fifth selection circuit 40 and the second adder 41.

【0099】第2ループ内フィルタ制御信号により第5
選択回路40は第4選択回路39側であり、これにより
第2加算器41は、出力データ”に同一の出力データ
”を加算し、時刻t2 に出力データ”=「(A+
I)+(A+I)」=「2×(A+I)」を第3画素遅
延回路42に出力する。
The fifth in-loop filter control signal
Selection circuit 40 is a fourth selection circuit 39 side, whereby the second adder 41 adds the "same output data to" output data, the output data at time t 2 "=" (A +
I) + (A + I) ”=“ 2 × (A + I) ”is output to the third pixel delay circuit 42.

【0100】第3画素遅延回路42は、出力データ”
を1クロック分遅延して時刻t3 に出力データ”=
「2×(A+I)」として出力する。これにより除算回
路43は、出力データ”を16分の1して出力する。
The third pixel delay circuit 42 outputs the output data "
Is delayed by one clock and output data at time t 3 "=
Output as “2 × (A + I)”. As a result, the division circuit 43 outputs the output data “1/16”.

【0101】以下、同様にして、第3画素遅延回路42
からは、時刻t4 、t5 、t6 、……のタイミングで、
出力データ”=「2×(B+J)」、「2×(C+
K)」、「2×(D+L)」、……のように順次出力さ
れることになる。
Thereafter, in the same manner, the third pixel delay circuit 42
From the time t 4 , t 5 , t 6 , ...
Output data ”=“ 2 × (B + J) ”,“ 2 × (C +
K) ”,“ 2 × (D + L) ”, ...

【0102】b)H.261の場合 まず動作説明に先立ち、H.261の場合の入力データ
フォーマットを図18を参照して説明する。
B) H. In the case of H.261, prior to the explanation of the operation, H.264 is used. The input data format for H.261 will be described with reference to FIG.

【0103】H.261の入力データフォーマットは、
図18(a)に示すように、8×8画素構成となってお
り、図18(b)に示すように、二次元空間上、左から
右、上から下へと順次処理を行う。より具体的には、図
18(a)に示すように、A→B→C→……→F→G→
H→I→J→……→Zの順序で処理を行うことになる。
H. The input data format of H.261 is
As shown in FIG. 18A, it has an 8 × 8 pixel configuration, and as shown in FIG. 18B, processing is sequentially performed from left to right and from top to bottom in a two-dimensional space. More specifically, as shown in FIG. 18A, A → B → C → …… → F → G →
Processing is performed in the order of H → I → J → ... → Z.

【0104】次に具体的動作を図15乃至図17のタイ
ミングチャートを参照して説明する。まず第1画素遅延
回路30は、時刻t0 に入力された入力データD3
「A」を所定時間(1クロック相当)遅延して時刻t1
に出力データ”として第1行遅延回路31及び第5選
択回路40に出力する。
Next, the specific operation will be described with reference to the timing charts of FIGS. First 1 pixel delay circuit 30 is inputted is inputted to the time t 0 data D 3 =
"A" is delayed by a predetermined time (corresponding to one clock) and time t 1
To the first row delay circuit 31 and the fifth selection circuit 40.

【0105】また、乗算器32は、入力データD3
「A」を2倍して(=「2×A」)第1選択回路33に
出力する。このとき、第1ループ内フィルタ制御信号は
オフであるので、第2選択回路34においては「0」が
選択され、第3選択回路35及び第1加算器36に出力
される。
Further, the multiplier 32 outputs the input data D 3 =
It doubles “A” (= “2 × A”) and outputs it to the first selection circuit 33. At this time, since the first in-loop filter control signal is off, “0” is selected in the second selection circuit 34 and output to the third selection circuit 35 and the first adder 36.

【0106】次に半画素処理制御信号はオフであるので
第1選択回路33の出力が選択され、第1加算器36に
より2倍の入力データD3 =「2×A」と「0」とが加
算され、時刻t0 に出力データ”=「2×A+0」=
「2×A」が第2画素遅延回路37に出力される(図1
5(g)参照)。
Next, since the half pixel processing control signal is off, the output of the first selection circuit 33 is selected, and the doubled input data D 3 = “2 × A” and “0” are selected by the first adder 36. Is added and output data at time t 0 ″ = “2 × A + 0” =
“2 × A” is output to the second pixel delay circuit 37 (see FIG. 1).
5 (g)).

【0107】第2画素遅延回路37は、出力データ”
=「2×A」を1クロック分遅延して時刻t1 に出力デ
ータ”として第2行遅延回路38及び第4選択回路3
9に出力する(図15(h)参照)。
The second pixel delay circuit 37 outputs the output data
= “2 × A” is delayed by one clock and is output data “at time t 1 ” as the second row delay circuit 38 and the fourth selection circuit 3
9 (see FIG. 15 (h)).

【0108】以下、同様にして、時刻t2 、t3
4 、……のタイミングで、出力データ”=「2×
B」、「2×C」、「2×D」、……のように順次出力
されることになる。
Thereafter, similarly, at times t 2 , t 3 ,
t 4, at the timing of the ..., output data "=" 2 ×
“B”, “2 × C”, “2 × D”, ...

【0109】つづいて時刻t5 (図16参照)になる
と、第1ループ内フィルタ制御信号がオンとなり、第2
選択回路34は第1行遅延回路31側となり、その出力
データ”を選択的に第3選択回路35及び第1加算器
36に出力することになる。
Subsequently, at time t 5 (see FIG. 16), the first loop filter control signal is turned on and the second loop filter control signal is turned on.
The selection circuit 34 is on the side of the first row delay circuit 31 and selectively outputs the output data "to the third selection circuit 35 and the first adder 36.

【0110】第1加算器36は、第3選択回路35の出
力データ=「2×I」と第2選択回路34の出力データ
=「A」とを加算し、時刻t5 に出力データ”=「A
+2×I」を出力する。
The first adder 36 adds the output data = “2 × I” of the third selection circuit 35 and the output data = “A” of the second selection circuit 34, and outputs the output data “=” at time t 5. "A
+ 2 × I ”is output.

【0111】以下、同様にして、時刻t6 、t7
8 、……のタイミングで、出力データ”=「B+2
×J」、「C+2×K」、「D+2×L」、……のよう
に順次出力されることになる。
Thereafter, similarly, at times t 6 , t 7 ,
At the timing of t 8 , ..., Output data ”=“ B + 2
XJ ”,“ C + 2 × K ”,“ D + 2 × L ”, ...

【0112】さらに時刻t9 (図17参照)になると、
第2ループ内フィルタ制御信号がオンとなり、第5選択
回路40は第1画素遅延回路30側となり、その出力デ
ータ”を選択的に第2加算器41に出力することにな
る。
At time t 9 (see FIG. 17),
The filter control signal in the second loop is turned on, the fifth selection circuit 40 becomes the first pixel delay circuit 30 side, and its output data "is selectively output to the second adder 41.

【0113】第1加算器36は、第4選択回路39の出
力データである出力データ”=「A+2×I」と第5
選択回路40の出力データである出力データ”=
「Q」とを加算し、時刻t9 において出力データ”=
「A+2×I+Q」を出力する(図17(k)参照)。
The first adder 36 outputs the output data “=“ A + 2 × I ”, which is the output data of the fourth selection circuit 39, to the fifth data.
Output data which is output data of the selection circuit 40 "=
Add "Q" and output data at time t 9 "=
“A + 2 × I + Q” is output (see FIG. 17 (k)).

【0114】以下、同様にして、時刻t10、t11
12、……のタイミングで、出力データ”=「B+2
×J+R」、「C+2×K+S」、「D+2×L+
T」、……のように順次出力されることになる。
Thereafter, similarly, at times t 10 , t 11 ,
At the timing of t 12 , ..., Output data ”=“ B + 2
× J + R ”,“ C + 2 × K + S ”,“ D + 2 × L + ”
"T", ... and so on.

【0115】図19に後方向縦方向半画素処理回路5の
詳細構成ブロック図を示す。後方向縦方向半画素処理回
路5は、入力データD4 を1行分(8クロック相当)遅
延して出力データA として出力する行遅延回路50
と、半画素処理制御信号に基づいて、入力データD4 あ
るいは出力データA の何れかを選択的に出力する選択
回路51と、選択回路51の出力と出力データA を加
算して出力データA として出力する加算器52と、出
力データA を所定時間(1クロック相当)遅延して出
力データA として出力する第1画素遅延回路53と、
出力データA を2倍して出力データA として出力す
る乗算器54と、出力データAを所定時間(1クロッ
ク相当)遅延して出力データA として出力する第2画
素遅延回路55と、出力データA を16分の1する除
算器56と、を備えて構成されている。
FIG. 19 shows a detailed block diagram of the rear half-pixel processing circuit 5 in the vertical direction. The backward vertical half-pixel processing circuit 5 delays the input data D 4 by one row (equivalent to 8 clocks) and outputs it as output data A.
And a selection circuit 51 which selectively outputs either the input data D4 or the output data A based on the half pixel processing control signal, and the output of the selection circuit 51 and the output data A are added and output as the output data A. An adder 52 for delaying the output data A, a first pixel delay circuit 53 for delaying the output data A by a predetermined time (corresponding to one clock) and outputting the output data A,
A multiplier 54 that doubles the output data A and outputs the output data A, a second pixel delay circuit 55 that delays the output data A by a predetermined time (equivalent to one clock) and outputs the output data A, and an output data A. And a divider 56 that divides 1/16 into

【0116】次に後方向縦方向半画素処理回路5の動作
を説明するが、後方向横方向半画素処理の場合と同様に
後方向処理はH.261の場合には存在しないので、M
PEG1の場合についてのみ説明する。
Next, the operation of the backward vertical half-pixel processing circuit 5 will be described. As with the case of the backward horizontal half-pixel processing, the backward processing is H.264. In the case of 261, it does not exist, so M
Only the case of PEG1 will be described.

【0117】まず動作説明に先立ち、MPEG1の入力
データフォーマットを図22を参照して説明する。MP
EG1の入力データフォーマットは、図22(a)に示
すように、8×9画素構成となっており、図22(b)
に示すように、二次元空間上、左から右、上から下へと
順次処理を行う。より具体的には、図22(a)に示す
ように、A→B→C→……→I→J→K→……→Zの順
序で処理を行うことになる。
Before explaining the operation, the input data format of MPEG1 will be described with reference to FIG. MP
The input data format of EG1 has an 8 × 9 pixel configuration as shown in FIG. 22 (a), and FIG.
As shown in, the processing is sequentially performed from left to right and from top to bottom in the two-dimensional space. More specifically, as shown in FIG. 22A, the processing is performed in the order of A → B → C → ... → I → J → K → ... → Z.

【0118】次に具体的動作を説明する。図20に示す
ように、時刻t0 に半画素処理制御信号がオンになる
と、順次入力データD4 (=A、B、C、D、……)が
入力され、行遅延回路50に入力される。
Next, the specific operation will be described. As shown in FIG. 20, when the half pixel processing control signal is turned on at time t 0 , the input data D 4 (= A, B, C, D, ...) Is sequentially input and is input to the row delay circuit 50. It

【0119】そして、図21に示すように、時刻t1
なると、行遅延回路50から入力データが順次出力デー
タA として出力されるようになり、後方向縦方向半画
素処理回路5は実質的に動作を開始する。
Then, as shown in FIG. 21, at time t 1 , the row delay circuit 50 sequentially outputs the input data as the output data A, and the rear-direction vertical half-pixel processing circuit 5 is substantially operated. To start operation.

【0120】時刻t1 において、選択回路51は、半画
素処理制御信号により入力データD 4 側であり、選択回
路51は、そのときの入力データである入力データD4
=「I」を選択し出力する。
Time t1In the selection circuit 51,
Input data D by elementary processing control signal FourSide and select times
The path 51 is the input data D which is the input data at that time.Four
= “I” is selected and output.

【0121】これにより加算器52は入力データD4
「I」と出力データA =「A」を加算して時刻t1
出力データA =「A+I」として第1画素遅延回路5
3に出力する(図21(e)参照)。
As a result, the adder 52 inputs the input data D 4 =
"I" and output data A = "A" are added and output data A = "A + I" at time t 1
3 (see FIG. 21 (e)).

【0122】第1画素遅延回路53は、出力データA
を所定時間(1クロック相当)遅延して、時刻t2 に出
力データA =「A+I」として乗算器54に出力す
る。乗算器54は、出力データA =「A+I」を2倍
して、時刻t2 に出力データA =「2×(A+I)」
として第2画素遅延回路55に出力する。
The first pixel delay circuit 53 outputs the output data A
Is delayed by a predetermined time (corresponding to one clock), and is output to the multiplier 54 as output data A = “A + I” at time t 2 . The multiplier 54 doubles the output data A = “A + I” and outputs the output data A = “2 × (A + I)” at time t 2.
Is output to the second pixel delay circuit 55.

【0123】第2画素遅延回路55は、出力データA
を所定時間(1クロック相当)遅延し、時刻t3 に出力
データA =「2×(A+I)」として出力する(図2
1(h)参照)。
The second pixel delay circuit 55 outputs the output data A
Is delayed by a predetermined time (corresponding to one clock), and is output as output data A = “2 × (A + I)” at time t 3 (FIG. 2).
1 (h)).

【0124】以下、同様にして、第2画素遅延回路24
からは、時刻t4 、t5 、t6 、……のタイミングで、
出力データA =「2×(B+J)」、「2×(C+
K)」、「2×(D+L)」、……のように順次出力さ
れることになる。
Thereafter, similarly, the second pixel delay circuit 24
From the time t 4 , t 5 , t 6 , ...
Output data A = "2 x (B + J)", "2 x (C +
K) ”,“ 2 × (D + L) ”, ...

【0125】そして除算器56は出力データA を16
分の1に除算して出力する。図23に両方向処理回路6
の詳細構成ブロック図を示す。両方向処理回路6は、前
/後方向選択制御信号により第1入力データD5 あるい
は第2入力データD6 の何れかを出力データB として
選択的に出力する第1選択回路60と、出力データB
を2倍して出力する乗算器61と、第1入力データD5
と第2入力データD6 を加算して出力データB として
出力する加算器62と、両方向処理制御信号に基づいて
加算器61の出力データあるいは出力データB の何れ
かを選択的に出力データB として出力する第2選択回
路63と、出力データB を所定時間(1クロック相
当)遅延して出力データB として出力する画素遅延回
路64と、出力データB を2分の1して出力する除算
器65と、を備えて構成されている。
The divider 56 outputs the output data A 16
Divide to 1 and output. FIG. 23 shows a bidirectional processing circuit 6
2 shows a detailed configuration block diagram of FIG. The bidirectional processing circuit 6 includes a first selection circuit 60 that selectively outputs either the first input data D 5 or the second input data D 6 as output data B according to the front / rear direction selection control signal, and the output data B.
A multiplier 61 for doubling and outputting the first input data D 5
And the second input data D 6 are added and output as output data B, and either the output data of the adder 61 or the output data B is selectively used as the output data B based on the bidirectional processing control signal. The second selection circuit 63 for outputting, the pixel delay circuit 64 for delaying the output data B 1 by a predetermined time (corresponding to 1 clock) and outputting it as the output data B, and the divider 65 for outputting the output data B 2 by half. And are provided.

【0126】次にMPEG1とH.261の場合に分け
て両方向処理回路6の動作を説明する。 a)MPEG1の場合 まず動作説明に先立ち、MPEG1の場合の入力データ
フォーマットを図25を参照して説明する。
Next, according to MPEG1 and H.264. The operation of the bidirectional processing circuit 6 will be described separately for the case of H.261. a) In the case of MPEG1 Before explaining the operation, the input data format in the case of MPEG1 will be described with reference to FIG.

【0127】MPEG1の処理を行う場合の前方向縦方
向処理回路3からの入力データフォーマットは、図25
(a)に示すように、8×8画素構成となっており、図
25(b)に示すように、二次元空間上、左から右、上
から下へと順次処理を行う。より具体的には、図25
(a)に示すように、A→B→C→……→I→J→K→
……→Zの順序でデータが入力されることになる。
FIG. 25 shows the input data format from the forward-direction vertical processing circuit 3 when the MPEG1 processing is performed.
As shown in FIG. 25A, it has an 8 × 8 pixel configuration, and as shown in FIG. 25B, processing is performed sequentially from left to right and from top to bottom in a two-dimensional space. More specifically, FIG.
As shown in (a), A → B → C → …… → I → J → K →
The data will be input in the order of →→ Z.

【0128】また、MPEG1の処理を行う場合の後方
向縦方向半画素処理回路5からの入力データフォーマッ
トは、図25(c)に示すように、8×8画素構成とな
っており、図25(d)に示すように、二次元空間上、
左から右、上から下へと順次処理を行う。より具体的に
は、図25(c)に示すように、a→b→c→……→i
→j→k→……→zの順序でデータが入力されることに
なる。
The input data format from the rear-direction vertical half-pixel processing circuit 5 in the case of performing the MPEG1 processing has an 8 × 8 pixel configuration as shown in FIG. 25 (c). As shown in (d), in two-dimensional space,
It processes from left to right and from top to bottom. More specifically, as shown in FIG. 25 (c), a → b → c → …… → i
Data will be input in the order of → j → k → …… → z.

【0129】次に具体的動作図24のタイミングチャー
トを参照して説明する。まず時刻t0 に第1入力データ
5 =「A」及び第2入力データD6 =「a」が入力さ
れると、加算器62は、第1入力データD5 =「A」及
び第2入力データD6 =「a」を加算し、出力データ
B =「A+a」として第2選択回路63に出力する(図
24(d)参照)。
Next, the specific operation will be described with reference to the timing chart of FIG. First, when the first input data D 5 = “A” and the second input data D 6 = “a” are input at time t 0 , the adder 62 causes the first input data D 5 = “A” and the second input data D 5 = “A”. Input data D 6 = "a" added, output data
B = “A + a” is output to the second selection circuit 63 (see FIG. 24D).

【0130】MPEG1 の処理を行う場合には、両方向
処理制御信号は加算器62側であり、第2選択回路63
において出力データB =「A+a」が選択され、時刻
0に出力データB =「A+a」として画素遅延回路
64に出力される(図24(f)参照)。
When performing MPEG 1 processing, the bidirectional processing control signal is on the side of the adder 62, and the second selection circuit 63
In, the output data B 2 = “A + a” is selected, and is output to the pixel delay circuit 64 as the output data B 2 = “A + a” at time t 0 (see FIG. 24 (f)).

【0131】そして出力データB は、画素遅延回路6
4により1クロック分遅延されて時刻t1 に出力データ
B =「A+a」として出力される(図24(g)参
照)。以下、同様にして、画素遅延回路64からは、時
刻t2 、t3 、t4 、……のタイミングで、出力データ
B 「B+b」、「C+c」、「D+d」、……のよう
に順次出力されることになる。
The output data B is the pixel delay circuit 6
Output data at time t 1 after being delayed by one clock by 4
B = “A + a” is output (see FIG. 24 (g)). Similarly, the output data from the pixel delay circuit 64 is output at the timings of t 2 , t 3 , t 4 , ...
B "B + b", "C + c", "D + d", ... will be sequentially output.

【0132】そして、画素遅延回路64から出力された
出力データB は、除算器65により2分の1されて出
力されることとなる。これらの結果、両方向処理回路6
からは、MPEG1に準拠したフォーマットを有する予
測フレーム画像データFD が出力されることとなる。
The output data B output from the pixel delay circuit 64 is halved by the divider 65 and then output. As a result, the bidirectional processing circuit 6
Will output the predicted frame image data F D having a format compliant with MPEG1.

【0133】b)H.261の場合 まず動作説明に先立ち、H.261の場合の入力データ
フォーマットを図27を参照して説明する。
B) H. In the case of H.261, prior to the explanation of the operation, H.264 is used. The input data format for H.261 will be described with reference to FIG.

【0134】H.261の入力データフォーマットは、
図27(a)に示すように、8×8画素構成となってお
り、図27(b)に示すように、二次元空間上、左から
右、上から下へと順次処理を行う。より具体的には、図
27(a)に示すように、A→B→C→……→F→G→
H→I→J→……→Zの順序で処理を行うことになる。
H. The input data format of H.261 is
As shown in FIG. 27A, it has an 8 × 8 pixel configuration, and as shown in FIG. 27B, processing is sequentially performed from left to right and from top to bottom in a two-dimensional space. More specifically, as shown in FIG. 27A, A → B → C → …… → F → G →
Processing is performed in the order of H → I → J → ... → Z.

【0135】次に具体的動作を図26のタイミングチャ
ートを参照して説明する。まず、時刻t0 において前/
後方向選択制御信号は、「前方向」を選択しており、第
1選択回路60において第1入力データD5 =「A」が
選択される。
Next, the specific operation will be described with reference to the timing chart of FIG. First, before / at time t 0
Backward selection control signal has selected the "forward", the first selection circuit 60 first input data D 5 = "A" is selected.

【0136】一方、両方向処理制御信号は、乗算器61
(両方向処理オフ)側であり、第2選択回路63おいて
乗算器61の出力データ(=第1入力データD5 ×2)
が選択される。
On the other hand, the bidirectional processing control signal is supplied to the multiplier 61.
On the (bidirectional processing off) side, the output data of the multiplier 61 in the second selection circuit 63 (= first input data D 5 × 2)
Is selected.

【0137】この結果、時刻t0 において第2選択回路
63から画素遅延回路64に出力される出力データは出
力データB =「2×A」となる(図26(f)参
照)。そして出力データB は、第1画素遅延回路15
により1クロック分遅延され時刻t1 において出力デー
タB =「2×A」として出力される(図26(g)参
照)。
As a result, the output data output from the second selection circuit 63 to the pixel delay circuit 64 at time t 0 becomes output data B = “2 × A” (see FIG. 26 (f)). The output data B is the first pixel delay circuit 15
Thus, the output data B is delayed by one clock and output at time t 1 as B = “2 × A” (see FIG. 26G).

【0138】以下、同様にして、画素遅延回路64から
は、時刻t2 、t3 、t4 、……のタイミングで、出力
データB =「2×B」、「2×C」、「2×D」、…
…のように順次出力されることになる。
Similarly, from the pixel delay circuit 64, output data B = “2 × B”, “2 × C”, “2” is output from the pixel delay circuit 64 at the timings of times t 2 , t 3 , t 4 , .... × D ”, ...
... will be output sequentially.

【0139】そして、画素遅延回路64から出力された
出力データB は、除算器65により2分の1されて出
力されることとなる。これらの結果、両方向処理回路6
からは、H.261に準拠したフォーマットを有する予
測フレーム画像データFD が出力されることとなる。
The output data B output from the pixel delay circuit 64 is halved by the divider 65 and then output. As a result, the bidirectional processing circuit 6
From H.M. The predicted frame image data F D having a format compliant with H.261 is output.

【0140】以上の説明のように本実施例によれば、前
方向横方向処理回路2はMPEG1における前方向横方
向半画素処理回路及びH.261における横方向処理回
路の機能を併せ持ち、前方向縦方向処理回路3は、MP
EG1における前方向縦方向半画素処理回路及びH.2
61における縦方向処理回路の機能を併せ持っているの
で、MPEG1及びH.261の両方に準拠していると
ともに、回路の共用により回路規模の増大を抑制するこ
とができる。
As described above, according to this embodiment, the forward horizontal direction processing circuit 2 includes the forward horizontal direction half pixel processing circuit and the H.264 / H.264 pixel processing circuit in MPEG1. 261 also has the function of the horizontal direction processing circuit, and the front direction vertical direction processing circuit 3 is MP
The forward-direction vertical half-pixel processing circuit in H.EG1 and H.264. Two
61 also has the function of the vertical direction processing circuit, so that MPEG1 and H. In addition to complying with H.261, it is possible to suppress an increase in circuit scale by sharing the circuit.

【0141】より具体的には、図39の従来例の場合、
およそ15000トランジスタ程度必要であったが、図
1の実施例の構成の場合、およそ6500トランジスタ
程度で構成でき、50[%]強の回路規模削減が可能で
ある。
More specifically, in the case of the conventional example shown in FIG.
Although about 15,000 transistors were required, the configuration of the embodiment shown in FIG. 1 can be configured with about 6500 transistors, and the circuit scale can be reduced by a little over 50 [%].

【0142】[0142]

【発明の効果】本発明によれば、前方向横方向処理手段
は前後両方向動き補償予測処理における前方向横方向半
画素処理の機能及び1−2−1型ディジタルロウパスフ
ィルタを用いた動き補償予測処理における横方向処理の
機能を併せ持ち、前方向縦方向処理手段は、前後両方向
動き補償予測処理における前方向縦方向半画素処理機能
及び1−2−1型ディジタルロウパスフィルタを用いた
動き補償予測処理における縦方向処理の機能を併せ持っ
ているので、前後両方向動き補償予測処理及び1−2−
1型ディジタルロウパスフィルタを用いた動き補償予測
処理の双方に準拠しているとともに、回路の主要部の共
用をすることができ、回路規模の増大を抑制することが
できる。
According to the present invention, the forward horizontal processing means has the function of the forward horizontal half pixel processing in the forward and backward bidirectional motion compensation prediction processing and the motion compensation using the 1-2-1 type digital low pass filter. It also has a function of horizontal direction processing in the prediction process, and the forward direction vertical direction processing unit uses the forward direction vertical direction half pixel processing function in the forward and backward bidirectional motion compensation prediction process and motion compensation using a 1-2-1 type digital low-pass filter. Since it also has the function of the vertical direction processing in the prediction processing, the forward and backward bidirectional motion compensation prediction processing and 1-2
It complies with both the motion compensation prediction processing using the type 1 digital low-pass filter, and can share the main part of the circuit, thereby suppressing an increase in the circuit scale.

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

【図1】動き補償予測器の概要構成ブロック図である。FIG. 1 is a schematic configuration block diagram of a motion compensation predictor.

【図2】前方向横方向処理回路の詳細構成ブロック図で
ある。
FIG. 2 is a detailed configuration block diagram of a forward horizontal processing circuit.

【図3】前方向横方向処理回路のタイミングチャート
(MPEG1時)である。
FIG. 3 is a timing chart (at the time of MPEG1) of a forward horizontal processing circuit.

【図4】前方向横方向処理回路の入力データフォーマッ
ト(MPEG1時)である。
FIG. 4 is an input data format (at the time of MPEG1) of a forward horizontal processing circuit.

【図5】前方向横方向処理回路のタイミングチャート
(H.261時)[その1]である。
5 is a timing chart (No. 1 of H.261) [1] of the forward horizontal processing circuit.

【図6】前方向横方向処理回路のタイミングチャート
(H.261時)[その2]である。
6 is a timing chart (No. 2) of the forward direction horizontal direction processing circuit (at H.261).

【図7】前方向横方向処理回路の入力データフォーマッ
ト(H.261時)である。
7 is an input data format (at H.261) of the forward horizontal processing circuit.

【図8】後方向横方向半画素処理回路の詳細構成ブロッ
ク図である。
FIG. 8 is a detailed configuration block diagram of a rearward horizontal half-pixel processing circuit.

【図9】後方向横方向半画素処理回路のタイミングチャ
ートである。
FIG. 9 is a timing chart of a rearward horizontal half-pixel processing circuit.

【図10】後方向横方向半画素処理回路の入力データフ
ォーマット図である。
FIG. 10 is an input data format diagram of a rearward horizontal half-pixel processing circuit.

【図11】前方向縦方向処理回路の詳細構成ブロック図
である。
FIG. 11 is a detailed configuration block diagram of a forward vertical processing circuit.

【図12】前方向縦方向処理回路のタイミングチャート
(MPEG1時)[その1]である。
FIG. 12 is a timing chart of the forward-direction vertical processing circuit (at MPEG 1) [No. 1].

【図13】前方向縦方向処理回路のタイミングチャート
(MPEG1時)[その2]である。
FIG. 13 is a timing chart of the forward vertical processing circuit (at MPEG 1) [Part 2].

【図14】前方向縦方向処理回路の入力データフォーマ
ット(MPEG1時)である。
FIG. 14 is an input data format (at the time of MPEG1) of the forward vertical processing circuit.

【図15】前方向縦方向処理回路のタイミングチャート
(H.261時)[その1]である。
15 is a timing chart (No. 1 of H.261) [1] of the forward vertical processing circuit.

【図16】前方向縦方向処理回路のタイミングチャート
(H.261時)[その2]である。
16 is a timing chart (No. 2) of the forward vertical processing circuit (at H.261).

【図17】前方向縦方向処理回路のタイミングチャート
(H.261時)[その3]である。
17 is a timing chart (No. 3 at H.261) [3] of the forward vertical processing circuit.

【図18】前方向縦方向処理回路の入力データフォーマ
ット(H.261時)である。
18 is an input data format (at H.261) of the forward vertical processing circuit.

【図19】後方向縦方向半画素処理回路の詳細構成ブロ
ック図である。
FIG. 19 is a detailed configuration block diagram of a backward vertical half-pixel processing circuit.

【図20】後方向横方向半画素処理回路のタイミングチ
ャート[その1]である。
FIG. 20 is a timing chart [No. 1] of the rearward horizontal half-pixel processing circuit.

【図21】後方向横方向半画素処理回路のタイミングチ
ャート[その2]である。
FIG. 21 is a timing chart [No. 2] of the rearward horizontal half-pixel processing circuit.

【図22】後方向横方向半画素処理回路の入力データフ
ォーマットである。
FIG. 22 is an input data format of a rearward horizontal half-pixel processing circuit.

【図23】両方向処理回路の詳細構成ブロック図であ
る。
FIG. 23 is a detailed configuration block diagram of a bidirectional processing circuit.

【図24】両方向処理回路のタイミングチャート(MP
EG1)である。
FIG. 24 is a timing chart of a bidirectional processing circuit (MP
EG1).

【図25】両方向処理回路の入力データフォーマット
(MPEG1)である。
FIG. 25 is an input data format (MPEG1) of the bidirectional processing circuit.

【図26】両方向処理回路のタイミングチャート(H.
261)である
FIG. 26 is a timing chart of the bidirectional processing circuit (H.
261)

【図27】両方向処理回路の入力データフォーマット
(H.261)である。
27 is an input data format (H.261) of the bidirectional processing circuit.

【図28】従来の動画像復元装置(MPEG1)の概要
構成ブロック図である。
FIG. 28 is a schematic configuration block diagram of a conventional moving image restoration device (MPEG1).

【図29】動画像情報復号装置(MPEG1)の概要構
成ブロック図である。
FIG. 29 is a schematic configuration block diagram of a moving image information decoding device (MPEG1).

【図30】ビデオソース復号装置の詳細構成ブロック図
である。
[Fig. 30] Fig. 30 is a detailed configuration block diagram of a video source decoding device.

【図31】半画素精度両方向動き補償予測回路の詳細構
成ブロック図である。
FIG. 31 is a detailed configuration block diagram of a half-pixel precision bidirectional motion compensation prediction circuit.

【図32】横方向処理及び縦方向処理(MPEG1)の
説明図である。
FIG. 32 is an explanatory diagram of horizontal processing and vertical processing (MPEG1).

【図33】前後両方向動き補償予測(MPEG1)の説
明図である。
FIG. 33 is an explanatory diagram of front-back bidirectional motion compensation prediction (MPEG1).

【図34】動画像復元装置(H.261)の詳細構成ブ
ロック図である。
34 is a detailed configuration block diagram of a moving image restoration device (H.261).

【図35】動画像情報復号装置(H.261)の概要構
成ブロック図である。
35 is a schematic configuration block diagram of a moving image information decoding device (H.261).

【図36】ビデオソース復号装置(H.261)の詳細
構成ブロック図である。
36 is a detailed configuration block diagram of a video source decoding device (H.261).

【図37】ループ内フィルタの概要構成ブロック図であ
る。
FIG. 37 is a schematic block diagram of an in-loop filter.

【図38】ループ内フィルタ処理の説明図である。FIG. 38 is an explanatory diagram of in-loop filter processing.

【図39】MPEG1及びH.261準拠システムの説
明図である。
FIG. 39 shows MPEG1 and H.264. It is an explanatory view of a H.261 compliant system.

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

1…動き補償予測器 2…前方向横方向処理回路 3…前方向縦方向処理回路 4…後方向横方向半画素処理回路 5…後方向縦方向半画素処理回路 6…両方向処理回路 10…乗算器 11…第1選択回路 12…第2選択回路 13…第3選択回路 14…第1加算器 15…第1画素遅延回路 16…第4選択回路 17…第2加算器 18…第2画素遅延回路 20…選択回路 21…加算器 22…第1画素遅延回路 23…乗算器 24…第2画素遅延回路 30…第1画素遅延回路 31…第1行遅延回路 32…乗算器 33…第1選択回路 34…第2選択回路 35…第3選択回路 36…第1加算器 37…第2画素遅延回路 38…第2行遅延回路 39…第4選択回路 40…第5選択回路 41…第2加算器 42…第3画素遅延回路 43…除算器 50…行遅延回路 51…選択回路 52…加算器 53…第1画素遅延回路 54…乗算器 55…第2画素遅延回路 56…除算器 60…第1選択回路 61…乗算器 62…加算器 63…第2選択回路 64…画素遅延回路 65…除算器 FO …前方向フレーム画像データ FO1…第1前方向フレーム画像データ FO2…第2前方向フレーム画像データ FF …後方向フレーム画像データ FF1…第1後方向フレーム画像データ FF2…第2後方向フレーム画像データ FD …差分フレーム画像データ D1 …第1入力データ D2 …第2入力データ D11…第1入力データ D12…第2入力データ1 ... Motion compensation predictor 2 ... Forward horizontal processing circuit 3 ... Forward vertical processing circuit 4 ... Rearward horizontal half pixel processing circuit 5 ... Rearward vertical half pixel processing circuit 6 ... Bidirectional processing circuit 10 ... Multiplication 11 ... First selection circuit 12 ... Second selection circuit 13 ... Third selection circuit 14 ... First adder 15 ... First pixel delay circuit 16 ... Fourth selection circuit 17 ... Second adder 18 ... Second pixel delay Circuit 20 ... Selection circuit 21 ... Adder 22 ... First pixel delay circuit 23 ... Multiplier 24 ... Second pixel delay circuit 30 ... First pixel delay circuit 31 ... First row delay circuit 32 ... Multiplier 33 ... First selection Circuit 34 ... Second selection circuit 35 ... Third selection circuit 36 ... First adder 37 ... Second pixel delay circuit 38 ... Second row delay circuit 39 ... Fourth selection circuit 40 ... Fifth selection circuit 41 ... Second addition 42 ... Third pixel delay circuit 43 ... Divider 50 ... Row delay circuit 51 ... Selection circuit 52 ... Adder 53 ... First pixel delay circuit 54 ... Multiplier 55 ... Second pixel delay circuit 56 ... Divider 60 ... First selection circuit 61 ... Multiplier 62 ... Adder 63 ... 2 selection circuit 64 ... Pixel delay circuit 65 ... Divider F O ... Forward frame image data F O1 ... First forward frame image data F O2 ... Second forward frame image data F F ... Backward frame image data F F1 … First backward frame image data F F2 … Second backward frame image data F D … Differential frame image data D 1 … First input data D 2 … Second input data D 11 … First input data D 12 … 2 input data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力画像データに対して時間的に前後両
方向の動き補償予測処理あるいは1−2−1型ディジタ
ルロウパスフィルタを用いた動き補償予測処理のいずれ
かを外部からの選択制御信号に基づいて選択的に行うデ
ィジタル動画像復号器における動き補償予測器であっ
て、 前記選択制御信号により前記前後両方向の動き補償予測
処理が選択された場合には、前記入力画像データに基づ
いて時間的に前方向、かつ、画素配置的に横方向の半画
素精度の動き補償予測処理を行い第1処理画像データを
出力し、前記選択制御信号により前記1−2−1型ディ
ジタルロウパスフィルタを用いた動き補償予測処理が選
択された場合には、前記1−2−1型ディジタルロウパ
スフィルタをループ内フィルタとして画素配置的に横方
向のループ内フィルタ処理を行い第2処理画像データを
出力する前方向横方向処理手段と、 前記第1処理画像データ又は前記第2処理画像データが
入力され、前記前後両方向の動き補償予測処理が選択さ
れた場合には、前記第1処理画像データに基づいて時間
的に前方向、かつ、画素配置的に縦方向の半画素精度の
動き補償予測処理を行い第3処理画像データを出力し、
前記1−2−1型ディジタルロウパスフィルタを用いた
動き補償予測処理が選択された場合には、前記第2処理
画像データに基づいて前記1−2−1型ディジタルロウ
パスフィルタをループ内フィルタとして画素配置的に縦
方向のループ内フィルタ処理を行い第4処理画像データ
を出力する前方向縦方向処理手段と、 前記前後両方向の動き補償予測処理が選択された場合に
は、前記入力画像データに基づいて時間的に後方向、か
つ、画素配置的に横方向の半画素精度の動き補償予測処
理を行い第5処理画像データを出力する後方向横方向半
画素処理手段と、 前記前後両方向の動き補償予測処理が選択された場合に
は、前記第5処理画像データに基づいて時間的に後方
向、かつ、画素配置的に縦方向の半画素精度の動き補償
予測処理を行い第6処理画像データを出力する後方向縦
方向半画素処理手段と、 前記第3処理画像データ及び前記第6処理画像データ又
は前記第4処理画像データが入力され、前記前後両方向
の動き補償予測処理が選択された場合には、前記第3処
理画像データ及び前記第6処理画像データに基づいて時
間的に前後両方向の動き補償予測処理を行い第7処理画
像データを出力し、前記1−2−1型ディジタルロウパ
スフィルタを用いた動き補償予測処理が選択された場合
には、前記第4処理画像データをそのまま出力する両方
向処理手段と、を備えたことを特徴とする動き補償予測
器。
1. A selection control signal from the outside is selected from either motion compensation prediction processing in both forward and backward directions with respect to input image data or motion compensation prediction processing using a 1-2-1 type digital low-pass filter. A motion compensation predictor in a digital video decoder selectively performed based on the motion compensation prediction process in both the front and rear directions by the selection control signal, temporally based on the input image data. To the front and in the horizontal direction in terms of pixel arrangement, the motion-compensated prediction processing with half-pixel accuracy is performed, and the first processed image data is output, and the 1-2-1 type digital low-pass filter is used according to the selection control signal. If the motion-compensated prediction process has been selected, the 1-2-1 type digital low-pass filter is used as an in-loop filter in the horizontal loop in the pixel arrangement. Forward direction horizontal direction processing means for performing the second-order image processing and outputting the second processed image data; and the case where the first processed image data or the second processed image data is input and the motion compensation prediction processing in both the front and rear directions is selected. , The motion-compensated prediction processing of half-pixel accuracy in the forward direction in time and the pixel arrangement in the vertical direction based on the first processed image data is performed, and third processed image data is output.
When the motion compensation prediction process using the 1-2-1 type digital low-pass filter is selected, the 1-2-1 type digital low-pass filter is replaced with an in-loop filter based on the second processed image data. As a vertical direction in-loop processing means for performing in-loop filter processing in the vertical direction as pixel arrangement and outputting fourth processed image data, and when the motion compensation prediction processing in both the front and rear directions is selected, the input image data A backward horizontal half-pixel processing unit that performs a motion-compensated prediction process with half-pixel accuracy in the horizontal direction in terms of the pixel rearrangement based on the above, and outputs fifth processed image data; When the motion-compensated prediction process is selected, the motion-compensated predictive process with half-pixel accuracy in the backward direction in time and the pixel direction in the vertical direction is performed based on the fifth processed image data. A backward vertical half-pixel processing unit that outputs processed image data, and the third processed image data and the sixth processed image data or the fourth processed image data are input, and the motion compensation prediction process in both the front and rear directions is selected. In this case, based on the third processed image data and the sixth processed image data, temporally forward and backward motion compensation prediction processing is performed, and seventh processed image data is output. A motion compensation predictor, comprising: bidirectional processing means for directly outputting the fourth processed image data when a motion compensation prediction process using a digital low-pass filter is selected.
JP6207493A 1994-08-31 1994-08-31 Movement compensation prediction device Withdrawn JPH0879758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6207493A JPH0879758A (en) 1994-08-31 1994-08-31 Movement compensation prediction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6207493A JPH0879758A (en) 1994-08-31 1994-08-31 Movement compensation prediction device

Publications (1)

Publication Number Publication Date
JPH0879758A true JPH0879758A (en) 1996-03-22

Family

ID=16540640

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6207493A Withdrawn JPH0879758A (en) 1994-08-31 1994-08-31 Movement compensation prediction device

Country Status (1)

Country Link
JP (1) JPH0879758A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08228353A (en) * 1995-02-21 1996-09-03 Nec Corp Motion compensation circuit for moving image encoding
WO1999022524A1 (en) * 1997-10-23 1999-05-06 Mitsubishi Denki Kabushiki Kaisha Image decoder, image encoder, image communication system, and encoded bit stream converter
WO2000035202A1 (en) * 1998-12-10 2000-06-15 Matsushita Electric Industrial Co., Ltd. Filter arithmetic device
CN100380977C (en) * 1997-10-23 2008-04-09 三菱电机株式会社 Image decoder, image coder, image communication system, and coded bit stream converter

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08228353A (en) * 1995-02-21 1996-09-03 Nec Corp Motion compensation circuit for moving image encoding
US8005143B2 (en) 1997-10-23 2011-08-23 Mitsubishi Denki Kabushiki Kaisha Imaging decoding apparatus
US8155187B2 (en) 1997-10-23 2012-04-10 Mitsubishi Denki Kabushiki Kaisha Image decoding apparatus and method
US7720149B2 (en) 1997-10-23 2010-05-18 Mitsubishi Denki Kabushiki Kaisha Image decoding apparatus, image coding apparatus, image communications system and coded bit stream converting apparatus
WO1999022524A1 (en) * 1997-10-23 1999-05-06 Mitsubishi Denki Kabushiki Kaisha Image decoder, image encoder, image communication system, and encoded bit stream converter
US8054889B2 (en) 1997-10-23 2011-11-08 Mitsubishi Electric Corporation Image decoding apparatus
US6862320B1 (en) 1997-10-23 2005-03-01 Mitsubishi Denki Kabushiki Kaisha Image decoder, image encoder, image communication system, and encoded bit stream converter
CN100380977C (en) * 1997-10-23 2008-04-09 三菱电机株式会社 Image decoder, image coder, image communication system, and coded bit stream converter
US7469008B2 (en) 1997-10-23 2008-12-23 Yoshimi Isu Image decoding apparatus, image coding apparatus, image communications system and coded bit stream converting apparatus
US7469009B2 (en) 1997-10-23 2008-12-23 Mitsubishi Denki Kabushiki Kaisha Image decoding apparatus, image coding apparatus, image communications system and coded bit stream converting apparatus
US8031781B2 (en) 1997-10-23 2011-10-04 Mitsubishi Electric Corporation Image decoding apparatus
US8045617B2 (en) 1997-10-23 2011-10-25 Mitsubishi Denki Kabushiki Kaisha Image decoding apparatus
US8045623B2 (en) 1997-10-23 2011-10-25 Mitsubishi Electric Corporation Image decoding apparatus
CN100446571C (en) * 1997-10-23 2008-12-24 三菱电机株式会社 Image decoder, image coder, image communication system, and coded bit stream converter
US8036279B2 (en) 1997-10-23 2011-10-11 Mitsubishi Electric Corporation Image decoding apparatus
US8036277B2 (en) 1997-10-23 2011-10-11 Mitsubishi Electric Corporation Image decoding apparatus, image coding apparatus, image communications system and coding bit stream converting appartus
US8036278B2 (en) 1997-10-23 2011-10-11 Mitsubishi Electric Corporation Image decoding apparatus
US8040955B2 (en) 1997-10-23 2011-10-18 Mitsubishi Electric Corporation Image decoding apparatus
US8040956B2 (en) 1997-10-23 2011-10-18 Mitsubishi Electric Corporation Image decoding apparatus
US8045624B2 (en) 1997-10-23 2011-10-25 Mitsubishi Electric Corporation Video bit stream converting apparatus
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
US6668087B1 (en) 1998-12-10 2003-12-23 Matsushita Electric Industrial Co., Ltd. Filter arithmetic device
EP1056295A4 (en) * 1998-12-10 2003-01-02 Matsushita Electric Ind Co Ltd Filter arithmetic device

Similar Documents

Publication Publication Date Title
JP3161017B2 (en) Video decoding device
JP3395166B2 (en) Integrated video decoding system, frame buffer, encoded stream processing method, frame buffer allocation method, and storage medium
JP4734168B2 (en) Image decoding apparatus and image decoding method
JP2001238218A (en) Signal converting apparatus and method
JP2001346165A (en) Image processing method and image processing unit utilizing this method and television receiver
WO1997004593A1 (en) Letter box converter
JPH08280022A (en) Method and apparatus for decoded video signal
US20080117970A1 (en) Method and apparatus for encoding and decoding rgb image
JP3623056B2 (en) Video compression device
JP2898413B2 (en) Method for decoding and encoding compressed video data streams with reduced memory requirements
JPH0879758A (en) Movement compensation prediction device
JPH08237666A (en) Inter-frame band comprssion signal processor
JP3637823B2 (en) Video signal switching device and video signal switching method thereof
WO2001045402A1 (en) Image reproducing method and image processing method, and image reproducing device, image processing device, and television receiver capable of using the methods
US7006570B2 (en) Video signal coding method and video signal encoder
JP4422629B2 (en) Moving picture encoding apparatus, decoding apparatus, moving picture recording apparatus, and moving picture reproduction apparatus
JP4184223B2 (en) Transcoder
JP2002044669A (en) Apparatus and method for conversion of image information
JP3384910B2 (en) Imaging device and image reproducing device
JPH0678279A (en) Picture generating system
JP4312070B2 (en) Digital camera
JP3877538B2 (en) Digital camera
JP2005051810A (en) Digital camera
JPH036184A (en) Inter-frame predictive encoding system
JP4338727B2 (en) Image processing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011106