JPH06113265A - Motion compensation predicting unit - Google Patents

Motion compensation predicting unit

Info

Publication number
JPH06113265A
JPH06113265A JP25662892A JP25662892A JPH06113265A JP H06113265 A JPH06113265 A JP H06113265A JP 25662892 A JP25662892 A JP 25662892A JP 25662892 A JP25662892 A JP 25662892A JP H06113265 A JPH06113265 A JP H06113265A
Authority
JP
Japan
Prior art keywords
signal
motion compensation
processing
output
compensation prediction
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
JP25662892A
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 JP25662892A priority Critical patent/JPH06113265A/en
Publication of JPH06113265A publication Critical patent/JPH06113265A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Abstract

PURPOSE:To allow the motion compensation predicting unit in the decoding system of a digital motion picture to be in compliance with the H.261 and MPEG and to prevent the circuitry from being increased. CONSTITUTION:A selector 15 outputs data of a forward direction frame and of a backward direction frame as one data in the case of the MPEG. A lateral direction processing circuit 16 implements the MPEG lateral processing or the H.261 lateral processing. A longitudinal processing circuit 18 implements the MPEG longitudinal processing or the H.261 longitudinal processing. A selector 17 selects a signal of the result of the MPEG lateral processing or a signal of the result of the H.261 lateral processing. A forward backward both-direction processing circuit 19 implements motion compensation prediction in both the forward and backward directions. A selector 20 selects the signal of the result of motion compensation prediction of the MPEG or the signal of the result of motion compensation prediction of the H.261.

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,
In particular, it relates to a motion compensation predictor in a digital moving image decoding system.

【0002】動画像符号化の国際標準として、CCIT
T(国際電信電話諮問委員会)勧告H.261と、IS
O(国際標準化機構) MPEG(Moving Pi
cture Expert Group)が存在する
が、両方の規格に準拠する復号システムの需要が見込ま
れる。このため、H.261及びMPEGに準拠し、か
つ、回路規模の増大を抑えた動き補償予測器が必要とさ
れている。
CCIT is an international standard for video coding.
T. (International Telegraph and Telephone Advisory Committee) Recommendation 261 and IS
O (International Organization for Standardization) MPEG (Moving Pi)
There is a demand for a decoding system that complies with both standards. Therefore, H.264. There is a need for a motion compensation predictor that is compliant with H.261 and MPEG and that suppresses an increase in circuit scale.

【0003】[0003]

【従来の技術】CCITT勧告H.261は、「p×6
4kb/s オーディオ・ビジュアル・サービス用ビデ
オ符号化方式」と題される、64kb〜2Mb/sまで
の1次群サブレートを用いる動画像通信用の映像符号化
標準である。主要な用途としては、テレビ会議もしくは
テレビ電話を想定している。
2. Description of the Related Art CCITT Recommendation H.264. 261 is “p × 6
It is a video coding standard for video communication using a primary group sub-rate from 64 kb to 2 Mb / s, entitled "4 kb / s video coding method for audio-visual service". Video conferencing or video telephony is assumed as the main application.

【0004】図10は、このH.261におけるビデオ
復号化システムの構成図を示す。伝送復号器82は受信
データを伝送復号し、ビデオ多重化復号器83は、伝送
復号器82から供給された信号をフレーム分解した後、
可変長の復号化を行う。
[0004] FIG. 261 is a block diagram of a video decoding system in H.261. The transmission decoder 82 performs transmission decoding of the received data, and the video multiplexing decoder 83 decomposes the signal supplied from the transmission decoder 82 into frames,
Perform variable length decoding.

【0005】ソース復号器84は、ビデオ多重化復号器
83から供給されるサイド情報に基づき、ビデオ多重化
復号器83から供給された信号に、逆量子化、逆DCT
(離散コサイン変換)演算を行った後、動き補償フレー
ム間予測を行う。後処理器85は、ソース復号器84か
ら信号を供給されて後処理を行い、表示データを出力す
る。なお、ビデオ多重化復合器83とソース復合器84
は復合化制御回路81により制御される。
The source decoder 84, based on the side information supplied from the video multiplex decoder 83, dequantizes and inverse DCT the signal supplied from the video multiplex decoder 83.
After performing (discrete cosine transform) calculation, motion-compensated inter-frame prediction is performed. The post-processor 85 receives the signal from the source decoder 84, performs post-processing, and outputs display data. The video multiplexing / combining device 83 and the source / combining device 84
Are controlled by the decoding control circuit 81.

【0006】図11は、図10のH.261ソース復号
器84の構成図を示す。逆量子化器91は、サイド情報
である、伝送/非伝送識別フラグ,量子化特性指定を基
に、変換係数の量子化インデックスに対して逆量子化を
行う。
FIG. 11 shows the H.264 signal of FIG. A block diagram of a H.261 source decoder 84 is shown. The inverse quantizer 91 performs inverse quantization on the quantization index of the transform coefficient based on the side information, that is, the transmission / non-transmission identification flag and the quantization characteristic designation.

【0007】逆量子化器91で逆量子化されたビデオ信
号は、逆DCT器92で逆DCT演算され、差分のビデ
オ信号として、動き補償フレーム間予測器93に供給さ
れる。動き補償フレーム間予測器93は、加算器94、
可変遅延フレーム・メモリ95、ループ内フィルタ9
6、及びスイッチ97を有する。
The inversely quantized video signal in the inverse quantizer 91 is subjected to inverse DCT operation in the inverse DCT unit 92 and supplied to the motion compensation interframe predictor 93 as a difference video signal. The motion compensation inter-frame predictor 93 includes an adder 94,
Variable delay frame memory 95, in-loop filter 9
6 and a switch 97.

【0008】可変遅延フレーム・メモリ95には、逆D
CT器92から供給される現在の差分のビデオ信号に対
して、時間的に前方向のフレームのデータが記憶されて
おり、動きベクトルに応じて遅延量を変える。
The variable delay frame memory 95 has an inverse D
With respect to the video signal of the current difference supplied from the CT unit 92, data of the frame in the forward direction in time is stored, and the delay amount is changed according to the motion vector.

【0009】ループ内フィルタ96は、ループ内フィル
タON/OFFフラグがONのときは、フィルタ処理を
行った出力信号を出力し、ループ内フィルタON/OF
FフラグがOFFのときは、可変遅延フレーム・メモリ
95から供給される信号をそのまま出力する。
When the in-loop filter ON / OFF flag is ON, the in-loop filter 96 outputs the filtered output signal, and the in-loop filter ON / OF is output.
When the F flag is OFF, the signal supplied from the variable delay frame memory 95 is output as it is.

【0010】フレーム内/フレーム間識別フラグが、フ
レーム間予測を有効とするときは、スイッチ97により
ループ内フィルタ96の出力信号が選択される。このと
き、加算器94で逆DCT器92からの差分とループ内
フィルタ96の出力信号が加算される。この加算結果
は、ビデオ信号として出力される一方、次の画面のリフ
ァレンスとするために可変遅延フレーム・メモリ95に
記憶される。
When the intra-frame / inter-frame identification flag enables inter-frame prediction, the switch 97 selects the output signal of the in-loop filter 96. At this time, the adder 94 adds the difference from the inverse DCT unit 92 and the output signal of the in-loop filter 96. The addition result is output as a video signal and stored in the variable delay frame memory 95 to serve as a reference for the next screen.

【0011】フレーム内/フレーム間識別フラグが、フ
レーム内予測を有効とするときは、スイッチ97により
論理ゼロ(“0”)が選択される。このとき、加算器9
4は逆DCT器92からの差分をそのまま出力する。こ
の出力信号はビデオ信号として出力される一方、次の画
面のリファレンスとするために可変遅延フレーム・メモ
リ95に記憶される。
When the intra-frame / inter-frame identification flag enables intra-frame prediction, the switch 97 selects a logical zero ("0"). At this time, the adder 9
4 outputs the difference from the inverse DCT unit 92 as it is. While this output signal is output as a video signal, it is stored in the variable delay frame memory 95 to serve as a reference for the next screen.

【0012】ISO MPEGは、デジタル・ストレー
ジ・メディア用のビデオ高能率符号化方式について規定
している標準案である。主要な用途としては、CD−R
OMや、DAT、ハード・ディスクのような転送速度が
約1.5Mb/s以下のストレージ・メディア(蓄積装
置)が、復号器に直接もしくは伝送媒体を介して接続さ
れている環境を想定している。図12は、このMPEG
ビデオ復号化システムの構成図を示す。
ISO MPEG is a draft standard defining a video efficient coding scheme for digital storage media. The main use is CD-R
Assuming an environment in which a storage medium (storage device) such as OM, DAT, or hard disk with a transfer rate of about 1.5 Mb / s or less is connected to the decoder directly or via a transmission medium. There is. FIG. 12 shows this MPEG
The block diagram of a video decoding system is shown.

【0013】システム多重化復号器103は、蓄積装置
102から供給された多重化信号を、オーディオ,テキ
スト情報等と、ビデオ信号とに分離する。ビデオ復号器
104は、バッファ105、ビデオ多重化復号器10
6、及びビデオソース復号器107とからなる。
The system multiplexer / decoder 103 separates the multiplexed signal supplied from the storage device 102 into audio and text information and a video signal. The video decoder 104 includes a buffer 105 and a video multiplexing decoder 10.
6 and a video source decoder 107.

【0014】ビデオ多重化復号器106は、バッファ1
05から供給された信号をフレーム分解した後、可変長
の復号化を行う。ビデオソース復号器107は、ビデオ
多重化復号器106から供給されるサイド情報に基づ
き、ビデオ多重化復号器106から供給された信号に、
逆量子化、逆DCT演算を行った後、動き補償フレーム
間予測を行う。後処理器108は、ビデオソース復号器
107から信号を供給されて後処理を行い、D/Aコン
バータ109は後処理器108から信号を供給されて、
D/A変換を行い、表示データを出力する。
The video multiplex decoder 106 includes a buffer 1
After decomposing the signal supplied from 05 into frames, variable length decoding is performed. The video source decoder 107, based on the side information supplied from the video multiplexing decoder 106, converts the signal supplied from the video multiplexing decoder 106 into
After performing inverse quantization and inverse DCT calculation, motion compensation interframe prediction is performed. The post-processor 108 is supplied with a signal from the video source decoder 107 to perform post-processing, and the D / A converter 109 is supplied with a signal from the post-processor 108,
D / A conversion is performed and display data is output.

【0015】図13は、図12のMPEGビデオソース
復号器107の構成図を示す。逆量子化器111は、サ
イド情報である、量子化特性指定を基に、変換係数の量
子化インデックスに対して逆量子化を行う。
FIG. 13 shows a block diagram of the MPEG video source decoder 107 of FIG. The inverse quantizer 111 performs inverse quantization on the quantization index of the transform coefficient based on the side information, that is, the quantization characteristic designation.

【0016】逆量子化器111で逆量子化されたビデオ
信号は、逆DCT器112で逆DCT演算され、差分の
ビデオ信号として、動き補償フレーム間予測器113に
供給される。
The inversely quantized video signal by the inverse quantizer 111 is inversely DCT-calculated by the inverse DCT unit 112 and supplied to the motion-compensated interframe predictor 113 as a difference video signal.

【0017】動き補償フレーム間予測器113は、加算
器114、フレーム・メモリA115、フレーム・メモ
リB116、動き補償前方向予測器117、動き補償後
方向予測器118、動き補償前後両方向予測器119、
及びスイッチ120、121を有する。
The motion-compensated inter-frame predictor 113 includes an adder 114, a frame memory A115, a frame memory B116, a motion-compensated forward predictor 117, a motion-compensated backward predictor 118, and a motion-compensated bidirectional predictor 119.
And switches 120 and 121.

【0018】フレーム・メモリA115には、逆DCT
器112から供給される現在の差分のビデオ信号に対し
て、時間的に前方向のフレームのデータが記憶される。
フレーム・メモリB116には、逆DCT器112から
供給される現在の差分のビデオ信号に対して、時間的に
後方向のフレームのデータが記憶される。
The frame memory A 115 has an inverse DCT.
The data of the forward frame in time is stored with respect to the current differential video signal supplied from the device 112.
The frame memory B116 stores the data of the frame backward in time with respect to the current difference video signal supplied from the inverse DCT unit 112.

【0019】動き補償前方向予測器117は、符号化モ
ード識別フラグが1/2画素精度動き補償予測を指定す
ると、1/2画素精度動きベクトルに基づいて、フレー
ム・メモリA115から供給される信号に対して1/2
画素精度動き補償予測を行い、符号化モード識別フラグ
が1画素精度動き補償予測を指定すると、フレーム・メ
モリA115から供給される信号をそのまま出力する。
When the coding mode identification flag specifies 1/2 pixel precision motion compensation prediction, the motion compensation forward predictor 117 outputs a signal supplied from the frame memory A115 based on the 1/2 pixel precision motion vector. 1/2
If pixel-accurate motion-compensated prediction is performed and the encoding mode identification flag specifies 1-pixel motion-compensated prediction, the signal supplied from the frame memory A115 is output as it is.

【0020】動き補償後方向予測器118は、符号化モ
ード識別フラグが1/2画素精度動き補償予測を指定す
ると、1/2画素精度動きベクトルに基づいて、フレー
ム・メモリB116から供給される信号に対して1/2
画素精度動き補償予測を行い、符号化モード識別フラグ
が1画素精度動き補償予測を指定すると、フレーム・メ
モリB116から供給される信号をそのまま出力する。
When the coding mode identification flag specifies 1/2 pixel precision motion compensated prediction, the motion compensated backward predictor 118 outputs a signal supplied from the frame memory B 116 based on the 1/2 pixel precision motion vector. 1/2
When pixel-precision motion-compensated prediction is performed and the coding mode identification flag specifies 1-pixel precision motion-compensated prediction, the signal supplied from the frame memory B116 is output as it is.

【0021】動き補償前後両方向予測器119は、符号
化モード識別フラグが1/2画素精度動き補償予測を指
定すると、1/2画素精度動きベクトルに基づいて、フ
レーム・メモリA115及びフレーム・メモリB116
から供給される信号に対して各々1/2画素精度動き補
償予測を行い、さらに前後両方向動き補償予測を行う。
また、動き補償前後両方向予測器119は、符号化モー
ド識別フラグが1画素精度動き補償予測を指定すると、
フレーム・メモリA115及びフレーム・メモリB11
6から供給される信号そのものに対して前後両方向動き
補償予測を行う。
When the coding mode identification flag specifies 1/2 pixel precision motion compensated prediction, the motion compensation bi-directional predictor 119 predicts the frame memory A 115 and the frame memory B 116 based on the 1/2 pixel precision motion vector.
1/2 pixel precision motion-compensated prediction is performed for each of the signals supplied from the above, and front-back bidirectional motion-compensated prediction is performed.
Further, when the coding mode identification flag specifies 1-pixel precision motion-compensated prediction, the motion-compensated bidirectional predictor 119:
Frame memory A115 and frame memory B11
The forward and backward bidirectional motion compensation prediction is performed on the signal itself supplied from 6.

【0022】符号化モード識別フラグが前方向予測を指
定するときは、スイッチ120により動き補償前方向予
測器117の出力信号が選択される。符号化モード識別
フラグが後方向予測を指定するときは、スイッチ120
により動き補償後方向予測器118の出力信号が選択さ
れる。また、符号化モード識別フラグが前後両方向予測
を指定するときは、スイッチ120により動き補償前後
両方向予測器119の出力信号が選択される。
When the coding mode identification flag specifies forward prediction, the switch 120 selects the output signal of the motion compensation forward predictor 117. When the coding mode identification flag specifies backward prediction, the switch 120
Thus, the output signal of the motion-compensated backward predictor 118 is selected. Further, when the coding mode identification flag specifies the bidirectional prediction in the forward and backward directions, the switch 120 selects the output signal of the bidirectional predictor 119 in the motion compensated forward and backward directions.

【0023】更に、符号化モード識別フラグが、前方向
予測、後方向予測、前後両方向予測のいずれかを指定す
るときは、スイッチ121によりスイッチ120の出力
信号が選択される。このとき、加算器114で、逆DC
T器112からの差分とスイッチ121からのいずれか
の予測器の出力信号とが加算される。この加算結果は、
ビデオ信号として出力される一方、次の画面のリファレ
ンスとするためにフレーム・メモリA115に記憶され
る。
Further, when the coding mode identification flag specifies any of forward prediction, backward prediction, and forward and backward bidirectional prediction, the switch 121 selects the output signal of the switch 120. At this time, in the adder 114, the inverse DC
The difference from the T unit 112 and the output signal of one of the predictors from the switch 121 are added. The result of this addition is
While being output as a video signal, it is stored in the frame memory A115 to serve as a reference for the next screen.

【0024】また、符号化モード識別フラグが前後両方
向予測、前方向予測、後方向予測のいずれも指定しない
ときは、スイッチ121により論理ゼロ(“0”)が選
択される。このとき、加算器114は、逆DCT器11
2からの差分をそのまま出力する。この信号は、ビデオ
信号として出力される一方、次の画面のリファレンスと
するためにフレーム・メモリA115に記憶される。
When the coding mode identification flag does not specify forward / backward bidirectional prediction, forward prediction or backward prediction, the switch 121 selects logical zero ("0"). At this time, the adder 114 has the inverse DCT unit 11
The difference from 2 is output as it is. While this signal is output as a video signal, it is stored in the frame memory A115 to serve as a reference for the next screen.

【0025】上記のH.261の動き補償フレーム間予
測機能、及びMPEGの動き補償フレーム間予測機能を
ともに備える動き補償フレーム間予測器を構成すると、
図14に示すような構成となる。
The above H. The motion-compensated inter-frame predictor having both the motion-compensated inter-frame prediction function 261 and the MPEG motion-compensated inter-frame prediction function is configured as follows.
The structure is as shown in FIG.

【0026】図14において、読み出しアドレス作成部
131は、画面サイズ、処理単位ブロックの先頭アドレ
ス、動きベクトルを基に、フレーム・メモリA132、
フレーム・メモリB133に供給するアドレスを生成す
る。
In FIG. 14, the read address creation unit 131 uses the frame memory A 132, the frame memory A 132, and the start address of the processing unit block and the motion vector as a basis.
An address to be supplied to the frame memory B133 is generated.

【0027】フレーム・メモリA132には、逆DCT
器から供給される現在の差分のビデオ信号に対して、時
間的に前方向のフレームのデータが記憶される。フレー
ム・メモリB133には、逆DCT器から供給される現
在の差分のビデオ信号に対して、時間的に後方向のフレ
ームのデータが記憶される。
The frame memory A 132 has an inverse DCT.
The data of the frame that is forward in time is stored with respect to the current differential video signal supplied from the container. The frame memory B133 stores data of a frame backward in time with respect to the current difference video signal supplied from the inverse DCT device.

【0028】H.261ループ内フィルタ回路142
は、セレクタ147、横方向処理回路143、及び縦方
向処理回路144からなる。フレーム内/フレーム間識
別フラグがフレーム間予測を有効とし、ループ内フィル
タON/OFFフラグがONのときは、セレクタ147
はフレーム・メモリA132からの信号を選択する。こ
のとき、H.261ループ内フィルタ回路142は、横
方向処理回路143、及び縦方向処理回路144によ
り、H.261で規定される低域通過特性のフィルタ処
理を行う。
H. 261 In-loop filter circuit 142
Comprises a selector 147, a horizontal processing circuit 143, and a vertical processing circuit 144. When the intra-frame / inter-frame identification flag enables inter-frame prediction and the in-loop filter ON / OFF flag is ON, the selector 147
Selects the signal from frame memory A132. At this time, H. The H.261 loop filter circuit 142 includes a horizontal direction processing circuit 143 and a vertical direction processing circuit 144, and the H. Filtering of the low-pass characteristic defined by H.261 is performed.

【0029】また、フレーム内/フレーム間識別フラグ
がフレーム間予測を有効とし、ループ内フィルタON/
OFFフラグがOFFのときは、セレクタ147はフレ
ーム・メモリA132からの信号を選択し、H.261
ループ内フィルタ回路142は、フレーム・メモリA1
32から供給された信号をそのまま出力する。
Further, the intra-frame / inter-frame identification flag enables inter-frame prediction, and the intra-loop filter is turned on / on.
When the OFF flag is OFF, the selector 147 selects the signal from the frame memory A132, and H.264. 261
The in-loop filter circuit 142 uses the frame memory A1.
The signal supplied from 32 is output as it is.

【0030】なお、フレーム内/フレーム間識別フラグ
がフレーム内予測を有効とするときは、セレクタ147
は論理ゼロ(“0”)の信号を出力し、H.261ルー
プ内フィルタ回路142は、論理ゼロ(“0”)の信号
を出力する。
When the intra-frame / inter-frame identification flag enables intra-frame prediction, the selector 147
Outputs a signal of logic zero (“0”), and H.264. The 261-in-loop filter circuit 142 outputs a signal of logic zero (“0”).

【0031】MPEG動き補償予測回路134は、動き
補償前方向予測器135、動き補償後方向予測器13
6、及び前後両方向処理回路141からなる。動き補償
前方向予測器135は、セレクタ148、横方向処理回
路137、及び縦方向処理回路138から構成される。
The MPEG motion compensation prediction circuit 134 includes a motion compensation forward predictor 135 and a motion compensation backward predictor 13.
6 and a front-back bidirectional processing circuit 141. The motion compensation forward predictor 135 includes a selector 148, a horizontal processing circuit 137, and a vertical processing circuit 138.

【0032】符号化モード識別フラグが、前方向予測、
前後両方向予測のいずれかを指定するときは、セレクタ
148はフレーム・メモリA132からの信号を選択す
る。さらに、動きベクトルの値が1/2画素精度の場
合、動き補償前方向予測器135は、横方向処理回路1
37、及び縦方向処理回路138により、フレーム・メ
モリA132から供給される信号に対して1/2画素精
度動き補償予測を行う。また、動きベクトルの値が1画
素精度の場合、動き補償前方向予測器135は、フレー
ム・メモリA132から供給される信号をそのまま出力
する。
The coding mode identification flag is forward prediction,
When designating either the forward or backward bidirectional prediction, the selector 148 selects the signal from the frame memory A132. Further, when the value of the motion vector is 1/2 pixel precision, the motion compensation forward predictor 135 determines that the horizontal direction processing circuit 1
37 and the vertical direction processing circuit 138 perform 1/2 pixel precision motion compensation prediction on the signal supplied from the frame memory A 132. If the value of the motion vector has a precision of one pixel, the motion compensation forward predictor 135 outputs the signal supplied from the frame memory A132 as it is.

【0033】また、符号化モード識別フラグが、前方向
予測、前後両方向予測のいずれも指定しないときは、セ
レクタ148は論理ゼロ(“0”)の信号を出力し、動
き補償前方向予測器135は、論理ゼロ(“0”)の信
号を出力する。
When the coding mode identification flag does not specify forward prediction or forward / backward bidirectional prediction, the selector 148 outputs a signal of logical zero ("0") and the motion compensation forward predictor 135. Outputs a signal of logic zero (“0”).

【0034】また、動き補償後方向予測器136は、セ
レクタ149、横方向処理回路139、及び縦方向処理
回路140から構成される。符号化モード識別フラグ
が、後方向予測、前後両方向予測のいずれかを指定する
ときは、セレクタ149はフレーム・メモリB133か
らの信号を選択する。
The motion-compensated backward predictor 136 is composed of a selector 149, a horizontal processing circuit 139, and a vertical processing circuit 140. When the coding mode identification flag specifies either backward prediction or forward and backward bidirectional prediction, the selector 149 selects the signal from the frame memory B133.

【0035】さらに、動きベクトルの値が1/2画素精
度の場合、動き補償前方向予測器136は、横方向処理
回路139、及び縦方向処理回路140により、フレー
ム・メモリB133から供給される信号に対して1/2
画素精度動き補償予測を行う。また、動きベクトルの値
が1画素精度の場合、動き補償前方向予測器136は、
フレーム・メモリB133から供給される信号をそのま
ま出力する。
Further, when the value of the motion vector is 1/2 pixel precision, the motion compensation forward predictor 136 is a signal supplied from the frame memory B133 by the horizontal processing circuit 139 and the vertical processing circuit 140. 1/2
Perform pixel-accurate motion-compensated prediction. In addition, when the value of the motion vector is 1 pixel accuracy, the motion compensation forward predictor 136
The signal supplied from the frame memory B133 is output as it is.

【0036】また、符号化モード識別フラグが、後方向
予測、前後両方向予測のいずれも指定しないときは、セ
レクタ149は論理ゼロ(“0”)の信号を出力し、動
き補償前方向予測器136は、論理ゼロ(“0”)の信
号を出力する。
When the coding mode identification flag does not specify either backward prediction or forward / backward bidirectional prediction, the selector 149 outputs a signal of logical zero ("0") and the motion compensation forward predictor 136. Outputs a signal of logic zero (“0”).

【0037】前後両方向処理回路141は、符号化モー
ド識別フラグが前後両方向予測を指定するときは、動き
補償前方向予測器135の出力信号、及び動き補償後方
向予測器136の出力信号を用いて、前後両方向動き補
償予測を行う。また、符号化モード識別フラグが前方向
予測を指定するときは、動き補償前方向予測器135に
よる予測結果の信号を出力する。また、符号化モード識
別フラグが後方向予測を指定するときは、動き補償後方
向予測器136による予測結果の信号を出力する。
The forward / backward bidirectional processing circuit 141 uses the output signal of the motion-compensated forward predictor 135 and the output signal of the motion-compensated backward predictor 136 when the coding mode identification flag specifies forward / backward bidirectional prediction. , Bidirectional motion compensation prediction is performed. Further, when the coding mode identification flag specifies forward prediction, the signal of the prediction result by the motion compensation forward predictor 135 is output. When the coding mode identification flag specifies backward prediction, the signal of the prediction result by the motion compensation backward predictor 136 is output.

【0038】なお、符号化モード識別フラグが、前方向
予測、後方向予測、前後両方向予測のいずれも指定しな
いときは、前後両方向処理回路141は、動き補償前方
向予測器135、又は動き補償前方向予測器136から
供給される論理ゼロ(“0”)の信号を出力する。
When the coding mode identification flag does not specify any of forward prediction, backward prediction, and forward and backward bidirectional prediction, the forward and backward bidirectional processing circuit 141 causes the motion-compensated forward predictor 135 or the motion-compensated forward predictor. It outputs a signal of logic zero (“0”) supplied from the direction predictor 136.

【0039】セレクタ145は、MPEG/H.261
フラグによりH.261モードが指定された時は、H.
261ループ内フィルタ回路142の出力信号を選択
し、MPEGモードが指定された時は、MPEG動き補
償予測回路134の出力信号を選択する。
The selector 145 is an MPEG / H. 261
H. 2 depending on the flag. When the H.261 mode is designated, H.264 is specified.
The output signal of the H.261 loop filter circuit 142 is selected, and when the MPEG mode is designated, the output signal of the MPEG motion compensation prediction circuit 134 is selected.

【0040】加算器146では、逆DCT器からの差分
とセレクタ145の出力信号が加算される。この加算結
果は、ビデオ信号として出力される一方、次の画面のリ
ファレンスとするために、フレーム・メモリA132に
記憶される。
The adder 146 adds the difference from the inverse DCT unit and the output signal of the selector 145. The result of this addition is output as a video signal, while it is stored in the frame memory A 132 for use as a reference for the next screen.

【0041】なお、H.261モードで、フレーム内/
フレーム間識別フラグがフレーム内予測を有効としたと
き、又は、MPEGモードで、符号化モード識別フラグ
が、前方向予測、後方向予測、前後両方向予測のいずれ
も指定しないときは、セレクタ145の出力信号は、論
理ゼロ(“0”)となり、加算器146は、逆DCT出
力をそのまま出力する。この逆DCT出力はビデオ信号
として出力される一方、次の画面のリファレンスとする
ために、フレーム・メモリA132に記憶される。
H. In 261 mode, in frame /
Output from the selector 145 when the inter-frame identification flag enables intra-frame prediction, or in the MPEG mode, when the coding mode identification flag does not specify any of forward prediction, backward prediction, and forward and backward bidirectional prediction. The signal becomes a logical zero (“0”), and the adder 146 outputs the inverse DCT output as it is. While this inverse DCT output is output as a video signal, it is stored in the frame memory A132 to serve as a reference for the next screen.

【0042】次に、H.261ループ内フィルタ回路1
42の横方向処理回路143、及び縦方向処理回路14
4から構成されるループ内フィルタについて説明する。
H.261において要求されるループ内フィルタは、図
15に示すように、1枚の画面から抽出した縦8画素×
横8画素のブロックに対して、1−2−1型の低域通過
特性でフィルタ処理を行うものである。この1−2−1
型の低域通過フィルタは、横方向処理及び縦方向処理と
もに、着目する画素に対する重みを2とし、前後の画素
に対する重みを1とするものである。
Next, H. 261 In-loop filter circuit 1
42 horizontal processing circuits 143 and vertical processing circuits 14
The in-loop filter composed of 4 will be described.
H. As shown in FIG. 15, the in-loop filter required in H.261 is 8 pixels in vertical direction extracted from one screen ×
The filter processing is performed with a 1-2-1 type low-pass characteristic on a block of 8 horizontal pixels. This 1-2-1
The type low-pass filter sets the weight for the pixel of interest to 2 and the weight to the preceding and subsequent pixels in both the horizontal and vertical processes.

【0043】図15(I)はフィルタ処理を行う縦8画
素×横8画素のブロックを示し、図15(II)は(I)
の4種類の画素(●,○,◎,□)で、フィルタ処理の
とき関連する画素を示し、図15(III )は、上記4種
の画素に対するフィルタ処理の結果を示す。
FIG. 15 (I) shows a block of vertical 8 pixels × horizontal 8 pixels on which filter processing is performed, and FIG. 15 (II) shows (I).
The four types of pixels (, ◯, ⊚, □) indicate the related pixels during the filtering process, and FIG. 15 (III) shows the results of the filtering process for the above four types of pixels.

【0044】図15(II)、(III )に示すように、●
の画素は、元の値のままとする。○の画素に対しては、
着目する画素をB、一つ前の画素をA、一つ先の画素を
Cとすると、(A+2×B+C)/4の値とする。ま
た、◎の画素に対しては、着目する画素をB、1行前の
画素をA、1行後の画素をCとすると、(A+2×B+
C)/4の値とする。また、□の画素に対しては、着目
する画素をE、Eの周囲の画素を(II)に示すように、
A,B,C,D,F,G,H,Iとすると、((A+2
×B+C)+2×(D+2×E+F)+(G+2×H+
I))/16とする。
As shown in FIGS. 15 (II) and 15 (III),
The pixel of is left as it is. For the pixels of ○,
Assuming that the pixel of interest is B, the previous pixel is A, and the previous pixel is C, the value is (A + 2 × B + C) / 4. Further, for the pixel of ⊚, if the pixel of interest is B, the pixel one row before is A, and the pixel one row after is C, then (A + 2 × B +
C) / 4 value. Also, for the pixel of □, the pixel of interest is E, and the pixels around E are as shown in (II),
Assuming A, B, C, D, F, G, H, and I, ((A + 2
× B + C) + 2 × (D + 2 × E + F) + (G + 2 × H +
I)) / 16.

【0045】実際のフィルタ処理では、8×8画素分の
データを入力とし、横方向に隣合う画素に対して、(A
+2×B+C)/4の横方向処理を行い、得られた結果
の、上下の行の画素に対して、(A+2×B+C)/4
の縦方向処理を行うことで、必要な処理が行える。
In the actual filtering process, data of 8 × 8 pixels is input, and (A
+ 2 × B + C) / 4 horizontal processing is performed, and (A + 2 × B + C) / 4 is obtained for the pixels in the upper and lower rows of the obtained results.
Necessary processing can be performed by performing the vertical processing of.

【0046】H.261ループ内フィルタ回路142に
おけるループ内フィルタは、図16に示す横方向処理回
路143と、図17に示す縦方向処理回路144とで構
成される。図16に示すように、ループ内フィルタの横
方向処理回路は、遅延素子XD151、XD152、加
算器153、155、掛け算器154、156、セレク
タ157から構成される。図16において、XD15
1、XD152は横方向の隣接する1画素分の遅延を作
る遅延素子である。
H. The in-loop filter in the 261 in-loop filter circuit 142 is composed of the horizontal direction processing circuit 143 shown in FIG. 16 and the vertical direction processing circuit 144 shown in FIG. As shown in FIG. 16, the horizontal processing circuit of the in-loop filter is composed of delay elements XD151 and XD152, adders 153 and 155, multipliers 154 and 156, and a selector 157. In FIG. 16, XD15
1, XD152 is a delay element that creates a delay for one pixel adjacent in the horizontal direction.

【0047】フィルタ処理対象/非対象フラグが、処理
対象を指定するときは、セレクタ157は、加算器15
5の出力信号を選択して出力する。このとき、フレーム
・メモリからのデータがA,B,Cの順で入力され、現
在の入力データがCとすると、セレクタ157の出力
は、A+2×B+Cとなる。
When the filter processing target / non-target flag designates the processing target, the selector 157 selects the adder 15
The output signal 5 is selected and output. At this time, if the data from the frame memory is input in the order of A, B, and C, and the current input data is C, the output of the selector 157 is A + 2 × B + C.

【0048】フィルタ処理対象/非対象フラグが、非対
象を指定するときは、セレクタ157は、掛け算器15
6の出力信号を選択して出力する。このとき、フレーム
・メモリからのデータがA,B,Cの順で入力され、現
在の入力データがCとすると、セレクタ157の出力
は、4×Bとなる。
When the filtering target / non-target flag specifies non-target, the selector 157 determines that the multiplier 15
The output signal of 6 is selected and output. At this time, if the data from the frame memory is input in the order of A, B, and C, and the current input data is C, the output of the selector 157 is 4 × B.

【0049】図17に示すように、ループ内フィルタの
縦方向処理回路は、遅延素子YD161、YD162、
加算器163、165、掛け算器164、166、セレ
クタ167から構成される。図17において、YD16
1、YD162は縦方向の隣接する1行分(8画素分)
の遅延を作る遅延素子である。
As shown in FIG. 17, the vertical processing circuit of the in-loop filter has delay elements YD161, YD162,
It is composed of adders 163 and 165, multipliers 164 and 166, and a selector 167. In FIG. 17, YD16
1, YD 162 is for one adjacent vertical row (eight pixels)
Is a delay element that creates a delay of.

【0050】フィルタ処理対象/非対象フラグが、処理
対象を指定するときは、セレクタ167は、加算器16
5の出力信号を選択して出力する。このとき、横方向処
理回路から供給される、現在の入力データがL、1行前
のデータがK、更に1行前のデータがJとすると、セレ
クタ157の出力は、J+2×K+Lとなる。
When the filter processing target / non-target flag designates the processing target, the selector 167 causes the adder 16 to operate.
The output signal 5 is selected and output. At this time, if the current input data supplied from the horizontal processing circuit is L, the data one row before is K, and the data one row before is J, the output of the selector 157 is J + 2 × K + L.

【0051】フィルタ処理対象/非対象フラグが、非対
象を指定するときは、セレクタ167は、掛け算器16
6の出力信号を選択して出力する。このとき、横方向処
理回路から供給される、現在の入力データがL、1行前
のデータがK、更に1行前のデータがJとすると、セレ
クタ167の出力は、4×Kとなる。
When the filtering target / non-target flag designates non-target, the selector 167 determines that the multiplier 16
The output signal of 6 is selected and output. At this time, if the current input data supplied from the horizontal direction processing circuit is L, the data one row before is K, and the data one row before is J, the output of the selector 167 is 4 × K.

【0052】次に、MPEG動き補償予測回路134に
おける、動き補償予測について説明する。図18は、1
/2画素精度動き補償予測の説明図を示す。図18
(I)は1/2画素精度動き補償予測を行う縦9画素×
横9画素のブロックを示し、(II)、(III )は元の隣
接する画素a,b,c,dと、横方向処理で得られる画
素A、縦方向処理で得られる画素B、横方向処理及び縦
方向処理の結果得られる画素Cを示す。
Next, motion compensation prediction in the MPEG motion compensation prediction circuit 134 will be described. FIG. 18 shows 1
An explanatory view of / 2 pixel precision motion compensation prediction is shown. FIG.
(I) is vertical 9 pixels for which 1/2 pixel precision motion compensation prediction is performed.
A block of 9 pixels in the horizontal direction is shown. (II) and (III) are original adjacent pixels a, b, c, and d, a pixel A obtained by horizontal processing, a pixel B obtained by vertical processing, and a horizontal direction. The pixel C obtained as a result of the processing and the vertical processing is shown.

【0053】横方向処理は、(III )に示すように、A
=(a+b)/2として横方向の隣接する画素の平均値
をとる。また、縦方向処理は、(III )に示すように、
B=(a+c)/2として、横方向処理の結果得られた
データの縦方向に隣接する行の画素の平均値をとる。こ
の横方向処理、及び縦方向処理の結果、C=((a+
b)+(c+d))/4として、隣合う画素と画素の平
均値が得られ、それを疑似的に画素と画素の中間の画素
とする。
As shown in (III), the horizontal processing is performed by A
The average value of adjacent pixels in the horizontal direction is taken as = (a + b) / 2. The vertical processing is as shown in (III).
As B = (a + c) / 2, the average value of the pixels of the rows adjacent in the vertical direction of the data obtained as a result of the horizontal processing is taken. As a result of this horizontal processing and vertical processing, C = ((a +
b) + (c + d)) / 4, the average value of the adjacent pixel and the pixel is obtained, and the average value is set as a pseudo intermediate pixel between the pixel and the pixel.

【0054】図19は前後両方向動き補償予測の説明図
を示す。前後両方向動き補償予測は、図19に示すよう
に、前方向参照画面の画素aと、後方向参照画面の画素
bの平均値A=(a+b)/2をとり、それを正式な参
照値とする処理を行うものである。
FIG. 19 is an explanatory view of the forward and backward bidirectional motion compensation prediction. As shown in FIG. 19, the forward and backward bidirectional motion compensation prediction takes the average value A = (a + b) / 2 of the pixel a of the forward reference screen and the pixel b of the backward reference screen, and sets it as the official reference value. The processing is performed.

【0055】図14の動き補償前方向予測器135と動
き補償後方向予測器136における動き補償予測は、ど
ちらも図20に示す横方向処理回路、及び図21に示す
縦方向処理回路とにより行われる。図20に示す横方向
処理回路は、遅延素子XD171、加算器172、掛け
算器173、175、及びセレクタ174とで構成され
る。なお、遅延素子XD171は、横方向の1画素分の
遅延を生じさせる。
Both the motion-compensated forward predictor 135 and the motion-compensated backward predictor 136 shown in FIG. 14 are executed by the horizontal processing circuit shown in FIG. 20 and the vertical processing circuit shown in FIG. Be seen. The horizontal processing circuit shown in FIG. 20 includes a delay element XD 171, an adder 172, multipliers 173 and 175, and a selector 174. The delay element XD171 causes a delay of one pixel in the horizontal direction.

【0056】画素補間対象/非対象フラグが補間対象を
指定するときは、セレクタ174は、加算器172の出
力信号を選択する。このとき、フレーム・メモリから、
a,bの順でデータが入力され、現在の入力データがb
とすると、セレクタ174は、a+bの信号を出力す
る。
When the pixel interpolation target / non-target flag specifies the interpolation target, the selector 174 selects the output signal of the adder 172. At this time, from the frame memory,
Data is input in the order of a and b, and the current input data is b
Then, the selector 174 outputs the signal of a + b.

【0057】画素補間対象/非対象フラグが非対象を指
定するときは、セレクタ174は、掛け算器173の出
力信号を選択する。このとき、フレーム・メモリから、
a,bの順でデータが入力され、現在の入力データがb
とすると、セレクタ174は、2×aの信号を出力す
る。なお、掛け算器175は、図14のH.261ルー
プ内フィルタ142の出力信号と信号の桁を合わせるた
めのものである。
When the pixel interpolation target / non-target flag specifies non-target, the selector 174 selects the output signal of the multiplier 173. At this time, from the frame memory,
Data is input in the order of a and b, and the current input data is b
Then, the selector 174 outputs a 2 × a signal. It should be noted that the multiplier 175 is based on the H.264 circuit of FIG. This is for matching the output signal of the filter 261 in the 261 loop and the digit of the signal.

【0058】図21に示す縦方向処理回路は、遅延素子
YD181、加算器182、掛け算器183、及びセレ
クタ184とで構成される。なお、遅延素子YD181
は、縦方向の1行分の遅延を生じさせる。
The vertical processing circuit shown in FIG. 21 includes a delay element YD181, an adder 182, a multiplier 183, and a selector 184. The delay element YD181
Causes a delay of one row in the vertical direction.

【0059】画素補間対象/非対象フラグが補間対象を
指定するときは、セレクタ184は、加算器182の出
力信号を選択する。このとき、横方向処理回路からの供
給される現在の入力データをf、1行前のデータをeと
すると、セレクタ184は、e+fの信号を出力する。
When the pixel interpolation target / non-target flag specifies the interpolation target, the selector 184 selects the output signal of the adder 182. At this time, assuming that the current input data supplied from the horizontal processing circuit is f and the data one row before is e, the selector 184 outputs a signal of e + f.

【0060】画素補間対象/非対象フラグが非対象を指
定するときは、セレクタ184は、掛け算器183の出
力信号を選択する。このとき、横方向処理回路からの供
給される現在の入力データをf、1行前のデータをeと
すると、セレクタ184は、2×eの信号を出力する。
When the pixel interpolation target / non-target flag specifies non-target, the selector 184 selects the output signal of the multiplier 183. At this time, assuming that the current input data supplied from the horizontal processing circuit is f and the data one row before is e, the selector 184 outputs a 2 × e signal.

【0061】図22は前後両方向処理回路141の回路
図を示す。前後両方向処理回路141は、動き補償前方
向予測器135、動き補償後方向予測器136の出力信
号を供給されて、前後両方向動き補償予測を行う。
FIG. 22 shows a circuit diagram of the front-back bidirectional processing circuit 141. The forward / backward bidirectional processing circuit 141 is supplied with the output signals of the motion-compensated forward predictor 135 and the motion-compensated backward predictor 136, and performs forward / backward bidirectional motion-compensated prediction.

【0062】前後両方向処理回路141は、図22に示
すように、加算器191、掛け算器193、セレクタ1
92、194とで構成される。加算器191は、前方向
処理系の出力信号(図14の動き補償前方向予測器13
5の出力信号)と、後方向処理系の出力信号(図14の
動き補償後方向予測器136の出力信号)とを加算す
る。
As shown in FIG. 22, the front-back bidirectional processing circuit 141 includes an adder 191, a multiplier 193, and a selector 1.
92 and 194. The adder 191 outputs the output signal of the forward processing system (the motion compensation forward predictor 13 in FIG. 14).
5) and the output signal of the backward processing system (the output signal of the motion compensation backward predictor 136 of FIG. 14) are added.

【0063】両方向動き補償処理対象/非対象フラグ
が、処理対象を指定するときは、セレクタ194は、加
算器191の出力信号を選択し、前方向処理系の信号と
後方向処理系の信号の加算値を出力する。
When the bidirectional motion compensation processing target / non-target flag specifies the processing target, the selector 194 selects the output signal of the adder 191, and selects the signal of the forward processing system and the signal of the backward processing system. Output the added value.

【0064】両方向動き補償処理対象/非対象フラグが
非対象を指定し、前方向/後方向フラグが前方向を指定
するときは、セレクタ192で前方向処理系の信号が選
択され、掛け算器193で2倍にされた後、セレクタ1
94から出力される。
When the bidirectional motion compensation processing target / non-target flag designates non-target and the forward / backward flag designates forward, the signal of the forward processing system is selected by the selector 192 and the multiplier 193 is selected. After being doubled with selector 1
It is output from 94.

【0065】両方向動き補償処理対象/非対象フラグが
非対象を指定し、前方向/後方向フラグが後方向を指定
するときは、セレクタ192で後方向処理系の信号が選
択され、掛け算器193で2倍にされた後、セレクタ1
94から出力される。
When the bidirectional motion compensation processing target / non-target flag specifies non-target and the forward / backward flag specifies backward, the signal of the backward processing system is selected by the selector 192 and the multiplier 193 is selected. After being doubled with selector 1
It is output from 94.

【0066】なお、掛け算器193は、図14のH.2
61ループ内フィルタ142の出力信号と信号の桁を合
わせるためのものである。
It should be noted that the multiplier 193 is the H.264 circuit of FIG. Two
This is for matching the output signal of the 61-loop filter 142 and the digit of the signal.

【0067】[0067]

【発明が解決しようとする課題】しかるに、図14に示
すH.261及びMPEGに準拠する動き補償フレーム
間予測器では、H.261におけるループ内フィルタ付
き動き補償予測機能、MPEGにおける1/2画素精度
動き補償予測機能及び前後両方向動き補償予測機能を別
個の回路で構成している。このため、回路規模が増大す
るという問題がある。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention However, as shown in FIG. In the motion-compensated interframe predictor conforming to H.261 and MPEG, H.264 is used. The motion compensation prediction function with in-loop filter in H.261, the 1/2 pixel precision motion compensation prediction function in MPEG, and the bidirectional motion compensation prediction function in both directions are configured by separate circuits. Therefore, there is a problem that the circuit scale increases.

【0068】本発明は上記の点に鑑みてなされたもの
で、H.261及びMPEGに準拠し、かつ、回路規模
の増大を抑えた動き補償予測器を提供することを目的と
する。
The present invention has been made in view of the above points. It is an object of the present invention to provide a motion compensation predictor that complies with H.261 and MPEG and that suppresses an increase in circuit scale.

【0069】[0069]

【課題を解決するための手段】本発明の動き補償予測器
は、1−2−1型低域通過型フィルタ付き動き補償予測
機能と、前後両方向動き補償予測機能及び画素補間機能
とが、外部制御信号により選択されるデジタル動画像の
復号器における動き補償予測器であって、前後両方向動
き補償予測機能及び画素補間機能が選択されたときは、
前方向フレームのデータと後方向フレームのデータとを
1系統のデータに統合して出力し、1−2−1型低域通
過型フィルタ付き動き補償予測機能が選択されたとき
は、前方向フレームのデータを選択して出力する第1の
選択手段15と、上記第1の選択手段15の出力信号を
供給されて、画素補間機能の横方向処理及び1−2−1
型低域通過型フィルタ付き動き補償予測機能の横方向処
理を行う横方向処理手段16と、上記外部制御信号によ
り前後両方向動き補償予測機能及び画素補間機能が選択
されたときは、上記横方向処理手段16から供給される
画素補間機能の横方向処理結果の信号を選択して出力
し、上記外部制御信号により1−2−1型低域通過型フ
ィルタ付き動き補償予測機能が選択されたときは、上記
横方向処理手段16から供給される1−2−1型低域通
過型フィルタ付き動き補償予測機能の横方向処理結果の
信号を選択して出力する第2の選択手段17と、上記第
2の選択手段17の出力信号を供給されて、画素補間機
能の縦方向処理及び1−2−1型低域通過型フィルタ付
き動き補償予測機能の縦方向処理を行う縦方向処理手段
18と、上記縦方向処理手段18から画素補間機能の縦
方向処理結果の信号を供給されて、前後両方向動き補償
予測を行う前後両方向処理手段19と、上記外部制御信
号により前後両方向動き補償予測機能及び画素補間機能
が選択されたときは、上記前後両方向処理手段19から
供給される前後両方向処理結果の信号を選択して出力
し、上記外部制御信号により1−2−1型低域通過型フ
ィルタ付き動き補償予測機能が選択されたときは、上記
縦方向処理手段18から供給される1−2−1型低域通
過型フィルタ付き動き補償予測機能の縦方向処理結果の
信号を選択して出力する第3の選択手段20とを有する
構成とする。
A motion-compensated predictor according to the present invention has a 1-2-1 type low-pass filtered motion-compensated predictive function, a front-back bidirectional motion-compensated predictive function, and a pixel interpolation function. A motion-compensated predictor in a decoder for a digital moving image selected by a control signal, wherein the bidirectional motion-compensated predictive function and the pixel interpolation function are selected,
The data of the forward frame and the data of the backward frame are integrated into one system of data and output. When the motion compensation prediction function with the 1-2-1 low-pass filter is selected, the forward frame Is supplied with the output signal of the first selecting unit 15 and the first selecting unit 15 for selecting and outputting the data of 1) and the horizontal processing of the pixel interpolation function and 1-2-1.
Horizontal processing means 16 for performing the horizontal processing of the motion compensation prediction function with a low pass filter and the forward and backward bidirectional motion compensation prediction function and the pixel interpolation function by the external control signal. When the signal of the horizontal processing result of the pixel interpolation function supplied from the means 16 is selected and output, and the motion compensation prediction function with the 1-2-1 type low-pass filter is selected by the external control signal, Second selecting means 17 for selecting and outputting the signal of the horizontal processing result of the motion compensation prediction function with the 1-2-1 type low-pass filter supplied from the horizontal processing means 16; A vertical direction processing unit 18 which is supplied with the output signal of the second selection unit 17 and performs a vertical direction process of the pixel interpolation function and a vertical direction process of the motion compensation prediction function with the 1-2-1 type low-pass filter. Above vertical direction The signal of the vertical processing result of the pixel interpolation function is supplied from the processing means 18, and the front-back bidirectional processing means 19 for performing the front-back bidirectional motion compensation prediction, and the front-back bidirectional motion compensation prediction function and the pixel interpolation function are selected by the external control signal. Then, the front-rear bidirectional processing result signal supplied from the front-rear bidirectional processing means 19 is selected and output, and the 1-2-1 type low-pass filter-equipped motion compensation prediction function is selected by the external control signal. Third selection means for selecting and outputting the signal of the vertical processing result of the motion compensation prediction function with the 1-2-1 low-pass filter supplied from the vertical processing means 18 when selected And 20.

【0070】[0070]

【作用】本発明の第1の選択手段15は、前後両方向動
き補償予測機能及び画素補間機能が選択されたときは、
前方向フレームのデータと後方向フレームのデータとを
1系統のデータに統合し、横方向処理手段16及び縦方
向処理手段18では、前後両方向動き補償予測機能及び
画素補間機能のための回路と1−2−1型低域通過型フ
ィルタ付き動き補償予測機能のための回路とが主要部を
共用する。このため、回路規模の増大を抑えることを可
能とする。
The first selecting means 15 of the present invention, when the forward and backward bidirectional motion compensation prediction function and the pixel interpolation function are selected,
The data of the forward direction frame and the data of the backward direction frame are integrated into one system data, and the horizontal direction processing means 16 and the vertical direction processing means 18 have a circuit for forward and backward bidirectional motion compensation prediction function and a pixel interpolation function and 1 The main part is shared with the circuit for the motion compensation prediction function with the 2-1 type low-pass filter. Therefore, it is possible to suppress an increase in circuit scale.

【0071】[0071]

【実施例】図1は本発明の一実施例の構成図を示す。本
実施例は、H.261及びMPEGに準拠する動き補償
フレーム間予測器である。読み出しアドレス作成部11
は、画面サイズ、処理単位ブロックの先頭アドレス、動
きベクトルを基に、フレーム・メモリA12、フレーム
・メモリB13に供給するアドレスを生成する。フレー
ム・メモリA12には、逆DCT器から供給される現在
の差分のビデオ信号に対して、時間的に前方向のデータ
が記憶される。フレーム・メモリB13には、逆DCT
器から供給される現在の差分のビデオ信号に対して、時
間的に後方向のデータが記憶される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of an embodiment of the present invention. This embodiment is based on H.264. It is a motion-compensated interframe predictor conforming to H.261 and MPEG. Read address creation unit 11
Generates an address to be supplied to the frame memory A12 and the frame memory B13 based on the screen size, the start address of the processing unit block, and the motion vector. The frame memory A12 stores forward data in time with respect to the current differential video signal supplied from the inverse DCT device. Inverse DCT in frame memory B13
Data is stored backward in time with respect to the current differential video signal supplied from the instrument.

【0072】MPEG/H.261回路14は、第1の
選択手段であるセレクタ15、横方向処理手段である横
方向処理回路16、第2の選択手段であるセレクタ1
7、縦方向処理手段である縦方向処理回路18、前後両
方向処理手段である前後両方向処理回路19、及びセレ
クタ20とから構成される。
MPEG / H. The 261 circuit 14 includes a selector 15 that is a first selecting unit, a horizontal processing circuit 16 that is a horizontal processing unit, and a selector 1 that is a second selecting unit.
7, a vertical processing circuit 18 which is vertical processing means, a front-back bidirectional processing circuit 19 which is front-back bidirectional processing means, and a selector 20.

【0073】MPEG/H.261回路14は、MPE
G/H.261フラグでMPEGモードが選択され、か
つ、符号化モード識別フラグが前方向予測、後方向予
測、前後両方向予測のいずれかを指定するか、動きベク
トルが1/2画素精度であるときは、フレーム・メモリ
A12、フレーム・メモリB13から供給される信号に
対してMPEGに準拠した動き補償予測を行う。
MPEG / H. 261 circuit 14 is MPE
G / H. If the MPEG mode is selected by the H.261 flag, the coding mode identification flag specifies either forward prediction, backward prediction, or forward and backward prediction, or if the motion vector has 1/2 pixel accuracy, -MPEG-compliant motion-compensated prediction is performed on the signals supplied from the memory A12 and the frame memory B13.

【0074】また、MPEG/H.261フラグでH.
261モードが選択され、かつ、フレーム内/フレーム
間識別フラグがフレーム間予測を有効とするときは、フ
レーム・メモリA12から供給される信号に対してH.
261に準拠した動き補償予測を行う。
In addition, the MPEG / H. H.261 flag.
261 mode is selected, and when the intra-frame / inter-frame identification flag enables inter-frame prediction, H.264 is applied to the signal supplied from the frame memory A12.
261 based motion compensation prediction is performed.

【0075】セレクタ15は、MPEGモードが選択さ
れ、かつ、符号化モード識別フラグが前方向予測、後方
向予測、前後両方向予測のいずれかを指定するときは、
フレーム・メモリA12から供給される前方向フレーム
のデータと、フレーム・メモリB13から供給される後
方向フレームのデータとを1系統のデータに統合して出
力する。
When the MPEG mode is selected and the coding mode identification flag specifies any of forward prediction, backward prediction, and forward and backward bidirectional prediction, the selector 15 selects
The forward frame data supplied from the frame memory A12 and the backward frame data supplied from the frame memory B13 are integrated into one system of data and output.

【0076】また、H.261モードが選択され、か
つ、フレーム内/フレーム間識別フラグがフレーム間予
測を有効とするときは、フレーム・メモリA12から供
給される前方向フレームのデータを選択して出力する。
In addition, H. When the H.261 mode is selected and the intra-frame / inter-frame identification flag enables inter-frame prediction, the data of the forward frame supplied from the frame memory A12 is selected and output.

【0077】横方向処理回路16では、MPEGに準拠
する動き補償予測機能のための横方向処理回路とH.2
61に準拠する動き補償予測機能のための横方向処理回
路とが主要部を共用し、セレクタ15からフレーム・デ
ータを供給されて、MPEGモードの横方向処理、又は
H.261モードの横方向処理を行う。なお、MPEG
系の出力端子とH.261系の出力端子は独立してい
る。
In the horizontal direction processing circuit 16, the horizontal direction processing circuit for the motion compensation prediction function conforming to the MPEG and the H.264 / AVC system are provided. Two
A horizontal direction processing circuit for a motion compensation prediction function conforming to H.61 shares a main part and is supplied with frame data from the selector 15 to perform horizontal direction processing in MPEG mode or H.264. The horizontal processing of the 261 mode is performed. In addition, MPEG
H. system output terminal The output terminals of the 261 system are independent.

【0078】セレクタ17は、横方向処理回路16か
ら、MPEGモードの横方向処理結果の信号、又はH.
261モードの横方向処理結果の信号を供給され、MP
EG/H.261フラグでMPEGモードが選択された
ときは、MPEGモードの横方向処理結果の信号を選択
して出力する。また、MPEG/H.261フラグで
H.261モードが選択されたときは、H.261モー
ドの横方向処理結果の信号を選択して出力する。
The selector 17 receives a signal from the horizontal direction processing circuit 16 as a result of the horizontal direction processing in the MPEG mode, or an H.264 signal.
261 mode horizontal processing result signal is supplied, MP
EG / H. When the MPEG mode is selected by the 261 flag, the signal of the horizontal processing result of the MPEG mode is selected and output. In addition, MPEG / H. H.261 flag. When the H.261 mode is selected, the H.264 mode is selected. The signal of the horizontal processing result in the 261 mode is selected and output.

【0079】縦方向処理回路18では、MPEGに準拠
する動き補償予測機能のための縦方向処理回路とH.2
61に準拠する動き補償予測機能のための縦方向処理回
路とが主要部を共用し、セレクタ17からMPEGモー
ドの横方向処理結果の信号、又はH.261モードの横
方向処理結果の信号を供給されて、MPEGモードの縦
方向処理、又はH.261モードの縦方向処理を行う。
なお、MPEG系の出力端子とH.261系の出力端子
は独立している。
The vertical direction processing circuit 18 includes a vertical direction processing circuit for a motion compensation prediction function conforming to MPEG and an H.264 / AVC processing unit. Two
61 and the vertical processing circuit for the motion-compensated prediction function conforming to H.61 share a main part, and a signal of the horizontal processing result in the MPEG mode from the selector 17 or H.264. 261 mode horizontal processing result signal is supplied, MPEG mode vertical processing, or H.264. The vertical processing of the 261 mode is performed.
It should be noted that an MPEG-type output terminal and an H.264 standard. The output terminals of the 261 system are independent.

【0080】前後両方向処理回路19は、縦方向処理回
路18からMPEGモードの縦方向処理結果の信号を供
給されて、前後両方向動き補償予測を行う。なお、前後
両方向処理回路19の入力端子は1系統で、前方向フレ
ームのデータと後方向フレームのデータを統合したデー
タを扱う。
The front-rear bidirectional processing circuit 19 is supplied with the signal of the vertical-direction processing result of the MPEG mode from the vertical processing circuit 18, and performs the front-rear bidirectional motion compensation prediction. The front / rear bidirectional processing circuit 19 has one input terminal and handles data obtained by integrating the data of the forward frame and the data of the backward frame.

【0081】前後両方向処理回路19は、符号化モード
識別フラグが前後両方向予測を指定するときは、前後両
方向動き補償予測を行う。また、符号化モード識別フラ
グが前方向予測を指定するときは、横方向処理回路16
及び縦方向処理回路18により得られた、前方向動き補
償予測の信号を出力する。また、符号化モード識別フラ
グが後方向予測を指定するときは、横方向処理回路16
及び縦方向処理回路18により得られた、後方向動き補
償予測の信号を出力する。
The bidirectional processing circuit 19 performs bidirectional motion compensation prediction when the coding mode identification flag specifies bidirectional prediction. Further, when the coding mode identification flag specifies forward prediction, the horizontal direction processing circuit 16
And a signal for forward motion compensation prediction obtained by the vertical direction processing circuit 18 is output. When the coding mode identification flag specifies backward prediction, the horizontal direction processing circuit 16
And a backward motion compensation prediction signal obtained by the vertical direction processing circuit 18 is output.

【0082】セレクタ20は、MPEG/H.261フ
ラグによりH.261モードが選択されたときは、H.
261モードの動き補償予測の信号を選択して出力し、
MPEGモードが選択されたときは、MPEGモードの
動き補償予測の信号を選択して出力する。
The selector 20 is an MPEG / H. H.261 flag. When the H.261 mode is selected, the H.264 mode is selected.
261 mode motion compensated prediction signal is selected and output,
When the MPEG mode is selected, the motion compensation prediction signal of the MPEG mode is selected and output.

【0083】加算器21では、逆DCT器からの差分と
セレクタ20の出力信号が加算される。この加算結果
は、ビデオ信号として出力される一方、次の画面のリフ
ァレンスとするためにフレーム・メモリA12に記憶さ
れる。
In the adder 21, the difference from the inverse DCT device and the output signal of the selector 20 are added. The result of this addition is output as a video signal, while it is stored in the frame memory A12 to serve as a reference for the next screen.

【0084】なお、H.261モードで、ループ内フィ
ルタON/OFFフラグがONのときは、横方向処理回
路16、及び縦方向処理回路18は、H.261モード
のフィルタ処理を行うが、ループ内フィルタON/OF
FフラグがOFFのときは、横方向処理回路16、及び
縦方向処理回路18は、フィルタ処理を行わない。
H. In the H.261 mode, when the in-loop filter ON / OFF flag is ON, the horizontal direction processing circuit 16 and the vertical direction processing circuit 18 are set to H.264. 261 mode filtering is performed, but in-loop filter ON / OF
When the F flag is OFF, the horizontal processing circuit 16 and the vertical processing circuit 18 do not perform the filtering process.

【0085】また、H.261モードで、フレーム内/
フレーム間識別フラグがフレーム内予測を有効としたと
き、又は、MPEGモードで、符号化モード識別フラグ
が、前方向予測、後方向予測、前後両方向予測のいずれ
も指定しないときは、セレクタ15の出力信号は、論理
ゼロ(“0”)となり、セレクタ20の出力信号も論理
ゼロ(“0”)となる。このとき、加算器146は、逆
DCT出力をそのまま出力する。この逆DCT出力は、
ビデオ信号として出力される一方、次の画面のリファレ
ンスとするために、フレーム・メモリA12に記憶され
る。
In addition, the H. In 261 mode, in frame /
Output from the selector 15 when the inter-frame identification flag enables intra-frame prediction, or when the coding mode identification flag does not specify any of forward prediction, backward prediction, and forward and backward bidirectional prediction in MPEG mode. The signal becomes a logical zero (“0”), and the output signal of the selector 20 also becomes a logical zero (“0”). At this time, the adder 146 outputs the inverse DCT output as it is. This inverse DCT output is
While being output as a video signal, it is stored in the frame memory A12 to serve as a reference for the next screen.

【0086】次に、図1の横方向処理回路16、縦方向
処理回路18、前後両方向処理回路19について説明す
る。図2は図1の横方向処理回路16の回路図を示す。
図2において、MPEGモードの横方向処理のための回
路は、遅延素子XD31、XD32、加算器33、掛け
算器34、セレクタ35、及び掛け算器36とから構成
される。また、H.261モードの横方向処理のための
回路は、遅延素子XD31、XD32、加算器33、加
算器38、掛け算器37、掛け算器39、セレクタ40
とから構成される。なお、遅延素子XD31、XD32
は、1画素分の遅延を生じさせる。
Next, the horizontal processing circuit 16, the vertical processing circuit 18, and the front-back bidirectional processing circuit 19 of FIG. 1 will be described. FIG. 2 shows a circuit diagram of the lateral processing circuit 16 of FIG.
In FIG. 2, the circuit for horizontal processing in the MPEG mode includes delay elements XD31, XD32, an adder 33, a multiplier 34, a selector 35, and a multiplier 36. In addition, H. The circuit for the horizontal processing in the 261 mode includes delay elements XD31, XD32, an adder 33, an adder 38, a multiplier 37, a multiplier 39, and a selector 40.
Composed of and. The delay elements XD31 and XD32
Causes a delay of one pixel.

【0087】図3は図1の縦方向処理回路18の回路図
を示す。図3において、MPEGモードの縦方向処理の
ための回路は、遅延素子YD51、YD52、加算器5
3、掛け算器54、セレクタ55、及び掛け算器56と
から構成される。また、H.261モードの縦方向処理
のための回路は、遅延素子YD51、YD52、加算器
53、加算器58、掛け算器57、掛け算器59、セレ
クタ60とから構成される。なお、遅延素子YD51、
YD52は、縦方向の1行分の遅延を生じさせる。
FIG. 3 is a circuit diagram of the vertical processing circuit 18 shown in FIG. In FIG. 3, the circuit for the vertical processing in the MPEG mode includes delay elements YD51, YD52, and an adder 5.
3, a multiplier 54, a selector 55, and a multiplier 56. In addition, H. The circuit for vertical processing in the 261 mode includes delay elements YD51, YD52, an adder 53, an adder 58, a multiplier 57, a multiplier 59, and a selector 60. The delay element YD51,
The YD 52 causes a delay of one row in the vertical direction.

【0088】図2に示すように、MPEGモードの横方
向処理のための回路と、H.261モードの横方向処理
のための回路とが主要部を共用している。また、図3に
示すように、MPEGモードの縦方向処理のための回路
と、H.261モードの縦方向処理のための回路とが主
要部を共用している。このため、回路規模の増大を抑え
ることができる。
As shown in FIG. 2, a circuit for horizontal processing in the MPEG mode, and an H.264 standard. The main part is shared with the circuit for the horizontal processing of the 261 mode. Further, as shown in FIG. The main part is shared with the circuit for the vertical processing of the 261 mode. Therefore, the increase in circuit scale can be suppressed.

【0089】図4は、図1の前後両方向処理回路19の
回路図を示す。前後両方向処理回路19は、遅延素子Z
D71、加算器72、セレクタ75、セレクタ73、及
び掛け算器74とから構成される。なお、遅延素子ZD
71は、供給されている前方向処理データと後方向処理
データの時間差分に相当する遅延を生じさせる。
FIG. 4 shows a circuit diagram of the front-back bidirectional processing circuit 19 of FIG. The front-back bidirectional processing circuit 19 includes a delay element Z
It comprises a D71, an adder 72, a selector 75, a selector 73, and a multiplier 74. The delay element ZD
Reference numeral 71 causes a delay corresponding to the time difference between the forward-direction processed data and the backward-direction processed data being supplied.

【0090】図5は、MPEGモードにおける横方向処
理回路16の動作タイミングチャートを示し、図6は、
MPEGモードにおける縦方向処理回路18の動作タイ
ミングチャートを示す。また、図7はMPEGモードに
おける前後両方向処理回路19の動作タイミングチャー
トを示す。なお、信号S1 〜S20は、図2、図3、図
4、図5、図6、図7、図8、図9で共通である。
FIG. 5 shows an operation timing chart of the horizontal direction processing circuit 16 in the MPEG mode, and FIG.
7 shows an operation timing chart of the vertical direction processing circuit 18 in the MPEG mode. Further, FIG. 7 shows an operation timing chart of the bidirectional processing circuit 19 in the MPEG mode. The signals S1 to S20 are common to FIGS. 2, 3, 4, 5, 6, 7, 8, and 9.

【0091】また、図5、図6、図7において、1DX
Xは、フレーム・メモリAからのデータそのままを示
し、2DXXは、フレーム・メモリBからのデータその
ままを示す。また、1fXXは、フレーム・メモリAか
らのデータが横方向処理を受けたものを示し、2fXX
は、フレーム・メモリBからのデータが横方向処理を受
けたものを示す。
Further, in FIGS. 5, 6 and 7, 1DX
X indicates the data from the frame memory A as it is, and 2DXX indicates the data from the frame memory B as it is. Further, 1fXX indicates that the data from the frame memory A has undergone horizontal processing, and 2fXX indicates
Indicates that the data from frame memory B has undergone lateral processing.

【0092】また、1FXXは、フレーム・メモリAか
らのデータが縦方向処理を受けたものを示し、2FXX
は、フレーム・メモリBからのデータが縦方向処理を受
けたものを示す。また、FXXは、前後両方向処理を受
けたデータを示す。なお、XXは、フレーム・メモリか
らの読み出し順序を示す数字である。
Further, 1FXX indicates that the data from the frame memory A has been subjected to the vertical processing, and 2FXX.
Indicates that the data from frame memory B has undergone vertical processing. In addition, FXX indicates data that has been subjected to front-back bidirectional processing. XX is a number indicating the order of reading from the frame memory.

【0093】まず、第5図について説明する。図5
(B)はフレーム・メモリA12からのデータを示し、
図5(C)はフレーム・メモリB13からのデータを示
す。MPEGの場合、フレーム・メモリA12、フレー
ム・メモリB13の2つのフレーム・メモリからのデー
タを使用する場合がある。従って、この2種類のデータ
を図1のセレクタ15で1本化する。
First, FIG. 5 will be described. Figure 5
(B) shows the data from the frame memory A12,
FIG. 5C shows the data from the frame memory B13. In the case of MPEG, data from two frame memories, frame memory A12 and frame memory B13, may be used. Therefore, the two types of data are unified by the selector 15 of FIG.

【0094】図5(D)の信号S1 は、この1本化した
データで、クロックMの1クロック毎にフレーム・メモ
リA12からのデータとフレーム・メモリB13からの
データが交互になっている。MPEGモードでは、以
後、上記のように、データは1本化された状態で処理さ
れる。
The signal S1 in FIG. 5D is this unified data, and the data from the frame memory A12 and the data from the frame memory B13 are alternated for each clock of the clock M. In the MPEG mode, thereafter, the data is processed in a unified state as described above.

【0095】図18により説明したように、MPEGに
おける横方向処理とは、ある画素と、フレーム・メモリ
からの読み出し順序からみて、その1個前の画素との足
し算である。従って、横方向処理回路16では、図5
(D)の信号S1 を図5(E)の信号S3 のように、1
画素分遅延させ、信号S1 と信号S3 を足し合わせる処
理を行う。
As described with reference to FIG. 18, the horizontal processing in MPEG is the addition of a pixel and the pixel immediately preceding it in the reading order from the frame memory. Therefore, in the horizontal direction processing circuit 16, as shown in FIG.
The signal S1 of (D) is changed to 1 like the signal S3 of FIG.
A process of adding the signals S1 and S3 is performed by delaying by a pixel.

【0096】フレーム・メモリA12からのデータとフ
レーム・メモリB13からのデータが交互になっている
ので、図2に示すように、信号S1 を遅延素子XD3
1、XD32により1画素分遅延させて信号S3 として
いる。また、加算器33で、信号S1 と信号S3 を足し
算している。
Since the data from the frame memory A12 and the data from the frame memory B13 are alternated, the signal S1 is delayed by the delay element XD3 as shown in FIG.
1. The signal S3 is delayed by one pixel by the XD32. Further, the adder 33 adds the signal S1 and the signal S3.

【0097】図5(F)の信号S4 (画素補間処理対象
/非対象フラグ)は、横方向処理を行うかどうかを指定
するフラグである。図2のセレクタ35は、信号S4 に
より横方向処理を行うことを指定されたとき、信号S1
と信号S3 の足し算の結果を信号S5 として出力する。
The signal S4 (pixel interpolation processing target / non-target flag) in FIG. 5 (F) is a flag that specifies whether or not horizontal processing is to be performed. When the selector 35 of FIG. 2 is instructed to perform the horizontal processing by the signal S4, the signal S1
And the result of the addition of the signal S3 and the signal S3 is output.

【0098】本実施例では、信号S4 がローレベル
(“L”)のとき、横方向処理を行う。図5(F)に示
すように、信号S4 が“L”となり横方向処理を行うの
は、信号S1 と信号S3 の有意期間が重なっている期間
である。この期間、図5(G)の信号S5 は信号S1 と
信号S3 の足し算の結果となる。
In this embodiment, when the signal S4 is at low level ("L"), the horizontal processing is performed. As shown in FIG. 5 (F), the signal S4 becomes "L" and horizontal processing is performed during a period in which the significant periods of the signal S1 and the signal S3 overlap. During this period, the signal S5 of FIG. 5G is the result of addition of the signals S1 and S3.

【0099】なお、信号S4 がハイレベル(“H”)
で、横方向処理を行わないときは、セレクタ35は、掛
け算器34の出力信号を選択して出力する。掛け算器3
4の出力信号は、着目する画素のデータ(信号S3 )を
元のまま2倍にしたものである。また、掛け算器36
は、H.261モードのとき有効となるH.261系の
出力信号(セレクタ40の出力信号)の値と桁を合わせ
るためのものである。
The signal S4 is high level ("H").
When the horizontal processing is not performed, the selector 35 selects and outputs the output signal of the multiplier 34. Multiplier 3
The output signal 4 is the original pixel data (signal S3) doubled. Also, the multiplier 36
H. H.261 that is effective in the H.261 mode. This is for matching the digit with the value of the output signal of the 261 system (the output signal of the selector 40).

【0100】図18により説明したように、MPEGに
おける縦方向処理とは、ある画素と、フレーム・メモリ
からの読み出し順序からみて、その1行分前の画素との
足し算である。従って、縦方向処理回路18では、図6
(B)の信号S8 を図6(C)の信号S10のように、1
行分遅延させ、信号S8 と信号S10を足し算する処理を
行う。
As described with reference to FIG. 18, the vertical processing in MPEG is the addition of a pixel and the pixel one row before in the reading order from the frame memory. Therefore, in the vertical direction processing circuit 18, as shown in FIG.
The signal S8 of (B) is changed to 1 like the signal S10 of FIG. 6 (C).
A process of delaying by a row and adding the signals S8 and S10 is performed.

【0101】MPEGモードのとき、横方向処理回路か
らのデータは、フレーム・メモリA12からのデータと
フレーム・メモリB13からのデータが交互になってい
る。このため、図3に示すように、信号S8 を遅延素子
YD51、YD52により1行分遅延させて信号S10と
している。また、加算器53は、信号S8 と信号S10を
足し算している。
In the MPEG mode, the data from the horizontal direction processing circuit alternates between the data from the frame memory A12 and the data from the frame memory B13. Therefore, as shown in FIG. 3, the signal S8 is delayed by one row by the delay elements YD51 and YD52 to form the signal S10. The adder 53 adds the signal S8 and the signal S10.

【0102】図6(D)の信号S11(画素補間処理対象
/非対象フラグ)は、縦方向処理を行うかどうかを指定
するフラグである。図3のセレクタ55は、信号S11に
より縦方向処理を行うことを指定されたとき、信号S8
と信号S10の足し算の結果を信号S12として出力する。
The signal S11 (pixel interpolation processing target / non-target flag) in FIG. 6D is a flag that specifies whether or not vertical processing is to be performed. The selector 55 of FIG. 3 receives the signal S8 when the vertical processing is designated by the signal S11.
And the result of the addition of the signal S10 is output as a signal S12.

【0103】本実施例では、信号S11が“L”のとき、
縦方向処理を行う。図6(D)に示すように、信号S11
が“L”となり縦方向処理を行うのは、信号S8 と信号
S10の有意期間が重なっている期間である。この期間、
図6(E)の信号S12は信号S8 と信号S10の足し算の
結果となる。
In this embodiment, when the signal S11 is "L",
Performs vertical processing. As shown in FIG. 6D, the signal S11
Is "L" and vertical processing is performed during the period in which the significant periods of the signal S8 and the signal S10 overlap. this period,
The signal S12 in FIG. 6 (E) is the result of addition of the signals S8 and S10.

【0104】なお、信号S11が“H”で、縦方向処理を
行わないときは、セレクタ55は、掛け算器54の出力
信号を選択して出力する。掛け算器54の出力信号は、
着目する画素のデータ(信号S10)を2倍にしたもので
ある。また、掛け算器56は、H.261モードのとき
有効となるH.261系の出力信号(セレクタ60の出
力信号)の値と桁を合わせるためのものである。
When the signal S11 is "H" and vertical processing is not performed, the selector 55 selects and outputs the output signal of the multiplier 54. The output signal of the multiplier 54 is
The data (signal S10) of the pixel of interest is doubled. In addition, the multiplier 56 is an H.V. H.261 that is effective in the H.261 mode. This is for matching the digit with the value of the output signal of the 261 system (the output signal of the selector 60).

【0105】図19により説明したように、MPEGに
おける前後両方向処理とは、前方向参照データと、後方
向参照データとの足し算である。ところで、上記のよう
に、縦方向処理回路から供給されるデータは、前方向参
照データと後方向参照データが1クロック毎に交互にな
っている。従って、前後両方向処理回路19では、図7
(B)の信号S15を、図7(C)の信号S16のように1
クロック分遅延させ、信号S15と信号S16を足し算する
処理を行う。
As described with reference to FIG. 19, the forward / backward bidirectional processing in MPEG is addition of forward reference data and backward reference data. By the way, as described above, in the data supplied from the vertical processing circuit, the forward reference data and the backward reference data are alternated every one clock. Therefore, in the front-back bidirectional processing circuit 19, as shown in FIG.
The signal S15 of (B) is changed to 1 as the signal S16 of FIG.
A process of adding the signal S15 and the signal S16 by delaying by the clock is performed.

【0106】図4に示すように、信号S15を遅延素子Z
D71で1クロック分遅延させて信号S16とし、加算器
72で信号S15と信号S16を足し合わせている。
As shown in FIG. 4, the signal S15 is delayed by the delay element Z.
The signal S16 is delayed by one clock at D71, and the signal S15 and the signal S16 are added by the adder 72.

【0107】図7(F)の信号S19(両方向動き補償処
理対称/非対象フラグ)は、前後両方向処理を行うかど
うかを指定するフラグである。図4のセレクタ75は、
信号S19により前後両方向処理を行うことを指定された
とき、信号S15と信号S16の足し算の結果を信号S20と
して出力する。
The signal S19 (bidirectional motion compensation processing symmetrical / non-symmetrical flag) in FIG. 7F is a flag that specifies whether or not bidirectional processing is performed. The selector 75 shown in FIG.
When it is specified by the signal S19 to perform the bidirectional processing, the result of addition of the signals S15 and S16 is output as the signal S20.

【0108】本実施例では、信号S19が“L”のとき、
前後両方向処理を行う。図7(F)に示すように、信号
S19が“L”となり前後両方向処理を行うのは、信号S
15と信号S16とで、フレーム・メモリからの読み出し順
序が同じデータが重なる期間である。この期間、図7
(G)の信号S20は信号S15と信号S16の足し算の結果
となる。
In this embodiment, when the signal S19 is "L",
Performs both forward and backward processing. As shown in FIG. 7 (F), the signal S19 becomes "L", and the front and rear bidirectional processing is performed by the signal S
In the period of 15 and the signal S16, the data having the same reading order from the frame memory is overlapped. This period, Figure 7
The signal S20 in (G) is the result of addition of the signals S15 and S16.

【0109】信号S17は、前後両方向処理を行わない場
合に、前方向参照データと後方向参照データのいずれが
有意かを示す信号である。本実施例では、信号S17が
“L”のとき前方向参照データを有意とし、“H”のと
き後方向参照データを有意とする。
The signal S17 is a signal indicating which of the forward reference data and the backward reference data is significant when the bidirectional processing is not performed. In this embodiment, the forward reference data is significant when the signal S17 is "L", and the backward reference data is significant when the signal S17 is "H".

【0110】信号S19が“H”で、前後両方向処理を行
わないときは、セレクタ75は、掛け算器74の出力信
号を選択して出力する。掛け算器74の出力信号は、信
号S17の指定によりセレクタ73で選択された、前方向
参照データ、又は後方向参照データのいずれかのデータ
を2倍にしたものである。
When the signal S19 is "H" and the bidirectional processing is not performed, the selector 75 selects and outputs the output signal of the multiplier 74. The output signal of the multiplier 74 is obtained by doubling either the forward reference data or the backward reference data selected by the selector 73 by the designation of the signal S17.

【0111】図8は、H.261モードにおける横方向
処理回路16の動作タイミングチャートを示し、図9
は、H.261モードにおける縦方向処理回路18の動
作タイミングチャートを示す。
FIG. 9 shows an operation timing chart of the horizontal direction processing circuit 16 in the H.261 mode.
H. 8 shows an operation timing chart of the vertical direction processing circuit 18 in the 261 mode.

【0112】なお、信号S1 〜S20は、図2、図3、図
4、図5、図6、図7、図8、図9で共通である。
The signals S1 to S20 are common to FIGS. 2, 3, 4, 5, 6, 7, 8 and 9.

【0113】また、図8、図9において、DXXは、フ
レーム・メモリAからのデータそのままを示し、fXX
は、フレーム・メモリAからのデータが横方向処理を受
けたものを示す。また、FXXは、フレーム・メモリA
からのデータが縦方向処理を受けたものを示す。なお、
XXは、フレーム・メモリからの読み出し順序を示す数
字である。
In FIGS. 8 and 9, DXX indicates the data from the frame memory A as it is, and fXX
Indicates that the data from frame memory A has undergone lateral processing. In addition, FXX is a frame memory A
Shows that the data from has undergone vertical processing. In addition,
XX is a number indicating the order of reading from the frame memory.

【0114】まず、第8図について説明する。H.26
1モードでは、MPEG/H.261フラグによりセレ
クタ15は、フレーム・メモリA12からのデータを選
択する。図8(C)の信号S1 は、フレーム・メモリA
12からのデータを示す。H.261モードでは、フレ
ーム・メモリA12のみのデータを扱うので、図8
(A)、(B)に示すように、H.261モードのクロ
ックHは、MPEGモードのクロックMの1/2の周波
数である。
First, FIG. 8 will be described. H. 26
In the 1st mode, MPEG / H. With the 261 flag, the selector 15 selects the data from the frame memory A12. The signal S1 in FIG. 8C is the frame memory A
Data from 12 are shown. H. In the H.261 mode, only the data of the frame memory A12 is handled, and therefore, FIG.
As shown in FIGS. The clock H in the 261 mode has a half frequency of the clock M in the MPEG mode.

【0115】図15により説明したように、H.261
における横方向処理とは、ある画素と、フレーム・メモ
リからの読み出し順序からみて、その1個前の画素の2
倍と、更に1個前の画素との足し算である。従って、横
方向処理回路16では、図8(C)の信号S1 を図8
(D)の信号S2 のように、1画素分遅延させ、更に信
号S2 を図8(E)の信号S3 のように、1画素分遅延
させ、信号S1 と信号S2 の2倍と信号S3 を足し算す
る処理を行う。
As described with reference to FIG. 261
In the horizontal direction processing in, the pixel and the pixel one pixel before the pixel in terms of the reading order from the frame memory are used.
It is the addition of the doubled pixel and the previous pixel. Therefore, in the horizontal direction processing circuit 16, the signal S1 shown in FIG.
The signal S2 of (D) is delayed by one pixel, and the signal S2 is further delayed by one pixel as shown by the signal S3 of FIG. 8 (E). The signal S1 and the signal S2 are doubled and the signal S3 is delayed. Performs addition processing.

【0116】図2に示すように、信号S1 を遅延素子X
D31で1画素分遅延させて信号S2 とし、信号S2 を
遅延素子XD32により1画素分遅延させて信号S3 と
している。また、加算器33で、信号S1 と信号S3 を
足しあわせ、加算器38で、信号S1 と信号S3 の加算
値に信号S2 を2倍した値を加算している。
As shown in FIG. 2, the signal S1 is delayed by the delay element X.
A signal S2 is delayed by one pixel at D31, and a signal S2 is delayed by one pixel by the delay element XD32. Further, the adder 33 adds the signals S1 and S3 together, and the adder 38 adds a value obtained by doubling the signal S2 to the added value of the signals S1 and S3.

【0117】図8(F)の信号S6 (フィルタ処理対象
/非対象フラグ)は、横方向処理を行うかどうかを指定
するフラグである。図2のセレクタ40は、信号S6 に
より横方向処理を行うことを指定されたとき、信号S1
と信号S2 の2倍と信号S3の足し算の結果を信号S7
として出力する。
The signal S6 (filtering target / non-targeting flag) shown in FIG. 8F is a flag for designating whether or not horizontal processing is to be performed. When the selector 40 of FIG. 2 is designated to perform the lateral processing by the signal S6, the signal S1
And the result of addition of twice the signal S2 and the signal S3
Output as.

【0118】本実施例では、信号S6 が“L”のとき、
横方向処理を行う。図8(F)に示すように、信号S6
が“L”となり横方向処理を行うのは、信号S1 と信号
S2と信号S3 の有意期間が重なっている期間である。
この期間、図8(G)の信号S7 は信号S1 と信号S2
の2倍と信号S3 の足し算の結果となる。
In this embodiment, when the signal S6 is "L",
Performs lateral processing. As shown in FIG. 8 (F), the signal S6
Is "L" and horizontal processing is performed during a period in which the significant periods of the signals S1, S2 and S3 overlap.
During this period, the signal S7 in FIG. 8G is the signal S1 and the signal S2.
And the signal S3.

【0119】なお、信号S6 が“H”で、横方向処理を
行わないときは、セレクタ40は、掛け算器39の出力
信号を選択して出力する。掛け算器39の出力信号は、
着目する画素のデータ(信号S2 )を、掛け算器37、
39により4倍にしたものである。
When the signal S6 is "H" and horizontal processing is not performed, the selector 40 selects and outputs the output signal of the multiplier 39. The output signal of the multiplier 39 is
The data (signal S2) of the pixel of interest is multiplied by the multiplier 37,
It is quadrupled by 39.

【0120】図15により説明したように、H.261
における縦方向処理とは、ある画素と、フレーム・メモ
リからの読み出し順序からみて、その1行前の画素の2
倍と、更に1行前の画素との足し算である。従って、縦
方向処理回路18では、図9(C)の信号S8 を図9
(D)の信号S9 のように、1行分遅延させ、更に信号
S9 を図9(E)の信号S10のように、1行分遅延さ
せ、信号S8 と信号S9 の2倍と信号S10を足し算する
処理を行う。
As described with reference to FIG. 261
In the vertical direction processing, the vertical processing in a certain pixel and the pixel one row before in the reading order from the frame memory
It is the addition of double and the pixel of the previous row. Therefore, in the vertical direction processing circuit 18, the signal S8 of FIG.
The signal S9 of (D) is delayed by one row, and the signal S9 is further delayed by one row as shown by the signal S10 of FIG. 9 (E). The signal S8 and twice the signal S9 and the signal S10 are delayed. Performs addition processing.

【0121】図3に示すように、信号S8 を遅延素子Y
D51で1行分遅延させて信号S9とし、信号S9 を遅
延素子YD52により1行分遅延させて信号S10として
いる。また、加算器53で、信号S8 と信号S10を足し
算し、加算器58で、信号S8 と信号S10の加算値に信
号S9 を2倍した値を加算している。
As shown in FIG. 3, the signal S8 is delayed by the delay element Y.
The signal S9 is delayed by one row at D51 to form the signal S9, and the signal S9 is delayed by one row by the delay element YD52 to form the signal S10. The adder 53 adds the signal S8 and the signal S10, and the adder 58 adds a value obtained by doubling the signal S9 to the added value of the signal S8 and the signal S10.

【0122】図9(F)の信号S13(フィルタ処理対象
/非対象フラグ)は、縦方向処理を行うかどうかを指定
するフラグである。図3のセレクタ60は、信号S13に
より縦方向処理を行うことを指定されたとき、信号S8
と信号S9 の2倍と信号S10の足し算の結果を信号S14
として出力する。
The signal S13 (filtering target / non-targeting flag) in FIG. 9F is a flag for designating whether or not vertical processing is to be performed. The selector 60 of FIG. 3 receives the signal S8 when the vertical processing is designated by the signal S13.
And the result of addition of twice signal S9 and signal S10 is signal S14
Output as.

【0123】本実施例では、信号S13が“L”のとき、
縦方向処理を行う。図9(F)に示すように、信号S13
が“L”となり縦方向処理を行うのは、信号S8 と信号
S9と信号S10の有意期間が重なっている期間である。
この期間、図9(G)の信号S14は信号S8 と信号S9
の2倍と信号S10の足し算の結果となる。
In this embodiment, when the signal S13 is "L",
Performs vertical processing. As shown in FIG. 9F, the signal S13
Is "L" and the vertical processing is performed during a period in which the significant periods of the signals S8, S9 and S10 overlap.
During this period, the signal S14 in FIG. 9G is the signal S8 and the signal S9.
And the signal S10.

【0124】なお、信号S13が“H”で、縦方向処理を
行わないときは、セレクタ60は、掛け算器59の出力
信号を選択して出力する。掛け算器59の出力信号は、
着目する画素のデータ(信号S9 )を、掛け算器57、
59により4倍にしたものである。
When the signal S13 is "H" and the vertical processing is not performed, the selector 60 selects and outputs the output signal of the multiplier 59. The output signal of the multiplier 59 is
The data (signal S9) of the pixel of interest is multiplied by the multiplier 57,
It is quadrupled by 59.

【0125】上記のように、本実施例では、MPEGモ
ードが選択されたときの、前方向フレームのデータと後
方向フレームのデータとを1系統に1本化し、MPEG
モードのための回路とH.261モードのための回路と
が主要部を共用している。このため、H.261及びM
PEGの両方に準拠し、かつ、回路規模の増大を抑える
ことができる。
As described above, in the present embodiment, when the MPEG mode is selected, the data of the forward frame and the data of the backward frame are integrated into one system, and the MPEG
Circuits for mode and H.264. The main part is shared with the circuit for the 261 mode. Therefore, H.264. 261 and M
It complies with both PEG and can suppress an increase in circuit scale.

【0126】[0126]

【発明の効果】上述の如く、本発明によれば、前後両方
向動き補償予測機能及び画素補間機能が選択されたとき
の、前方向フレームのデータと後方向フレームのデータ
とを1系統のデータに統合し、前後両方向動き補償予測
機能及び画素補間機能のための回路と1−2−1型低域
通過型フィルタ付き動き補償予測機能のための回路とが
主要部を共用するため、回路規模の増大を抑えることが
できる。
As described above, according to the present invention, when the forward / backward bidirectional motion compensation prediction function and the pixel interpolation function are selected, the data of the forward frame and the data of the backward frame are converted into one system data. Since the circuit for the front-back bidirectional motion compensation prediction function and the pixel interpolation function and the circuit for the 1-2-1 type low-pass filter motion compensation prediction function are integrated, the circuit scale is reduced. The increase can be suppressed.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本実施例の横方向処理回路の回路図である。FIG. 2 is a circuit diagram of a horizontal processing circuit of the present embodiment.

【図3】本実施例の縦方向処理回路の回路図である。FIG. 3 is a circuit diagram of a vertical processing circuit of this embodiment.

【図4】本実施例の前後両方向処理回路の回路図であ
る。
FIG. 4 is a circuit diagram of a front-back bidirectional processing circuit of this embodiment.

【図5】MPEGモードにおける横方向処理回路の動作
タイミングチャートである。
FIG. 5 is an operation timing chart of the horizontal direction processing circuit in the MPEG mode.

【図6】MPEGモードにおける縦方向処理回路の動作
タイミングチャートである。
FIG. 6 is an operation timing chart of the vertical direction processing circuit in the MPEG mode.

【図7】MPEGモードにおける前後両方向処理回路の
動作タイミングチャートである。
FIG. 7 is an operation timing chart of the bidirectional processing circuit in the MPEG mode.

【図8】H.261モードにおける横方向処理回路の動
作タイミングチャートである。
FIG. 8: 27 is an operation timing chart of the horizontal direction processing circuit in the 261 mode.

【図9】H.261モードにおける縦方向処理回路の動
作タイミングチャートである。
9: H. 27 is an operation timing chart of the vertical processing circuit in the 261 mode.

【図10】H.261ビデオ復号化システムの構成図で
ある。
FIG. It is a block diagram of a H.261 video decoding system.

【図11】H.261ソース復号器の構成図である。11: H. It is a block diagram of a H.261 source decoder.

【図12】MPEGビデオ復号化システムの構成図であ
る。
FIG. 12 is a configuration diagram of an MPEG video decoding system.

【図13】MPEGビデオソース復号器の構成図であ
る。
FIG. 13 is a block diagram of an MPEG video source decoder.

【図14】H.261及びMPEGに準拠する動き補償
フレーム間予測器の構成図である。
FIG. 14: H. It is a block diagram of the motion compensation inter-frame predictor based on H.261 and MPEG.

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

【図16】ループ内フィルタにおける横方向処理回路の
回路図である。
FIG. 16 is a circuit diagram of a horizontal processing circuit in an in-loop filter.

【図17】ループ内フィルタにおける縦方向処理回路の
回路図である。
FIG. 17 is a circuit diagram of a vertical processing circuit in an in-loop filter.

【図18】1/2画素精度動き補償予測の説明図であ
る。
FIG. 18 is an explanatory diagram of ½ pixel precision motion compensation prediction.

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

【図20】1/2画素精度動き補償予測器の横方向処理
回路の回路図である。
FIG. 20 is a circuit diagram of a horizontal direction processing circuit of a 1/2 pixel precision motion compensation predictor.

【図21】1/2画素精度動き補償予測器の縦方向処理
回路の回路図である。
FIG. 21 is a circuit diagram of a vertical processing circuit of a 1/2 pixel precision motion compensation predictor.

【図22】前後両方向処理回路の回路図である。FIG. 22 is a circuit diagram of a front-back bidirectional processing circuit.

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

11 読み出しアドレス作成部 12 フレーム・メモリA 13 フレーム・メモリB 14 MPEG/H.261回路 15 セレクタ 16 横方向処理回路 17 セレクタ 18 縦方向処理回路 19 前後両方向処理回路 20 セレクタ 21 加算器 11 read address creating unit 12 frame memory A 13 frame memory B 14 MPEG / H. 261 circuit 15 selector 16 horizontal direction processing circuit 17 selector 18 vertical direction processing circuit 19 front-back bidirectional processing circuit 20 selector 21 adder

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 1−2−1型低域通過型フィルタ付き動
き補償予測機能と、前後両方向動き補償予測機能及び画
素補間機能とが、外部制御信号により選択されるデジタ
ル動画像の復号器における動き補償予測器であって、 前後両方向動き補償予測機能及び画素補間機能が選択さ
れたときは、前方向フレームのデータと後方向フレーム
のデータとを1系統のデータに統合して出力し、1−2
−1型低域通過型フィルタ付き動き補償予測機能が選択
されたときは、前方向フレームのデータを選択して出力
する第1の選択手段(15)と、 上記第1の選択手段(15)の出力信号を供給されて、
画素補間機能の横方向処理及び1−2−1型低域通過型
フィルタ付き動き補償予測機能の横方向処理を行う横方
向処理手段(16)と、 上記外部制御信号により前後両方向動き補償予測機能及
び画素補間機能が選択されたときは、上記横方向処理手
段(16)から供給される画素補間機能の横方向処理結
果の信号を選択して出力し、上記外部制御信号により1
−2−1型低域通過型フィルタ付き動き補償予測機能が
選択されたときは、上記横方向処理手段(16)から供
給される1−2−1型低域通過型フィルタ付き動き補償
予測機能の横方向処理結果の信号を選択して出力する第
2の選択手段(17)と、 上記第2の選択手段(17)の出力信号を供給されて、
画素補間機能の縦方向処理及び1−2−1型低域通過型
フィルタ付き動き補償予測機能の縦方向処理を行う縦方
向処理手段(18)と、 上記縦方向処理手段(18)から画素補間機能の縦方向
処理結果の信号を供給されて、前後両方向動き補償予測
を行う前後両方向処理手段(19)と、 上記外部制御信号により前後両方向動き補償予測機能及
び画素補間機能が選択されたときは、上記前後両方向処
理手段(19)から供給される前後両方向処理結果の信
号を選択して出力し、上記外部制御信号により1−2−
1型低域通過型フィルタ付き動き補償予測機能が選択さ
れたときは、上記縦方向処理手段(18)から供給され
る1−2−1型低域通過型フィルタ付き動き補償予測機
能の縦方向処理結果の信号を選択して出力する第3の選
択手段(20)とを有する構成としたことを特徴とする
動き補償予測器。
1. A digital moving image decoder in which a 1-2-1 type low-pass filter-equipped motion compensation prediction function, a front-back bidirectional motion compensation prediction function, and a pixel interpolation function are selected by an external control signal. In the motion-compensated predictor, when the front-back bidirectional motion-compensated prediction function and the pixel interpolation function are selected, the data of the forward frame and the data of the backward frame are integrated into one system of data and output. -2
When the motion compensation prediction function with -1 type low-pass filter is selected, first selecting means (15) for selecting and outputting the data of the forward frame, and the first selecting means (15) Is supplied with the output signal of
Lateral processing means (16) for performing the lateral processing of the pixel interpolation function and the lateral processing of the 1-2-1 type low-pass filter-equipped motion-compensated prediction function, and the front-back bidirectional motion-compensated prediction function by the external control signal. When the pixel interpolation function is selected, the signal of the horizontal processing result of the pixel interpolation function supplied from the horizontal processing means (16) is selected and output, and 1 is output by the external control signal.
When the 2-1 type low-pass filter-equipped motion compensation prediction function is selected, the 1-2-1 type low-pass filter-equipped motion compensation prediction function supplied from the horizontal direction processing means (16). A second selection means (17) for selecting and outputting a signal of the horizontal processing result of (1) and an output signal of the second selection means (17),
Vertical processing means (18) for performing vertical processing of the pixel interpolation function and vertical processing of the motion compensation prediction function with the 1-2-1 type low pass filter, and pixel interpolation from the vertical processing means (18). When the front and rear bidirectional processing means (19) for performing the front and rear bidirectional motion compensation prediction is supplied with the signal of the vertical processing result of the function and the front and rear bidirectional motion compensation prediction function and the pixel interpolation function are selected by the external control signal, , The front-rear bidirectional processing result signal supplied from the front-rear bidirectional processing means (19) is selected and output, and 1-2 is output by the external control signal.
When the type 1 low pass filter motion compensation prediction function is selected, the vertical direction of the 1-2-1 type low pass filter motion compensation prediction function supplied from the vertical direction processing means (18). A motion compensation predictor characterized by comprising a third selecting means (20) for selecting and outputting a signal of a processing result.
【請求項2】 前記外部制御信号により1−2−1型低
域通過型フィルタ付き動き補償予測機能が選択された場
合は、前記横方向処理手段(16)及び縦方向処理手段
(18)は、CCITT H.261のループ内フィル
タ付き動き補償予測機能を満足し、前記外部制御信号に
より前後両方向動き補償予測機能及び画素補間機能が選
択された場合は、前記横方向処理手段(16)、縦方向
処理手段(18)、及び前後両方向処理手段(19)
は、ISO MPEGの両方向動き補償予測機能及び1
/2画素精度動き補償予測機能を満足することを特徴と
する請求項1記載の動き補償予測器。
2. The horizontal direction processing means (16) and the vertical direction processing means (18) when the 1-2-1 type low-pass filter-equipped motion compensation prediction function is selected by the external control signal. , CCITT H .; When the motion compensation prediction function with in-loop filter 261 is satisfied and the front-back bidirectional motion compensation prediction function and the pixel interpolation function are selected by the external control signal, the horizontal direction processing means (16) and the vertical direction processing means ( 18), and bidirectional processing means (19)
Is a bidirectional motion compensation prediction function of ISO MPEG and 1
The motion-compensated predictor according to claim 1, wherein the motion-compensated predictive function of / 2 pixel accuracy is satisfied.
JP25662892A 1992-09-25 1992-09-25 Motion compensation predicting unit Withdrawn JPH06113265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25662892A JPH06113265A (en) 1992-09-25 1992-09-25 Motion compensation predicting unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25662892A JPH06113265A (en) 1992-09-25 1992-09-25 Motion compensation predicting unit

Publications (1)

Publication Number Publication Date
JPH06113265A true JPH06113265A (en) 1994-04-22

Family

ID=17295256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25662892A Withdrawn JPH06113265A (en) 1992-09-25 1992-09-25 Motion compensation predicting unit

Country Status (1)

Country Link
JP (1) JPH06113265A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000035202A1 (en) * 1998-12-10 2000-06-15 Matsushita Electric Industrial Co., Ltd. Filter arithmetic device
JP2006345110A (en) * 2005-06-07 2006-12-21 Sankyo Kk Image processing apparatus
JP2006345109A (en) * 2005-06-07 2006-12-21 Sankyo Kk Image processing apparatus
JP2006345105A (en) * 2005-06-07 2006-12-21 Sankyo Kk Image processing apparatus
JP2006345108A (en) * 2005-06-07 2006-12-21 Sankyo Kk Image processing apparatus
JP2006345107A (en) * 2005-06-07 2006-12-21 Sankyo Kk Image processing apparatus
JP2007174602A (en) * 2005-12-26 2007-07-05 Sanyo Electric Co Ltd Decoding apparatus
JP2014195263A (en) * 2009-02-19 2014-10-09 Sony Corp Unit and method for processing image

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000035202A1 (en) * 1998-12-10 2000-06-15 Matsushita Electric Industrial Co., Ltd. Filter arithmetic device
US6668087B1 (en) 1998-12-10 2003-12-23 Matsushita Electric Industrial Co., Ltd. Filter arithmetic device
JP4494292B2 (en) * 2005-06-07 2010-06-30 株式会社三共 Image processing device
JP4494294B2 (en) * 2005-06-07 2010-06-30 株式会社三共 Image processing device
JP2006345105A (en) * 2005-06-07 2006-12-21 Sankyo Kk Image processing apparatus
JP2006345108A (en) * 2005-06-07 2006-12-21 Sankyo Kk Image processing apparatus
JP2006345107A (en) * 2005-06-07 2006-12-21 Sankyo Kk Image processing apparatus
JP2006345109A (en) * 2005-06-07 2006-12-21 Sankyo Kk Image processing apparatus
JP2006345110A (en) * 2005-06-07 2006-12-21 Sankyo Kk Image processing apparatus
JP4494293B2 (en) * 2005-06-07 2010-06-30 株式会社三共 Image processing device
JP4494295B2 (en) * 2005-06-07 2010-06-30 株式会社三共 Image processing device
JP4494291B2 (en) * 2005-06-07 2010-06-30 株式会社三共 Image processing device
JP2007174602A (en) * 2005-12-26 2007-07-05 Sanyo Electric Co Ltd Decoding apparatus
JP4553837B2 (en) * 2005-12-26 2010-09-29 三洋電機株式会社 Decoding device
JP2014195263A (en) * 2009-02-19 2014-10-09 Sony Corp Unit and method for processing image
US9462294B2 (en) 2009-02-19 2016-10-04 Sony Corporation Image processing device and method to enable generation of a prediction image
US9872020B2 (en) 2009-02-19 2018-01-16 Sony Corporation Image processing device and method for generating prediction image
US10334244B2 (en) 2009-02-19 2019-06-25 Sony Corporation Image processing device and method for generation of prediction image
US10931944B2 (en) 2009-02-19 2021-02-23 Sony Corporation Decoding device and method to generate a prediction image

Similar Documents

Publication Publication Date Title
CA2145218C (en) Prediction filter
USRE35158E (en) Apparatus for adaptive inter-frame predictive encoding of video signal
US6130963A (en) Memory efficient decoding of video frame chroma
EP1313325B1 (en) Pixel interpolation filters for video decompression processor
EP0396360B1 (en) Apparatus for inter-frame predictive encoding of video signal
JP3395166B2 (en) Integrated video decoding system, frame buffer, encoded stream processing method, frame buffer allocation method, and storage medium
US5438374A (en) System and method for filtering video signals
EP0579395A1 (en) Spatial/frequency hybrid video coding facilitating the derivation of variable-resolution images
US5973740A (en) Multi-format reduced memory video decoder with adjustable polyphase expansion filter
US5963222A (en) Multi-format reduced memory MPEG decoder with hybrid memory address generation
JP3303869B2 (en) Image encoding method, image encoding device, image decoding method
JP2004201339A (en) Receiver and its receiving method for analog and digital video modes
US5936670A (en) Method and device for decoding coded digital video signals
JP2002521976A5 (en)
US20010016010A1 (en) Apparatus for receiving digital moving picture
JPH06113265A (en) Motion compensation predicting unit
JP2012124673A (en) Image processing system, image processing method and program
US6507673B1 (en) Method and apparatus for video encoding decision
JPH10136381A (en) Moving image encoding/decoding device and method therefor
JP2863096B2 (en) Image decoding device by parallel processing
JPH0730903A (en) Integrated memory circuit for picture processing
JP2923875B2 (en) Video encoding device
JP3506504B2 (en) Digital video signal recording and playback device
JP2624718B2 (en) Image coding device
KR100528271B1 (en) Image playback device and image playback method

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: 19991130