JPH0984005A - Image decompressor - Google Patents
Image decompressorInfo
- Publication number
- JPH0984005A JPH0984005A JP7236956A JP23695695A JPH0984005A JP H0984005 A JPH0984005 A JP H0984005A JP 7236956 A JP7236956 A JP 7236956A JP 23695695 A JP23695695 A JP 23695695A JP H0984005 A JPH0984005 A JP H0984005A
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- unit
- image data
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
(57)【要約】
【課題】 1マクロブロックのデータ処理において、外
部のDRAMからビットストリームの読み出しを頻繁に
行うことなく可変長復号を連続的に行って可変長復号器
の処理効率を向上させるとともに、各機能ユニットの無
駄な待ち時間を極力抑えたパイプライン処理を行って、
処理効率を向上した画像データ伸張装置を提供する。
【解決手段】 バッファメモリcの容量は1マクロブロ
ックがもつ最大符号量より大きな容量であり、スキャン
変換部40には2マクロブロック分の容量を有するメモ
リZを備え、画素再構成部60には、予測画像を2マク
ロブロック分バッファリングするメモリpと、予測画像
から生成した予測画像データを1マクロブロック分バッ
ファリングするメモリfと、再構成済み画素データを1
マクロブロック分バッファリングするメモリrとを備え
ている。
(57) Abstract: In data processing of one macroblock, variable-length decoding is continuously performed without frequently reading a bitstream from an external DRAM to improve processing efficiency of a variable-length decoder. At the same time, the pipeline processing that minimizes the unnecessary waiting time of each functional unit is performed,
An image data decompression device with improved processing efficiency is provided. A buffer memory c has a capacity larger than the maximum code amount of one macroblock, the scan conversion unit 40 includes a memory Z having a capacity of two macroblocks, and the pixel reconstruction unit 60 includes , A memory p for buffering the predicted image for two macroblocks, a memory f for buffering the predicted image data generated from the predicted image for one macroblock, and one reconfigured pixel data
And a memory r for buffering macro blocks.
Description
【0001】[0001]
【発明の属する技術分野】本発明は符号化された動画像
データの伸張を行う画像伸張装置に関し、特に、直交変
換とフレーム間予測符号化を併用する動画像圧縮方式に
よって符号化された動画像データの伸張を行う画像伸張
装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image decompressing device for decompressing encoded moving image data, and more particularly to a moving image encoded by a moving image compression method using both orthogonal transform and interframe predictive coding. The present invention relates to an image expansion device that expands data.
【0002】[0002]
【従来の技術】図9は従来の画像データ伸張装置の構成
を示すブロック図である。図9において従来の画像デー
タ伸張装置は、レートバッファインタフェース(FIF
Oインタフェース)1、可変長復号部2、スキャン変換
部3、逆量子化部4、逆DCT(離散コサイン変換)部
5、画素再構成部6、ピクセルインタフェース7、DR
AMインタフェース8、ホストインタフェース9、制御
部10で構成されている。2. Description of the Related Art FIG. 9 is a block diagram showing the configuration of a conventional image data expansion device. In FIG. 9, a conventional image data decompression device is a rate buffer interface (FIF).
O interface) 1, variable length decoding unit 2, scan conversion unit 3, inverse quantization unit 4, inverse DCT (discrete cosine transform) unit 5, pixel reconstruction unit 6, pixel interface 7, DR
It is composed of an AM interface 8, a host interface 9, and a control unit 10.
【0003】圧縮された入力画像データ(以下ビットス
トリームと呼称)は、レートバッファインタフェース1
を介して、外部に設けられたDRAM11内のレートバ
ッファに格納される。レートバッファインタフェース1
は外部から入力されるビットストリームをバッファメモ
リA(その容量は64ビット×24ワード:1.5Kビ
ット)に一旦蓄えたのち、制御部10からの制御により
DRAMインタフェース8を介してDRAM11にデー
タを転送する。DRAM11に格納されたビットストリ
ームは制御部10からの制御により、DRAM11から
読み出され、DRAMインタフェース8を介してレート
バッファインタフェース1においてバッファメモリB
(その容量は64ビット×32ワード:2Kビット)に
一旦蓄えられた後、可変長復号部2に与えられる。The compressed input image data (hereinafter referred to as a bit stream) is sent to the rate buffer interface 1
Is stored in the rate buffer in the DRAM 11 provided externally. Rate buffer interface 1
Stores the bit stream input from the outside in the buffer memory A (its capacity is 64 bits × 24 words: 1.5 Kbits), and then the data is stored in the DRAM 11 via the DRAM interface 8 under the control of the control unit 10. Forward. The bit stream stored in the DRAM 11 is read from the DRAM 11 under the control of the control unit 10, and is sent to the buffer memory B in the rate buffer interface 1 via the DRAM interface 8.
(The capacity is 64 bits × 32 words: 2K bits) and then provided to the variable length decoding unit 2.
【0004】可変長復号部2においてシンボル解析およ
び復号を行って得られた復号データは、スキャン変換部
3によって逆ジグザグ順に並べ換えられ、逆量子化部4
において逆量子化処埋が施される。そして、逆DCT部
5において逆DCT処理が施され、その出力データは画
素再構成部6へと送られる。Decoded data obtained by performing symbol analysis and decoding in the variable length decoding unit 2 is rearranged in the reverse zigzag order by the scan conversion unit 3, and is then dequantized by the inverse quantization unit 4.
Inverse quantization processing is performed in. Then, the inverse DCT unit 5 performs the inverse DCT processing, and the output data is sent to the pixel reconstructing unit 6.
【0005】ここで画素再構成部6に送られたデータが
フレーム内符号化されたものであれば、それは画像デー
タそのものであるため、画素再構成部6とDRAMイン
タフェース8を介してフレームメモリも兼ねるDRAM
11へ復号された画像データとして格納される。また、
フレーム間符号化されたものであれば、それは予測画像
として用いられる既に復号された画像データとの差分誤
差データであるため、DRAMインタフェース8を介し
て得られる予測画像から算出された予測画像データとの
加算を行い、復号すべき画像データを得る。これをDR
AMインタフェース8を介してDRAM11へ格納す
る。If the data sent to the pixel reconstructing unit 6 is intra-frame coded, it is the image data itself, and therefore the frame memory is also stored via the pixel reconstructing unit 6 and the DRAM interface 8. Dual-purpose DRAM
11 is stored as the decoded image data. Also,
If it is inter-frame coded, it is the difference error data with the already decoded image data used as a prediction image, so it is the same as the prediction image data calculated from the prediction image obtained via the DRAM interface 8. Is added to obtain image data to be decoded. DR this
The data is stored in the DRAM 11 via the AM interface 8.
【0006】上述の復号動作は、動画像データの基本的
な単位であるフィールドピクチャ、フレームピクチャと
いう単位で制御されると同時に、可変長復号部2、スキ
ャン変換部3、逆量子化部4、逆DCT部5、画素再構
成部6といった各機能ユニットを有効利用するために、
16×16画素を単位とするセグメント(マクロブロッ
クと呼称)単位で制御される。1マクロブロックの処理
時間内では、1マクロブロック分のヘッダ解析およびブ
ロックデータの復号と、DRAMインタフェース8を介
してDRAM11(レートバッファ)への書き込みと読
み出し、予測画像の読み出し、復号画像の書き込み、表
示画像の読み出しが行われる。The above-described decoding operation is controlled in units of a field picture and a frame picture, which are basic units of moving image data, and at the same time, a variable length decoding unit 2, a scan conversion unit 3, an inverse quantization unit 4, In order to effectively use each functional unit such as the inverse DCT unit 5 and the pixel reconstruction unit 6,
It is controlled in units of segments (called macroblocks) each having 16 × 16 pixels. Within the processing time of one macro block, the header analysis and block data for one macro block, the writing and reading to and from the DRAM 11 (rate buffer) via the DRAM interface 8, the reading of the predicted image, the writing of the decoded image, The display image is read.
【0007】[0007]
【発明が解決しようとする課題】以上説明した従来の画
像データ伸張装置では、レートバッファインタフェース
1内のバッファメモリBの容量が2Kビットであり、D
RAM11からのビットストリームの読み出しを頻繁に
行わなくてはならないため、レートバッファ制御が煩雑
になる。さらに、ビットストリームの読み出しが可変長
復号の処理に対して適切に行われない場合、バッファメ
モリB内のビットストリームが空になり、可変長復号部
2のシンボル解析および復号の連続的な処理を妨げる可
能性があるといった問題が生じる。In the conventional image data decompression device described above, the capacity of the buffer memory B in the rate buffer interface 1 is 2 Kbits, and D
Since the bitstream must be read from the RAM 11 frequently, the rate buffer control becomes complicated. Furthermore, if the reading of the bitstream is not properly performed for the variable length decoding process, the bitstream in the buffer memory B becomes empty, and the variable length decoding unit 2 performs continuous symbol analysis and decoding processes. Problems arise that may interfere.
【0008】この結果、可変長復号部2以降の機能ユニ
ットであるスキャン変換部3、逆量子化部、逆DCT部
4、画素再構成部6の処理効率も下がり、画像復号処理
時間の増大につながる。As a result, the processing efficiency of the scan conversion unit 3, the inverse quantization unit, the inverse DCT unit 4, and the pixel reconstruction unit 6, which are the functional units after the variable length decoding unit 2, is also lowered, and the image decoding processing time is increased. Connect
【0009】このような場合、パイプライン処理により
機能ユニットの処理効率を向上させることが考えられる
が、現行のテレビ放送などの画像サイズの大きな画像デ
ータを取り扱う場合、復号に必要な処理量が大きいた
め、各機能ユニット自体の処理効率を高めるため動作周
波数を高くしたり、並列動作可能な機能ユニットの個数
を多くする必要があり、消費電力が増大したり、装置が
大型化するといった問題があった。In such a case, it is conceivable to improve the processing efficiency of the functional unit by pipeline processing. However, when handling image data having a large image size such as the current television broadcast, the processing amount required for decoding is large. Therefore, in order to increase the processing efficiency of each functional unit itself, it is necessary to increase the operating frequency and to increase the number of functional units that can operate in parallel, which causes problems such as increased power consumption and increased size of the device. It was
【0010】本発明は上記のような問題点を解消するた
めになされたもので、1マクロブロックのデータ処理に
おいて、外部のDRAMからビットストリームの読み出
しを頻繁に行うことなく可変長復号を連続的に行って可
変長復号器の処理効率を向上させるとともに、各機能ユ
ニットの無駄な待ち時間を極力抑えたパイプライン処理
を行って、処理効率を向上した画像データ伸張装置を提
供する。The present invention has been made to solve the above problems, and in the data processing of one macroblock, the variable length decoding is continuously performed without frequently reading the bitstream from the external DRAM. To improve the processing efficiency of the variable length decoder, and to perform the pipeline processing with the useless waiting time of each functional unit suppressed as much as possible to provide an image data decompression device with improved processing efficiency.
【0011】[0011]
【課題を解決するための手段】本発明に係る請求項1記
載の画像伸張装置は、外部DRAM内のレートバッファ
に保持された符号化され圧縮された画像データを受け、
該画像データを復号して復号データを生成する可変長復
号部と、前記復号データを逆量子化する逆量子化部と、
前記逆量子化部の出力データをならべ換えるスキャン変
換部と、前記スキャン変換部の出力データに逆離散コサ
イン変換を施す逆DCT部と、前記復号データがフレー
ム間符号化されたデータである場合に、既に復号され前
記外部DRAM内のフレームメモリに保持された予測画
像を読み出して予測画像データを生成し、前記逆DCT
部の出力データとの加算を行って再構成済み画素データ
を生成する画素再構成部とを備え、前記画像データを伸
張処理する画像伸張装置において、前記外部DRAMと
前記可変長復号部との間に配置され、前記外部DRAM
内のレートバッファから読み出した前記画像データを一
時的に保持した後、前記可変長復号部に転送する内部レ
ートバッファを備え、前記内部レートバッファは、その
メモリ容量が1マクロブロックのもつべき最大の符号量
より大きく形成されている。An image decompressor according to a first aspect of the present invention receives encoded and compressed image data held in a rate buffer in an external DRAM,
A variable length decoding unit that decodes the image data to generate decoded data; an inverse quantization unit that inversely quantizes the decoded data;
A scan conversion unit that rearranges the output data of the dequantization unit; an inverse DCT unit that performs an inverse discrete cosine transform on the output data of the scan conversion unit; and the decoded data that is interframe-coded data. , The decoded image already decoded and held in the frame memory in the external DRAM is read to generate predicted image data, and the inverse DCT is generated.
A pixel reconstructing unit for generating reconstructed pixel data by performing addition with the output data of the unit, and in an image decompressing device for decompressing the image data, between the external DRAM and the variable length decoding unit. Located in the external DRAM
An internal rate buffer for temporarily holding the image data read from the internal rate buffer and then transferring the image data to the variable length decoding unit, and the internal rate buffer has the maximum memory capacity of one macroblock. It is formed larger than the code amount.
【0012】本発明に係る請求項2記載の画像伸張装置
は、外部DRAM内のレートバッファに保持された符号
化され圧縮された画像データを受け、該画像データを復
号して復号データを生成する可変長復号部と、前記復号
データをならべ換えるスキャン変換部と、前記スキャン
変換部の出力データを逆量子化する逆量子化部と、前記
逆量子化部の出力データに逆離散コサイン変換を施す逆
DCT部と、前記復号データがフレーム間符号化された
データである場合に、既に復号され前記外部DRAM内
のレートバッファに保持された予測画像を読み出して予
測画像データを生成し、前記逆DCT部の出力データと
の加算を行って再構成済み画素データを生成する画素再
構成部とを備え、前記画像データを伸張処理する画像伸
張装置において、前記外部DRAMと前記可変長復号部
との間に配置され、前記外部DRAM内のレートバッフ
ァから読み出した前記画像データを一時的に保持した
後、前記可変長復号部に転送する内部レートバッファを
備え、前記内部レートバッファは、そのメモリ容量が1
マクロブロックのもつべき最大の符号量より大きく形成
されている。An image decompressing device according to a second aspect of the present invention receives encoded and compressed image data held in a rate buffer in an external DRAM, decodes the image data, and generates decoded data. A variable length decoding unit, a scan conversion unit that rearranges the decoded data, an inverse quantization unit that inversely quantizes the output data of the scan conversion unit, and an inverse discrete cosine transform of the output data of the inverse quantization unit. When the inverse DCT unit and the decoded data are inter-frame coded data, the predicted image already decoded and held in the rate buffer in the external DRAM is read to generate predicted image data, and the inverse DCT is performed. A pixel reconstructing unit for generating reconstructed pixel data by performing addition with the output data of the unit, and an image decompressing device for decompressing the image data, An internal rate buffer is provided between the external DRAM and the variable length decoding unit, which temporarily holds the image data read from the rate buffer in the external DRAM and then transfers the image data to the variable length decoding unit. , The internal rate buffer has a memory capacity of 1
It is formed to be larger than the maximum code amount that the macroblock should have.
【0013】本発明に係る請求項3記載の画像伸張装置
は、前記スキャン変換部が2マクロブロックのデータ分
のメモリ容量を有した第1メモリを備え、前記画素再構
成部が、前記予測画像が入力される予測画像入力部に設
けられ2マクロブロックのデータ分のメモリ容量を有し
た第2メモリと、前記予測画像データが出力される予測
画像データ出力部に設けられ1マクロブロックのデータ
分のメモリ容量を有した第3メモリと、前記再構成済み
画素データが出力される再構成済み画素データ出力部に
設けられ1マクロブロックのデータ分のメモリ容量を有
した第4メモリとを備え、前記画像データの伸張処理を
前記第1〜第4メモリで区切って複数のパイプラインス
テージに分割し、マクロブロック単位の同期信号に同期
してパイプライン処理を行う。According to a third aspect of the present invention, in the image expanding apparatus, the scan conversion section includes a first memory having a memory capacity of data of two macroblocks, and the pixel reconstructing section includes the predicted image. A second memory provided in a predicted image input unit for inputting the data of 2 macroblocks and a predicted image data output unit for outputting the predicted image data for one macroblock of data. A third memory having a memory capacity of, and a fourth memory provided in the reconstructed pixel data output section for outputting the reconstructed pixel data and having a memory capacity of one macroblock of data. The expansion processing of the image data is divided by the first to fourth memories and divided into a plurality of pipeline stages, and the pipeline is synchronized with a synchronization signal in units of macroblocks. Carry out the management.
【0014】本発明に係る請求項4記載の画像伸張装置
は、前記スキャン変換部が1マクロブロックのデータ分
のメモリ容量を有した第1メモリを備え、前記画素再構
成部が、前記予測画像が入力される予測画像入力部に設
けられ2マクロブロックのデータ分のメモリ容量を有し
た第2メモリと、前記予測画像データが出力される予測
画像データ出力部に設けられ1マクロブロックのデータ
分のメモリ容量を有した第3メモリと、前記再構成済み
画素データが出力される再構成済み画素データ出力部に
設けられ1マクロブロックのデータ分のメモリ容量を有
した第4メモリとを備え、前記逆DCT部の出力部に設
けられた1マクロブロックのデータ分のメモリ容量を有
した第5メモリをさらに備え、前記画像データの伸張処
理を前記第1〜第5メモリで区切って複数のパイプライ
ンステージに分割し、マクロブロック単位の同期信号に
同期してパイプライン処理を行う。According to a fourth aspect of the present invention, in the image decompressing device according to the present invention, the scan converting section includes a first memory having a memory capacity for one macroblock of data, and the pixel reconstructing section includes the predicted image. A second memory provided in a predicted image input unit for inputting the data of 2 macroblocks and a predicted image data output unit for outputting the predicted image data for one macroblock of data. A third memory having a memory capacity of, and a fourth memory provided in the reconstructed pixel data output section for outputting the reconstructed pixel data and having a memory capacity of one macroblock of data. The output section of the inverse DCT section may further include a fifth memory having a memory capacity for one macroblock of data, and the decompression processing of the image data may be performed in the first to the first sections. Separated by a memory divided into a plurality of pipeline stages, performs pipeline processing in synchronism with the sync signal in units of macroblocks.
【0015】本発明に係る請求項5記載の画像伸張装置
は、前記スキャン変換部が1マクロブロックのデータ分
のメモリ容量を有した第1メモリを備え、前記画素再構
成部が、前記予測画像が入力される予測画像入力部に設
けられ2マクロブロックのデータ分のメモリ容量を有し
た第2メモリと、前記再構成済み画素データが出力され
る再構成済み画素データ出力部に設けられ1マクロブロ
ックのデータ分のメモリ容量を有した第3メモリとを備
え、前記画像データの伸張処理を前記第1〜第3メモリ
で区切って複数のパイプラインステージに分割し、マク
ロブロック単位の同期信号に同期してパイプライン処理
を行う。According to a fifth aspect of the present invention, in the image expanding apparatus, the scan conversion section includes a first memory having a memory capacity for one macroblock of data, and the pixel reconstructing section includes the predicted image. , Which is provided in the predicted image input unit for inputting the data of 2 macroblocks, and 1 macro provided in the reconfigured pixel data output unit, which outputs the reconfigured pixel data. A third memory having a memory capacity for the data of the block, and the decompression processing of the image data is divided into a plurality of pipeline stages divided by the first to third memories to generate a synchronization signal in macroblock units. Pipeline processing is performed synchronously.
【0016】[0016]
実施の形態1、 <A−1.画像データ伸張装置1000の構成>図1に
本発明に係る画像データ伸張装置の実施の形態1とし
て、画像データ伸張装置1000の構成をブロック図で
示す。First Embodiment <A-1. Configuration of Image Data Decompression Device 1000> FIG. 1 is a block diagram showing the configuration of the image data decompression device 1000 as the first embodiment of the image data decompression device according to the present invention.
【0017】図1において画像データ伸張装置1000
は、レートバッファインタフェース(FIFOインタフ
ェース)10、可変長復号部20、逆量子化部30、ス
キャン変換部40、逆DCT(逆離散コサイン変換)部
50、画素再構成部60、ピクセルインタフェース7
0、DRAMインタフェース80を有し、DRAMイン
タフェース80を介してDRAM110が接続されてい
る。ここで、DRAM110には1ビット単位、もしく
は8ビット単位で外部から入力される圧縮された入力画
像データ(以下ビットストリームと呼称)を蓄えるレー
トバッファおよび複合した画像を書き込むためのフレー
ムメモリが構築されている。なお、ホストインタフェー
スおよび制御部は図中では省略されている。In FIG. 1, the image data expansion device 1000 is shown.
Is a rate buffer interface (FIFO interface) 10, a variable length decoding unit 20, an inverse quantization unit 30, a scan conversion unit 40, an inverse DCT (inverse discrete cosine transform) unit 50, a pixel reconstruction unit 60, a pixel interface 7.
0, a DRAM interface 80, and the DRAM 110 is connected via the DRAM interface 80. Here, in the DRAM 110, a rate buffer that stores compressed input image data (hereinafter referred to as a bit stream) that is externally input in 1-bit units or 8-bit units, and a frame memory for writing a composite image are constructed. ing. The host interface and the control unit are omitted in the figure.
【0018】レートバッファインタフェース10はビッ
トストリームをバッファリングし、DRAM110内の
レートバッファに転送するためのバッファメモリaと、
DRAM110内のレートバッファから可変長復号部2
0に転送されるビットストリームを一時的にバッファリ
ングするためのバッファメモリcの2つのバッファを有
している。可変長復号部20からはバッファメモリcお
よびバッファメモリQに対してデータの授受に関する制
御信号が与えられる(図においては破線矢印で示す)。The rate buffer interface 10 buffers the bit stream and transfers it to the rate buffer in the DRAM 110, and a buffer memory a.
From the rate buffer in the DRAM 110 to the variable length decoding unit 2
It has two buffers of buffer memory c for temporarily buffering the bitstream transferred to 0. From the variable length decoding unit 20, a control signal relating to data transfer is given to the buffer memory c and the buffer memory Q (indicated by a dashed arrow in the figure).
【0019】ここで、バッファメモリcのメモリ容量を
1マクロブロックがもつ最大符号量より大きな容量とす
る。例えば、1マクロブロックの画素データは16×1
6画素の輝度信号と8×8画素の2つの色差信号を含む
ので、12ビット×384画素(4.5Kビット)とな
り、それに付随するヘッダ情報を加味して6Kビット程
度とする。Here, the memory capacity of the buffer memory c is set to be larger than the maximum code amount of one macroblock. For example, the pixel data of one macroblock is 16 × 1
Since the luminance signal of 6 pixels and the two color difference signals of 8 × 8 pixels are included, the number of bits is 12 bits × 384 pixels (4.5 Kbits), and the header information attached thereto is taken into account to make about 6 Kbits.
【0020】なお、レートバッファ全体は上述した画像
伸張装置1000内部の2つのバッファとDRAM11
0内のバッファの3つで構成されている。The entire rate buffer is composed of the two buffers inside the image decompression device 1000 and the DRAM 11 described above.
It is composed of three buffers within 0.
【0021】また、スキャン変換部40には逆量子化部
30において逆量子化された逆量子化済みデータを2マ
クロブロック分バッファリングするメモリZを備え、ス
キャン変換機能とともにパイプラインステージ間のバッ
ファとしての機能を有している。Further, the scan conversion unit 40 is provided with a memory Z for buffering the dequantized data dequantized in the dequantization unit 30 for two macroblocks, and the buffer Z between the pipeline stages together with the scan conversion function. It has the function as.
【0022】画素再構成部60には、DRAM110内
から読み出された予測画像を、過去の画像と未来の画像
に対応できるように2マクロブロック分バッファリング
するメモリpと、メモリpにバッファリングされた予測
画像から生成した予測画像データを1マクロブロック分
バッファリングするメモリfと、逆DCT部50におい
て逆DCT処理されたデータとメモリfにバッファリン
グされている予測画像データとの和をとって再構成され
た再構成済み画素データを1マクロブロック分バッファ
リングするメモリrとを備えている。The pixel reconstructing unit 60 buffers the predicted image read from the DRAM 110 for two macroblocks so as to correspond to the past image and the future image, and the memory p. The memory f that buffers the predicted image data generated from the predicted image for one macroblock, the sum of the data subjected to the inverse DCT processing in the inverse DCT unit 50 and the predicted image data buffered in the memory f is obtained. Memory r for buffering the reconstructed pixel data reconstructed by one macroblock.
【0023】なお、フィルタは動き補償フレーム間予測
における動き予測の精度を高めるための丸め付平均処理
を行うためのものである。The filter is for performing rounded averaging for improving the accuracy of motion prediction in motion-compensated interframe prediction.
【0024】また、逆量子化部30には、可変長復号部
20における可変長復号時に得られる量子化マトリクス
を保持するためのメモリQを備え、ピクセルインタフェ
ース70にはDRAM110から転送されてきた復号済
み画像データをバッファリングするメモリd(FIFO
メモリ)を備えている。Further, the inverse quantizing unit 30 is provided with a memory Q for holding a quantization matrix obtained at the time of variable length decoding in the variable length decoding unit 20, and the pixel interface 70 has the decoding transferred from the DRAM 110. Memory d (FIFO
Memory).
【0025】なお、ピクセルインタフェース70は外部
から与えられる垂直同期信号および水平同期信号に従っ
て、メモリd内の復号済み画像データを外部の表示用半
導体装置(NTSCエンコーダやPALエンコーダな
ど)に出力する装置である。The pixel interface 70 is a device for outputting the decoded image data in the memory d to an external display semiconductor device (NTSC encoder, PAL encoder, etc.) according to a vertical synchronizing signal and a horizontal synchronizing signal given from the outside. is there.
【0026】<A−2.画像データ伸張装置1000の
動作>次に、図1および図2を用いて画像データ伸張装
置1000の動作について説明する。まず、各マクロブ
ロックの復号処理毎に1マクロブロックの処理時間内で
DRAM110からバッファメモリcへのビットストリ
ームの転送を行う。また、このとき外部から入力される
ビットストリームはバッファメモリaに一旦蓄えられ、
DRAMインタフェース80を介してDRAM110に
転送される。通常は、バッファメモリcの空き容量分の
ビットストリームをDRAM110から転送するが、D
RAM内にバッファメモリcの空き容量を満たすだけの
ビットストリームが存在しない場合にはDRAM110
内に存在する全ビットストリームを転送する。<A-2. Operation of Image Data Decompression Device 1000> Next, the operation of the image data decompression device 1000 will be described with reference to FIGS. 1 and 2. First, the bit stream is transferred from the DRAM 110 to the buffer memory c within the processing time of one macro block for each decoding process of each macro block. At this time, the bit stream input from the outside is temporarily stored in the buffer memory a,
The data is transferred to the DRAM 110 via the DRAM interface 80. Normally, a bit stream corresponding to the free capacity of the buffer memory c is transferred from the DRAM 110.
If there is not enough bitstream in the RAM to fill the free space of the buffer memory c, the DRAM 110
Transfers all bitstreams present in.
【0027】従って、少なくとも1マクロブロック分の
ビットストリームがバッファメモリc内に存在するた
め、1マクロブロックの処理時間内においてはDRAM
110からのビットストリームの読み出しを頻繁に行う
必要がないのでレートバッファ制御の簡略化を図ること
ができる。Therefore, since a bit stream for at least one macro block exists in the buffer memory c, the DRAM is used within the processing time of one macro block.
Since it is not necessary to frequently read the bitstream from 110, the rate buffer control can be simplified.
【0028】また、各マクロブロックの処理においてバ
ッファメモリc内のビットストリームが空になることに
よる可変長復号処理の停止が抑止されるので、シンボル
解析および復号を連続的に行うことが可能となり、可変
長復号部の処理効率向上を図ることができる。Further, in the processing of each macroblock, the stop of the variable length decoding processing due to the empty bit stream in the buffer memory c is suppressed, so that the symbol analysis and the decoding can be continuously performed. It is possible to improve the processing efficiency of the variable length decoding unit.
【0029】そして、大きな画像データを取り扱う場合
には、画像復号処理を行う各機能ユニットを複数のパイ
プラインステージに分けマクロブロック単位でパイプラ
イン処理することが有効である。When handling large image data, it is effective to divide each functional unit for performing image decoding processing into a plurality of pipeline stages and perform pipeline processing in macroblock units.
【0030】画像データ伸張装置1000においては、
画像復号処理を行う各機能ユニットを4つのパイプライ
ンステージに分け、当該4つのパイプラインステージを
マクロブロック単位の同期信号(MBSYNC)に同期
させてマクロブロック単位でパイプライン処理を行って
いる。以下に各パイプラインステージの処埋内容を示
す。In the image data expansion device 1000,
Each functional unit that performs image decoding processing is divided into four pipeline stages, and the four pipeline stages are synchronized with a synchronization signal (MBSYNC) in macroblock units to perform pipeline processing in macroblock units. The contents of each pipeline stage are shown below.
【0031】第1ステージST1では、可変長復号部2
0において入力されたビットストリームに対する可変長
復号を行い、ビットストリームから量子化インデックス
を得た後、逆量子化部30において復号データに逆量子
化を施す。逆量子化された逆量子化済みデータはメモリ
Zにバッファリングする。また、同時にフレーム間符号
化された画像データの場合はDRAM110内のフレー
ムメモリから予測画像の読み出しを行う。読み出した予
測画像は次の第2ステージST2で予測画像データの生
成を行うためにメモリpにバッファリングする。In the first stage ST1, the variable length decoding unit 2
Variable length decoding is performed on the bit stream input at 0 to obtain a quantization index from the bit stream, and then the inverse quantization unit 30 inversely quantizes the decoded data. The dequantized dequantized data is buffered in the memory Z. At the same time, in the case of inter-frame coded image data, the predicted image is read from the frame memory in the DRAM 110. The read predicted image is buffered in the memory p to generate predicted image data in the next second stage ST2.
【0032】第2ステージST2では画素再構成部60
において、メモリpにバッファリングされた予測画像に
基づいて予測画像データを生成する。生成された予測画
像データは、第3ステージST3において画素再構成を
行うためにメモリfにバッファリングする。In the second stage ST2, the pixel reconstruction unit 60
At, the predicted image data is generated based on the predicted image buffered in the memory p. The generated predicted image data is buffered in the memory f for pixel reconstruction in the third stage ST3.
【0033】第3ステージST3では、スキャン変換部
40のメモリZにバッファリングされた逆量子化済みデ
ータに対してスキャン変換(ジグザグスキャンあるいは
オルタネートスキャン)を施し、出力されたスキャン変
換済みデータに対して逆DCT処理部50において逆D
CT処理を施す。そして逆DCT処理済みデータから画
素再構成を行う。In the third stage ST3, scan conversion (zigzag scan or alternate scan) is performed on the dequantized data buffered in the memory Z of the scan conversion section 40, and the output scan converted data is output. Inverse DCT processing section 50 reverse D
Perform CT processing. Then, pixel reconstruction is performed from the inverse DCT processed data.
【0034】ここでフレーム間符号化された画像データ
の場合、逆DCT処理済みデータと画素再構成部60に
おいてメモリfにバッファリングされている予測画像デ
ータとの和をとり、画素データを再構成する。再構成済
み画素データはメモリrにバッファリングする。In the case of the inter-frame coded image data, the inverse DCT processed data and the predicted image data buffered in the memory f in the pixel reconstructing unit 60 are summed to reconstruct the pixel data. To do. The reconstructed pixel data is buffered in the memory r.
【0035】第4ステージST4では、メモリrにバッ
ファリングされた再構成済み画素データを復号画像とし
てDRAM110内にあるフレームメモリに書き込む。
以上4つのパイプラインステージにより1マクロブロッ
クの画像が復号されることになる。In the fourth stage ST4, the reconstructed pixel data buffered in the memory r is written as a decoded image in the frame memory in the DRAM 110.
An image of one macroblock is decoded by the above four pipeline stages.
【0036】そして、MBSYNCに同期させてマクロ
ブロック単位でパイプライン処理を行うことで各機能ユ
ニットの処理効率が低下することを防止している。Pipeline processing is performed in macroblock units in synchronization with MBSYNC to prevent the processing efficiency of each functional unit from decreasing.
【0037】図2はマクロブロック単位でのパイプライ
ン処理を説明する図である。図2において、任意のマク
ロブロック(MBと略記)をn番目のMBとすると、n
−2番目のMB対して第4ステージST4の処理を行う
と同時に、n−1番目のMB対しては第3ステージST
3の処理を行い、n番目のMB対しては第2ステージS
T2の処理を行い、n+1番目のMB対しては第1ステ
ージST1の処理を行っている。このように、MBSY
NCのある時間において、各機能ユニットは異なるマク
ロブロックに対する処理をそれぞれ同時に行うパイプラ
イン処理により、各機能ユニットの無駄な待ち時間を極
力抑えて、処理効率の向上を図ることができる。FIG. 2 is a diagram for explaining pipeline processing in macro block units. In FIG. 2, if an arbitrary macroblock (abbreviated as MB) is the nth MB, n
-At the same time as performing the processing of the fourth stage ST4 for the second MB, at the same time as performing the processing of the third stage ST for the n-1th MB
3 is performed, and the second stage S is performed for the nth MB.
The processing of T2 is performed, and the processing of the first stage ST1 is performed for the (n + 1) th MB. In this way, MBSY
By performing pipeline processing in which each functional unit simultaneously performs processing on different macro blocks at a certain time of NC, it is possible to minimize wasteful waiting time of each functional unit and improve processing efficiency.
【0038】<A−3.特徴的作用効果>以上説明した
本発明に係る画像データ伸張装置の実施の形態1によれ
ば、レートバッファインタフェース10の、DRAM1
10から読みだしたビットストリームをバッファリング
するバッファメモリcの容量を1マクロブロックがもつ
最大符号量より大きな容量としているので、DRAM1
10からのビットストリームの読み出しを頻繁に行う必
要がないのでレートバッファ制御の簡略化を図ることが
できるとともに、各マクロブロックの処理においてバッ
ファメモリc内のビットストリームが空になることによ
る可変長復号処理の停止を抑止して、シンボル解析およ
び復号を連続的に行うことが可能となり、可変長復号部
の処理効率向上を図ることができる。<A-3. Characteristic Effects> According to the first embodiment of the image data decompression device of the present invention described above, the DRAM 1 of the rate buffer interface 10 is used.
Since the capacity of the buffer memory c for buffering the bit stream read from 10 is larger than the maximum code amount of one macroblock, the DRAM 1
Since it is not necessary to frequently read the bitstream from 10, the rate buffer control can be simplified, and variable length decoding is performed by emptying the bitstream in the buffer memory c in the processing of each macroblock. It is possible to suppress the stop of the processing and continuously perform the symbol analysis and the decoding, and it is possible to improve the processing efficiency of the variable length decoding unit.
【0039】また、逆量子化部30の出力、画素再構成
部60における予測画像の入力部および予測画像データ
の出力部、画素再構成部60の出力にパイプラインステ
ージ間バッファとしてのメモリを設けているので、各機
能ユニットの無駄な待ち時間を極力抑えたパイプライン
処理を行って、処理効率の向上を図ることができる。 実施の形態2、 <B−1.画像データ伸張装置2000の構成>図3に
本発明に係る画像データ伸張装置の実施の形態2とし
て、画像データ伸張装置2000の構成をブロック図で
示す。Further, a memory as a buffer between pipeline stages is provided at the output of the dequantization unit 30, the input unit of the predicted image and the output unit of the predicted image data in the pixel reconstructing unit 60, and the output of the pixel reconstructing unit 60. Therefore, it is possible to improve the processing efficiency by performing the pipeline processing in which the unnecessary waiting time of each functional unit is suppressed as much as possible. Second Embodiment <B-1. Configuration of Image Data Decompression Device 2000> FIG. 3 is a block diagram showing the configuration of the image data decompression device 2000 as the second embodiment of the image data decompression device according to the present invention.
【0040】図3において画像データ伸張装置2000
は、スキャン変換部40のメモリZに、可変長復号部2
0においてシンボル解析および復号を行って得られた復
号データをバッファリングするように接続されている。
また、逆量子化部30において逆量子化された逆量子化
済みデータを逆DCT部50に与える構成となってい
る。In FIG. 3, the image data expansion device 2000
Is stored in the memory Z of the scan conversion unit 40 in the variable length decoding unit 2
At 0, it is connected to buffer the decoded data obtained by performing symbol analysis and decoding.
In addition, the inverse quantization unit 30 is configured to provide the inversely quantized data that is inversely quantized to the inverse DCT unit 50.
【0041】このように、スキャン変換部40と逆量子
化部30の配置が入れ替わっている他は画像データ伸張
装置1000の構成と同様であるので、同一の構成には
同一の符号を付し重複する説明は省略する。Since the configuration of the image data decompression apparatus 1000 is the same except that the arrangements of the scan conversion unit 40 and the dequantization unit 30 are interchanged, the same components are designated by the same reference numerals and duplicated. The description will be omitted.
【0042】<B−2.画像データ伸張装置2000の
動作>次に、図2および図3を用いて画像データ伸張装
置2000の動作について説明する。各マクロブロック
の復号処理毎に1マクロブロックの処理時間内でDRA
M110からバッファメモリcへのビットストリームの
転送を行うという動作、および1マクロブロック分のビ
ットストリームがバッファメモリc内に存在するため、
1マクロブロックの処理時間内においてはDRAM11
0からのビットストリームの読み出しを頻繁に行う必要
がないのでレートバッファ制御の簡略化を図ることがで
き、また、バッファメモリc内のビットストリームが空
になることによる可変長復号処理の停止を抑止して、シ
ンボル解析および復号を連続的に行うことが可能とな
り、可変長復号部の処理効率向上を図ることができると
いう効果については画像データ伸張装置1000と同様
である。<B-2. Operation of Image Data Decompression Device 2000> Next, the operation of the image data decompression device 2000 will be described with reference to FIGS. 2 and 3. DRA within one macroblock processing time for each macroblock decoding process
The operation of transferring the bitstream from M110 to the buffer memory c, and the bitstream for one macroblock exist in the buffer memory c,
DRAM 11 within the processing time of one macroblock
Since it is not necessary to read the bitstream from 0 frequently, the rate buffer control can be simplified, and the stop of the variable length decoding process due to the empty bitstream in the buffer memory c can be suppressed. Then, the symbol analysis and the decoding can be continuously performed, and the effect that the processing efficiency of the variable length decoding unit can be improved is similar to that of the image data expansion device 1000.
【0043】また、画像データ伸張装置2000におい
ても、画像データ伸張装置1000と同様に画像復号処
理を行う機能ユニットを4つのパイプラインステージに
分け、当該4つのパイプラインステージをマクロブロッ
ク単位の同期信号(MBSYNC)に同期させてパイプ
ライン処理を行っている。以下に各パイプラインステー
ジの処埋内容を示す。Also in the image data decompression apparatus 2000, the functional unit for performing the image decoding processing is divided into four pipeline stages like the image data decompression apparatus 1000, and the four pipeline stages are synchronized with each other by a macroblock synchronization signal. Pipeline processing is performed in synchronization with (MBSYNC). The contents of each pipeline stage are shown below.
【0044】第1ステージST1では、可変長復号部2
0において入力されたビットストリームに対する可変長
復号を行い、復号データはスキャン変換部40のメモリ
Zにバッファリングする。また、同時にフレーム間符号
化された画像データの場合はDRAM110内のフレー
ムメモリから予測画像の読み出しを行う。読み出した予
測画像は次の第2ステージST2で予測画像データの生
成を行うためにメモリpにバッファリングする。In the first stage ST1, the variable length decoding unit 2
Variable length decoding is performed on the bit stream input at 0, and the decoded data is buffered in the memory Z of the scan conversion unit 40. At the same time, in the case of inter-frame coded image data, the predicted image is read from the frame memory in the DRAM 110. The read predicted image is buffered in the memory p to generate predicted image data in the next second stage ST2.
【0045】第2ステージST2では画素再構成部60
において、メモリpにバッファリングされた予測画像に
基づいて予測画像データを生成する。生成された予測画
像データは、第3ステージST3において画素再構成を
行うためにメモリfにバッファリングする。In the second stage ST2, the pixel reconstruction unit 60
At, the predicted image data is generated based on the predicted image buffered in the memory p. The generated predicted image data is buffered in the memory f for pixel reconstruction in the third stage ST3.
【0046】第3ステージST3では、スキャン変換部
40のメモリZにバッファリングされた復号データに対
してスキャン変換を施し、出力されたスキャン変換済み
データに対して、ビットストリームから得た量子化イン
デックスに基づいて逆量子化部30において逆量子化を
施し、逆量子化済みデータに対して逆DCT処理部50
において逆DCT処理を施し、逆DCT処理済みデータ
から画素再構成を行う。In the third stage ST3, the decoded data buffered in the memory Z of the scan conversion unit 40 is scan-converted, and the output scan-converted data is quantized by the quantization index obtained from the bitstream. The inverse quantization unit 30 performs inverse quantization on the basis of the
In, inverse DCT processing is performed, and pixels are reconstructed from the data subjected to inverse DCT processing.
【0047】ここで、フレーム間符号化された画像デー
タの場合、逆DCT処理済みデータと画素再構成部60
においてメモリfにバッファリングされている予測画像
データとの和をとり、画素データを再構成する。再構成
済み画素データはメモリrにバッファリングする。Here, in the case of the inter-frame coded image data, the inverse DCT processed data and the pixel reconstructing unit 60 are used.
In (1), the pixel data is reconstructed by taking the sum with the predicted image data buffered in the memory f. The reconstructed pixel data is buffered in the memory r.
【0048】第4ステージST4では、メモリrにバッ
ファリングされた再構成済み画素データを復号画像とし
てDRAM110内にあるフレームメモリに書き込む。
以上4つのパイプラインステージにより1マクロブロッ
クの画像が復号されることになる。In the fourth stage ST4, the reconstructed pixel data buffered in the memory r is written as a decoded image in the frame memory in the DRAM 110.
An image of one macroblock is decoded by the above four pipeline stages.
【0049】そして、MBSYNCに同期させてマクロ
ブロック単位でパイプライン処理を行うことで各機能ユ
ニットの処理効率が低下することを防止している。すな
わち、図2に示すように、任意のマクロブロック(MB
と略記)をn番目のMBとすると、n−2番目のMB対
して第4ステージST4の処理を行うと同時に、n−1
番目のMB対しては第3ステージST3の処理を行い、
n番目のMB対しては第2ステージST2の処理を行
い、n+1番目のMB対しては第1ステージST1の処
理を行っている。このように、MBSYNCのある時間
において、各機能ユニットは異なるマクロブロックに対
する処理をそれぞれ同時に行うパイプライン処理によ
り、各機能ユニットの無駄な待ち時間を極力抑えて、処
理効率の向上を図ることができる。Pipeline processing is performed in macroblock units in synchronization with MBSYNC to prevent the processing efficiency of each functional unit from decreasing. That is, as shown in FIG. 2, an arbitrary macroblock (MB
Abbreviated) is the nth MB, the processing of the fourth stage ST4 is performed on the n-2th MB, and at the same time n-1
For the second MB, perform the processing of the third stage ST3,
The second stage ST2 is processed for the nth MB, and the first stage ST1 is processed for the n + 1th MB. In this way, during a certain time of MBSYNC, each functional unit simultaneously performs processing on different macroblocks by pipeline processing, so that useless waiting time of each functional unit can be suppressed as much as possible and the processing efficiency can be improved. .
【0050】<B−3.特徴的作用効果>以上説明した
本発明に係る画像データ伸張装置の実施の形態2によれ
ば、レートバッファインタフェース10の、DRAM1
10から読みだしたビットストリームをバッファリング
するバッファメモリcの容量を1マクロブロックがもつ
最大符号量より大きな容量とすることで、レートバッフ
ァ制御の簡略化を図ることができるとともに、可変長復
号部20の処理効率向上を図ることができる。<B-3. Characteristic Effects> According to the second embodiment of the image data decompression device according to the present invention described above, the DRAM 1 of the rate buffer interface 10 is used.
By setting the capacity of the buffer memory c for buffering the bit stream read from 10 to be larger than the maximum code amount of one macroblock, the rate buffer control can be simplified and the variable length decoding unit can be used. The processing efficiency of 20 can be improved.
【0051】また、可変長復号部20の出力、画素再構
成部60における予測画像の入力部および予測画像デー
タの出力部、画素再構成部60の出力にパイプラインス
テージ間バッファとしてのメモリを設けているので、パ
イプライン処理が可能となり各機能ユニットの無駄な待
ち時間を極力抑えて、処理効率の向上を図ることができ
る。A memory as a pipeline interstage buffer is provided at the output of the variable length decoding unit 20, the input unit of the predicted image and the output unit of the predicted image data in the pixel reconstructing unit 60, and the output of the pixel reconstructing unit 60. Therefore, the pipeline processing can be performed, and the useless waiting time of each functional unit can be suppressed as much as possible to improve the processing efficiency.
【0052】実施の形態3、 <C−1.画像データ伸張装置3000の構成>図4に
本発明に係る画像データ伸張装置の実施の形態3とし
て、画像データ伸張装置3000の構成をブロック図で
示す。Third Embodiment <C-1. Configuration of Image Data Decompression Device 3000> FIG. 4 is a block diagram showing the configuration of the image data decompression device 3000 as the third embodiment of the image data decompression device according to the present invention.
【0053】図4において画像データ伸張装置3000
は、逆DCT部50と画素再構成部60との間に、逆D
CT部50からの逆DCT処理済みデータをバッファリ
ングするメモリtを備えている。そして、スキャン変換
部40は1マクロブロック分の容量のメモリZ’を備え
ている。その他の構成は画像データ伸張装置1000と
同様であるので、同一の構成には同一の符号を付し重複
する説明は省略する。In FIG. 4, the image data expansion device 3000
Is an inverse D between the inverse DCT unit 50 and the pixel reconstruction unit 60.
A memory t for buffering the inverse DCT processed data from the CT unit 50 is provided. The scan conversion unit 40 has a memory Z'having a capacity of one macroblock. Since other configurations are the same as those of the image data decompression device 1000, the same configurations are denoted by the same reference numerals and redundant description will be omitted.
【0054】<C−2.画像データ伸張装置3000の
動作>次に、図2および図4を用いて画像データ伸張装
置3000の動作について説明する。<C-2. Operation of Image Data Decompression Device 3000> Next, the operation of the image data decompression device 3000 will be described with reference to FIGS. 2 and 4.
【0055】各マクロブロックの復号処理毎に1マクロ
ブロックの処理時間内でDRAM110からバッファメ
モリcへのビットストリームの転送を行うという動作、
および1マクロブロック分のビットストリームがバッフ
ァメモリc内に存在するため、1マクロブロックの処理
時間内においてはDRAM110からのビットストリー
ムの読み出しを頻繁に行う必要がないのでレートバッフ
ァ制御の簡略化を図ることができ、また、バッファメモ
リc内のビットストリームが空になることによる可変長
復号処理の停止を抑止して、シンボル解析および復号を
連続的に行うことが可能となり、可変長復号部の処理効
率向上を図ることができるという効果については画像デ
ータ伸張装置1000と同様である。An operation of transferring the bit stream from the DRAM 110 to the buffer memory c within the processing time of one macro block for each decoding process of each macro block,
Since the bit stream for 1 macro block exists in the buffer memory c and the bit stream does not need to be read from the DRAM 110 frequently within the processing time of 1 macro block, the rate buffer control is simplified. In addition, it is possible to suppress the stop of the variable length decoding process due to the empty bit stream in the buffer memory c and to continuously perform symbol analysis and decoding. The effect that the efficiency can be improved is similar to that of the image data expansion device 1000.
【0056】画像データ伸張装置3000においても、
画像データ伸張装置1000と同様に画像復号処理を行
う機能ユニットを4つのパイプラインステージに分け、
当該4つのパイプラインステージをマクロブロック単位
の同期信号(MBSYNC)に同期させてパイプライン
処理を行っている。以下に各パイプラインステージの処
埋内容を示す。Also in the image data decompression device 3000,
Similar to the image data decompression device 1000, a functional unit that performs image decoding processing is divided into four pipeline stages,
The pipeline processing is performed by synchronizing the four pipeline stages with a synchronization signal (MBSYNC) in macroblock units. The contents of each pipeline stage are shown below.
【0057】第1ステージST1では、可変長復号部2
0において入力されたビットストリームに対する可変長
復号を行い、ビットストリームから得た量子化インデッ
クスに基づいて復号データに逆量子化を施す。逆量子化
された逆量子化済みデータはメモリZ’にバッファリン
グする。また、同時にフレーム間符号化された画像デー
タの場合はDRAM110内のフレームメモリから予測
画像の読み出しを行う。読み出した予測画像は次の第2
ステージST2で予測画像データの生成を行うためにメ
モリpにバッファリングする。In the first stage ST1, the variable length decoding unit 2
Variable length decoding is performed on the bit stream input at 0, and the decoded data is inversely quantized based on the quantization index obtained from the bit stream. The dequantized dequantized data is buffered in the memory Z ′. At the same time, in the case of inter-frame coded image data, the predicted image is read from the frame memory in the DRAM 110. The read predicted image is the second
Buffering is performed in the memory p in order to generate predicted image data in the stage ST2.
【0058】第2ステージST2では、メモリZ’にバ
ッファリングされた逆量子化済みデータに対してスキャ
ン変換を施し、出力されたスキャン変換済みデータに対
して逆DCT処理部50において逆DCT処理を施す。
そして逆DCT処理済みデータはメモリtにバッファリ
ングする。また、これと同時に、画素再構成部60にお
いて、メモリpにバッファリングされた予測画像に基づ
いて予測画像データを生成する。生成された予測画像デ
ータはメモリfにバッファリングする。In the second stage ST2, the inversely quantized data buffered in the memory Z'is scan-converted, and the output DCT-processed portion 50 is inversely DCT-processed. Give.
Then, the inverse DCT processed data is buffered in the memory t. At the same time, the pixel reconstruction unit 60 generates predicted image data based on the predicted image buffered in the memory p. The generated predicted image data is buffered in the memory f.
【0059】第3ステージST3では、メモリtにバッ
ファリングされた逆DCT処理済みデータから画素再構
成を行う。In the third stage ST3, pixel reconstruction is performed from the inverse DCT processed data buffered in the memory t.
【0060】ここで、フレーム間符号化された画像デー
タの場合、逆DCT処理済みデータは画素再構成部60
においてメモリfにバッファリングされている予測画像
データとの和をとり、画素データを再構成する。再構成
済み画素データはメモリrにバッファリングする。Here, in the case of inter-frame coded image data, the inverse DCT processed data is the pixel reconstructing unit 60.
In (1), the pixel data is reconstructed by taking the sum with the predicted image data buffered in the memory f. The reconstructed pixel data is buffered in the memory r.
【0061】第4ステージST4では、メモリrにバッ
ファリングされた再構成済み画素データを復号画像とし
てDRAM110内にあるフレームメモリに書き込む。
以上4つのパイプラインステージにより1マクロブロッ
クの画像が復号されることになる。In the fourth stage ST4, the reconstructed pixel data buffered in the memory r is written in the frame memory in the DRAM 110 as a decoded image.
An image of one macroblock is decoded by the above four pipeline stages.
【0062】そして、MBSYNCに同期させてマクロ
ブロック単位でパイプライン処理を行うことで各機能ユ
ニットの処理効率が低下することを防止している。すな
わち、図2に示すように、任意のマクロブロック(MB
と略記)をn番目のMBとすると、n−2番目のMB対
して第4ステージST4の処理を行うと同時に、n−1
番目のMB対しては第3ステージST3の処理を行い、
n番目のMB対しては第2ステージST2の処理を行
い、n+1番目のMB対しては第1ステージST1の処
理を行っている。このように、MBSYNCのある時間
において、各機能ユニットは異なるマクロブロックに対
する処理をそれぞれ同時に行うパイプライン処理によ
り、各機能ユニットの無駄な待ち時間を極力抑えて、処
理効率の向上を図ることができる。Pipeline processing is performed in macroblock units in synchronization with MBSYNC to prevent the processing efficiency of each functional unit from decreasing. That is, as shown in FIG. 2, an arbitrary macroblock (MB
Abbreviated) is the nth MB, the processing of the fourth stage ST4 is performed on the n-2th MB, and at the same time n-1
For the second MB, perform the processing of the third stage ST3,
The second stage ST2 is processed for the nth MB, and the first stage ST1 is processed for the n + 1th MB. In this way, during a certain time of MBSYNC, each functional unit simultaneously performs processing on different macroblocks by pipeline processing, so that useless waiting time of each functional unit can be suppressed as much as possible and the processing efficiency can be improved. .
【0063】<C−3.特徴的作用効果>以上説明した
本発明に係る画像データ伸張装置の実施の形態3によれ
ば、レートバッファインタフェース10の、DRAM1
10から読みだしたビットストリームをバッファリング
するバッファメモリcの容量を1マクロブロックがもつ
最大符号量より大きな容量とすることで、レートバッフ
ァ制御の簡略化を図ることができるとともに、可変長復
号部20の処理効率向上を図ることができる。<C-3. Characteristic Effects> According to the third embodiment of the image data decompression device according to the present invention described above, the DRAM 1 of the rate buffer interface 10 is used.
By setting the capacity of the buffer memory c for buffering the bit stream read from 10 to be larger than the maximum code amount of one macroblock, the rate buffer control can be simplified and the variable length decoding unit can be used. The processing efficiency of 20 can be improved.
【0064】また、逆量子化部30の出力、画素再構成
部60における予測画像の入力部および予測画像データ
の出力部、画素再構成部60の出力にパイプラインステ
ージ間バッファとしてのメモリを設けているので、パイ
プライン処理が可能となり各機能ユニットの無駄な待ち
時間を極力抑えて、処理効率の向上を図ることができ
る。Further, a memory as a buffer between pipeline stages is provided at the output of the dequantization unit 30, the input unit of the predicted image and the output unit of the predicted image data in the pixel reconstructing unit 60, and the output of the pixel reconstructing unit 60. Therefore, the pipeline processing can be performed, and the useless waiting time of each functional unit can be suppressed as much as possible to improve the processing efficiency.
【0065】さらに、画素再構成部60の入力にもパイ
プラインステージ間バッファとしてのメモリを設けてい
るので、第2ステージST2において逆DCT処理を施
すことができる。このことは、パイプライン処理を行う
際の機能ユニットの振り分けのバリエーションを増すこ
とができることを意味している。Furthermore, since a memory as a buffer between pipeline stages is also provided at the input of the pixel reconstructing unit 60, the inverse DCT processing can be performed in the second stage ST2. This means that it is possible to increase variations in distribution of functional units when performing pipeline processing.
【0066】実施の形態4、 <D−1.画像データ伸張装置4000の構成>図5に
本発明に係る画像データ伸張装置の実施の形態4とし
て、画像データ伸張装置4000の構成をブロック図で
示す。Fourth Embodiment <D-1. Configuration of Image Data Decompression Device 4000> FIG. 5 is a block diagram showing the configuration of the image data decompression device 4000 as the fourth embodiment of the image data decompression device according to the present invention.
【0067】図5において画像データ伸張装置4000
は、逆DCT部50と画素再構成部60との間に、逆D
CT部50からの逆DCT処理済みデータをバッファリ
ングするメモリtを備えている。そして、スキャン変換
部40は1マクロブロック分の容量のメモリZ’を備え
ている。その他の構成は画像データ伸張装置2000と
同様であるので、同一の構成には同一の符号を付し重複
する説明は省略する。In FIG. 5, the image data expansion device 4000
Is an inverse D between the inverse DCT unit 50 and the pixel reconstruction unit 60.
A memory t for buffering the inverse DCT processed data from the CT unit 50 is provided. The scan conversion unit 40 has a memory Z'having a capacity of one macroblock. Since other configurations are the same as those of the image data decompression device 2000, the same configurations are denoted by the same reference numerals and redundant description will be omitted.
【0068】<D−2.画像データ伸張装置4000の
動作>次に、図2および図5を用いて画像データ伸張装
置4000の動作について説明する。各マクロブロック
の復号処理毎に1マクロブロックの処理時間内でDRA
M110からバッファメモリcへのビットストリームの
転送を行うという動作、および1マクロブロック分のビ
ットストリームがバッファメモリc内に存在するため、
1マクロブロックの処理時間内においてはDRAM11
0からのビットストリームの読み出しを頻繁に行う必要
がないのでレートバッファ制御の簡略化を図ることがで
き、また、バッファメモリc内のビットストリームが空
になることによる可変長復号処理の停止を抑止して、シ
ンボル解析および復号を連続的に行うことが可能とな
り、可変長復号部の処理効率向上を図ることができると
いう効果については画像データ伸張装置2000と同様
である。<D-2. Operation of Image Data Decompression Device 4000> Next, the operation of the image data decompression device 4000 will be described with reference to FIGS. 2 and 5. DRA within one macroblock processing time for each macroblock decoding process
The operation of transferring the bitstream from M110 to the buffer memory c, and the bitstream for one macroblock exist in the buffer memory c,
DRAM 11 within the processing time of one macroblock
Since it is not necessary to read the bitstream from 0 frequently, the rate buffer control can be simplified, and the stop of the variable length decoding process due to the empty bitstream in the buffer memory c can be suppressed. Then, the symbol analysis and decoding can be continuously performed, and the effect of improving the processing efficiency of the variable length decoding unit is similar to that of the image data expansion device 2000.
【0069】画像データ伸張装置4000においても、
画像データ伸張装置1000と同様に画像復号処理を行
う各機能ユニットを4つのパイプラインステージに分
け、当該4つのパイプラインステージをマクロブロック
単位の同期信号(MBSYNC)に同期させてパイプラ
イン処理を行っている。以下に各パイプラインステージ
の処埋内容を示す。Also in the image data decompressing device 4000,
Similar to the image data expansion device 1000, each functional unit that performs image decoding processing is divided into four pipeline stages, and the pipeline processing is performed by synchronizing the four pipeline stages with a synchronization signal (MBSYNC) in macroblock units. ing. The contents of each pipeline stage are shown below.
【0070】第1ステージST1では、可変長復号部2
0において入力されたビットストリームに対する可変長
復号を行い、復号データはスキャン変換部40のメモリ
Z’にバッファリングする。また、同時にフレーム間符
号化された画像データの場合はDRAM110内のフレ
ームメモリから予測画像の読み出しを行う。読み出した
予測画像は次の第2ステージST2で予測画像データの
生成を行うためにメモリpにバッファリングする。In the first stage ST1, the variable length decoding unit 2
Variable length decoding is performed on the bit stream input at 0, and the decoded data is buffered in the memory Z ′ of the scan conversion unit 40. At the same time, in the case of inter-frame coded image data, the predicted image is read from the frame memory in the DRAM 110. The read predicted image is buffered in the memory p to generate predicted image data in the next second stage ST2.
【0071】第2ステージST2では、スキャン変換部
40のメモリZ’にバッファリングされた復号データに
対してスキャン変換を施し、出力されたスキャン変換済
みデータに対して、ビットストリームから得た量子化イ
ンデックスに基づいて逆量子化部30において逆量子化
を施す。そして、逆量子化済みデータに対して逆DCT
処理部50において逆DCT処理を施し、逆DCT処理
済みデータはメモリtにバッファリングする。In the second stage ST2, scan conversion is performed on the decoded data buffered in the memory Z'of the scan conversion unit 40, and the output scan converted data is quantized from the bit stream. The inverse quantization unit 30 performs inverse quantization based on the index. Then, the inverse DCT is performed on the dequantized data.
The processing unit 50 performs inverse DCT processing, and the data subjected to inverse DCT processing is buffered in the memory t.
【0072】また、これと同時に、画素再構成部60に
おいて、メモリpにバッファリングされた予測画像に基
づいて予測画像データを生成する。生成された予測画像
データはメモリfにバッファリングする。At the same time, the pixel reconstructing unit 60 generates predicted image data based on the predicted image buffered in the memory p. The generated predicted image data is buffered in the memory f.
【0073】第3ステージST3では、メモリtにバッ
ファリングされた逆DCT処理済みデータから画素再構
成を行う。In the third stage ST3, pixel reconstruction is performed from the inverse DCT processed data buffered in the memory t.
【0074】ここで、フレーム間符号化された画像デー
タの場合、逆DCT処理済みデータと画素再構成部60
においてメモリfにバッファリングされている予測画像
データとの和をとり、画素データを再構成する。再構成
済み画素データはメモリrにバッファリングする。Here, in the case of inter-frame coded image data, the inverse DCT processed data and the pixel reconstructing unit 60 are used.
In (1), the pixel data is reconstructed by taking the sum with the predicted image data buffered in the memory f. The reconstructed pixel data is buffered in the memory r.
【0075】第4ステージST4では、メモリrにバッ
ファリングされた再構成済み画素データを復号画像とし
てDRAM110内にあるフレームメモリに書き込む。
以上4つのパイプラインステージにより1マクロブロッ
クの画像が復号されることになる。In the fourth stage ST4, the reconstructed pixel data buffered in the memory r is written as a decoded image in the frame memory in the DRAM 110.
An image of one macroblock is decoded by the above four pipeline stages.
【0076】そして、MBSYNCに同期させてマクロ
ブロック単位でパイプライン処理を行うことで各機能ユ
ニットの処理効率が低下することを防止している。すな
わち、図2に示すように、任意のマクロブロック(MB
と略記)をn番目のMBとすると、n−2番目のMB対
して第4ステージST4の処理を行うと同時に、n−1
番目のMB対しては第3ステージST3の処理を行い、
n番目のMB対しては第2ステージST2の処理を行
い、n+1番目のMB対しては第1ステージST1の処
理を行っている。このように、MBSYNCのある時間
において、各機能ユニットは異なるマクロブロックに対
する処理をそれぞれ同時に行うパイプライン処理によ
り、各機能ユニットの無駄な待ち時間を極力抑えて、処
理効率の向上を図ることができる。Pipeline processing is performed in units of macroblocks in synchronization with MBSYNC to prevent the processing efficiency of each functional unit from decreasing. That is, as shown in FIG. 2, an arbitrary macroblock (MB
Abbreviated) is the nth MB, the processing of the fourth stage ST4 is performed on the n-2th MB, and at the same time n-1
For the second MB, perform the processing of the third stage ST3,
The second stage ST2 is processed for the nth MB, and the first stage ST1 is processed for the n + 1th MB. In this way, during a certain time of MBSYNC, each functional unit simultaneously performs processing on different macroblocks by pipeline processing, so that useless waiting time of each functional unit can be suppressed as much as possible and the processing efficiency can be improved. .
【0077】<D−3.特徴的作用効果>以上説明した
本発明に係る画像データ伸張装置の実施の形態4によれ
ば、レートバッファインタフェース10の、DRAM1
10から読みだしたビットストリームをバッファリング
するバッファメモリcの容量を1マクロブロックがもつ
最大符号量より大きな容量とすることで、レートバッフ
ァ制御の簡略化を図ることができるとともに、可変長復
号部20の処理効率向上を図ることができる。<D-3. Characteristic Effects> According to the fourth embodiment of the image data decompression device according to the present invention described above, the DRAM 1 of the rate buffer interface 10 is used.
By setting the capacity of the buffer memory c for buffering the bit stream read from 10 to be larger than the maximum code amount of one macroblock, the rate buffer control can be simplified and the variable length decoding unit can be used. The processing efficiency of 20 can be improved.
【0078】また、可変長復号部20の出力、画素再構
成部60における予測画像の入力部および予測画像デー
タの出力部、画素再構成部60の出力にパイプラインス
テージ間バッファとしてのメモリを設けているので、パ
イプライン処理が可能となり各機能ユニットの無駄な待
ち時間を極力抑えて、処理効率の向上を図ることができ
る。A memory as a buffer between pipeline stages is provided at the output of the variable length decoding unit 20, the input unit of the predicted image and the output unit of the predicted image data in the pixel reconstructing unit 60, and the output of the pixel reconstructing unit 60. Therefore, the pipeline processing can be performed, and the useless waiting time of each functional unit can be suppressed as much as possible to improve the processing efficiency.
【0079】さらに、画素再構成部60の入力にもパイ
プラインステージ間バッファとしてのメモリを設けてい
るので、第2ステージST2において逆DCT処理を施
すことができる。このことは、パイプライン処理を行う
際の機能ユニットの振り分けのバリエーションを増すこ
とができることを意味している。Furthermore, since a memory as a buffer between pipeline stages is also provided at the input of the pixel reconstructing section 60, the inverse DCT processing can be performed in the second stage ST2. This means that it is possible to increase variations in distribution of functional units when performing pipeline processing.
【0080】実施の形態5、 <E−1.画像データ伸張装置5000の構成>図6に
本発明に係る画像データ伸張装置の実施の形態5とし
て、画像データ伸張装置5000の構成をブロック図で
示す。Embodiment 5, <E-1. Configuration of Image Data Decompression Device 5000> FIG. 6 is a block diagram showing the configuration of the image data decompression device 5000 as the fifth embodiment of the image data decompression device according to the present invention.
【0081】図6において画像データ伸張装置5000
は、画素再構成部60における予測画像データの出力
部、すなわちフィルタの出力部に予測画像データをバッ
ファリングするメモリを備えていない。そして、スキャ
ン変換部40には1マクロブロック分の容量のメモリ
Z’を備えている。その他の構成は画像データ伸張装置
1000と同様であるので、同一の構成には同一の符号
を付し重複する説明は省略する。In FIG. 6, an image data expansion device 5000
Does not include a memory for buffering the predicted image data in the output unit of the predicted image data in the pixel reconstructing unit 60, that is, the output unit of the filter. The scan conversion unit 40 has a memory Z'having a capacity of one macroblock. Since other configurations are the same as those of the image data decompression device 1000, the same configurations are denoted by the same reference numerals and redundant description will be omitted.
【0082】<E−2.画像データ伸張装置5000の
動作>次に、図6および図7を用いて画像データ伸張装
置5000の動作について説明する。<E-2. Operation of Image Data Decompression Device 5000> Next, the operation of the image data decompression device 5000 will be described with reference to FIGS. 6 and 7.
【0083】各マクロブロックの復号処理毎に1マクロ
ブロックの処理時間内でDRAM110からバッファメ
モリcへのビットストリームの転送を行うという動作、
および1マクロブロック分のビットストリームがバッフ
ァメモリc内に存在するため、1マクロブロックの処理
時間内においてはDRAM110からのビットストリー
ムの読み出しを頻繁に行う必要がないのでレートバッフ
ァ制御の簡略化を図ることができ、また、バッファメモ
リc内のビットストリームが空になることによる可変長
復号処理の停止を抑止して、シンボル解析および復号を
連続的に行うことが可能となり、可変長復号部の処理効
率向上を図ることができるという効果については画像デ
ータ伸張装置1000と同様である。The operation of transferring the bit stream from the DRAM 110 to the buffer memory c within the processing time of one macro block for each decoding process of each macro block,
Since the bit stream for 1 macro block exists in the buffer memory c and the bit stream does not need to be read from the DRAM 110 frequently within the processing time of 1 macro block, the rate buffer control is simplified. In addition, it is possible to suppress the stop of the variable length decoding process due to the empty bit stream in the buffer memory c and to continuously perform symbol analysis and decoding. The effect that the efficiency can be improved is similar to that of the image data expansion device 1000.
【0084】図7に画像データ伸張装置5000におけ
るマクロブロック単位でのパイプライン処理を説明する
図を示す。FIG. 7 is a diagram for explaining pipeline processing in macroblock units in the image data expansion device 5000.
【0085】画像データ伸張装置5000においては、
画像復号処理を行う機能ユニットを3つのパイプライン
ステージに分け、当該3つのパイプラインステージをマ
クロブロック単位の同期信号(MBSYNC)に同期さ
せてパイプライン処理を行っている。以下に各パイプラ
インステージの処埋内容を示す。In the image data expansion device 5000,
A functional unit that performs image decoding processing is divided into three pipeline stages, and the three pipeline stages are synchronized with a synchronization signal (MBSYNC) in macroblock units to perform pipeline processing. The contents of each pipeline stage are shown below.
【0086】第1ステージST1では、可変長復号部2
0において入力されたビットストリームに対する可変長
復号を行い、ビットストリームから得られた量子化イン
デックスに基づいて、逆量子化部30において復号デー
タに逆量子化を施す。逆量子化された逆量子化済みデー
タはメモリZ’にバッファリングする。In the first stage ST1, the variable length decoding unit 2
Variable length decoding is performed on the bit stream input at 0, and the inverse quantization unit 30 performs inverse quantization on the decoded data based on the quantization index obtained from the bit stream. The dequantized dequantized data is buffered in the memory Z ′.
【0087】また、同時にフレーム間符号化された画像
データの場合はDRAM110内のフレームメモリから
予測画像の読み出しを行う。読み出した予測画像は次の
第2ステージST2で予測画像データの生成を行うため
にメモリpにバッファリングする。At the same time, in the case of inter-frame coded image data, the predicted image is read from the frame memory in the DRAM 110. The read predicted image is buffered in the memory p to generate predicted image data in the next second stage ST2.
【0088】第2ステージST2では、スキャン変換部
40のメモリZにバッファリングされた逆量子化済みデ
ータに対してスキャン変換を施し、出力されたスキャン
変換済みデータに対して逆DCT処理部50において逆
DCT処理を施す。同時にフレーム間符号化された画像
データの場合、画素再構成部60においてメモリpにバ
ッファリングされた予測画像に基づいて予測画像データ
を生成しながら、逆DCT処理済みデータとの和をと
り、画素データを再構成する。そして、再構成済み画素
データはメモリrにバッファリングする。In the second stage ST2, the inversely quantized data buffered in the memory Z of the scan conversion unit 40 is subjected to scan conversion, and the output DCT processed unit 50 is subjected to scan conversion. Inverse DCT processing is performed. At the same time, in the case of inter-frame coded image data, the pixel reconstructing unit 60 generates predicted image data based on the predicted image buffered in the memory p, and adds the inverse DCT-processed data Reconstruct the data. Then, the reconstructed pixel data is buffered in the memory r.
【0089】第3ステージでは、メモリrにバッファリ
ングされた再構成済み画素データを復号画像としてDR
AM110内にあるフレームメモリに書き込む。At the third stage, the reconstructed pixel data buffered in the memory r is used as the decoded image DR.
Write to the frame memory in the AM 110.
【0090】以上3つのパイプラインステージにより1
マクロブロックの画像が復号されることになる。1 by the above three pipeline stages
The image of the macroblock will be decoded.
【0091】そして、MBSYNCに同期させてマクロ
ブロック単位でパイプライン処理を行うことで各機能ユ
ニットの処理効率が低下することを防止している。すな
わち、図7に示すように、任意のマクロブロック(MB
と略記)をn番目のMBとすると、n−2番目のMB対
して第3ステージST3の処理を行うと同時に、n−1
番目のMB対しては第2ステージST2の処理を行い、
n番目のMB対しては第1ステージST1の処理を行っ
ている。このように、MBSYNCのある時間におい
て、各機能ユニットは異なるマクロブロックに対する処
理をそれぞれ同時に行うパイプライン処理により、各機
能ユニットの無駄な待ち時間を極力抑えて、処理効率の
向上を図ることができる。Pipeline processing is performed in macroblock units in synchronization with MBSYNC to prevent the processing efficiency of each functional unit from decreasing. That is, as shown in FIG. 7, an arbitrary macroblock (MB
Abbreviated) as the n-th MB, the processing of the third stage ST3 is performed on the n−2-th MB and at the same time, n−1
For the second MB, perform the processing of the second stage ST2,
The first stage ST1 is processed for the nth MB. In this way, during a certain time of MBSYNC, each functional unit simultaneously performs processing on different macroblocks by pipeline processing, so that useless waiting time of each functional unit can be suppressed as much as possible and the processing efficiency can be improved. .
【0092】<E−3.特徴的作用効果>以上説明した
本発明に係る画像データ伸張装置の実施の形態5によれ
ば、レートバッファインタフェース10の、DRAM1
10から読みだしたビットストリームをバッファリング
するバッファメモリcの容量を1マクロブロックがもつ
最大符号量より大きな容量とすることで、レートバッフ
ァ制御の簡略化を図ることができるとともに、可変長復
号部20の処理効率向上を図ることができる。<E-3. Characteristic Effects> According to the fifth embodiment of the image data decompression device according to the present invention described above, the DRAM 1 of the rate buffer interface 10 is used.
By setting the capacity of the buffer memory c for buffering the bit stream read from 10 to be larger than the maximum code amount of one macroblock, the rate buffer control can be simplified and the variable length decoding unit can be used. The processing efficiency of 20 can be improved.
【0093】また、逆量子化部30の出力、画素再構成
部60における予測画像の入力部、画素再構成部60の
出力にパイプラインステージ間バッファとしてのメモリ
を設け、3つのパイプラインステージでパイプライン処
理を行うので、画像復号処理速度を全体的に向上させる
ことができる。Further, a memory as a buffer between pipeline stages is provided in the output of the dequantization unit 30, the input unit of the predicted image in the pixel reconstruction unit 60, and the output of the pixel reconstruction unit 60, and three pipeline stages are used. Since the pipeline processing is performed, the image decoding processing speed can be improved as a whole.
【0094】さらに、第2ステージST2で予測画像デ
ータを生成しながら、逆DCT処理済みデータとの和を
とり画素データを再構成するので、スキャン変換部40
のメモリZ’は逆量子化済みデータを1マクロブロック
分保持しておけば良く、メモリの容量は半減する。ま
た、予測画像データを保持するメモリfが不要になるの
で画像データ伸張装置を小型化することができる。Furthermore, while the predicted image data is being generated in the second stage ST2, the pixel data is reconstructed by taking the sum with the inverse DCT processed data, so the scan conversion unit 40
The memory Z ′ of 1 has only to hold the dequantized data for one macroblock, and the capacity of the memory is halved. Further, since the memory f for holding the predicted image data is unnecessary, the image data expansion device can be downsized.
【0095】実施の形態6、 <F−1.画像データ伸張装置6000の構成>図8に
本発明に係る画像データ伸張装置の実施の形態6とし
て、画像データ伸張装置6000の構成をブロック図で
示す。Embodiment 6, <F-1. Configuration of Image Data Decompression Device 6000> FIG. 8 is a block diagram showing the configuration of the image data decompression device 6000 as the sixth embodiment of the image data decompression device according to the present invention.
【0096】図8において画像データ伸張装置6000
は、画素再構成部60における予測画像データの出力
部、すなわちフィルタの出力部に予測画像データをバッ
ファリングするメモリを備えていない。そして、スキャ
ン変換部40には1マクロブロック分の容量のメモリ
Z’を備えている。その他の構成は画像データ伸張装置
2000と同様であるので、同一の構成には同一の符号
を付し重複する説明は省略する。In FIG. 8, the image data expansion device 6000.
Does not include a memory for buffering the predicted image data in the output unit of the predicted image data in the pixel reconstructing unit 60, that is, the output unit of the filter. The scan conversion unit 40 has a memory Z'having a capacity of one macroblock. Since other configurations are the same as those of the image data decompression device 2000, the same configurations are denoted by the same reference numerals and redundant description will be omitted.
【0097】<F−2.画像データ伸張装置6000の
動作>次に、図7および図8を用いて画像データ伸張装
置6000の動作について説明する。<F-2. Operation of Image Data Decompression Device 6000> Next, the operation of the image data decompression device 6000 will be described with reference to FIGS. 7 and 8.
【0098】各マクロブロックの復号処理毎に1マクロ
ブロックの処理時間内でDRAM110からバッファメ
モリcへのビットストリームの転送を行うという動作、
および1マクロブロック分のビットストリームがバッフ
ァメモリc内に存在するため、1マクロブロックの処理
時間内においてはDRAM110からのビットストリー
ムの読み出しを頻繁に行う必要がないのでレートバッフ
ァ制御の簡略化を図ることができ、また、バッファメモ
リc内のビットストリームが空になることによる可変長
復号処理の停止を抑止して、シンボル解析および復号を
連続的に行うことが可能となり、可変長復号部の処理効
率向上を図ることができるという効果については画像デ
ータ伸張装置1000と同様である。An operation of transferring the bit stream from the DRAM 110 to the buffer memory c within the processing time of one macro block for each decoding process of each macro block,
Since the bit stream for 1 macro block exists in the buffer memory c and the bit stream does not need to be read from the DRAM 110 frequently within the processing time of 1 macro block, the rate buffer control is simplified. In addition, it is possible to suppress the stop of the variable length decoding process due to the empty bit stream in the buffer memory c and to continuously perform symbol analysis and decoding. The effect that the efficiency can be improved is similar to that of the image data expansion device 1000.
【0099】画像データ伸張装置6000においては、
画像復号処理を行う機能ユニットを3つのパイプライン
ステージに分け、当該3つのパイプラインステージをマ
クロブロック単位の同期信号(MBSYNC)に同期さ
せてパイプライン処理を行っている。以下に各パイプラ
インステージの処埋内容を示す。In the image data expansion device 6000,
A functional unit that performs image decoding processing is divided into three pipeline stages, and the three pipeline stages are synchronized with a synchronization signal (MBSYNC) in macroblock units to perform pipeline processing. The contents of each pipeline stage are shown below.
【0100】第1ステージST1では、可変長復号部2
0において入力されたビットストリームに対する可変長
復号を行い、復号データはスキャン変換部40のメモリ
Z’にバッファリングする。また、同時にフレーム間符
号化された画像データの場合はDRAM110内のフレ
ームメモリから予測画像の読み出しを行う。読み出した
予測画像は次の第2ステージST2で予測画像データの
生成を行うためにメモリpにバッファリングする。In the first stage ST1, the variable length decoding unit 2
Variable length decoding is performed on the bit stream input at 0, and the decoded data is buffered in the memory Z ′ of the scan conversion unit 40. At the same time, in the case of inter-frame coded image data, the predicted image is read from the frame memory in the DRAM 110. The read predicted image is buffered in the memory p to generate predicted image data in the next second stage ST2.
【0101】第2ステージST2では、スキャン変換部
40のメモリZ’にバッファリングされた復号データに
対してスキャン変換を施し、出力されたスキャン変換済
みデータに対して、ビットストリームから得た量子化イ
ンデックスに基づいて逆量子化部30において逆量子化
を施し、逆量子化済みデータに対して逆DCT処理部5
0において逆DCT処理を施す。同時にフレーム間符号
化された画像データの場合、画素再構成部60において
メモリpにバッファリングされた予測画像に基づいて予
測画像データを生成しながら、逆DCT処理済みデータ
との和をとり、画素データを再構成する。そして、再構
成済み画素データはメモリrにバッファリングする。In the second stage ST2, the decoded data buffered in the memory Z'of the scan converter 40 is scan-converted, and the output scan-converted data is quantized from the bitstream. The inverse quantization unit 30 performs inverse quantization based on the index, and the inverse DCT processing unit 5 performs the inverse quantization on the dequantized data.
At 0, inverse DCT processing is performed. At the same time, in the case of inter-frame coded image data, the pixel reconstructing unit 60 generates predicted image data based on the predicted image buffered in the memory p, and adds the inverse DCT-processed data Reconstruct the data. Then, the reconstructed pixel data is buffered in the memory r.
【0102】第3ステージST3では、メモリrにバッ
ファリングされた再構成済み画素データを復号画像とし
てDRAM110内にあるフレームメモリに書き込む。
以上3つのパイプラインステージにより1マクロブロッ
クの画像が復号されることになる。In the third stage ST3, the reconstructed pixel data buffered in the memory r is written in the frame memory in the DRAM 110 as a decoded image.
An image of one macroblock is decoded by the above three pipeline stages.
【0103】そして、MBSYNCに同期させてマクロ
ブロック単位でパイプライン処理を行うことで各機能ユ
ニットの処理効率が低下することを防止している。すな
わち、図7に示すように、任意のマクロブロック(MB
と略記)をn番目のMBとすると、n−2番目のMB対
して第3ステージST3の処理を行うと同時に、n−1
番目のMB対しては第2ステージST2の処理を行い、
n番目のMB対しては第1ステージST1の処理を行っ
ている。このように、MBSYNCのある時間におい
て、各機能ユニットは異なるマクロブロックに対する処
理をそれぞれ同時に行うパイプライン処理により、各機
能ユニットの無駄な待ち時間を極力抑えて、処理効率の
向上を図ることができる。Pipeline processing is performed in macroblock units in synchronization with MBSYNC to prevent the processing efficiency of each functional unit from decreasing. That is, as shown in FIG. 7, an arbitrary macroblock (MB
Abbreviated) as the n-th MB, the processing of the third stage ST3 is performed on the n−2-th MB and at the same time, n−1
For the second MB, perform the processing of the second stage ST2,
The first stage ST1 is processed for the nth MB. In this way, during a certain time of MBSYNC, each functional unit simultaneously performs processing on different macroblocks by pipeline processing, so that useless waiting time of each functional unit can be suppressed as much as possible and the processing efficiency can be improved. .
【0104】<F−3.特徴的作用効果>以上説明した
本発明に係る画像データ伸張装置の実施の形態6によれ
ば、レートバッファインタフェース10の、DRAM1
10から読みだしたビットストリームをバッファリング
するバッファメモリcの容量を1マクロブロックがもつ
最大符号量より大きな容量とすることで、レートバッフ
ァ制御の簡略化を図ることができるとともに、可変長復
号部20の処理効率向上を図ることができる。<F-3. Characteristic Effects> According to the sixth embodiment of the image data decompression device of the present invention described above, the DRAM 1 of the rate buffer interface 10 is used.
By setting the capacity of the buffer memory c for buffering the bit stream read from 10 to be larger than the maximum code amount of one macroblock, the rate buffer control can be simplified and the variable length decoding unit can be used. The processing efficiency of 20 can be improved.
【0105】また、可変長復号部20の出力、画素再構
成部60における予測画像の入力部、画素再構成部60
の出力にパイプラインステージ間バッファとしてのメモ
リを設け、3つのパイプラインステージでパイプライン
処理を行うので、画像復号処理速度を全体的に向上させ
ることができる。The output of the variable length decoding unit 20, the input unit of the predicted image in the pixel reconstructing unit 60, and the pixel reconstructing unit 60.
Since a memory as a buffer between pipeline stages is provided at the output of the above, pipeline processing is performed by the three pipeline stages, so that the image decoding processing speed can be improved as a whole.
【0106】さらに、第2ステージST2で予測画像デ
ータを生成しながら、逆DCT処理済みデータとの和を
とり画素データを再構成するので、スキャン変換部40
のメモリZ’は逆量子化済みデータを1マクロブロック
分保持しておけば良く、メモリの容量は半減する。ま
た、予測画像データを保持するメモリfが不要になるの
で画像データ伸張装置を小型化することができる。Further, while the predicted image data is being generated in the second stage ST2, the pixel data is reconstructed by taking the sum with the inverse DCT processed data, so that the scan conversion unit 40
The memory Z ′ of 1 has only to hold the dequantized data for one macroblock, and the capacity of the memory is halved. Further, since the memory f for holding the predicted image data is unnecessary, the image data expansion device can be downsized.
【0107】[0107]
【発明の効果】本発明に係る請求項1および請求項2記
載の画像伸張装置によれば、外部DRAM内のレートバ
ッファから読み出した画像データが、少なくとも1マク
ロブロックのもつべき最大の符号量分は内部バッファに
保持されることになるので、1マクロブロックの処理時
間中に頻繁に外部DRAMから画像データを読み出す必
要がなくなるので、外部DRAM内のレートバッファお
よび内部レートバッファの制御が容易になるとともに、
画像データの伸張をマクロブロック単位で行うことが可
能となり、1マクロブロックの処理時間中に内部バッフ
ァが空になることによる可変長復号処理の停止が抑止さ
れる、シンボル解析および復号を連続的に行うことがで
き、可変長復号部の処理効率を向上した画像伸張装置が
得られる。According to the image expanding apparatus of the first and second aspects of the present invention, the image data read from the rate buffer in the external DRAM corresponds to the maximum code amount that at least one macroblock should have. Will be held in the internal buffer, so that it is not necessary to frequently read the image data from the external DRAM during the processing time of one macroblock, which facilitates the control of the rate buffer in the external DRAM and the internal rate buffer. With
It is possible to decompress image data in units of macroblocks, and stop the variable length decoding process due to empty internal buffer during the processing time of one macroblock. Symbol analysis and decoding are performed continuously. It is possible to obtain an image decompression device that can be performed and has improved processing efficiency of the variable length decoding unit.
【0108】本発明に係る請求項3記載の画像伸張装置
によれば、例えば第1のパイプラインステージとして、
可変長復号および逆量子化を行った結果を第1メモリに
記憶させると同時に、予測画像の読み出しを行って第2
メモリに記憶させ、第2のパイプラインステージとし
て、第2メモリに記憶した予測画像から予測画像データ
の生成を行って第3メモリに記憶させ、第3のパイプラ
インステージとして第1メモリに記憶された可変長復号
および逆量子化を行った結果に対してスキャン変換、逆
DCTを行い、第3メモリに記憶された予測画像データ
との加算を行って再構成済み画素データを生成し、当該
再構成済み画素データを第3メモリに記憶させ、第4の
パイプラインステージとして第3メモリに記憶された再
構成済み画素データを外部DRAM内のレートバッファ
に書き込むことができ、マクロブロック単位の同期信号
に同期して各パイプラインステージを動作させること
で、無駄な待ち時間を極力抑えたパイプライン処理が可
能となり、処理効率を向上した画像伸張装置が得られ
る。According to the image expanding apparatus of the third aspect of the present invention, for example, as the first pipeline stage,
The result of the variable length decoding and the inverse quantization is stored in the first memory, and at the same time, the predicted image is read and the second image is read.
Stored in the memory, and as the second pipeline stage, the predicted image data is generated from the predicted image stored in the second memory, stored in the third memory, and stored in the first memory as the third pipeline stage. Scan conversion and inverse DCT are performed on the result of the variable length decoding and the inverse quantization, and the reconstructed pixel data is generated by adding the predicted image data stored in the third memory to the reconstructed pixel data. The configured pixel data can be stored in the third memory, and the reconfigured pixel data stored in the third memory as the fourth pipeline stage can be written in the rate buffer in the external DRAM. By operating each pipeline stage in synchronism with the above, it is possible to perform pipeline processing with minimal wasteful waiting time and improve processing efficiency. Image expansion apparatus above is obtained.
【0109】本発明に係る請求項4記載の画像伸張装置
によれば、例えば第1のパイプラインステージとして、
可変長復号および逆量子化を行った結果を第1メモリに
記憶させると同時に、予測画像の読み出しを行って第2
メモリに記憶させ、第2のパイプラインステージとし
て、第1メモリに記憶された可変長復号および逆量子化
を行った結果に対してスキャン変換、逆DCTを行って
第5メモリに記憶させると同時に、第2メモリに記憶し
た予測画像から予測画像データの生成を行って第3メモ
リに記憶させ、第3のパイプラインステージとして、第
5メモリに記憶されたスキャン変換、逆DCTを行った
結果と、第3メモリに記憶された予測画像データとの加
算を行って再構成済み画素データを生成し、当該再構成
済み画素データを第4メモリに記憶させ、第4のパイプ
ラインステージとして第3メモリに記憶された再構成済
み画素データを外部DRAM内のレートバッファに書き
込むことができ、マクロブロック単位の同期信号に同期
して各パイプラインステージを動作させることで、無駄
な待ち時間を極力抑えたパイプライン処理が可能とな
り、処理効率を向上した画像伸張装置が得られる。According to the image expanding apparatus of the fourth aspect of the present invention, for example, as the first pipeline stage,
The result of the variable length decoding and the inverse quantization is stored in the first memory, and at the same time, the predicted image is read and the second image is read.
In the second pipeline stage, the data is stored in the memory, and as a second pipeline stage, the result of the variable length decoding and the inverse quantization stored in the first memory is subjected to scan conversion and inverse DCT and stored in the fifth memory. , The predicted image data generated from the predicted image stored in the second memory and stored in the third memory, and the result of the scan conversion and inverse DCT stored in the fifth memory as the third pipeline stage, , Reconstructed pixel data is generated by performing addition with the predicted image data stored in the third memory, the reconstructed pixel data is stored in the fourth memory, and the third memory is used as a fourth pipeline stage. The reconstructed pixel data stored in can be written to the rate buffer in the external DRAM, and each pipeline can be synchronized with the synchronization signal in macroblock units. By operating the stage, enables minimizing pipeline was useless waiting time, the image expansion apparatus is obtained with improved processing efficiency.
【0110】本発明に係る請求項5記載の画像伸張装置
によれば、例えば第1のパイプラインステージとして、
可変長復号および逆量子化を行った結果を第1メモリに
記憶させると同時に、予測画像の読み出しを行って第2
メモリに記憶させ、第2のパイプラインステージとし
て、第1メモリに記憶された可変長復号および逆量子化
を行った結果に対してスキャン変換、逆DCTを行うと
同時に、第2メモリに記憶した予測画像から予測画像デ
ータの生成を行って加算により再構成済み画素データを
生成して第3メモリに記憶させ、第3のパイプラインス
テージとして第3メモリに記憶された再構成済み画素デ
ータを外部DRAM内のレートバッファに書き込むこと
ができる。このように、3つのパイプラインステージで
パイプライン処理を行うので、画像復号処理速度を全体
的に向上させることができ、また、第1メモリは可変長
復号および逆量子化を行った結果を1マクロブロック分
保持しておけば良いので、メモリの容量が半減し、予測
画像データを保持するメモリが不要になるので画像デー
タ伸張装置を小型化することができる。According to the image decompressing device of the fifth aspect of the present invention, for example, as the first pipeline stage,
The result of the variable length decoding and the inverse quantization is stored in the first memory, and at the same time, the predicted image is read and the second image is read.
The result is stored in the memory and, as the second pipeline stage, the result of the variable length decoding and the inverse quantization stored in the first memory is subjected to scan conversion and inverse DCT, and at the same time, stored in the second memory. Predicted image data is generated from the predicted image, reconstructed pixel data is generated by addition and stored in the third memory, and the reconstructed pixel data stored in the third memory as a third pipeline stage is externally stored. It is possible to write to the rate buffer in DRAM. Since the pipeline processing is performed in the three pipeline stages in this way, the image decoding processing speed can be improved as a whole, and the first memory stores the result obtained by performing the variable length decoding and the dequantization by 1 Since it suffices to hold the macro blocks, the capacity of the memory is halved, and the memory for holding the predicted image data becomes unnecessary, so that the image data expansion device can be downsized.
【図1】 本発明に係る画像データ伸張装置の実施の形
態1の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a first embodiment of an image data expansion device according to the present invention.
【図2】 本発明に係る画像データ伸張装置のマクロブ
ロック単位でのパイプライン処理を説明する図である。FIG. 2 is a diagram for explaining pipeline processing in macroblock units of the image data decompression device according to the present invention.
【図3】 本発明に係る画像データ伸張装置の実施の形
態2の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a second embodiment of an image data decompression device according to the present invention.
【図4】 本発明に係る画像データ伸張装置の実施の形
態3の構成を示すブロック図である。FIG. 4 is a block diagram showing a configuration of an image data expansion device according to a third embodiment of the present invention.
【図5】 本発明に係る画像データ伸張装置の実施の形
態4の構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a fourth embodiment of an image data expansion device according to the present invention.
【図6】 本発明に係る画像データ伸張装置の実施の形
態5の構成を示すブロック図である。FIG. 6 is a block diagram showing a configuration of an image data expansion device according to a fifth embodiment of the present invention.
【図7】 本発明に係る画像データ伸張装置のマクロブ
ロック単位でのパイプライン処理を説明する図である。FIG. 7 is a diagram illustrating pipeline processing in macroblock units of the image data decompression device according to the present invention.
【図8】 本発明に係る画像データ伸張装置の実施の形
態6の構成を示すブロック図である。FIG. 8 is a block diagram showing a configuration of a sixth embodiment of an image data expansion device according to the present invention.
【図9】 従来の画像データ伸張装置の構成を示すブロ
ック図である。FIG. 9 is a block diagram showing a configuration of a conventional image data expansion device.
10 レートバッファインタフェース、20 可変長復
号部、30 逆量子化部、40 スキャン変換部、50
逆DCT部、60 画素再構成部、70 ピクセルイ
ンタフェース、MBSYNC マクロブロック単位の同
期信号、MB マクロブロック。10 rate buffer interface, 20 variable length decoding unit, 30 inverse quantization unit, 40 scan conversion unit, 50
Inverse DCT unit, 60 pixel reconstructing unit, 70 pixel interface, sync signal in MBSYNC macroblock unit, MB macroblock.
Claims (5)
された符号化され圧縮された画像データを受け、該画像
データを復号して復号データを生成する可変長復号部
と、前記復号データを逆量子化する逆量子化部と、前記
逆量子化部の出力データをならべ換えるスキャン変換部
と、前記スキャン変換部の出力データに逆離散コサイン
変換を施す逆DCT部と、前記復号データがフレーム間
符号化されたデータである場合に、既に復号され前記外
部DRAM内のフレームメモリに保持された予測画像を
読み出して予測画像データを生成し、前記逆DCT部の
出力データとの加算を行って再構成済み画素データを生
成する画素再構成部とを備え、前記画像データを伸張処
理する画像伸張装置において、 前記外部DRAMと前記可変長復号部との間に配置さ
れ、前記外部DRAM内のレートバッファから読み出し
た前記画像データを一時的に保持した後、前記可変長復
号部に転送する内部レートバッファを備え、 前記内部レートバッファは、そのメモリ容量が1マクロ
ブロックのもつべき最大の符号量より大きく形成されて
いる画像伸張装置。1. A variable length decoding unit for receiving coded and compressed image data held in a rate buffer in an external DRAM, decoding the image data to generate decoded data, and inverse-quantizing the decoded data. An inverse quantization unit for converting the output data of the inverse quantization unit, an inverse DCT unit for performing an inverse discrete cosine transform on the output data of the scan conversion unit, and an interframe code for the decoded data. In the case of the converted data, the predicted image already decoded and held in the frame memory in the external DRAM is read to generate predicted image data, and the predicted image data is added to the output data of the inverse DCT unit for reconstruction. An image decompression device for decompressing the image data, comprising: a pixel reconstructing unit for generating processed pixel data; An internal rate buffer is provided, which temporarily holds the image data read from the rate buffer in the external DRAM and then transfers the image data to the variable length decoding unit, and the internal rate buffer has a memory capacity of 1 macro. An image decompression device formed so as to be larger than the maximum code amount that a block should have.
された符号化され圧縮された画像データを受け、該画像
データを復号して復号データを生成する可変長復号部
と、前記復号データをならべ換えるスキャン変換部と、
前記スキャン変換部の出力データを逆量子化する逆量子
化部と、前記逆量子化部の出力データに逆離散コサイン
変換を施す逆DCT部と、前記復号データがフレーム間
符号化されたデータである場合に、既に復号され前記外
部DRAM内のフレームメモリに保持された予測画像を
読み出して予測画像データを生成し、前記逆DCT部の
出力データとの加算を行って再構成済み画素データを生
成する画素再構成部とを備え、前記画像データを伸張処
理する画像伸張装置において、 前記外部DRAMと前記可変長復号部との間に配置さ
れ、前記外部DRAM内のレートバッファから読み出し
た前記画像データを一時的に保持した後、前記可変長復
号部に転送する内部レートバッファを備え、 前記内部レートバッファは、そのメモリ容量が1マクロ
ブロックのもつべき最大の符号量より大きく形成されて
いる画像伸張装置。2. A variable length decoding unit for receiving encoded and compressed image data held in a rate buffer in an external DRAM and decoding the image data to generate decoded data, and reordering the decoded data. A scan converter,
A dequantization unit that dequantizes the output data of the scan conversion unit, an inverse DCT unit that performs an inverse discrete cosine transform on the output data of the dequantization unit, and the decoded data that are interframe-coded data. In some cases, the predicted image already decoded and held in the frame memory in the external DRAM is read to generate predicted image data, and addition is performed with the output data of the inverse DCT unit to generate reconfigured pixel data. An image decompressing device for decompressing the image data, the image data being arranged between the external DRAM and the variable length decoding unit and read from a rate buffer in the external DRAM. Is temporarily stored and then transferred to the variable length decoding unit, the internal rate buffer having a memory capacity of 1 Maximum amount of codes than larger image being decompressor should have the block.
の符号量分のメモリ容量を有した第1メモリを備え、 前記画素再構成部は、前記予測画像が入力される予測画
像入力部に設けられ2マクロブロックのデータ分のメモ
リ容量を有した第2メモリと、前記予測画像データが出
力される予測画像データ出力部に設けられ1マクロブロ
ックのデータ分のメモリ容量を有した第3メモリと、前
記再構成済み画素データが出力される再構成済み画素デ
ータ出力部に設けられ1マクロブロックのデータ分のメ
モリ容量を有した第4メモリとを備え、 前記画像データの伸張処理を前記第1〜第4メモリで区
切って複数のパイプラインステージに分割し、マクロブ
ロック単位の同期信号に同期してパイプライン処理を行
うことを特徴とする請求項1または請求項2記載の画像
伸張装置。3. The scan conversion unit includes a first memory having a memory capacity corresponding to a code amount of 2 macroblocks, and the pixel reconstruction unit is provided in a prediction image input unit to which the prediction image is input. A second memory having a memory capacity for two macroblocks of data; and a third memory provided in the predicted image data output section for outputting the predicted image data and having a memory capacity for one macroblock of data. A reconfigured pixel data output unit for outputting the reconstructed pixel data, and a fourth memory having a memory capacity for one macroblock of data. The pipeline processing is performed by dividing the memory into a plurality of pipeline stages divided by a fourth memory and synchronizing with a synchronization signal in units of macroblocks. Image expansion apparatus Motomeko 2 wherein.
のデータ分のメモリ容量を有した第1メモリを備え、 前記画素再構成部は、前記予測画像が入力される予測画
像入力部に設けられ2マクロブロックのデータ分のメモ
リ容量を有した第2メモリと、前記予測画像データが出
力される予測画像データ出力部に設けられ1マクロブロ
ックのデータ分のメモリ容量を有した第3メモリと、前
記再構成済み画素データが出力される再構成済み画素デ
ータ出力部に設けられ1マクロブロックのデータ分のメ
モリ容量を有した第4メモリとを備え、 前記逆DCT部の出力部に設けられた1マクロブロック
のデータ分のメモリ容量を有した第5メモリをさらに備
え、 前記画像データの伸張処理を前記第1〜第5メモリで区
切って複数のパイプラインステージに分割し、マクロブ
ロック単位の同期信号に同期してパイプライン処理を行
うことを特徴とする請求項1または請求項2記載の画像
伸張装置。4. The scan conversion unit includes a first memory having a memory capacity for one macroblock of data, and the pixel reconstruction unit is provided in a predicted image input unit to which the predicted image is input. A second memory having a memory capacity for macroblock data; a third memory provided in a predicted image data output section for outputting the predicted image data; and a third memory having a memory capacity for one macroblock data. A reconfigured pixel data output section for outputting reconstructed pixel data, and a fourth memory having a memory capacity for one macroblock of data, and 1 provided in the output section of the inverse DCT section. A fifth memory having a memory capacity for macroblock data is further provided, and a plurality of pipeline steps are provided by dividing the image data decompression processing by the first to fifth memories. 3. The image decompression device according to claim 1, wherein the image decompression device is divided into frames, and pipeline processing is performed in synchronization with a synchronization signal in units of macroblocks.
のデータ分のメモリ容量を有した第1メモリを備え、 前記画素再構成部は、前記予測画像が入力される予測画
像入力部に設けられ2マクロブロックのデータ分のメモ
リ容量を有した第2メモリと、前記再構成済み画素デー
タが出力される再構成済み画素データ出力部に設けられ
1マクロブロックのデータ分のメモリ容量を有した第3
メモリとを備え、 前記画像データの伸張処理を前記第1〜第3メモリで区
切って複数のパイプラインステージに分割し、マクロブ
ロック単位の同期信号に同期してパイプライン処理を行
うことを特徴とする請求項1または請求項2記載の画像
伸張装置。5. The scan conversion unit includes a first memory having a memory capacity for one macroblock of data, and the pixel reconstruction unit is provided in a prediction image input unit to which the prediction image is input. A second memory having a memory capacity for macroblock data, and a third memory having a memory capacity for one macroblock data provided in the reconfigured pixel data output section for outputting the reconfigured pixel data.
A decompression process of the image data is divided into a plurality of pipeline stages divided by the first to third memories, and the pipeline process is performed in synchronization with a synchronization signal in macroblock units. The image expansion device according to claim 1 or 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7236956A JPH0984005A (en) | 1995-09-14 | 1995-09-14 | Image decompressor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7236956A JPH0984005A (en) | 1995-09-14 | 1995-09-14 | Image decompressor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0984005A true JPH0984005A (en) | 1997-03-28 |
Family
ID=17008261
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7236956A Pending JPH0984005A (en) | 1995-09-14 | 1995-09-14 | Image decompressor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0984005A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006013854A1 (en) * | 2004-08-05 | 2006-02-09 | Matsushita Electric Industrial Co., Ltd. | Image decoding device and image encoding device |
| JP2006140741A (en) * | 2004-11-11 | 2006-06-01 | Matsushita Electric Ind Co Ltd | Image compression/extension apparatus |
| JP2009302597A (en) * | 2008-06-10 | 2009-12-24 | Fujitsu Ltd | Image decoding device |
| CN103765903A (en) * | 2012-01-18 | 2014-04-30 | 松下电器产业株式会社 | Image decoding device, image encoding device, image decoding method, and image encoding method |
| CN108460784A (en) * | 2018-01-22 | 2018-08-28 | 合肥芯碁微电子装备有限公司 | A kind of gray scale and bianry image dilation erosion processing method based on FPGA |
-
1995
- 1995-09-14 JP JP7236956A patent/JPH0984005A/en active Pending
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006013854A1 (en) * | 2004-08-05 | 2006-02-09 | Matsushita Electric Industrial Co., Ltd. | Image decoding device and image encoding device |
| JP2006140741A (en) * | 2004-11-11 | 2006-06-01 | Matsushita Electric Ind Co Ltd | Image compression/extension apparatus |
| US7903885B2 (en) | 2004-11-11 | 2011-03-08 | Panasonic Corporation | Data converting apparatus and method |
| JP2009302597A (en) * | 2008-06-10 | 2009-12-24 | Fujitsu Ltd | Image decoding device |
| CN103765903A (en) * | 2012-01-18 | 2014-04-30 | 松下电器产业株式会社 | Image decoding device, image encoding device, image decoding method, and image encoding method |
| US9153037B2 (en) | 2012-01-18 | 2015-10-06 | Panasonic Intellectual Property Management Co., Ltd. | Image decoding device, image encoding device, image decoding method, and image encoding method |
| CN108460784A (en) * | 2018-01-22 | 2018-08-28 | 合肥芯碁微电子装备有限公司 | A kind of gray scale and bianry image dilation erosion processing method based on FPGA |
| CN108460784B (en) * | 2018-01-22 | 2022-03-22 | 合肥芯碁微电子装备股份有限公司 | FPGA-based gray scale and binary image expansion corrosion processing method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100552576B1 (en) | A method for processing a datastream of mpeg coded image representative data and an mpeg compatible digital signal processing system | |
| US5818533A (en) | Method and apparatus for decoding B frames in video codecs with minimal memory | |
| US5838597A (en) | MPEG-2 decoding with a reduced RAM requisite by ADPCM recompression before storing MPEG-2 decompressed data | |
| JP4138056B2 (en) | Multi-standard decompression and / or compression device | |
| KR100781629B1 (en) | A method for reducing the memory required for decompression by storing compressed information using DCT base technology and a decoder for implementing the method | |
| CN101924945B (en) | Video decoder with scalable compression and buffer for storing and retrieving reference frame data | |
| US5367331A (en) | Video codec, for a videophone terminal of an integrated services digital network | |
| US6229852B1 (en) | Reduced-memory video decoder for compressed high-definition video data | |
| JP3918263B2 (en) | Compression encoding apparatus and encoding method | |
| US6928115B2 (en) | Compression-encoded data decoding apparatus cross-reference to related applications | |
| EP1083752A1 (en) | Video decoder with reduced memory | |
| US7330595B2 (en) | System and method for video data compression | |
| JP3990011B2 (en) | Decoded image conversion circuit and decoded image conversion device | |
| JP2776284B2 (en) | Image coding device | |
| JPH08242446A (en) | Image processing method and image processing apparatus | |
| JP3141149B2 (en) | Image coding device | |
| JP2993212B2 (en) | How to combine images | |
| JP2002112262A (en) | Image coding device | |
| JPH09261641A (en) | Method and apparatus for processing compressed image data | |
| KR19980059937A (en) | Video decoding device | |
| JP2002027482A (en) | Image coding device | |
| JPH08126011A (en) | Image decoding method and image decoding apparatus | |
| JP2004236321A (en) | Apparatus and method for video data compression |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20041102 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20050301 |