JPH09261628A - Image compressor, image expander, and image compander - Google Patents

Image compressor, image expander, and image compander

Info

Publication number
JPH09261628A
JPH09261628A JP6820996A JP6820996A JPH09261628A JP H09261628 A JPH09261628 A JP H09261628A JP 6820996 A JP6820996 A JP 6820996A JP 6820996 A JP6820996 A JP 6820996A JP H09261628 A JPH09261628 A JP H09261628A
Authority
JP
Japan
Prior art keywords
signal
data
compressed
unit
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.)
Granted
Application number
JP6820996A
Other languages
Japanese (ja)
Other versions
JP3330813B2 (en
Inventor
Masakazu Nishimoto
雅一 西本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MegaChips Corp
Original Assignee
MegaChips Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MegaChips Corp filed Critical MegaChips Corp
Priority to JP6820996A priority Critical patent/JP3330813B2/en
Publication of JPH09261628A publication Critical patent/JPH09261628A/en
Application granted granted Critical
Publication of JP3330813B2 publication Critical patent/JP3330813B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To relieve the load on an external equipment with respect to a transfer speed. SOLUTION: A compressed data buffer 4 storing tentatively a compressed image signal 13 is interposed between a compression section 2 and an external equipment 9. The compressed data buffer 4 is controlled by a data transfer control section 3 so as to write data in response to a write request from the compression section 2 and to read data in response to a read request from the external equipment 9. Thus, write of a compressed image signal 13 is conducted at a transfer speed specific to the compression section 2 and the read is executed at transfer speed specific to the external equipment 9. Since it is not required to make transfer by the external equipment 9 in synchronism with the operation of the compression section 2, the load of the external equipment 9 with respect to the transfer speed is relieved.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、画像圧縮装置、
画像伸張装置、およびそれら双方の機能を備える画像圧
縮伸張装置に関し、特に、圧縮データの転送に関する外
部装置の負担を軽減するための改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image compression device,
The present invention relates to an image decompression device and an image compression / decompression device having both functions, and more particularly, to an improvement for reducing the load on an external device regarding the transfer of compressed data.

【0002】[0002]

【従来の技術】図12は、この発明の背景となる従来の
画像圧縮装置の構成を示すブロック図である。この従来
装置96は、ビデオ信号デコーダ81、画像データバッ
ファ82、圧縮部83、および、タイミング発生部84
を備えている。外部から入力されたNTSC信号などの
ビデオ信号11は、ビデオ信号デコーダ81によってデ
ジタル化される。デジタル化された画像信号は、画像デ
ータバッファ82へ一時的に保持された後、圧縮部83
によって読み出される。
2. Description of the Related Art FIG. 12 is a block diagram showing the configuration of a conventional image compression apparatus which is the background of the present invention. The conventional device 96 includes a video signal decoder 81, an image data buffer 82, a compression section 83, and a timing generation section 84.
It has. The video signal 11 such as an NTSC signal input from the outside is digitized by the video signal decoder 81. The digitized image signal is temporarily held in the image data buffer 82, and then the compression unit 83.
Read by.

【0003】圧縮部83は、画像信号を圧縮して圧縮画
像信号13を生成し、外部に接続される外部装置80へ
と出力する。外部装置80は、例えば、画像信号を蓄積
する画像蓄積装置、あるいは、画像信号を伝送する伝送
経路などである。
The compression unit 83 compresses the image signal to generate the compressed image signal 13 and outputs it to the external device 80 connected to the outside. The external device 80 is, for example, an image storage device that stores an image signal, a transmission path that transmits an image signal, or the like.

【0004】ビデオ信号デコーダ81は、さらに、ビデ
オ信号11から水平および垂直同期信号を抽出する。タ
イミング発生部84は、これらの同期信号にもとづい
て、画像データバッファ82の動作を制御する制御信号
を出力する。
The video signal decoder 81 further extracts horizontal and vertical sync signals from the video signal 11. The timing generation section 84 outputs a control signal for controlling the operation of the image data buffer 82 based on these synchronization signals.

【0005】従来装置96では、このようにしてビデオ
信号11の圧縮が行われ、外部装置80へと出力され
る。
In the conventional device 96, the video signal 11 is compressed in this way and output to the external device 80.

【0006】図13は、この発明の背景となるもう一つ
の従来装置である画像伸張装置の構成を示すブロック図
である。この従来装置97は、ビデオ信号エンコーダ7
1、画像データバッファ72、伸張部73、および、タ
イミング発生部74を備えている。外部装置80から入
力された圧縮画像信号13は、伸張部73によって伸張
される。伸張された画像信号は、画像データバッファ7
2へ一時的に保持された後、ビデオ信号エンコーダ71
によって読み出される。
FIG. 13 is a block diagram showing the configuration of an image decompression device which is another conventional device which is the background of the present invention. This conventional device 97 includes a video signal encoder 7
1, a picture data buffer 72, a decompression unit 73, and a timing generation unit 74. The decompression unit 73 decompresses the compressed image signal 13 input from the external device 80. The expanded image signal is stored in the image data buffer 7
2 is temporarily held, and then the video signal encoder 71
Read by.

【0007】ビデオ信号エンコーダ71は、伸張された
デジタル画像信号からビデオ信号11を再構成する。タ
イミング発生部74は、画像データバッファ72の動作
を制御する制御信号を出力するとともに、水平および垂
直同期信号を生成してビデオ信号エンコーダ71へと供
給する。
The video signal encoder 71 reconstructs the video signal 11 from the decompressed digital image signal. The timing generation section 74 outputs a control signal for controlling the operation of the image data buffer 72, and also generates horizontal and vertical synchronization signals and supplies them to the video signal encoder 71.

【0008】従来装置97では、このようにして圧縮画
像信号13の伸張が行われ、外部へと出力される。
In the conventional device 97, the compressed image signal 13 is decompressed in this way and output to the outside.

【0009】[0009]

【発明が解決しようとする課題】従来装置96,97
は、以上のように構成されているので、外部装置80
は、圧縮画像信号13を生成する圧縮部83の動作に同
期して、圧縮画像信号13を読み取る必要があった。ま
た、圧縮画像信号13を伸張する伸張部73の動作に同
期して、圧縮画像信号13を出力する必要があった。
Prior art devices 96, 97
Is configured as described above, the external device 80
Need to read the compressed image signal 13 in synchronization with the operation of the compression unit 83 that generates the compressed image signal 13. Further, it is necessary to output the compressed image signal 13 in synchronization with the operation of the decompression unit 73 that decompresses the compressed image signal 13.

【0010】圧縮部83および伸張部73における圧縮
画像信号13の転送速度は、一般に、画面の中の部分的
な圧縮率によって随時変化する。したがって、圧縮率の
あらゆる変化に対応するために、外部装置80は、瞬間
に必要とされる最高の速度で圧縮画像信号13を転送し
得る能力を持っていることが必要とされていた。例え
ば、外部装置80が伝送経路を有する場合には、伝送容
量の高い伝送経路を使用する必要があった。
The transfer rate of the compressed image signal 13 in the compression section 83 and the decompression section 73 generally changes from time to time depending on the partial compression rate in the screen. Therefore, in order to cope with any change in the compression ratio, the external device 80 was required to have the ability to transfer the compressed image signal 13 at the highest speed required at the moment. For example, when the external device 80 has a transmission path, it is necessary to use a transmission path having a high transmission capacity.

【0011】さらに、従来装置97においては、静止画
像に対応するビデオ信号11を出力する場合でも、外部
装置80は同一画面の圧縮画像信号13を、反復的に出
力する必要があった。このように、従来の画像圧縮装置
および画像伸張装置では、外部装置80に対して、高速
で転送する能力や、冗長な転送を要求するという問題点
があった。
Furthermore, in the conventional device 97, even when the video signal 11 corresponding to a still image is output, the external device 80 has to repeatedly output the compressed image signal 13 of the same screen. As described above, the conventional image compressing device and image decompressing device have a problem in that the external device 80 is required to have high-speed transfer capability and redundant transfer.

【0012】この発明は、従来の装置における上記した
問題点を解消するためになされたもので、圧縮データを
転送する上での外部装置の負担を軽減し得る画像圧縮装
置、画像伸張装置、およびそれら双方の機能を備える画
像圧縮伸張装置を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems in the conventional apparatus, and an image compression apparatus, an image decompression apparatus, and an image decompression apparatus which can reduce the load on an external apparatus when transferring compressed data. An object is to provide an image compression / decompression device having both functions.

【0013】[0013]

【課題を解決するための手段】第1の発明の装置は、入
力された画像信号を圧縮して外部装置へと出力する画像
圧縮装置において、前記画像信号を圧縮して圧縮画像信
号を得る圧縮部と、前記圧縮部と前記外部装置との間に
介在して、前記圧縮画像信号を一時的に保持する圧縮デ
ータバッファと、前記圧縮データバッファにおける前記
圧縮画像信号の書込み動作および読出し動作を制御する
データ転送制御部と、を備え、前記データ転送制御部
は、前記圧縮データバッファが、前記圧縮部からの書込
み要請に応じて前記圧縮画像信号を書込み、前記外部装
置からの読出し要請に応じて前記圧縮画像信号を読み出
すように、前記圧縮データバッファを制御することを特
徴とする。
The apparatus of the first invention is an image compression apparatus for compressing an input image signal and outputting the compressed image signal to an external device. The image signal is compressed to obtain a compressed image signal. Section, a compression data buffer that temporarily holds the compressed image signal interposed between the compression section and the external device, and a write operation and a read operation of the compressed image signal in the compressed data buffer. And a data transfer control unit, wherein the compressed data buffer writes the compressed image signal in response to a write request from the compression unit and in response to a read request from the external device. The compressed data buffer is controlled so as to read the compressed image signal.

【0014】第2の発明の装置は、第1の発明の画像圧
縮装置において、前記圧縮部が、フレーム内符号化のア
ルゴリズムにもとづいて圧縮を行なうことを特徴とす
る。
The apparatus of the second invention is the image compression apparatus of the first invention, characterized in that the compression section performs compression based on an intra-frame coding algorithm.

【0015】第3の発明の装置は、第2の発明の画像圧
縮装置において、前記データ転送制御部が、前記圧縮デ
ータバッファのメモリ空間内に複数のバンクを設定し、
前記圧縮部で得られた前記圧縮画像信号を1画面分ごと
に前記複数のバンクの各1に振り分けて書込むととも
に、前記複数のバンクの中の書込み中でないバンクに保
持されている前記圧縮画像信号を、前記外部装置へと読
出すように、前記圧縮データバッファを制御することを
特徴とする。
According to a third aspect of the present invention, in the image compression apparatus according to the second aspect, the data transfer control unit sets a plurality of banks in the memory space of the compressed data buffer,
The compressed image signal obtained by the compression unit is distributed to and written in each of the plurality of banks for each screen, and the compressed image stored in a bank that is not being written among the plurality of banks. The compressed data buffer is controlled so as to read a signal to the external device.

【0016】第4の発明の装置は、第3の発明の画像圧
縮装置において、前記データ転送制御部が、前記複数の
バンクの各1ごとに、書込みおよび読出しの際のアドレ
スを個別に生成する複数のアドレス生成部と、当該アド
レス生成部の各1が書込みの際に生成した前記アドレス
に関する情報を、個別に保持する複数のレジスタと、前
記複数のアドレス部の中から一つを選択し、選択された
前記一つが生成する前記アドレスを、前記圧縮データバ
ッファへと供給するアドレス選択部と、を備え、前記複
数のアドレス生成部は、前記複数のレジスタに保持され
る前記情報を参照して、読出しの際の前記アドレスを生
成することを特徴とする。
According to a fourth aspect of the present invention, in the image compression apparatus according to the third aspect, the data transfer control section individually generates addresses for writing and reading for each one of the plurality of banks. A plurality of address generators, a plurality of registers that individually hold information about the addresses generated when each one of the address generators writes, and one of the plurality of address parts is selected, An address selection unit that supplies the address generated by the selected one to the compressed data buffer, and the plurality of address generation units refer to the information held in the plurality of registers. The address is generated at the time of reading.

【0017】第5の発明の装置は、外部装置から入力さ
れた圧縮画像信号を伸張して出力する画像伸張装置にお
いて、前記圧縮画像信号を伸張して画像信号を得る伸張
部と、前記伸張部と前記外部装置との間に介在して、前
記圧縮画像信号を一時的に保持する圧縮データバッファ
と、前記圧縮データバッファにおける前記圧縮画像信号
の書込み動作および読出し動作を制御するデータ転送制
御部と、を備え、前記データ転送制御部は、前記圧縮デ
ータバッファが、前記外部装置からの書込み要請に応じ
て前記圧縮画像信号を書き込み、前記伸張部からの読出
し要請に応じて前記圧縮画像信号を読み出すように、前
記圧縮データバッファを制御することを特徴とする。
According to a fifth aspect of the invention, in an image decompression device for decompressing and outputting a compressed image signal input from an external device, a decompression unit for decompressing the compressed image signal to obtain an image signal, and the decompression unit. A compressed data buffer that temporarily holds the compressed image signal, and a data transfer control unit that controls a write operation and a read operation of the compressed image signal in the compressed data buffer. In the data transfer control unit, the compressed data buffer writes the compressed image signal in response to a write request from the external device, and reads the compressed image signal in response to a read request from the decompression unit. Thus, the compressed data buffer is controlled.

【0018】第6の発明の装置は、第5の発明の画像伸
張装置において、前記伸張が、フレーム内符号化のアル
ゴリズムにもとづいて伸張を行なうことを特徴とする。
A sixth aspect of the invention is the image decompression apparatus of the fifth aspect, wherein the decompression is performed based on an intra-frame coding algorithm.

【0019】第7の発明の装置は、第6の発明の画像伸
張装置において、前記データ転送制御部が、前記圧縮デ
ータバッファのメモリ空間内に複数のバンクを設定し、
当該複数のバンクの中の読出し中でないバンクを選択し
て、前記外部装置から送られる前記圧縮画像信号を、1
画面分ごとに前記複数のバンクの各1に振り分けて書込
むように、前記圧縮データバッファを制御することを特
徴とする。
According to a seventh aspect of the invention, in the image decompression apparatus of the sixth aspect, the data transfer control unit sets a plurality of banks in the memory space of the compressed data buffer,
A bank not being read out is selected from the plurality of banks, and the compressed image signal sent from the external device is set to 1
It is characterized in that the compressed data buffer is controlled so that data is written to each one of the plurality of banks for each screen.

【0020】第8の発明の装置は、第7の発明の画像伸
張装置において、前記データ転送制御部が、前記複数の
バンクの各1ごとに、書込みおよび読出しの際のアドレ
スを個別に生成する複数のアドレス生成部と、当該アド
レス生成部の各1が書込みの際に生成した前記アドレス
に関する情報を、個別に保持する複数のレジスタと、前
記複数のアドレス部の中から一つを選択し、選択された
前記一つが生成する前記アドレスを、前記圧縮データバ
ッファへと供給するアドレス選択部と、を備え、前記複
数のアドレス生成部は、前記複数のレジスタに保持され
る前記情報を参照して、読出しの際の前記アドレスを生
成することを特徴とする。
According to an eighth aspect of the present invention, in the image expanding apparatus according to the seventh aspect, the data transfer control section individually generates addresses for writing and reading for each one of the plurality of banks. A plurality of address generators, a plurality of registers that individually hold information about the addresses generated when each one of the address generators writes, and one of the plurality of address parts is selected, An address selection unit that supplies the address generated by the selected one to the compressed data buffer, and the plurality of address generation units refer to the information held in the plurality of registers. The address is generated at the time of reading.

【0021】第9の発明の装置は、第7の発明の画像伸
張装置において、前記データ転送制御部が、前記外部装
置からの指示に応答して、前記複数のバンクの中の一つ
に保持される1画面分の前記圧縮画像信号を、反復的に
読み出すように、前記圧縮データバッファを制御するこ
とを特徴とする。
According to a ninth aspect of the invention, in the image decompressing apparatus of the seventh aspect, the data transfer control unit holds the data in one of the plurality of banks in response to an instruction from the external device. The compressed data buffer is controlled so as to repeatedly read the compressed image signal for one screen.

【0022】第10の発明の装置は、入力された画像信
号を圧縮して外部装置へと出力するとともに、前記外部
装置から入力された圧縮画像信号を伸張して出力する画
像圧縮伸張装置において、前記画像信号を圧縮して前記
圧縮画像信号を得る圧縮部と前記圧縮画像信号を伸張し
て前記画像信号を得る伸張部とを備える圧縮伸張部と、
前記圧縮伸張部と前記外部装置との間に介在して、前記
圧縮画像信号を一時的に保持する圧縮データバッファ
と、前記圧縮データバッファにおける前記圧縮画像信号
の書込み動作および読出し動作を制御するデータ転送制
御部と、を備え、前記圧縮部と伸張部は、互いに逆の演
算を実行することによって、それぞれ圧縮および伸張を
実行し、前記データ転送制御部は、前記圧縮データバッ
ファが、前記圧縮伸張部からの要請に応じて当該圧縮伸
張部との間で前記圧縮画像信号の書込みまたは読出しを
行い、前記外部装置からの要請に応じて当該外部装置と
の間で前記圧縮画像信号の読み出しまたは書込みを行う
ように、前記圧縮データバッファを制御することを特徴
とする。
The apparatus of the tenth invention is an image compression / expansion apparatus which compresses an input image signal and outputs the compressed image signal to an external apparatus, and also expands and outputs a compressed image signal input from the external apparatus, A compression / expansion unit including a compression unit that compresses the image signal to obtain the compressed image signal and an expansion unit that decompresses the compressed image signal to obtain the image signal;
A compressed data buffer, which is interposed between the compression / expansion unit and the external device, temporarily holds the compressed image signal, and data for controlling a write operation and a read operation of the compressed image signal in the compressed data buffer. A transfer control unit, wherein the compression unit and the decompression unit perform compression and decompression, respectively, by performing operations that are opposite to each other, and the data transfer control unit includes the compression data decompression unit and the compression decompression unit. Write or read the compressed image signal to or from the compression / expansion unit in response to a request from the external device, and read or write the compressed image signal to or from the external device in response to a request from the external device. The compressed data buffer is controlled so that

【0023】第11の発明の装置は、第5ないし第9の
いずれかの発明の画像伸張装置において、前記圧縮画像
信号が可変長符号のデータであり、前記伸張部は、圧縮
された単一のデータを復号する小規模デコーダと、前記
小規模デコーダの略半分の処理速度特性を有し圧縮され
た2個以上のデータを復号する大規模デコーダと、前記
小規模デコーダおよび前記大規模デコーダへ同時に前記
圧縮された単一または二個以上のデータを与える入力デ
ータ制御手段と、前記小規模デコーダからの出力データ
と大規模デコーダからの出力データとを切り替えて出力
する第1の切り替え手段と、前記第1の切り替え手段か
らの出力データを単位時間だけ遅延させて出力する遅延
手段と、所定のタイミング信号に基づいて前記第1の切
り替え手段からの出力データと前記遅延手段からの出力
データとを切り替えて出力する第2の切り替え手段と、
前記第2の切り替え手段を前記遅延手段からの出力デー
タから前記第1の切り替え手段からの出力データに切り
替えるための前記所定のタイミング信号を生成するタイ
ミング制御手段とを備え、前記小規模デコーダは、受け
たデータが単一のデータか2個以上のデータかを判定す
る判定手段を有し、前記タイミング制御手段は、前記小
規模デコーダの前記判定手段での判定信号に基づいて、
前記第1の切り替え手段が前記小規模デコーダからの出
力データから前記大規模デコーダからの出力データに切
り替わった際に生じる不定データを検出する不定タイミ
ング検出手段と、前記不定タイミング検出手段からの信
号に基づいて前記所定のタイミング信号を前記第2の切
り替え手段へ出力するタイミング信号出力手段とを備え
ることを特徴とする。
An apparatus according to an eleventh invention is the image decompression apparatus according to any one of the fifth to ninth inventions, wherein the compressed image signal is data of variable length code, and the decompression unit is a compressed single signal. To a small-scale decoder for decoding the above data, a large-scale decoder for decoding two or more compressed data having a processing speed characteristic almost half that of the small-scale decoder, and the small-scale decoder and the large-scale decoder. At the same time, input data control means for giving the compressed single or two or more data, and first switching means for switching and outputting the output data from the small-scale decoder and the output data from the large-scale decoder, A delay unit that delays and outputs the output data from the first switching unit by a unit time, and a delay unit from the first switching unit based on a predetermined timing signal. A second switching means for switching and outputting the output data from the force data the delay means,
Timing control means for generating the predetermined timing signal for switching the second switching means from the output data from the delay means to the output data from the first switching means, and the small-scale decoder, The timing control means has a judgment means for judging whether the received data is a single data or two or more data, and the timing control means, based on the judgment signal from the judgment means of the small-scale decoder,
An indefinite timing detection means for detecting indefinite data generated when the first switching means switches from the output data from the small-scale decoder to the output data from the large-scale decoder, and a signal from the indefinite timing detection means. Timing signal output means for outputting the predetermined timing signal to the second switching means on the basis of the predetermined timing signal.

【0024】第12の発明の装置は、第1ないし第4の
いずれかの発明の画像圧縮装置において、前記圧縮部が
パイプラインで前記画像信号に対する所定の処理を行う
ものであって、前記圧縮部が、与えられた水平の同期信
号および垂直の同期信号に基づいて各パイプラインが有
効に動作するタイミングを検出し所定のイネーブル信号
を出力するイネーブル手段と、前記イネーブル手段から
の前記所定のイネーブル信号を受けたときのみ前記パイ
プライン内の信号処理を許可し、前記所定のイネーブル
信号を受けないときに前記パイプライン内の信号処理を
停止させる処理制御手段とを備えることを特徴とする。
An apparatus according to the twelfth invention is the image compression apparatus according to any one of the first to fourth inventions, wherein the compression section performs a predetermined process on the image signal by a pipeline. The unit detects an effective timing of each pipeline based on the given horizontal synchronizing signal and vertical synchronizing signal and outputs a predetermined enable signal, and the predetermined enable from the enabling unit. And a processing control unit that permits signal processing in the pipeline only when a signal is received and stops signal processing in the pipeline when the predetermined enable signal is not received.

【0025】第13の発明の装置は、第1ないし第4の
いずれかの発明の画像圧縮装置において、前記圧縮部が
パイプラインで前記画像信号に対する所定の処理を行う
ものであって、前記圧縮部が、与えられた水平の同期信
号および垂直の同期信号に基づいて各パイプラインが有
効に動作するタイミングを検出し所定のイネーブル信号
を出力するイネーブル手段と、前記所定のイネーブル信
号を信号処理のパイプラインの段数分だけ遅延させるイ
ネーブル信号遅延手段と、前記イネーブル手段または前
記イネーブル信号遅延手段からの各段に対応した前記所
定のイネーブル信号を受けたときのみ前記パイプライン
内の信号処理を許可し、前記所定のイネーブル信号を受
けないときに前記パイプライン内の信号処理を停止させ
る処理制御手段とを備えることを特徴とする。
An apparatus according to a thirteenth invention is the image compression apparatus according to any one of the first to fourth inventions, wherein the compression section performs a predetermined process on the image signal by a pipeline. The unit detects the timing at which each pipeline effectively operates based on the given horizontal synchronizing signal and vertical synchronizing signal and outputs a predetermined enable signal; and a signal processing the predetermined enable signal. Enable signal delay means for delaying by the number of stages of the pipeline, and signal processing in the pipeline is permitted only when the enable means or the predetermined enable signal corresponding to each stage from the enable signal delay means is received. Processing control means for stopping signal processing in the pipeline when the predetermined enable signal is not received, Characterized in that it comprises.

【0026】第14の発明の装置は、第5ないし第9の
いずれかの発明の画像伸張装置において、前記伸張部が
パイプラインで前記圧縮画像信号に対する所定の処理を
行うものであって、前記伸張部が、与えられた水平の同
期信号および垂直の同期信号に基づいて各パイプライン
が有効に動作するタイミングを検出し所定のイネーブル
信号を出力するイネーブル手段と、前記イネーブル手段
からの前記所定のイネーブル信号を受けたときのみ前記
パイプライン内の信号処理を許可し、前記所定のイネー
ブル信号を受けないときに前記パイプライン内の信号処
理を停止させる処理制御手段とを備えることを特徴とす
る。
An apparatus according to a fourteenth invention is the image decompression apparatus according to any one of the fifth to ninth inventions, wherein the decompression unit performs a predetermined process on the compressed image signal by a pipeline. The decompression unit detects the timing at which each pipeline operates effectively based on the given horizontal synchronizing signal and vertical synchronizing signal and outputs a predetermined enable signal, and the predetermined enabling signal from the enabling unit. And a processing control means for permitting the signal processing in the pipeline only when receiving the enable signal and stopping the signal processing in the pipeline when not receiving the predetermined enable signal.

【0027】第15の発明の装置は、第5ないし第9の
いずれかの発明の画像伸張装置において、前記伸張部が
パイプラインで前記圧縮画像信号に対する所定の処理を
行うものであって、前記伸張部が、与えられた水平の同
期信号および垂直の同期信号に基づいて各パイプライン
が有効に動作するタイミングを検出し所定のイネーブル
信号を出力するイネーブル手段と、前記所定のイネーブ
ル信号を信号処理のパイプラインの段数分だけ遅延させ
るイネーブル信号遅延手段と、前記イネーブル手段また
は前記イネーブル信号遅延手段からの各段に対応した前
記所定のイネーブル信号を受けたときのみ前記パイプラ
イン内の信号処理を許可し、前記所定のイネーブル信号
を受けないときに前記パイプライン内の信号処理を停止
させる処理制御手段とを備えることを特徴とする。
An apparatus according to the fifteenth invention is the image decompression apparatus according to any one of the fifth to ninth inventions, wherein the decompression unit pipelines a predetermined process for the compressed image signal. An expansion unit detects the timing at which each pipeline operates effectively based on the given horizontal synchronization signal and vertical synchronization signal and outputs a predetermined enable signal, and a signal processing of the predetermined enable signal. Enable signal delay means for delaying by the number of stages of the pipeline, and the signal processing in the pipeline is permitted only when the enable signal or the predetermined enable signal corresponding to each stage from the enable signal delay means is received. However, the processing control hand that stops the signal processing in the pipeline when the predetermined enable signal is not received. Characterized in that it comprises and.

【0028】[0028]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

<1.画像圧縮装置>図1は、この発明の実施の形態にお
ける画像圧縮装置の構成を示すブロック図である。図1
に示すように、この装置91は、ビデオ信号デコーダ
1、圧縮部2、データ転送制御部3、圧縮データバッフ
ァ4、および、タイミング発生部5を備えている。装置
91を使用する際には、例えばテレビカメラ等の図示し
ない外部装置から、例えばNTSC信号などのビデオ信
号11が入力されるとともに、もう一つの外部装置9が
接続される。外部装置9は、例えば圧縮された画像信号
を蓄積する画像蓄積装置、あるいは、画像信号を伝送す
る伝送経路などである。
<1. Image Compressing Device> FIG. 1 is a block diagram showing the configuration of the image compressing device according to the embodiment of the present invention. FIG.
As shown in, the device 91 includes a video signal decoder 1, a compression unit 2, a data transfer control unit 3, a compressed data buffer 4, and a timing generation unit 5. When using the device 91, a video signal 11 such as an NTSC signal is input from an external device (not shown) such as a television camera, and another external device 9 is connected. The external device 9 is, for example, an image storage device that stores a compressed image signal, a transmission path that transmits an image signal, or the like.

【0029】ビデオ信号デコーダ1は、一般には動的画
像であるビデオ信号11を受信し、このビデオ信号11
を復調することによってデジタル画像信号12を得ると
ともに、ビデオ信号11から水平および垂直同期信号1
5を抽出する。また、圧縮部2は、ビデオ信号デコーダ
1で得られたデジタル画像信号12を圧縮することによ
って、圧縮画像信号13を得る。圧縮部2では、例えば
JPEGを基本とした手法などの、フレーム内符号化の
アルゴリズムにもとづいて、画像の圧縮が行なわれる。
The video signal decoder 1 receives a video signal 11, which is typically a dynamic image, and the video signal 11
A digital image signal 12 is obtained by demodulating the
Extract 5. The compression unit 2 also obtains a compressed image signal 13 by compressing the digital image signal 12 obtained by the video signal decoder 1. The compression unit 2 compresses an image based on an intra-frame encoding algorithm such as a method based on JPEG.

【0030】タイミング発生部5は、同期信号15にも
とづいて、圧縮部2へ制御信号16を送出する。圧縮部
2は、この制御信号16に同期して、デジタル画像信号
12の圧縮を行う。また、圧縮データバッファ4は、圧
縮画像信号13を一時的に蓄積する記憶媒体であり、好
ましくはRAMを備えている。圧縮データバッファ4の
動作は、データ転送制御部3によって制御される。
The timing generator 5 sends a control signal 16 to the compressor 2 based on the synchronization signal 15. The compression unit 2 compresses the digital image signal 12 in synchronization with the control signal 16. The compressed data buffer 4 is a storage medium that temporarily stores the compressed image signal 13, and preferably includes a RAM. The operation of the compressed data buffer 4 is controlled by the data transfer control unit 3.

【0031】データ転送制御部3は、圧縮部2から送出
される圧縮画像信号13の書き込みが行なわれるととも
に、一時的に蓄積された動作圧縮画像信号13が外部装
置9へと読み出されるように、圧縮データバッファ4を
制御する。すなわち、圧縮データバッファ4は、データ
転送制御部3の働きによって、圧縮部2から外部装置9
への圧縮画像信号13の転送を媒介する緩衝体としての
機能を果たす。
The data transfer control unit 3 writes the compressed image signal 13 sent from the compression unit 2, and at the same time, the operation compressed image signal 13 temporarily stored is read out to the external device 9. Control the compressed data buffer 4. That is, the compressed data buffer 4 operates from the compression unit 2 to the external device 9 by the function of the data transfer control unit 3.
It functions as a buffer that mediates the transfer of the compressed image signal 13 to and from.

【0032】データ転送制御部3は、圧縮部2から送出
される画面最終データ信号17、圧縮データ生成信号1
8、および、外部装置9から送出される圧縮データ読み
出し要請信号21、バンク切換要請信号22にもとづい
て、メモリ制御信号19、メモリアドレス信号20を圧
縮データバッファ4へと出力する。このことによって、
圧縮データバッファ4の制御が行われる。これらの信号
の機能、およびデータ転送制御部3の内部構成について
は後述する。
The data transfer control unit 3 receives the screen final data signal 17 and the compressed data generation signal 1 sent from the compression unit 2.
8 and the compressed data read request signal 21 and the bank switching request signal 22 sent from the external device 9, the memory control signal 19 and the memory address signal 20 are output to the compressed data buffer 4. This allows
The compressed data buffer 4 is controlled. The functions of these signals and the internal configuration of the data transfer control unit 3 will be described later.

【0033】図2は、圧縮データバッファ4のメモリ空
間の構成例を示す模式図である。図2に示すように、圧
縮画像信号13は、圧縮データバッファ4の中に、1画
面ごとに格納される。この1画面分の圧縮画像信号13
が格納されるメモリエリアを、この明細書ではバンクと
称する。図2の例では、圧縮データバッファ4のメモリ
空間には、2個のバンクが設けられている。このような
メモリ空間の構成も、データ転送制御部3の制御によっ
て決定される。
FIG. 2 is a schematic diagram showing a configuration example of the memory space of the compressed data buffer 4. As shown in FIG. 2, the compressed image signal 13 is stored in the compressed data buffer 4 for each screen. This one-screen compressed image signal 13
The memory area in which is stored is referred to as a bank in this specification. In the example of FIG. 2, the memory space of the compressed data buffer 4 is provided with two banks. The configuration of such a memory space is also determined by the control of the data transfer control unit 3.

【0034】図3は、図2に例示した圧縮データバッフ
ァ4の動作を示す説明図である。図3に示すように、2
つのバンクの一方(バンク1)は圧縮画像信号13の書
き込み用として機能し、他方(バンク2)は読み出し用
として機能する。しかも、これらの機能は、時刻の経過
にともなって交互に入れ替わる。
FIG. 3 is an explanatory diagram showing the operation of the compressed data buffer 4 illustrated in FIG. As shown in FIG.
One of the banks (bank 1) functions for writing the compressed image signal 13, and the other (bank 2) functions for reading. Moreover, these functions alternate with the passage of time.

【0035】すなわち、圧縮部2から送出される1画面
分の圧縮画像信号13が、一方のバンクに書き込まれて
いる期間は、他方のバンクは読み出し可能状態となる。
このとき、他方のバンクからは、先に格納された1画面
分の圧縮画像信号13が外部装置9へと読み出される。
2個のバンクの機能が、交互に切り換えられることによ
って、圧縮画像信号13の書き込みと読み出しとが、同
時並列的に行われ得る。
That is, while the compressed image signal 13 for one screen sent from the compression unit 2 is written in one bank, the other bank is in a readable state.
At this time, the previously stored compressed image signal 13 for one screen is read out to the external device 9 from the other bank.
By alternately switching the functions of the two banks, writing and reading of the compressed image signal 13 can be performed simultaneously in parallel.

【0036】しかも、圧縮部2は、その圧縮動作に合わ
せて圧縮画像信号13を圧縮データバッファ4へ書き込
むことが可能である一方、外部装置9は、1つのバンク
が読み出し可能となっている期間の間に1画面分の読み
出しを完了すればよく、圧縮部2の動作に同期して読み
出し動作を行う必要がない。このため、読み出し動作の
速度を平均化することができるので、外部装置9は高速
で読み出しを行う必要がなくなる。すなわち、圧縮画像
信号13の転送能力に関する外部装置9の負担が軽減さ
れる。このことは、外部装置9が例えば伝送経路を有す
る場合には、伝送能力の低い簡便な伝送経路の使用をも
可能にする。
Moreover, the compression unit 2 can write the compressed image signal 13 to the compressed data buffer 4 in accordance with the compression operation, while the external device 9 can read one bank. It suffices to complete the reading of one screen during the period, and it is not necessary to perform the reading operation in synchronization with the operation of the compression unit 2. Therefore, the read operation speed can be averaged, and the external device 9 does not need to read at high speed. That is, the load of the external device 9 on the transfer capability of the compressed image signal 13 is reduced. This also enables the use of a simple transmission path with low transmission capability when the external device 9 has a transmission path, for example.

【0037】なお、図2および図3では、圧縮データバ
ッファ4のメモリ空間が2つのバンクを有する例を示し
たが、一般には、複数のバンク構成が可能である。例え
ば、メモリ空間が3個以上のバンクを有し、1つのバン
クに対して書き込みが行われている期間に、外部装置9
からの要求に応じて、残りのバンクの一つが選択され、
読み出しが行われるように、圧縮データバッファ4およ
びデータ転送制御部3を構成してもよい。
Although FIG. 2 and FIG. 3 show an example in which the memory space of the compressed data buffer 4 has two banks, in general, a plurality of banks can be configured. For example, when the memory space has three or more banks and writing is performed to one bank, the external device 9
One of the remaining banks was selected according to the request from
The compressed data buffer 4 and the data transfer control unit 3 may be configured so that reading is performed.

【0038】また、圧縮データバッファ4は、外部装置
9の個数に応じて、並列に複数個設けられてもよい。こ
のとき、圧縮部2から複数個の圧縮データバッファ4へ
と、圧縮画像信号13が同時に書き込まれる。そして、
複数の圧縮データバッファ4から複数の外部装置9へ
と、それぞれ個別に読み出しが行われる。読み出し動作
の速度も、各外部装置9の要求速度に応じて、個別に設
定される。
A plurality of compressed data buffers 4 may be provided in parallel according to the number of external devices 9. At this time, the compressed image signal 13 is simultaneously written from the compression unit 2 to the plurality of compressed data buffers 4. And
Reading is performed individually from the plurality of compressed data buffers 4 to the plurality of external devices 9. The read operation speed is also set individually according to the required speed of each external device 9.

【0039】<2.画像伸張装置>図4は、この発明の実
施の形態における画像伸張装置の構成を示すブロック図
である。図4に示すように、この装置92には、上述し
た装置91と同様に、データ転送制御部3、圧縮データ
バッファ4、および、タイミング発生部5が備わってい
る。また、装置91における圧縮部2およびビデオ信号
デコーダ1が、それぞれ伸張部6およびビデオ信号エン
コーダ7へと、あたかも置き換えられている。さらに、
ビデオ信号エンコーダ7とタイミング発生部5とに信号
を供給する同期信号発生部8が備わっている。
<2. Image Decompression Device> FIG. 4 is a block diagram showing the structure of the image decompression device according to the embodiment of the present invention. As shown in FIG. 4, this device 92 is provided with the data transfer control unit 3, the compressed data buffer 4, and the timing generation unit 5, similarly to the above-mentioned device 91. Further, the compression unit 2 and the video signal decoder 1 in the device 91 are replaced by a decompression unit 6 and a video signal encoder 7, respectively. further,
The video signal encoder 7 and the timing generator 5 are provided with a sync signal generator 8 for supplying signals.

【0040】装置92では、圧縮データバッファ4は、
外部装置9から伸張部6への圧縮画像信号13の転送を
媒介する機能を果たす。すなわち、データ転送制御部3
は、外部装置9から送出される圧縮画像信号13の書き
込みが行われるとともに、一時的に蓄積された圧縮画像
信号13が伸張部6へと読み出されるように、圧縮デー
タバッファ4を制御する。
In the device 92, the compressed data buffer 4 is
It functions to mediate transfer of the compressed image signal 13 from the external device 9 to the decompression unit 6. That is, the data transfer control unit 3
Controls the compressed data buffer 4 such that the compressed image signal 13 sent from the external device 9 is written and the temporarily stored compressed image signal 13 is read out to the decompression unit 6.

【0041】データ転送制御部3は、伸張部6から送出
される画面最終データ信号17、伸張データ要請信号2
3、および、外部装置9から送出される伸張データ書込
み要請信号24、バンク切換要請信号22にもとづい
て、メモリ制御信号19、メモリアドレス信号20を圧
縮データバッファ4へと出力する。このことによって、
圧縮データバッファ4の制御が行われる。
The data transfer control unit 3 sends the screen final data signal 17 and the decompression data request signal 2 sent from the decompression unit 6.
3, and the memory control signal 19 and the memory address signal 20 are output to the compressed data buffer 4 based on the expansion data write request signal 24 and the bank switching request signal 22 sent from the external device 9. This allows
The compressed data buffer 4 is controlled.

【0042】同期信号発生部8は、水平および垂直同期
信号15を発生する。また、タイミング発生部5は、同
期信号発生部8で生成された同期信号15にもとづい
て、制御信号16を伸張部6へと送出する。
The sync signal generator 8 generates horizontal and vertical sync signals 15. Further, the timing generation section 5 sends the control signal 16 to the decompression section 6 based on the synchronization signal 15 generated by the synchronization signal generation section 8.

【0043】伸張部6は、圧縮データバッファ4から読
み取った圧縮画像信号13を伸張することによって、デ
ジタル画像信号12を再構成する。伸張部6は、フレー
ム内符号化のアルゴリズムにもとづいて、伸張動作を実
行する。また、伸張部6による伸張動作は、制御信号1
6に同期して行われる。
The decompression section 6 reconstructs the digital image signal 12 by decompressing the compressed image signal 13 read from the compressed data buffer 4. The decompression unit 6 executes the decompression operation based on the intra-frame coding algorithm. Further, the decompression operation by the decompression unit 6 is controlled by the control signal
It is performed in synchronization with 6.

【0044】ビデオ信号エンコーダ7は、再構成された
デジタル画像信号12と、同期信号15とから、例えば
NTSC信号の形式のビデオ信号11を再構成して、外
部へと出力する。
The video signal encoder 7 reconstructs the video signal 11 in the form of, for example, an NTSC signal from the reconstructed digital image signal 12 and the synchronizing signal 15 and outputs it to the outside.

【0045】装置92と装置91とが、互いに対で使用
可能な関係にあるとき、すなわち、装置91で得られた
圧縮画像信号13を装置92で伸張することによって、
ビデオ信号11を再構成可能な関係にあるときには、伸
張部6と圧縮部2は、互いに逆の処理を実行する。例え
ば、圧縮部2がJPEGを基本としたアルゴリズムにも
とづいて、画像の圧縮を行なうときには、対応する伸張
部6は、JPEGを基本としたアルゴリズムにもとづく
伸張を実行する。同様に、ビデオ信号エンコーダ7と、
対応するビデオ信号デコーダ1とは、互いに逆の処理を
実行する。
When the device 92 and the device 91 are in a pair-usable relationship with each other, that is, by decompressing the compressed image signal 13 obtained by the device 91 by the device 92,
When the video signal 11 has a reconfigurable relationship, the decompressing unit 6 and the compressing unit 2 perform processing opposite to each other. For example, when the compression unit 2 compresses an image based on an algorithm based on JPEG, the corresponding decompression unit 6 executes decompression based on an algorithm based on JPEG. Similarly, the video signal encoder 7 and
The corresponding video signal decoder 1 performs the opposite processing.

【0046】装置92における圧縮データバッファ4の
メモリ空間は、装置91と同様に構成される。例えば、
圧縮データバッファ4のメモリ空間は、図2で示され
る。そして、その動作は、図5の説明図で示される。す
なわち、2つのバンクの一方(バンク1)から1画面分
の圧縮画像信号13が、伸張部6によって読み出されて
いる期間は、他方のバンク(バンク2)は書込み可能状
態となる。このとき、他方のバンクには、1画面分の圧
縮画像信号13が外部装置9から書き込まれる。これら
の2個のバンクの機能が、交互に切り換えられることに
よって、圧縮画像信号13の書込みと読み出しとが、同
時並列的に行われる。
The memory space of the compressed data buffer 4 in the device 92 is constructed similarly to the device 91. For example,
The memory space of the compressed data buffer 4 is shown in FIG. The operation is shown in the explanatory diagram of FIG. That is, while the compressed image signal 13 for one screen from one of the two banks (bank 1) is being read by the decompression unit 6, the other bank (bank 2) is in the writable state. At this time, the compressed image signal 13 for one screen is written from the external device 9 to the other bank. By alternately switching the functions of these two banks, writing and reading of the compressed image signal 13 are performed simultaneously in parallel.

【0047】伸張部6は、その伸張動作に合わせて圧縮
データバッファ4から圧縮画像信号13を読み出すこと
が可能である一方、外部装置9は、1つのバンクが書込
み可能となっている期間の間に1画面分の書込みを完了
すればよく、伸張部6の動作に同期して書込み動作を行
う必要がない。このため、書込み動作の速度を平均化す
ることができるので、外部装置9は高速で書込みを行う
必要がなくなる。すなわち、圧縮画像信号13の転送能
力に関する外部装置9の負担が軽減される。このこと
は、外部装置9が例えば伝送経路を有する場合には、伝
送能力の低い簡便な伝送経路の使用をも可能にする。
The decompression unit 6 can read the compressed image signal 13 from the compressed data buffer 4 in accordance with the decompression operation, while the external device 9 is in the period during which one bank is writable. It is only necessary to complete the writing for one screen, and it is not necessary to perform the writing operation in synchronization with the operation of the decompression unit 6. Therefore, the speed of the write operation can be averaged, and the external device 9 does not need to write at a high speed. That is, the load of the external device 9 on the transfer capability of the compressed image signal 13 is reduced. This also enables the use of a simple transmission path with low transmission capability when the external device 9 has a transmission path, for example.

【0048】また、外部装置9からデータ転送制御部3
への指示によって、一つのバンクに保持されている1画
面分の圧縮画像信号13を、伸張部6へと反復的に読出
すことも可能である。このとき、外部装置9が同一の1
画面分の圧縮画像信号13を反復的に圧縮データバッフ
ァ4へと書き込まなくても、静止画像に対応するビデオ
信号11が再構成される。すなわち、静止画像を伸張す
るときに、外部装置9は、同一の圧縮画像信号13を反
復的に供給する必要がない。
In addition, the data transfer control unit 3 from the external device 9
It is also possible to repeatedly read the compressed image signal 13 for one screen held in one bank to the decompression unit 6 in response to the instruction. At this time, the external device 9 has the same 1
Even if the compressed image signal 13 for the screen is not repeatedly written to the compressed data buffer 4, the video signal 11 corresponding to the still image is reconstructed. That is, when decompressing a still image, the external device 9 does not need to repeatedly supply the same compressed image signal 13.

【0049】このように、装置92は、外部装置9の書
込み動作における冗長性をも解消する。このことも、圧
縮画像信号13の転送に関する外部装置9の負担の軽減
に寄与する。
Thus, the device 92 also eliminates the redundancy in the write operation of the external device 9. This also contributes to reducing the load on the external device 9 regarding the transfer of the compressed image signal 13.

【0050】なお、図5では、圧縮データバッファ4の
メモリ空間が2つのバンクを有する例を示したが、装置
91と同様に、一般には複数のバンク構成が可能であ
る。また、装置91と同様に、外部装置9の個数に応じ
て、複数個の圧縮データバッファ4を並列に設けること
も可能である。
Although FIG. 5 shows an example in which the memory space of the compressed data buffer 4 has two banks, generally, like the device 91, a plurality of banks can be formed. Further, like the device 91, it is possible to provide a plurality of compressed data buffers 4 in parallel according to the number of external devices 9.

【0051】<3.データ転送制御部>つぎに、装置9
1,92に共通に備わるデータ転送制御部3の構成例
と、その動作について詳述する。図6は、図2、図3、
および図5の動作を実現するデータ転送制御部3の構成
を示すブロック図である。図6に示すように、データ転
送制御部3は、アクセス調停部30、メモリアドレス生
成部31、および、メモリ制御タイミング生成部39を
備えている。
<3. Data Transfer Control Unit> Next, the device 9
An example of the configuration of the data transfer control unit 3 that is commonly provided for the No. 1 and 92 and its operation will be described in detail. 6 is shown in FIG.
6 is a block diagram showing a configuration of a data transfer control unit 3 that realizes the operation of FIG. As shown in FIG. 6, the data transfer control unit 3 includes an access arbitration unit 30, a memory address generation unit 31, and a memory control timing generation unit 39.

【0052】アクセス調停部30は、圧縮部2(または
伸張部6)と外部装置9との間で、圧縮データバッファ
4へのアクセス(すなわち、書込みまたは読出し動作)
の調停を行う。この調停は、圧縮部2(または伸張部
6)から送出される圧縮データ生成信号18(または伸
張データ要請信号23)と、外部装置9から送出される
圧縮データ読み出し要請信号21(または伸張データ書
込み要請信号24)とにもとづいて行われる。
The access arbitration unit 30 accesses the compressed data buffer 4 between the compression unit 2 (or decompression unit 6) and the external device 9 (that is, write or read operation).
Mediation of This arbitration is performed by the compressed data generation signal 18 (or the expanded data request signal 23) sent from the compression unit 2 (or the expanded unit 6) and the compressed data read request signal 21 (or the expanded data write signal) sent from the external device 9. It is performed based on the request signal 24).

【0053】圧縮データ生成信号18(または伸張デー
タ要請信号23)は、圧縮データバッファ4に対して書
込み(または読出し)動作を指示する信号であり、圧縮
部2(または伸張部6)が書込み(または読出し)動作
を行うごとに送出される。また、圧縮データ読み出し要
請信号21(または伸張データ書込み要請信号24)
は、圧縮データバッファ4に対して読出し(または書込
み)動作を指示する信号であり、外部装置9が読出し
(または書込み)動作を行うごとに、外部装置9から送
出される。
The compressed data generation signal 18 (or decompressed data request signal 23) is a signal for instructing the compressed data buffer 4 to perform a write (or read) operation, and is written by the compression unit 2 (or decompression unit 6). Or it is sent every time a read operation is performed. In addition, the compressed data read request signal 21 (or the expanded data write request signal 24)
Is a signal instructing the compressed data buffer 4 to perform a read (or write) operation, and is sent from the external device 9 every time the external device 9 performs a read (or write) operation.

【0054】また、メモリ制御タイミング生成部39
は、アクセス調停部30によるアクセス調停の結果に応
答して、圧縮データバッファ4に付与するメモリ制御信
号19、すなわち書込み動作および読出し動作を制御す
る信号を生成する。さらに、メモリアドレス生成部31
は、圧縮データバッファ4に付与するメモリアドレス信
号20を生成する装置部分である。このメモリアドレス
生成部31は、レジスタ32,33,35,36、アド
レス生成部34,37、および、アドレス選択部38を
備えている。
Further, the memory control timing generator 39
Responds to the result of access arbitration by the access arbitration unit 30 to generate a memory control signal 19 given to the compressed data buffer 4, that is, a signal for controlling a write operation and a read operation. Furthermore, the memory address generation unit 31
Is a device portion that generates the memory address signal 20 to be given to the compressed data buffer 4. The memory address generation unit 31 includes registers 32, 33, 35, 36, address generation units 34, 37, and an address selection unit 38.

【0055】レジスタ32,35は、1画面分の圧縮画
像信号13のデータ長の値を一時的に保持する記憶媒体
を有している。このデータ長は、後述するように、アド
レス生成部34,37によって算出される。ただし、画
像伸張装置92においては、外部装置9からデータ転送
制御部3へと、データ長の値が直接に送信され、この値
がレジスタ32,35に保持されるようにデータ転送制
御部3を構成してもよい。
The registers 32 and 35 have a storage medium for temporarily holding the value of the data length of the compressed image signal 13 for one screen. This data length is calculated by the address generators 34 and 37 as described later. However, in the image decompressing device 92, the data length value is directly transmitted from the external device 9 to the data transfer control unit 3, and the data transfer control unit 3 is controlled so that this value is held in the registers 32 and 35. You may comprise.

【0056】レジスタ33,36は、1画面分の圧縮画
像信号13の先頭アドレスの値を一時的に保存する記憶
媒体である。この先頭アドレスの値は、外部装置9によ
って設定される。
The registers 33 and 36 are storage media for temporarily storing the value of the head address of the compressed image signal 13 for one screen. The value of this start address is set by the external device 9.

【0057】アドレス生成部34,37は、レジスタ3
2,35に保持されるデータ長、レジスタ33,36に
保持される先頭アドレス、および、画面最終データ信号
17にもとづいて、圧縮データバッファ4のアドレスを
指定するメモリアドレス信号20を生成する。画面最終
データ信号17は、1画面の終了を通知する信号であ
り、1画面の圧縮(または伸張)が終了するごとに、圧
縮部2(または伸張部6)から送出される。
The address generators 34 and 37 use the register 3
The memory address signal 20 designating the address of the compressed data buffer 4 is generated based on the data lengths held in 2, 35, the start address held in the registers 33, 36, and the screen end data signal 17. The screen final data signal 17 is a signal for notifying the end of one screen, and is sent from the compression unit 2 (or the expansion unit 6) every time the compression (or expansion) of one screen is completed.

【0058】アドレス選択部38は、画面最終データ信
号17、バンク切換要請信号22、および、アクセス調
停部30による調停の結果にもとづいて、アドレス生成
部34,37が生成する2通りのメモリアドレス信号2
0の一方を選択して出力する。図6に示すように、アド
レス生成部34,37が2個備わっているのは、圧縮デ
ータバッファ4のメモリ空間における2つのバンクごと
に、アドレスを生成するためである。すなわち、アドレ
ス生成部34,37は、2つのバンクを個別に管理して
いる。
The address selecting section 38 uses the screen final data signal 17, the bank switching request signal 22, and the arbitration result of the access arbitration section 30 to generate two memory address signals generated by the address generating sections 34 and 37. Two
One of 0 is selected and output. As shown in FIG. 6, two address generators 34 and 37 are provided to generate an address for every two banks in the memory space of the compressed data buffer 4. That is, the address generators 34 and 37 individually manage the two banks.

【0059】アドレスは、圧縮データバッファ4へのア
クセスが行われるごとに、先頭アドレスに対してインク
リメントするように計算される。装置91においては、
画面最終データ信号17が入力された時点で先頭アドレ
スへと初期化される。装置92においては、レジスタ3
2,35に保持されるデータ長に相当するまでインクリ
メントが行われた時点で、先頭アドレスへと初期化され
る。
The address is calculated so as to be incremented with respect to the head address each time the compressed data buffer 4 is accessed. In the device 91,
When the screen final data signal 17 is input, it is initialized to the start address. In device 92, register 3
When the increment is performed until the data length is held in 2, 35, the initial address is initialized.

【0060】2つのアドレス生成部34,37が管理す
るバンクの役割に応じて、これらのアドレス生成部3
4,37の一方が、圧縮部2による書込み(または伸張
部6による読出し)のためのアドレスを生成するときに
は、他方は外部装置9からの読出し(または書込み)の
ためのアドレスを生成する。そして、アドレス生成部3
4,37のこれらの機能も、それらが管理するバンクの
役割が交互に切り替えられるのに応じて、交互に切り替
えられる。
Depending on the role of the bank managed by the two address generators 34, 37, these address generators 3
When one of 4, 37 generates an address for writing by the compression unit 2 (or reading by the decompression unit 6), the other generates an address for reading (or writing) from the external device 9. Then, the address generation unit 3
These functions of 4, 37 are also switched as the roles of the banks they manage are switched alternately.

【0061】この切換は、バンク切換要請信号22によ
って指示される。また、この切り替えは、1画面分の圧
縮画像信号13の最終データの書込みに同期して行われ
るので、外部装置9はバンク切換要請信号22を送出す
るタイミングを正確に計る必要がない。
This switching is instructed by the bank switching request signal 22. Further, since this switching is performed in synchronization with the writing of the final data of the compressed image signal 13 for one screen, the external device 9 does not need to accurately measure the timing of sending the bank switching request signal 22.

【0062】バンクの役割が切り替えられるのに応じ
て、アドレス生成部34,37の機能も切り替えられる
ので、アドレス生成部34,37の各1は、1つのバン
クの書込みと読出しとの双方を管理することになる。し
たがって、それぞれが管理しているバンクに書き込まれ
た1画面分の圧縮画像信号13の格納場所に関する情報
は、アドレス生成部34,37によって保持され、読出
しの際に生かされる。
Since the functions of the address generators 34 and 37 are switched in accordance with the switching of the role of the bank, each 1 of the address generators 34 and 37 manages both writing and reading of one bank. Will be done. Therefore, the information regarding the storage location of the compressed image signal 13 for one screen written in the banks managed by each is held by the address generation units 34 and 37, and is utilized at the time of reading.

【0063】この切替えは、装置92においても同様に
行われる。さらに装置92では、バンク切換要請信号2
2が送出されるまでは、同一画面の圧縮画像信号13を
反復して読み出すようにアドレスが生成される。このた
め、外部装置9は静止画像に相当する圧縮画像信号13
を送出するときには、その期間にわたってバンク切換要
請信号22の送出を停止するとよい。そうすることによ
って、外部装置9は、同一の圧縮画像信号13を反復的
に送出することなく、同一の1画面分の圧縮画像信号1
3の伸張が反復的に実行される。その結果、ビデオ信号
エンコーダ7からは静止画像としてのビデオ信号11が
得られる。
This switching is similarly performed in the device 92. Further, in the device 92, the bank switching request signal 2
Addresses are generated so that the compressed image signal 13 of the same screen is read repeatedly until 2 is transmitted. Therefore, the external device 9 uses the compressed image signal 13 corresponding to the still image.
Is transmitted, the transmission of the bank switching request signal 22 may be stopped during that period. By doing so, the external device 9 does not repeatedly send the same compressed image signal 13 and the compressed image signal 1 for the same one screen.
A decompression of 3 is performed iteratively. As a result, the video signal 11 as a still image is obtained from the video signal encoder 7.

【0064】なお、通常のメモリアクセスと同様に、外
部装置9からアドレスを直接に指定することによって、
外部装置9による圧縮画像信号13の読出しおよび書込
みが実行されるようにデータ転送制御部3を構成しても
よい。
As in the case of normal memory access, by directly designating an address from the external device 9,
The data transfer control unit 3 may be configured such that the compressed image signal 13 is read and written by the external device 9.

【0065】図7は、アドレス生成部34,37を代表
して、アドレス生成部34の構成例を示すブロック図で
ある。まず、このアドレス生成部34が装置91に組み
込まれている例について説明する。
FIG. 7 is a block diagram showing a configuration example of the address generation unit 34 on behalf of the address generation units 34 and 37. First, an example in which the address generator 34 is incorporated in the device 91 will be described.

【0066】アドレス生成部34は、オフセットレジス
タ41、加算部42、およびスイッチ部43を備えてい
る。アドレス生成部34が管理するバンクへ、圧縮部2
による書込みが行われるときには、オフセットレジスタ
41は、1画面ごとの圧縮画像信号13の切れ目に対応
する画面最終データ信号17に応答して、保持する値を
ゼロに初期化する。その後、圧縮データ生成信号18に
応答して、保持する値を1ずつインクリメントしてゆ
く。この動作を、つぎの画面最終データ信号17が入力
されるまで継続する。
The address generator 34 includes an offset register 41, an adder 42, and a switch 43. To the bank managed by the address generation unit 34, the compression unit 2
When the writing is performed by, the offset register 41 initializes the held value to zero in response to the screen final data signal 17 corresponding to the break of the compressed image signal 13 for each screen. Then, in response to the compressed data generation signal 18, the held value is incremented by one. This operation is continued until the next screen final data signal 17 is input.

【0067】また、オフセットレジスタ41は、画面最
終データ信号17が送出されるときには、1画面分の圧
縮画像信号13のデータ長に相当する値を保持してい
る。このため、スイッチ部43は、画面最終データ信号
17に応答して、オフセットレジスタ41が保持する値
をレジスタ32へと転送する。
The offset register 41 holds a value corresponding to the data length of the compressed image signal 13 for one screen when the screen final data signal 17 is transmitted. Therefore, the switch unit 43 transfers the value held by the offset register 41 to the register 32 in response to the screen final data signal 17.

【0068】加算部42は、レジスタ33から供給され
る先頭アドレスの値と、オフセットレジスタ41が保持
する値とを加算することによって、メモリアドレス信号
20を生成する。その結果、1画面分の圧縮画像信号1
3が、レジスタ33に保持される先頭アドレスから、デ
ータ長に相当する範囲のメモリ空間に書き込まれる。
The adder unit 42 generates the memory address signal 20 by adding the value of the head address supplied from the register 33 and the value held by the offset register 41. As a result, one screen of compressed image signal 1
3 is written in the memory space in the range corresponding to the data length from the head address held in the register 33.

【0069】アドレス生成部34が管理するバンクから
外部装置9への読出しが行われるときには、まず、バン
ク切換要請信号22によって、アドレス生成部34が管
理するバンクが読み出し側に切り替えられる。このと
き、レジスタ32,33へ保持されている値は、読み出
すべき1画面分の圧縮画像信号13の格納場所を指示し
ていることになる。
When reading from the bank managed by the address generator 34 to the external device 9, first, the bank managed by the address generator 34 is switched to the read side by the bank switching request signal 22. At this time, the value held in the registers 32 and 33 indicates the storage location of the compressed image signal 13 for one screen to be read.

【0070】オフセットレジスタ41は、外部装置9か
ら圧縮データ読み出し要請信号21が送信されるごと
に、保持する値をインクリメントしてゆき、バンク切換
要請信号22が送信されると、これに応答してゼロへと
初期化する。また、読出しは、レジスタ32が保持する
データ長に相当する回数だけ行われる。加算部42が、
レジスタ33が保持する先頭アドレスの値と、オフセッ
トレジスタ41が保持する値とを加算することによっ
て、メモリアドレス信号20を生成する点は、書込みの
際と同様である。
The offset register 41 increments the value held each time the compressed data read request signal 21 is transmitted from the external device 9, and when the bank switching request signal 22 is transmitted, it responds to this. Initialize to zero. Further, the reading is performed the number of times corresponding to the data length held by the register 32. The adding unit 42
The point that the memory address signal 20 is generated by adding the value of the start address held by the register 33 and the value held by the offset register 41 is the same as in writing.

【0071】読出しの際のアドレスがこのように生成さ
れることによって、レジスタ33に保持される先頭アド
レスからデータ長に相当する範囲のメモリ空間に書き込
まれた1画面分の圧縮画像信号13の読出しが行われ
る。
By generating the read address in this manner, the compressed image signal 13 for one screen written in the memory space in the range corresponding to the data length from the start address held in the register 33 is read. Is done.

【0072】つぎに、アドレス生成部34が装置92に
組み込まれている例について説明する。アドレス生成部
34が管理するバンクに、外部装置9から圧縮画像信号
13が書込まれるときには、レジスタ32には1画面分
の圧縮画像信号13のデータ長の値が入力される。オフ
セットレジスタ41は、外部装置9から圧縮データバッ
ファ4へと圧縮画像信号13が書き込まれるごとに送出
される伸張データ書込み要請信号24に応答して、保持
する値をインクリメントする。その後、バンク切換要請
信号22が送出されると、アドレス生成部34が管理す
るバンクは、書込み動作から読出し動作へと切り替わ
る。
Next, an example in which the address generator 34 is incorporated in the device 92 will be described. When the compressed image signal 13 is written from the external device 9 to the bank managed by the address generation unit 34, the value of the data length of the compressed image signal 13 for one screen is input to the register 32. The offset register 41 increments the held value in response to the decompression data write request signal 24 that is sent each time the compressed image signal 13 is written from the external device 9 to the compressed data buffer 4. After that, when the bank switching request signal 22 is transmitted, the bank managed by the address generation unit 34 switches from the write operation to the read operation.

【0073】オフセットレジスタ41が保持する値は、
その値がレジスタ32に保持されるデータ長に等しくな
った後に初期化される。その結果、バンク切換要請信号
22が送出されるまでは、アドレス生成部34が管理す
るバンクから、1画面分の同一の圧縮画像信号13が、
伸張部6へと供給され続ける。
The value held by the offset register 41 is
It is initialized after the value becomes equal to the data length held in the register 32. As a result, until the bank switching request signal 22 is transmitted, the same compressed image signal 13 for one screen is output from the bank managed by the address generator 34.
It is continuously supplied to the extension section 6.

【0074】なお、図7では、アドレス生成部34が、
圧縮部2(または伸張部6)のアクセスだけでなく、外
部装置9のアクセスのためのアドレスをも生成するよう
に構成された例を示した。しかしながら、外部装置9自
身がアドレスを指示する機能を有する場合には、外部装
置9のアクセスのためのアドレスを生成しないように、
装置91,92を構成することも可能である。
In FIG. 7, the address generator 34
An example has been shown in which not only the access of the compression unit 2 (or the decompression unit 6) but also the address for the access of the external device 9 is generated. However, when the external device 9 itself has a function of designating an address, an address for accessing the external device 9 is not generated,
It is also possible to configure the devices 91 and 92.

【0075】また、図6では、管理すべきバンクが2つ
の場合を例として示したが、図6の構成を拡張すること
によって、3個以上のバンクの管理も同様に行うことが
できる。
Although FIG. 6 shows an example in which there are two banks to be managed, the management of three or more banks can be similarly performed by expanding the configuration of FIG.

【0076】<4.画像圧縮伸張装置>画像圧縮装置91
と画像伸張装置92とは組み合わせて使用されるのが通
例である。ここでは、このような使用に適した、装置9
1と装置92とが組み込まれてなる画像圧縮伸張装置の
例について説明する。
<4. Image compression / decompression device> Image compression device 91
The image expansion device 92 is usually used in combination. Here, a device 9 suitable for such use
An example of an image compression / decompression device in which 1 and the device 92 are incorporated will be described.

【0077】図8は、画像圧縮伸張装置の構成例を示す
ブロック図である。この装置93は、圧縮伸張部10を
備えている。この圧縮伸張部10は、圧縮部2と伸張部
6とを備えている。しかも、圧縮部2と伸張部6とは、
互いに逆のアルゴリズムにもとづいて演算を実行するよ
うに構成されている。また、装置93は、それぞれが圧
縮データバッファ4と同一構成である圧縮データバッフ
ァ4A,4Bを、さらに備えている。
FIG. 8 is a block diagram showing a configuration example of the image compression / decompression device. The device 93 includes a compression / expansion unit 10. The compression / expansion unit 10 includes a compression unit 2 and an expansion unit 6. Moreover, the compression unit 2 and the expansion unit 6 are
It is configured to execute operations based on mutually opposite algorithms. Further, the device 93 further includes compressed data buffers 4A and 4B each having the same configuration as the compressed data buffer 4.

【0078】装置93では、外部からビデオ信号デコー
ダ1へと入力されたビデオ信号11を圧縮し、圧縮画像
信号13の形式で外部装置9へと出力することが可能で
あるとともに、外部装置9から送出された圧縮画像信号
13を伸張し、ビデオ信号エンコーダ7からビデオ信号
11として出力することも可能である。すなわち、装置
93は、装置91,92の双方の機能を併せ持ってい
る。また、双方の装置に共通の装置部分が共有されるの
で、双方を個別に製造するのに比べて、コストが低廉と
なる。
In the device 93, the video signal 11 inputted to the video signal decoder 1 from the outside can be compressed and output to the external device 9 in the form of the compressed image signal 13 and the external device 9 can also It is also possible to decompress the sent compressed image signal 13 and output it as the video signal 11 from the video signal encoder 7. That is, the device 93 has both functions of the devices 91 and 92. In addition, since the common device part is shared by both devices, the cost is lower than when both devices are manufactured individually.

【0079】なお、図8では、2つの圧縮データバッフ
ァ4A,4Bを備える例を示したが、圧縮データバッフ
ァは圧縮部2と伸張部6とで、互いに共有可能であるの
で、一般には単一の圧縮データバッファ4のみが備わっ
ていてもよい。図8の例では、2つの圧縮データバッフ
ァ4A,4Bが備わるので、複数の外部装置9が接続可
能である。
Although FIG. 8 shows an example in which the two compressed data buffers 4A and 4B are provided, the compressed data buffer can be shared by the compressing unit 2 and the decompressing unit 6, so that it is generally a single unit. Only the compressed data buffer 4 of 4 may be provided. In the example of FIG. 8, since two compressed data buffers 4A and 4B are provided, a plurality of external devices 9 can be connected.

【0080】また、圧縮部2で圧縮して得られた多数
(一般には複数)画面分の圧縮画像信号13を、圧縮デ
ータバッファ4A,4Bに保存しておき、その中から特
定の画面を外部からの指示に応じて任意に選択し、伸張
部6で伸張してビデオ信号11を再構成し、静止画像と
して出力することも可能である。すなわち、外部装置9
を接続することなく、装置93をあたかも独立した画像
蓄積装置として使用することも可能である。
The compressed image signals 13 for a large number (generally a plurality) of screens obtained by compression by the compression unit 2 are stored in the compressed data buffers 4A and 4B, and a specific screen is externally stored. It is also possible to arbitrarily select it in accordance with the instruction from, to expand the video signal 11 by the expansion unit 6 to reconstruct it, and output it as a still image. That is, the external device 9
It is also possible to use the device 93 as if it were an independent image storage device, without connecting the.

【0081】このように、圧縮データバッファ4A,4
Bは、圧縮部2(または伸張部6)と外部装置9の間の
緩衝を目的とした使用だけでなく、圧縮画像信号13を
蓄積する媒体としての使用にも供することができる。こ
のことは、圧縮データバッファ4A,4Bの代わりに単
一の圧縮データバッファ4が備わる場合でも同様であ
る。
As described above, the compressed data buffers 4A, 4
B can be used not only for the purpose of buffering between the compression unit 2 (or decompression unit 6) and the external device 9, but also as a medium for storing the compressed image signal 13. This is the same even when a single compressed data buffer 4 is provided instead of the compressed data buffers 4A and 4B.

【0082】<5.圧縮部2および伸張部6の一般的構成
>以上の説明では、圧縮部2および伸張部6において、
フレーム内符号化のアルゴリズムにもとづいて、画像の
圧縮および伸張が行なわれる例を示したが、この発明
は、フレーム間の相関をも考慮したフレーム間符号化の
アルゴリズムにもとづいた圧縮、伸張が行われる装置に
対しても適用可能である。
<5. General Structure of Compressing Unit 2 and Expanding Unit 6> In the above description, in the compressing unit 2 and the expanding unit 6,
Although an example in which an image is compressed and decompressed based on an intraframe coding algorithm has been shown, the present invention performs compression and decompression based on an interframe coding algorithm that also considers correlation between frames. It can also be applied to a device.

【0083】ただし、フレーム内符号化にもとづく場合
には、フレーム間の相関を考慮する必要がないので、フ
レームバッファを設ける必要がないだけでなく、圧縮お
よび伸張動作が高速で行われるという利点が生まれる。
このことは、外部装置9を伝送経路とした双方向の通信
をも可能にする。
However, in the case of intra-frame coding, it is not necessary to consider the correlation between frames, so that it is not necessary to provide a frame buffer, and there is an advantage that the compression and decompression operations are performed at high speed. to be born.
This also enables bidirectional communication using the external device 9 as a transmission path.

【0084】フレーム内符号化にもとづく場合にはさら
に、圧縮データバッファ4に圧縮画像信号13が1画面
単位で保持されるので、図2、図3、および図5〜図7
に例示したように、データ転送制御部3による制御が簡
単となる。特に、圧縮画像信号13の1画面分の切出し
が可能となるために、すでに説明したように、静止画像
を出力する際の外部装置9の転送の冗長性を解消するこ
とができる。
In the case of the intra-frame encoding, the compressed image signal 13 is further held in the compressed data buffer 4 on a screen-by-screen basis, so that FIG. 2, FIG. 3, and FIG. 5 to FIG.
As illustrated in, the control by the data transfer control unit 3 becomes simple. In particular, since it is possible to cut out one screen of the compressed image signal 13, it is possible to eliminate the redundancy of transfer of the external device 9 when outputting a still image, as described above.

【0085】<6.伸張部6の好ましい例>つぎに、伸張
部6が取り扱う圧縮画像信号13が可変長符号であると
きの、望ましい伸張部6の構成について説明する。伸張
部6が処理対象とする可変長符号の例として、ハフマン
符号化にもとづいて得られたハフマン符号を取り上げる
が、同様の構成は可変長符号一般に対して適用可能であ
る。
<6. Preferable Example of Decompression Unit 6> Next, a desirable configuration of the decompression unit 6 when the compressed image signal 13 handled by the decompression unit 6 is a variable length code will be described. A Huffman code obtained based on Huffman coding will be taken as an example of the variable-length code to be processed by the decompression unit 6, but the same configuration is applicable to general variable-length codes.

【0086】<6-1.原理>一般に、画像データには同一
のデータが連続することが多く、したがって、互いに連
続するデータの差分は“0”になることが多い。特に、
離散コサイン変換(DCT)処理の場合、データが特定
の領域(例えば低周波数領域)に集中することが多いた
め、前記した差分が“0”になる割合は極めて高い。例
えば、差分が、 “0005” …(1) となる場合、“0”のランレングス(以下、0ランレン
グスと称す)が「3」で、その次に“5”(すなわち
“0”以外のデータ)が来るという具合にして2次元的
にハフマンコードを割り当てることになる。この場合、
0ランレングスである「3」というデータと、その次に
来る“5”というデータを合わせてデコードするため、
前記(1)で示した数列の場合、1回のデコードで4個
のデータを処理できることになる。
<6-1. Principle> In general, the same data is often continuous in image data, and therefore the difference between mutually continuous data is often “0”. Especially,
In the case of the discrete cosine transform (DCT) processing, since the data are often concentrated in a specific area (for example, a low frequency area), the above-mentioned difference is extremely high in percentage. For example, when the difference is “0005” (1), the run length of “0” (hereinafter referred to as “0 run length”) is “3”, and then “5” (that is, other than “0”). Data) will be assigned, and Huffman codes will be assigned two-dimensionally. in this case,
In order to decode the data of "3" which is 0 run length and the data of "5" which comes next,
In the case of the sequence shown in (1) above, four data can be processed by one decoding.

【0087】“2134” …(2) 一方、前記(2)で示す数列のように、差分データとし
て“0”以外のデータが連続、すなわち0ランレングス
が「0」となる場合、デコードすべきデータは“2”、
“1”、“3”、“4”というように、1回のデコード
について1個ずつのデータしか処理できない。
"2134" (2) On the other hand, like the sequence shown in (2) above, when data other than "0" is continuous as the difference data, that is, when the 0 run length is "0", it should be decoded. The data is “2”,
Only one piece of data can be processed for one decoding such as "1", "3", "4".

【0088】これらのことを考慮すると、0ランレング
スが「0」であるか否かによって処理速度が少なくとも
2倍以上差があることがわかる。すなわち、0ランレン
グスが「1」以上である場合は、2個以上のデータを一
度にデコードするため、メモリールックアップに2サイ
クル懸かっても、最終的なデータ出力のタイミングとし
て1データにつき1回デコードするタイミングに対して
時間的な遜色がないことになる。そして、前記したよう
に、“0”以外のデータが連続するのは例えば低周波数
領域等の特定の領域に限定されるため、0ランレングス
が「0」であるか否かによって処理を偏向することが処
理速度向上のためには望ましいと言える。
Considering these facts, it can be seen that the processing speeds are at least doubled depending on whether the 0 run length is "0" or not. That is, when the 0 run length is “1” or more, two or more data are decoded at one time, so even if two cycles are taken for memory lookup, the final data output timing is once for each data. This means that there is no time difference in decoding timing. Then, as described above, the data other than "0" is continuous only in a specific area such as a low frequency area, so that the processing is biased depending on whether or not the 0 run length is "0". It can be said that it is desirable to improve the processing speed.

【0089】この実施の形態の伸張部6は、このことを
考慮して、まず0ランレングスが「0」であるか「1」
以上であるかを検出し、0ランレングスが「0」である
特定の領域のみを高速なハードウェアのデコーダで処理
し、0ランレングスが「1」以上の場合と異なるパスの
処理を行うことで、メモリルックアップの処理速度に依
存していた従来周知の装置に比べて、デコーダを高速化
することによる処理速度の向上を実現するものである。
In consideration of this, the decompression unit 6 of this embodiment first determines whether the 0 run length is "0" or "1".
It is detected whether it is the above or not, and only the specific area in which the 0 run length is "0" is processed by the high-speed hardware decoder, and the processing of the path different from the case where the 0 run length is "1" or more is performed. Thus, the processing speed is improved by increasing the speed of the decoder as compared with a conventionally known device that relies on the processing speed of the memory lookup.

【0090】<6-2.構成>図9は、この実施の形態の伸
張部6に備わる、0ランレングスデータを用いた復号処
理部の構成を示したものである。図9中、51は可変長
データにおいて次に復号するデータを決める入力データ
制御ブロック(入力データ制御手段)である。
<6-2. Configuration> FIG. 9 shows the configuration of a decoding processing unit using 0 run length data, which is provided in the decompression unit 6 of this embodiment. In FIG. 9, reference numeral 51 is an input data control block (input data control means) that determines the data to be decoded next in the variable length data.

【0091】また、52は0ランレングスデータが
“0”に対応するハフマンコードだけをデコードするた
めの高速処理が可能なハードウェアデコーダ(小規模デ
コーダ:以下、HWデコーダと称す)であり、該HWデ
コーダ52からの出力信号であるH/U信号(判定信
号)は該HWデコーダ52の内部データにヒットしたか
あるいはしなかったかを示すための信号である。
Reference numeral 52 is a hardware decoder (small-scale decoder: hereinafter referred to as HW decoder) capable of high-speed processing for decoding only Huffman code corresponding to 0 run length data "0". The H / U signal (determination signal) which is an output signal from the HW decoder 52 is a signal for indicating whether or not the internal data of the HW decoder 52 is hit.

【0092】具体的には、図10中の(B)の如く、内
部データにヒットしたときはHigh信号を出力し、ヒ
ットしなかったときはLow信号を出力する。このよう
な処理を行うため、HWデコーダ52の内部には、リフ
ァレンスとしての内部データを格納する内部データ格納
手段(メモリ)52aと、該内部データ格納手段52a
の内部データと入力データ制御ブロック51からのハフ
マンデータとを照合する照合手段(コンパレータ:判定
手段)52bとを備えている。
Specifically, as shown in FIG. 10B, a High signal is output when the internal data is hit, and a Low signal is output when the internal data is not hit. In order to perform such processing, inside the HW decoder 52, an internal data storage means (memory) 52a for storing internal data as a reference, and the internal data storage means 52a.
Of the Huffman data from the input data control block 51 and a collating means (comparator: determining means) 52b.

【0093】さらに、53は0ランレングスが1以上に
割り当てられたハフマンコードをデコーダするためのメ
モリー(テーブル:大規模デコーダ)、54はHWデコ
ーダ52からのH/U信号に基づいてHWデコーダ52
からの複合データとメモリー53からの複合データを選
択する第1のマルチプレクサ(第1の切り替え手段:以
下、第1のMUXと称す)、55はメモリー53でデコ
ードされた0ランレングスのデータを基に0ランレング
スの数だけデータの出力タイミングをおくらせるために
0ランレングスをカウントするランレングスカウンタ、
56はデコーダのH/U信号および0ランレングスカウ
ンタの出力より、次のデータの復号処理を行なうか否か
のフラグを生成するデータイネーブル発生回路である。
Further, 53 is a memory (table: large-scale decoder) for decoding a Huffman code in which 0 run length is assigned to 1 or more, and 54 is a HW decoder 52 based on the H / U signal from the HW decoder 52.
A first multiplexer (first switching means: hereinafter referred to as a first MUX) for selecting the composite data from the memory 53 and the composite data from the memory 53, and 55 is based on the 0 run length data decoded in the memory 53. A run length counter that counts 0 run lengths in order to delay the data output timing by the number of 0 run lengths,
Reference numeral 56 is a data enable generation circuit that generates a flag indicating whether or not to perform the decoding process of the next data based on the H / U signal of the decoder and the output of the 0 run length counter.

【0094】さらにまた、57は、入力データ制御ブロ
ック51からのハフマンデータがHWデコーダ52の内
部データにヒットしなかった場合、メモリー53のアク
セススピードが遅いため出力データが不定になるタイミ
ングができる(図10中の(F)参照)ので、これを検
出してデータの出力タイミングをコントロールするため
のフラグ(図10中の(E)参照)を発生する不定タイ
ミング検出回路(不定タイミング検出手段)である。
Furthermore, in 57, when the Huffman data from the input data control block 51 does not hit the internal data of the HW decoder 52, the access speed of the memory 53 is slow, so that the output data becomes indefinite. 10 (see (F) in FIG. 10), an undefined timing detection circuit (undefined timing detection means) that detects this and generates a flag (see (E) in FIG. 10) for controlling the data output timing. is there.

【0095】また、58は、第1のMUX54より出力
された復号データから、これまで復号されたデータ量を
計算し、次に復号すべき圧縮データを出力させるための
補助データを作成する復号データ量算出回路、59,6
0,61,62はデータ列をクロック信号CKの1サイ
クル分だけ遅延させる遅延装置(ディレイ)、63は前
記遅延装置60(タイミング信号出力手段)からのタイ
ミング信号に基づいて遅延装置61(遅延手段)からの
出力データから第1のMUX54からの出力データに切
り替える第2のマルチプレクサ(第2の切り替え手段:
以下、第2のMUXと称す)である。
Decoded data 58 calculates auxiliary data for calculating the amount of data decoded so far from the decoded data output from the first MUX 54 and outputting compressed data to be decoded next. Quantity calculation circuit, 59, 6
Reference numerals 0, 61 and 62 denote delay devices (delays) for delaying the data string by one cycle of the clock signal CK, and 63 denotes delay device 61 (delay means) based on the timing signal from the delay device 60 (timing signal output means). ) From the output data from the first MUX 54 to the output data from the first MUX 54 (second switching means:
Hereinafter referred to as the second MUX).

【0096】なお、前記不定タイミング検出回路57お
よび前記遅延装置60は、前記第2のMUX63を切り
替えるための所定のタイミング信号を生成するタイミン
グ制御手段を構成する。
The indefinite timing detection circuit 57 and the delay device 60 constitute a timing control means for generating a predetermined timing signal for switching the second MUX 63.

【0097】<6-3.動作>上記構成の伸張部6の処理手
順を説明する。図10は本実施例の画像圧縮伸張装置の
動作を示すタイミングチャートである。図10中の
(A)に示されたデータは入力データ制御ブロック51
からの出力を示すもので、データaの0ランレングスが
「0」、データbの0ランレングスが「1」、データc
の0ランレングスが「0」、データdの0ランレングス
が「2」であるとする。
<6-3. Operation> The processing procedure of the decompression unit 6 having the above configuration will be described. FIG. 10 is a timing chart showing the operation of the image compression / decompression device of this embodiment. The data shown in FIG. 10A is the input data control block 51.
Data 0, the 0 run length of data a is “0”, the 0 run length of data b is “1”, and the data c is
It is assumed that the 0 run length of is 0 and the 0 run length of the data d is 2.

【0098】まず、図10中の(A)のデータaが入力
データ制御ブロック51から出力されると、図9の如
く、HWデコーダ52とメモリー53に同時に入力され
る。ここで、HWデコーダ52内の比較手段(コンパレ
ータ)にて、受けたハフマンデータaがデコーダの内部
データにヒットしたか否かを検出する。
First, when the data a in FIG. 10A is output from the input data control block 51, it is simultaneously input to the HW decoder 52 and the memory 53 as shown in FIG. Here, the comparison means (comparator) in the HW decoder 52 detects whether the received Huffman data a hits the internal data of the decoder.

【0099】そして、データaがHWデコーダ52の内
部データにヒットした場合、ヒットした旨を示すフラグ
としてH/U信号(図10中の(B))としてHigh
信号を出力するとともに、デコードした復号データ(図
10中の(C)のデータA)を出力する。一方、データ
aの0ランレングスが「1」以上の場合は、データaが
HWデコーダ52の内部データにヒットしないため、H
/U信号(図10中の(B))としてLow信号を出力
する。また、メモリー53は、常にデータaのデコード
を実行し復号データを出力する。
When the data a hits the internal data of the HW decoder 52, it is set as a H / U signal ((B) in FIG. 10) as a flag indicating that the data is hit.
The signal is output, and the decoded data that has been decoded (data A in (C) of FIG. 10) is output. On the other hand, when the 0 run length of the data a is “1” or more, the data a does not hit the internal data of the HW decoder 52, and therefore H
The Low signal is output as the / U signal ((B) in FIG. 10). The memory 53 always decodes the data a and outputs the decoded data.

【0100】第1のMUX54は、HWデコーダ52に
ヒットした旨を伝達された場合、H/U信号としてHi
gh信号が入力され、これにしたがってHWデコーダ5
2からの複合データを選択する。一方、ヒットしなかっ
た場合は、H/U信号としてLow信号が入力され、こ
れにしたがってメモリー53からの復号データを選択す
る。また、メモリー53から出力された0ランレングス
データは、0ランレングスカウンタ55に入力され、デ
ータイネーブル発生回路56を通して次のデータをデコ
ードするタイミングを0ランレングスの数だけ待たせる
処理を行なう。
When the first MUX 54 is notified by the HW decoder 52 that a hit has occurred, the first MUX 54 outputs Hi as an H / U signal.
The gh signal is input, and accordingly the HW decoder 5
Select the composite data from 2. On the other hand, if there is no hit, the Low signal is input as the H / U signal, and the decoded data from the memory 53 is selected accordingly. Further, the 0 run length data output from the memory 53 is input to the 0 run length counter 55, and a process of delaying the timing of decoding the next data through the data enable generation circuit 56 by the number of 0 run lengths is performed.

【0101】一方、復号データ量算出回路58は、第1
のMUX54より出力された復号データから、これまで
復号されたデータ量を計算し、次に復号すべき圧縮デー
タを出力させるための補助データを作成する。第2のM
UX63は、不定タイミング検出回路57で検出された
タイミング(図10中の(E)のHigh信号)にした
がって正しいデータを埋め込み、最終的な復号データを
作成する(図10中の(H)のデータA)。
On the other hand, the decoded data amount calculation circuit 58 is
The amount of data decoded so far is calculated from the decoded data output from the MUX 54, and auxiliary data for outputting compressed data to be decoded next is created. Second M
The UX 63 embeds correct data in accordance with the timing (High signal of (E) in FIG. 10) detected by the indefinite timing detection circuit 57 to create final decoded data (data of (H) in FIG. 10). A).

【0102】以上が図10中の(A)のデータaについ
て処理であるが、メモリー53のルックアップが2サイ
クル懸かるため、該データaが出力されて、これに続く
サイクルは、図10中の(B)においてデータAとデー
タBの間に示すように不定となる。すなわち、(A)の
データbがデコード(図10中の(B)のデータB)さ
れるタイミングは、データAの後2サイクル目になって
しまう。つまり、0ランレングスが「1」以上の場合、
不定の期間が1サイクル発生することになる。
The above is the process for the data a in (A) of FIG. 10. However, since the lookup of the memory 53 has two cycles, the data a is output, and the subsequent cycle is the same as in FIG. In (B), it becomes indefinite as shown between data A and data B. That is, the timing at which the data b of (A) is decoded (the data B of (B) in FIG. 10) becomes the second cycle after the data A. In other words, if the 0 run length is "1" or more,
One cycle will occur for an indefinite period.

【0103】そこで、データ列の全体を遅延装置(ディ
レイ)61で1サイクル分だけ遅延させ、遅延処理され
た前記不定の期間の部分(遅延装置61からの出力:図
10中の(F))に遅延処理をかけないタイミングで前
記データB(第1のMUX54からの出力:図10中の
(C))を埋め込めば、データBに係るデータ列をHW
デコーダ52のサイクルと同速度で出力できることにな
る。
Therefore, the entire data string is delayed by one cycle by the delay device (delay) 61, and the portion of the indefinite period subjected to the delay processing (output from the delay device 61: (F) in FIG. 10). By embedding the data B (output from the first MUX 54: (C) in FIG. 10) at a timing that does not apply delay processing to the
It is possible to output at the same speed as the cycle of the decoder 52.

【0104】また、図10中の(A)のデータdのよう
に0ランレングスが「2」以上の場合、図10中の
(E)で不定タイミング検出回路57が、不定の期間
(HWデコーダ52でヒットしなかったとき)を検出し
た後の1サイクル後のデータは、図10中の(F)のよ
うに、遅延装置61からの出力は不定となる。また、図
10中の(F)の不定のデータに続くデータは、データ
D,データDと続く。そこで、不定のデータの部分に、
データBのときと同様の処理を行ってデータDを埋め込
めば、データDに係るデータ列をHWデコーダ52のサ
イクルと同速度で出力できることになる。
When the 0 run length is "2" or more as in the data d of (A) in FIG. 10, the undefined timing detection circuit 57 in (E) of FIG. The output from the delay device 61 becomes indefinite as shown in (F) of FIG. 10 for the data one cycle after the detection of (when there is no hit at 52). The data following the indefinite data of (F) in FIG. 10 is data D and data D. Therefore, in the indefinite data part,
By embedding the data D by performing the same processing as that for the data B, the data string relating to the data D can be output at the same speed as the cycle of the HW decoder 52.

【0105】このように、この実施の形態の伸張部6で
は、0ランレングスが「0」の場合のコードを復号する
HWデコーダ52は1クロック以内に復号データを出力
しなくてはならないが、0ランレングスが1以上を復号
するメモリー53は2クロック以内にデータを出力すれ
ば良い。ここで用いているHWデコーダ52は0ランレ
ングスが「0」の場合だけのハフマンコードに対応する
高速処理用のため、回路規模は小さくて済み、かつ処理
を非常に高速化することができる。
As described above, in the decompression unit 6 of this embodiment, the HW decoder 52 which decodes the code when the 0 run length is "0" must output the decoded data within 1 clock. The memory 53 that decodes 0 run lengths of 1 or more may output data within 2 clocks. Since the HW decoder 52 used here is for high-speed processing corresponding to the Huffman code only when the 0 run length is "0", the circuit scale can be small and the processing can be made extremely fast.

【0106】この実施の形態の伸張部6が、装置92,
93に組み込まれたときには、圧縮データバッファ4お
よびデータ転送制御部3が存在するので、伸張部6の処
理速度、特にピーク速度が高いにも拘らず、外部装置9
へは同様の高い転送速度は要求されず、外部装置9の負
担は軽いものにとどまるという利点がある。すなわち、
装置92,93において、圧縮データバッファ4および
データ転送制御部3は、この実施の形態の伸張部6が備
わるときに、特にその効果を顕著に発揮する。
The expansion section 6 of this embodiment is provided with the devices 92,
Since the compressed data buffer 4 and the data transfer control unit 3 are present when incorporated into the external device 93, the external device 9 can be used despite the high processing speed of the expansion unit 6, especially the peak speed.
Similarly, the same high transfer rate is not required, and there is an advantage that the load on the external device 9 is light. That is,
In the devices 92 and 93, the compressed data buffer 4 and the data transfer control unit 3 are particularly effective when the decompression unit 6 of this embodiment is provided.

【0107】<6-4.変形例>この実施の形態では、ラン
レングスが“0”の場合と“1”以上の場合で、デコー
ダとメモリに分解したが、スピードと回路規模との兼合
で、それ以外の分割方法を適用できることは言うまでも
ない。
<6-4. Modified Example> In this embodiment, the decoder and the memory are disassembled depending on the run length of “0” and “1” or more. It goes without saying that other division methods can be applied.

【0108】<7.圧縮部2および伸張部6の他の好まし
い例>つぎに、圧縮部2および伸張部6が、パイプライ
ン処理を実行するときの、それらの好ましい構成例につ
いて説明する。例えば、JPEGを基本としたアルゴリ
ズムにもとづく処理は、パイプライン処理の代表例であ
る。
<7. Other Preferred Examples of Compressing Unit 2 and Expanding Unit 6> Next, preferred examples of the configurations of the compressing unit 2 and the expanding unit 6 when they execute pipeline processing will be described. For example, processing based on a JPEG-based algorithm is a typical example of pipeline processing.

【0109】<7-1.構成>図11は、この実施の形態の
圧縮伸張部10の構成を示すブロック図である。図11
において、103−1,103−2,103−3は圧縮
伸張部10の内部の各種信号処理装置、104は前段の
信号処理装置103−1,103−2,103−3で信
号処理したデータを後続する各パイプラインの出力に反
映させるかどうかを、データイネーブル発生回路106
からのデータイネーブル信号に基づいて判定する圧縮伸
張部10の内部判定装置(処理制御手段)、105aは
内部判定装置104からの内部信号を1クロック分遅延
させる圧縮伸張部10の内部遅延装置(レジスタ)、1
05bはデータイネーブル発生回路106からのデータ
イネーブル信号をパイプラインの各段の信号処理装置1
03−1,103−2,103−3の段数分に対応して
1クロックずつ遅延させる圧縮伸張部10の内部遅延装
置(イネーブル信号遅延手段:レジスタ)、106は外
部からのHSYNC信号(水平同期信号)およびVSY
NC信号(垂直同期信号)を基に有効データの期間だけ
イネーブルとするためにデータイネーブル信号を発生す
るデータイネーブル発生回路(イネーブル手段)であ
る。
<7-1. Configuration> FIG. 11 is a block diagram showing the configuration of the compression / expansion unit 10 of this embodiment. FIG.
, 103-1, 103-2, 103-3 are various signal processing devices inside the compression / expansion unit 10, and 104 is data processed by the signal processing devices 103-1, 103-2, 103-3 in the preceding stage. The data enable generation circuit 106 determines whether to reflect the output of each subsequent pipeline.
The internal decision device (processing control means) of the compression / expansion unit 10 for making a decision based on the data enable signal from the internal expansion device 105, 105a is an internal delay device (register of the compression / expansion unit 10 for delaying the internal signal from the internal decision device 104 by one clock ) 1
Reference numeral 05b denotes a data enable signal from the data enable generation circuit 106, which is provided to the signal processing device 1 at each stage of the pipeline.
An internal delay device (enable signal delay means: register) of the compression / expansion unit 10 that delays by one clock corresponding to the number of stages of 03-1, 103-2, 103-3, and 106 is an external HSYNC signal (horizontal synchronization). Signal) and VSY
A data enable generation circuit (enable means) that generates a data enable signal for enabling only a period of valid data based on an NC signal (vertical synchronization signal).

【0110】ここで、内部判定装置104は、データイ
ネーブル発生回路106からのデータイネーブル信号を
受けたときのみパイプライン内の信号処理を許可し、デ
ータイネーブル信号を受けないときにパイプライン内の
信号処理を停止させるもので、一般的なマルチプレクサ
が用いられ、一対の入力端子のうち、一方は前段の信号
処理装置103−1,103−2,103−3の出力端
子が接続され、他方は後続する内部遅延装置105aの
出力端子に帰還接続される。
Here, internal decision device 104 permits signal processing in the pipeline only when it receives the data enable signal from data enable generation circuit 106, and signals in the pipeline when it does not receive the data enable signal. A general multiplexer is used to stop the processing. One of the pair of input terminals is connected to the output terminal of the signal processing device 103-1, 103-2, 103-3 at the preceding stage, and the other is connected to the subsequent terminal. Feedback connection to the output terminal of the internal delay device 105a.

【0111】<7-2.動作>上記構成の圧縮伸張部10の
処理方法を説明する。まず、圧縮時においてデータイネ
ーブル発生回路106は、HSYNC信号およびVSY
NC信号に基づいて入力映像信号が有効な期間だけデー
タイネーブル信号を発生する。圧縮装置内の各信号処理
装置103−1,103−2,103−3は入力された
画像データをパイプライン処理により逐次処理するが、
各段の内部判定装置104によって、次段に出力される
かあるいは前のデータを保持するかが決められる。
<7-2. Operation> A processing method of the compression / expansion unit 10 having the above configuration will be described. First, at the time of compression, the data enable generation circuit 106 causes the HSYNC signal and the VSYNC signal.
A data enable signal is generated based on the NC signal only during a period when the input video signal is valid. The signal processing devices 103-1, 103-2, 103-3 in the compression device sequentially process the input image data by pipeline processing.
The internal determination device 104 of each stage determines whether to output to the next stage or retain the previous data.

【0112】つまり、各段のデータがバリッドの時だけ
データは処理され、そうでない時は、各段の内部遅延装
置105aは、次にバリッド信号がくるまでデータを保
持していることとなる。このような処理を行なうこと
で、有効な入力映像信号だけを圧縮することができる。
次に伸張時の処理についてのべる。
In other words, the data is processed only when the data of each stage is valid, and when not, the internal delay device 105a of each stage holds the data until the next valid signal. By performing such processing, it is possible to compress only an effective input video signal.
Next, I will describe the processing during decompression.

【0113】一方、伸張処理時においては、伸張処理を
開始してからパイプラインの段数分だけ映像信号が出力
されるタイミングが遅れる事になる。つまりHSYNC
信号およびVSYNC信号に合わせて伸張データを出力
しようとすると、データイネーブル発生回路106は有
効データを出すタイミングよりパイプラインの段数分だ
け先に処理を始めるようにデータイネーブル信号を出力
すれば良い。通常、映像信号はかなりの無効データを含
んでいるため、少々のパイプラインの段数があっても、
このような処理は問題なく可能である。
On the other hand, during the decompression process, the timing at which the video signal is output is delayed by the number of pipeline stages after the decompression process is started. That is, HSYNC
When it is attempted to output the expanded data in accordance with the signal and the VSYNC signal, the data enable generation circuit 106 may output the data enable signal so as to start the processing by the number of pipeline stages before the timing of outputting the valid data. Normally, the video signal contains a considerable amount of invalid data, so even if there are a few pipeline stages,
Such processing is possible without any problems.

【0114】この実施の形態の圧縮伸張部10、あるい
はその構成要素である圧縮部2および伸張部6では、特
にピーク速度が高くなるが、これらが装置92,93に
組み込まれたときには、圧縮データバッファ4およびデ
ータ転送制御部3が存在するので、外部装置9へは同様
の高い転送速度は要求されず、外部装置9の負担は軽い
ものにとどまるという利点がある。すなわち、装置9
2,93において、圧縮データバッファ4およびデータ
転送制御部3は、この実施の形態の圧縮部2あるいは伸
張部6が備わるときに、特にその効果を顕著に発揮す
る。
In the compression / expansion unit 10 of this embodiment, or in the compression unit 2 and the expansion unit 6 which are its constituents, the peak speed becomes particularly high. Since the buffer 4 and the data transfer control unit 3 are present, there is an advantage that the external device 9 is not required to have a similar high transfer rate and the load on the external device 9 is light. That is, the device 9
In Nos. 2 and 93, the compressed data buffer 4 and the data transfer control unit 3 are particularly effective when the compression unit 2 or the decompression unit 6 of this embodiment is provided.

【0115】[0115]

【発明の効果】第1の発明の装置では、圧縮部と外部装
置との間に圧縮データバッファが介在しており、しか
も、データ転送制御部の働きによって、圧縮部による圧
縮画像信号の書込み、および外部装置による読出しが、
それぞれの要請に応じて行われる。このため、圧縮画像
信号の書込みは圧縮部に固有の転送速度で行われ、読出
しは外部装置に固有の転送速度で実行される。すなわ
ち、外部装置は圧縮部の動作に同期して圧縮画像信号の
転送を行う必要がない。したがって、外部装置は圧縮部
の瞬間の最高転送速度に対応した高速度の転送能力を有
する必要がなく、転送能力に関する外部装置の負担が軽
減される。
In the device of the first aspect of the present invention, the compressed data buffer is interposed between the compression unit and the external device, and the compressed data signal is written by the compression unit by the function of the data transfer control unit. And reading by an external device
It is done according to each request. Therefore, the writing of the compressed image signal is performed at the transfer rate unique to the compression unit, and the reading is performed at the transfer rate unique to the external device. That is, the external device does not need to transfer the compressed image signal in synchronization with the operation of the compression unit. Therefore, the external device does not need to have a high-speed transfer capacity corresponding to the maximum transfer speed at the moment of the compression unit, and the load of the external device on the transfer capacity is reduced.

【0116】第2の発明の装置では、圧縮部がフレーム
内符号化のアルゴリズムにもとづいて圧縮を行うので、
圧縮動作が高速で行われる。このため、双方向の通信に
も適合し得る。さらに、圧縮データバッファが圧縮画像
信号を1画面単位で保持することが可能となるので、デ
ータ転送制御部による制御が簡単となる。
In the apparatus of the second invention, since the compression section performs compression based on the intra-frame coding algorithm,
The compression operation is performed at high speed. Therefore, it may be suitable for bidirectional communication. Further, since the compressed data buffer can hold the compressed image signal on a screen-by-screen basis, the control by the data transfer control unit becomes simple.

【0117】第3の発明の装置では、圧縮データバッフ
ァのメモリ空間内の複数のバンクの各1に、圧縮画像信
号が1画面分ごとに振り分けられ、しかも、書込みが行
われるバンクと読出しが行われるバンクとが重複しない
ように調整される。すなわち、簡単な制御によって、書
込みと読出しとが、互いに干渉することなく、しかも個
別の速度で行われ得る。
In the device of the third aspect of the invention, the compressed image signal is distributed to each one of the plurality of banks in the memory space of the compressed data buffer for each screen, and the bank in which writing is performed and the bank in which reading is performed are performed. The banks are adjusted so that they do not overlap. That is, with simple control, writing and reading can be performed at individual speeds without interfering with each other.

【0118】第4の発明の装置では、アドレスを発生す
るアドレス生成部が各バンクごとに設けられ、各バンク
に書込まれた圧縮画像信号のアドレスに関する情報が、
読出しの際に用いられるので、書き込まれた圧縮画像信
号を読み出す際に、アドレスの生成が容易に行われ得
る。
In the device of the fourth aspect of the invention, an address generator for generating an address is provided for each bank, and the information on the address of the compressed image signal written in each bank is:
Since it is used for reading, an address can be easily generated when reading the written compressed image signal.

【0119】第5の発明の装置では、伸張部と外部装置
との間に圧縮データバッファが介在しており、しかも、
データ転送制御部の働きによって、外部装置による圧縮
画像信号の書込み、および伸張部による読出しが、それ
ぞれの要請に応じて行われる。このため、圧縮画像信号
の書込みは外部装置に固有の転送速度で行われ、読出し
は伸張部に固有の転送速度で実行される。すなわち、外
部装置は伸張部の動作に同期して圧縮画像信号の転送を
行う必要がない。したがって、外部装置は伸張部の瞬間
の最高転送速度に対応した高速度の転送能力を有する必
要がなく、転送能力に関する外部装置の負担が軽減され
る。
In the device of the fifth invention, the compressed data buffer is interposed between the decompression unit and the external device, and
By the function of the data transfer control unit, writing of the compressed image signal by the external device and reading by the decompression unit are performed according to the respective requests. Therefore, the writing of the compressed image signal is performed at the transfer rate unique to the external device, and the reading is performed at the transfer rate unique to the decompression unit. That is, the external device does not need to transfer the compressed image signal in synchronization with the operation of the decompression unit. Therefore, the external device does not need to have a high-speed transfer capacity corresponding to the maximum transfer speed at the moment of the expansion section, and the load of the external device on the transfer capacity is reduced.

【0120】第6の発明の装置では、伸張部がフレーム
内符号化のアルゴリズムにもとづいて伸張を行うので、
伸張動作が高速で行われる。このため、双方向の通信に
も適合し得る。さらに、圧縮データバッファが圧縮画像
信号を1画面単位で保持することが可能となるので、デ
ータ転送制御部による制御が簡単となる。
In the apparatus of the sixth invention, the decompression unit decompresses based on the intra-frame coding algorithm.
The expansion operation is performed at high speed. Therefore, it may be suitable for bidirectional communication. Further, since the compressed data buffer can hold the compressed image signal on a screen-by-screen basis, the control by the data transfer control unit becomes simple.

【0121】第7の発明の装置では、圧縮データバッフ
ァのメモリ空間内の複数のバンクの各1に、圧縮画像信
号が1画面分ごとに振り分けられ、しかも、書込みが行
われるバンクと読出しが行われるバンクとが重複しない
ように調整される。すなわち、簡単な制御によって、書
込みと読出しとが、互いに干渉することなく、しかも個
別の速度で行われ得る。
In the device of the seventh invention, the compressed image signal is distributed to each one of the plurality of banks in the memory space of the compressed data buffer for each screen, and the bank to which writing is performed and the bank to which reading is performed are performed. The banks are adjusted so that they do not overlap. That is, with simple control, writing and reading can be performed at individual speeds without interfering with each other.

【0122】第8の発明の装置では、アドレスを発生す
るアドレス生成部が各バンクごとに設けられ、各バンク
に書込まれた圧縮画像信号のアドレスに関する情報が、
読出しの際に用いられるので、書き込まれた圧縮画像信
号を読み出す際に、アドレスの生成が容易に行われ得
る。
In the device of the eighth invention, an address generator for generating an address is provided for each bank, and information on the address of the compressed image signal written in each bank is:
Since it is used for reading, an address can be easily generated when reading the written compressed image signal.

【0123】第9の発明の装置では、外部装置からの指
示に応答して、複数のバンクの中の一つに保持される1
画面分の前記圧縮画像信号が反復的に読み出されるの
で、静止画像を出力する際に、外部装置は同一の1画面
分の圧縮画像信号を反復的に送出する必要がない。すな
わち、静止画像を出力する際の外部装置のデータ転送に
おける冗長性が解消される。このことは、外部装置のデ
ータ転送能力の一層の軽減に寄与する。
In the device of the ninth invention, 1 stored in one of the plurality of banks in response to an instruction from an external device.
Since the compressed image signal for the screen is repeatedly read, the external device does not need to repeatedly send the same compressed image signal for one screen when outputting a still image. That is, redundancy in data transfer of an external device when outputting a still image is eliminated. This contributes to further reducing the data transfer capability of the external device.

【0124】第10の発明の装置では、この発明の画像
圧縮装置と画像伸張装置とが組み込まれており、双方の
機能が同時に得られる。画像圧縮装置と画像伸張装置と
は、対で使用されることが多く、この装置はこのような
通常の使用形態に適している。
The apparatus of the tenth invention incorporates the image compressing apparatus and the image decompressing apparatus of the present invention, so that the functions of both can be obtained simultaneously. The image compression device and the image decompression device are often used in a pair, and this device is suitable for such a normal use form.

【0125】第11の発明の装置では、伸張部が小規模
デコーダおよび大規模デコーダを有し、処理速度の遅い
大規模デコーダでの処理時に生じる不定データの不定タ
イミングを検出し、その際に所定のタイミング信号を第
2の切り替え手段へ出力し、遅延手段にて遅延された不
定のタイミングに第1の切り替え手段からの遅延されな
い出力データを埋め込むよう構成されているので、復号
されるデータが単一のときは処理速度が早い小規模デコ
ーダによりデータをデコーダし、高速にデータを出力す
る一方、復号されるデータが2個以上のときは、大規模
デコーダによりデータをデコードし、遅延手段にて遅延
された不定のタイミングに第1の切り替え手段からの遅
延されない出力データを埋め込むことで、最終的に出力
されるデータ列を補償し、大規模デコーダの処理速度の
遅さから生じるデータの損傷を防止する。このことによ
り、相対的に伸張部全体の処理速度を上げることができ
る。したがって、可変長符号の復号伸張処理時の処理速
度を従来周知の装置に比べて2倍近く高めることが可能
であり、これまで、リアルタイム処理が困難であった映
像信号に対しても対応化が可能となるという効果があ
る。
In the apparatus of the eleventh aspect of the invention, the decompression unit has a small-scale decoder and a large-scale decoder, detects an indeterminate timing of indeterminate data generated during processing by a large-scale decoder having a slow processing speed, and at that time, detects a predetermined timing. Is output to the second switching means, and the undelayed output data from the first switching means is embedded in the indefinite timing delayed by the delay means. When it is 1, the data is decoded by a small-scale decoder having a high processing speed, and the data is output at high speed. On the other hand, when there are two or more data to be decoded, the large-scale decoder decodes the data and the delay means is used. By embedding the undelayed output data from the first switching means in the delayed indefinite timing, the finally output data string is And amortization, to prevent damage to the data resulting from slow processing speed of large-scale decoder. As a result, the processing speed of the entire expansion unit can be relatively increased. Therefore, it is possible to increase the processing speed at the time of decoding / decompressing the variable-length code nearly twice as much as that of a conventionally known device, and it is possible to deal with a video signal which has been difficult to perform in real time until now. There is an effect that it becomes possible.

【0126】しかも、この装置には、圧縮データバッフ
ァおよびデータ転送制御部が、さらに備わるので、伸張
部の処理速度、特にピーク速度が高いにも拘らず、外部
装置へは同様の高い転送速度は要求されず、外部装置の
負担は軽いものにとどまる。すなわち、この装置では、
圧縮データバッファおよびデータ転送制御部が、特にそ
の効果を顕著に奏する。
In addition, since this apparatus further includes the compressed data buffer and the data transfer control section, even if the processing speed of the decompression section, especially the peak speed, is high, a similar high transfer rate to the external apparatus is not achieved. It is not required and the burden on the external device is light. That is, in this device,
The compressed data buffer and the data transfer control unit exert its effect particularly remarkably.

【0127】第12の発明の装置では、圧縮部に備わる
イネーブル手段が、水平の同期信号および垂直の同期信
号に基づいて各パイプラインが有効に動作するタイミン
グを検出するとともに所定のイネーブル信号を出力し、
処理制御手段が、イネーブル手段からの所定のイネーブ
ル信号を受けたときのみパイプライン内の信号処理を許
可し、所定のイネーブル信号を受けないときにパイプラ
イン内の信号処理を停止させる。
In the twelfth aspect of the invention, the enable means provided in the compression section detects the timing at which each pipeline effectively operates based on the horizontal synchronizing signal and the vertical synchronizing signal, and outputs a predetermined enable signal. Then
The processing control means permits the signal processing in the pipeline only when receiving the predetermined enable signal from the enabling means, and stops the signal processing in the pipeline when not receiving the predetermined enable signal.

【0128】このため、圧縮部は、映像信号の有効な部
分だけを水平および垂直の同期信号に同期して入出力で
きるため、フレームバッファおよびFIFO無しで映像
信号を扱うことが可能である。すなわち、安価な画像圧
縮装置が実現できる。また、信号の入出力において、有
効期間と無効期間が明白にできるため、データの制御が
非常に単純にでき、伸張の途中で圧縮されたデータを切
り替えることも簡単にできるようになるという効果があ
る。
Therefore, the compression section can input and output only the effective portion of the video signal in synchronization with the horizontal and vertical synchronizing signals, and therefore can handle the video signal without the frame buffer and FIFO. That is, an inexpensive image compression device can be realized. In addition, since the valid period and invalid period can be clarified in the signal input / output, the data control can be made very simple, and the compressed data can be easily switched during the expansion. is there.

【0129】しかも、圧縮部では、特に処理のピーク速
度が高くなるが、この装置には、圧縮データバッファお
よびデータ転送制御部が、さらに備わるので、外部装置
へは同様の高い転送速度は要求されず、外部装置の負担
は軽いものにとどまる。すなわち、この装置では、圧縮
データバッファおよびデータ転送制御部が、特にその効
果を顕著に奏する。
In addition, the peak speed of the processing is particularly high in the compression section, but since this apparatus is further provided with the compressed data buffer and the data transfer control section, a similar high transfer rate is required for the external apparatus. In addition, the burden on the external device is light. That is, in this device, the compressed data buffer and the data transfer control unit particularly exhibit their effects.

【0130】第13の発明の装置では、圧縮部が、イネ
ーブル手段において、所定のイネーブル信号を信号処理
のパイプラインの段数分だけ遅延させてタイミングを調
整しつつ、処理制御手段において、所定のイネーブル信
号を受けたときのみパイプライン内の信号処理を許可
し、所定のイネーブル信号を受けないときにパイプライ
ン内の信号処理を停止させる。このように、各パイプラ
インの処理を有効なデータが処理されるべき期間だけ動
作させているので、各段に応じた適切なタイミングで有
効部分のデータだけを非常に容易に入出力することがで
きるようになるとともに、タイミング制御が極めて容易
となるという効果がある。
In the apparatus of the thirteenth invention, the compression section delays the predetermined enable signal by the number of stages of the signal processing pipeline in the enabling means and adjusts the timing, while the processing control means performs the predetermined enable signal. The signal processing in the pipeline is permitted only when the signal is received, and the signal processing in the pipeline is stopped when the predetermined enable signal is not received. In this way, since the processing of each pipeline is operated only during the period when valid data should be processed, it is very easy to input / output only the data of the valid part at an appropriate timing according to each stage. As a result, the timing control becomes extremely easy.

【0131】しかも、圧縮部では、特に処理のピーク速
度が高くなるが、この装置には、圧縮データバッファお
よびデータ転送制御部が、さらに備わるので、外部装置
へは同様の高い転送速度は要求されず、外部装置の負担
は軽いものにとどまる。すなわち、この装置では、圧縮
データバッファおよびデータ転送制御部が、特にその効
果を顕著に奏する。
Further, although the peak speed of the processing is particularly high in the compression section, since this apparatus is further provided with the compressed data buffer and the data transfer control section, a similar high transfer rate is required for the external apparatus. In addition, the burden on the external device is light. That is, in this device, the compressed data buffer and the data transfer control unit particularly exhibit their effects.

【0132】第14の発明の装置では、伸張部に備わる
イネーブル手段が、水平の同期信号および垂直の同期信
号に基づいて各パイプラインが有効に動作するタイミン
グを検出するとともに所定のイネーブル信号を出力し、
処理制御手段が、イネーブル手段からの所定のイネーブ
ル信号を受けたときのみパイプライン内の信号処理を許
可し、所定のイネーブル信号を受けないときにパイプラ
イン内の信号処理を停止させる。
In the apparatus of the fourteenth invention, the enable means provided in the decompression unit detects the timing at which each pipeline effectively operates based on the horizontal synchronizing signal and the vertical synchronizing signal, and outputs a predetermined enable signal. Then
The processing control means permits the signal processing in the pipeline only when receiving the predetermined enable signal from the enabling means, and stops the signal processing in the pipeline when not receiving the predetermined enable signal.

【0133】このため、伸張部は、映像信号の有効な部
分だけを水平および垂直の同期信号に同期して入出力で
きるため、フレームバッファおよびFIFO無しで映像
信号を扱うことが可能である。すなわち、安価な画像伸
張装置が実現できる。また、信号の入出力において、有
効期間と無効期間が明白にできるため、データの制御が
非常に単純にでき、伸張の途中で圧縮されたデータを切
り替えることも簡単にできるようになるという効果があ
る。
Therefore, since the decompression unit can input / output only the effective portion of the video signal in synchronization with the horizontal and vertical synchronizing signals, it is possible to handle the video signal without the frame buffer and FIFO. That is, an inexpensive image expansion device can be realized. In addition, since the valid period and invalid period can be clarified in the signal input / output, the data control can be made very simple, and the compressed data can be easily switched during the expansion. is there.

【0134】しかも、伸張部では、特に処理のピーク速
度が高くなるが、この装置には、圧縮データバッファお
よびデータ転送制御部が、さらに備わるので、外部装置
へは同様の高い転送速度は要求されず、外部装置の負担
は軽いものにとどまる。すなわち、この装置では、圧縮
データバッファおよびデータ転送制御部が、特にその効
果を顕著に奏する。
Moreover, the peak speed of the processing is particularly high in the decompression unit, but since this device is further provided with the compressed data buffer and the data transfer control unit, the same high transfer speed is required for the external device. In addition, the burden on the external device is light. That is, in this device, the compressed data buffer and the data transfer control unit particularly exhibit their effects.

【0135】第15の発明の装置では、伸張部が、イネ
ーブル手段において、所定のイネーブル信号を信号処理
のパイプラインの段数分だけ遅延させてタイミングを調
整しつつ、処理制御手段において、所定のイネーブル信
号を受けたときのみパイプライン内の信号処理を許可
し、所定のイネーブル信号を受けないときにパイプライ
ン内の信号処理を停止させる。このように、各パイプラ
インの処理を有効なデータが処理されるべき期間だけ動
作させているので、各段に応じた適切なタイミングで有
効部分のデータだけを非常に容易に入出力することがで
きるようになるとともに、タイミング制御が極めて容易
となるという効果がある。
In the apparatus of the fifteenth invention, the decompression unit delays the predetermined enable signal by the number of stages of the signal processing pipeline in the enabling means and adjusts the timing, while the processing control means performs the predetermined enable signal. The signal processing in the pipeline is permitted only when the signal is received, and the signal processing in the pipeline is stopped when the predetermined enable signal is not received. In this way, since the processing of each pipeline is operated only during the period when valid data should be processed, it is very easy to input / output only the data of the valid part at an appropriate timing according to each stage. As a result, the timing control becomes extremely easy.

【0136】しかも、伸張部では、特に処理のピーク速
度が高くなるが、この装置には、圧縮データバッファお
よびデータ転送制御部が、さらに備わるので、外部装置
へは同様の高い転送速度は要求されず、外部装置の負担
は軽いものにとどまる。すなわち、この装置では、圧縮
データバッファおよびデータ転送制御部が、特にその効
果を顕著に奏する。
Further, although the decompression section has a particularly high peak processing speed, this apparatus is further provided with a compressed data buffer and a data transfer control section, so that a similar high transfer rate is required for the external apparatus. In addition, the burden on the external device is light. That is, in this device, the compressed data buffer and the data transfer control unit particularly exhibit their effects.

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

【図1】 実施形態の画像圧縮装置のブロック図であ
る。
FIG. 1 is a block diagram of an image compression apparatus according to an embodiment.

【図2】 図1の装置の圧縮データバッファのメモリ空
間の模式図である。
2 is a schematic diagram of a memory space of a compressed data buffer of the apparatus of FIG.

【図3】 図1の装置の圧縮データバッファの動作を示
す説明図である。
FIG. 3 is an explanatory diagram showing an operation of a compressed data buffer of the apparatus shown in FIG.

【図4】 実施形態の画像伸張装置のブロック図であ
る。
FIG. 4 is a block diagram of an image expansion device according to an embodiment.

【図5】 図4の装置の圧縮データバッファの動作を示
す説明図である。
5 is an explanatory diagram showing an operation of a compressed data buffer of the apparatus shown in FIG.

【図6】 図1および図4の装置のデータ転送制御部の
ブロック図である。
6 is a block diagram of a data transfer control unit of the apparatus of FIGS. 1 and 4. FIG.

【図7】 図6のアドレス生成部の内部構成を示すブロ
ック図である。
FIG. 7 is a block diagram showing an internal configuration of an address generator of FIG.

【図8】 実施形態の画像圧縮伸張装置のブロック図で
ある。
FIG. 8 is a block diagram of an image compression / decompression device according to an embodiment.

【図9】 伸張部の好ましい構成を示すブロック図であ
る。
FIG. 9 is a block diagram showing a preferable configuration of an extension unit.

【図10】 図9の伸張部の動作を説明するタイミング
チャートである。
10 is a timing chart explaining the operation of the decompression unit in FIG.

【図11】 圧縮伸張部の好ましい構成を示すブロック
図である。
FIG. 11 is a block diagram showing a preferable configuration of a compression / expansion unit.

【図12】 従来の画像圧縮装置のブロック図である。FIG. 12 is a block diagram of a conventional image compression device.

【図13】 従来の画像伸張装置のブロック図である。FIG. 13 is a block diagram of a conventional image expansion device.

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

2 圧縮部 3 データ転送制御部 4 圧縮データバッファ 6 伸張部 9 外部装置 11 ビデオ信号(画像信号) 13 圧縮画像信号 34,37 アドレス生成部 32,33,35,36 レジスタ 38 アドレス選択部 51 入力データ制御ブロック 52 HWデコーダ 52a 内部データ格納手段 52b 照合手段 53 メモリー 54 第1のマルチプレクサ 55 ランレングスカウンタ 56 データイネーブル発生回路 57 不定タイミング検出回路 58 復号データ量算出回路 59,60,61,62 遅延装置 63 第2のマルチプレクサ 103−1,103−2,103−3 信号処理装置 104 内部判定装置 105a,105b 内部遅延装置 106 データイネーブル発生回路 2 compression unit 3 data transfer control unit 4 compressed data buffer 6 decompression unit 9 external device 11 video signal (image signal) 13 compressed image signal 34, 37 address generation unit 32, 33, 35, 36 register 38 address selection unit 51 input data Control block 52 HW decoder 52a Internal data storage means 52b Collating means 53 Memory 54 First multiplexer 55 Run length counter 56 Data enable generation circuit 57 Undefined timing detection circuit 58 Decoded data amount calculation circuit 59, 60, 61, 62 Delay device 63 Second multiplexer 103-1, 103-2, 103-3 Signal processing device 104 Internal determination device 105a, 105b Internal delay device 106 Data enable generation circuit

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 入力された画像信号を圧縮して外部装置
へと出力する画像圧縮装置において、 前記画像信号を圧縮して圧縮画像信号を得る圧縮部と、 前記圧縮部と前記外部装置との間に介在して、前記圧縮
画像信号を一時的に保持する圧縮データバッファと、 前記圧縮データバッファにおける前記圧縮画像信号の書
込み動作および読出し動作を制御するデータ転送制御部
と、 を備え、 前記データ転送制御部は、前記圧縮データバッファが、
前記圧縮部からの書込み要請に応じて前記圧縮画像信号
を書込み、前記外部装置からの読出し要請に応じて前記
圧縮画像信号を読み出すように、前記圧縮データバッフ
ァを制御することを特徴とする画像圧縮装置。
1. An image compression apparatus for compressing an input image signal and outputting the compressed image signal to an external device, comprising: a compression unit that compresses the image signal to obtain a compressed image signal; and the compression unit and the external device. A data transfer control unit that controls the writing operation and the reading operation of the compressed image signal in the compressed data buffer by interposing therebetween a compressed data buffer that temporarily holds the compressed image signal; In the transfer control unit, the compressed data buffer is
The compression data buffer is controlled so that the compressed image signal is written in response to a write request from the compression unit and the compressed image signal is read in response to a read request from the external device. apparatus.
【請求項2】 請求項1に記載の画像圧縮装置におい
て、 前記圧縮部は、フレーム内符号化のアルゴリズムにもと
づいて圧縮を行なうことを特徴とする画像圧縮装置。
2. The image compression apparatus according to claim 1, wherein the compression unit performs compression based on an intra-frame coding algorithm.
【請求項3】 請求項2に記載の画像圧縮装置におい
て、 前記データ転送制御部は、前記圧縮データバッファのメ
モリ空間内に複数のバンクを設定し、前記圧縮部で得ら
れた前記圧縮画像信号を1画面分ごとに前記複数のバン
クの各1に振り分けて書込むとともに、前記複数のバン
クの中の書込み中でないバンクに保持されている前記圧
縮画像信号を、前記外部装置へと読出すように、前記圧
縮データバッファを制御することを特徴とする画像圧縮
装置。
3. The image compression apparatus according to claim 2, wherein the data transfer control unit sets a plurality of banks in a memory space of the compressed data buffer, and the compressed image signal obtained by the compression unit. Is written to each one of the plurality of banks for each screen, and the compressed image signal held in a bank not being written among the plurality of banks is read to the external device. An image compression apparatus, characterized in that the compressed data buffer is controlled.
【請求項4】 請求項3に記載の画像圧縮装置におい
て、 前記データ転送制御部は、 前記複数のバンクの各1ごとに、書込みおよび読出しの
際のアドレスを個別に生成する複数のアドレス生成部
と、 当該アドレス生成部の各1が書込みの際に生成した前記
アドレスに関する情報を、個別に保持する複数のレジス
タと、 前記複数のアドレス部の中から一つを選択し、選択され
た前記一つが生成する前記アドレスを、前記圧縮データ
バッファへと供給するアドレス選択部と、 を備え、 前記複数のアドレス生成部は、前記複数のレジスタに保
持される前記情報を参照して、読出しの際の前記アドレ
スを生成することを特徴とする画像圧縮装置。
4. The image compression apparatus according to claim 3, wherein the data transfer control unit individually generates addresses for writing and reading for each one of the plurality of banks. And a plurality of registers that individually hold information regarding the address generated by each one of the address generation units when writing, and one of the plurality of address units is selected, and the selected one is selected. An address selection unit that supplies the address generated by one to the compressed data buffer, the plurality of address generation units refer to the information held in the plurality of registers, and An image compression apparatus, wherein the address is generated.
【請求項5】 外部装置から入力された圧縮画像信号を
伸張して出力する画像伸張装置において、 前記圧縮画像信号を伸張して画像信号を得る伸張部と、 前記伸張部と前記外部装置との間に介在して、前記圧縮
画像信号を一時的に保持する圧縮データバッファと、 前記圧縮データバッファにおける前記圧縮画像信号の書
込み動作および読出し動作を制御するデータ転送制御部
と、 を備え、 前記データ転送制御部は、前記圧縮データバッファが、
前記外部装置からの書込み要請に応じて前記圧縮画像信
号を書き込み、前記伸張部からの読出し要請に応じて前
記圧縮画像信号を読み出すように、前記圧縮データバッ
ファを制御することを特徴とする画像伸張装置。
5. An image decompression device for decompressing and outputting a compressed image signal input from an external device, comprising: a decompression unit for decompressing the compressed image signal to obtain an image signal, the decompression unit and the external device. A data transfer control unit that controls the writing operation and the reading operation of the compressed image signal in the compressed data buffer by interposing therebetween a compressed data buffer that temporarily holds the compressed image signal; In the transfer control unit, the compressed data buffer is
The compressed image data buffer is controlled so that the compressed image signal is written in response to a write request from the external device and the compressed image signal is read out in response to a read request from the decompression unit. apparatus.
【請求項6】 請求項5に記載の画像伸張装置におい
て、 前記伸張は、フレーム内符号化のアルゴリズムにもとづ
いて伸張を行なうことを特徴とする画像伸張装置。
6. The image decompression device according to claim 5, wherein the decompression is performed on the basis of an intra-frame coding algorithm.
【請求項7】 請求項6に記載の画像伸張装置におい
て、 前記データ転送制御部は、前記圧縮データバッファのメ
モリ空間内に複数のバンクを設定し、当該複数のバンク
の中の読出し中でないバンクを選択して、前記外部装置
から送られる前記圧縮画像信号を、1画面分ごとに前記
複数のバンクの各1に振り分けて書込むように、前記圧
縮データバッファを制御することを特徴とする画像伸張
装置。
7. The image decompression device according to claim 6, wherein the data transfer control unit sets a plurality of banks in a memory space of the compressed data buffer, and a bank that is not being read out of the plurality of banks. The image data is controlled by controlling the compressed data buffer so that the compressed image signal sent from the external device is written to each one of the plurality of banks for each screen. Stretching device.
【請求項8】 請求項7に記載の画像伸張装置におい
て、 前記データ転送制御部は、 前記複数のバンクの各1ごとに、書込みおよび読出しの
際のアドレスを個別に生成する複数のアドレス生成部
と、 当該アドレス生成部の各1が書込みの際に生成した前記
アドレスに関する情報を、個別に保持する複数のレジス
タと、 前記複数のアドレス部の中から一つを選択し、選択され
た前記一つが生成する前記アドレスを、前記圧縮データ
バッファへと供給するアドレス選択部と、 を備え、 前記複数のアドレス生成部は、前記複数のレジスタに保
持される前記情報を参照して、読出しの際の前記アドレ
スを生成することを特徴とする画像伸張装置。
8. The image decompression device according to claim 7, wherein the data transfer control unit individually generates addresses for writing and reading for each one of the plurality of banks. And a plurality of registers that individually hold information regarding the address generated by each one of the address generation units when writing, and one of the plurality of address units is selected, and the selected one is selected. An address selection unit that supplies the address generated by one to the compressed data buffer, the plurality of address generation units refer to the information held in the plurality of registers, and An image decompression device characterized by generating the address.
【請求項9】 請求項7に記載の画像伸張装置におい
て、 前記データ転送制御部は、前記外部装置からの指示に応
答して、前記複数のバンクの中の一つに保持される1画
面分の前記圧縮画像信号を、反復的に読み出すように、
前記圧縮データバッファを制御することを特徴とする画
像伸張装置。
9. The image decompression device according to claim 7, wherein the data transfer control unit is responsive to an instruction from the external device for one screen held in one of the plurality of banks. To read the compressed image signal of
An image decompression device characterized by controlling the compressed data buffer.
【請求項10】 入力された画像信号を圧縮して外部装
置へと出力するとともに、前記外部装置から入力された
圧縮画像信号を伸張して出力する画像圧縮伸張装置にお
いて、 前記画像信号を圧縮して前記圧縮画像信号を得る圧縮部
と前記圧縮画像信号を伸張して前記画像信号を得る伸張
部とを備える圧縮伸張部と、 前記圧縮伸張部と前記外部装置との間に介在して、前記
圧縮画像信号を一時的に保持する圧縮データバッファ
と、 前記圧縮データバッファにおける前記圧縮画像信号の書
込み動作および読出し動作を制御するデータ転送制御部
と、 を備え、 前記圧縮部と伸張部は、互いに逆の演算を実行すること
によって、それぞれ圧縮および伸張を実行し、 前記データ転送制御部は、前記圧縮データバッファが、
前記圧縮伸張部からの要請に応じて当該圧縮伸張部との
間で前記圧縮画像信号の書込みまたは読出しを行い、前
記外部装置からの要請に応じて当該外部装置との間で前
記圧縮画像信号の読み出しまたは書込みを行うように、
前記圧縮データバッファを制御することを特徴とする画
像圧縮伸張装置。
10. An image compression / expansion device that compresses an input image signal and outputs the compressed image signal to an external device, and also expands and outputs a compressed image signal input from the external device. A compression / decompression unit including a compression unit for obtaining the compressed image signal and a decompression unit for decompressing the compressed image signal to obtain the image signal; and interposed between the compression / decompression unit and the external device, A compressed data buffer that temporarily holds a compressed image signal; and a data transfer control unit that controls a write operation and a read operation of the compressed image signal in the compressed data buffer, wherein the compression unit and the decompression unit are mutually Compressing and decompressing are performed by performing inverse operations, and the data transfer control unit is configured such that the compressed data buffer is
The compressed image signal is written to or read from the compression / expansion unit in response to a request from the compression / expansion unit, and the compressed image signal is exchanged with the external device in response to a request from the external device. To read or write,
An image compression / decompression device characterized by controlling the compressed data buffer.
【請求項11】 請求項5ないし請求項9のいずれかに
記載の画像伸張装置において、 前記圧縮画像信号が可変長符号のデータであり、 前記伸張部は、 圧縮された単一のデータを復号する小規模デコーダと、 前記小規模デコーダの略半分の処理速度特性を有し圧縮
された2個以上のデータを復号する大規模デコーダと、 前記小規模デコーダおよび前記大規模デコーダへ同時に
前記圧縮された単一または二個以上のデータを与える入
力データ制御手段と、 前記小規模デコーダからの出力データと大規模デコーダ
からの出力データとを切り替えて出力する第1の切り替
え手段と、 前記第1の切り替え手段からの出力データを単位時間だ
け遅延させて出力する遅延手段と、 所定のタイミング信号に基づいて前記第1の切り替え手
段からの出力データと前記遅延手段からの出力データと
を切り替えて出力する第2の切り替え手段と、 前記第2の切り替え手段を前記遅延手段からの出力デー
タから前記第1の切り替え手段からの出力データに切り
替えるための前記所定のタイミング信号を生成するタイ
ミング制御手段とを備え、 前記小規模デコーダは、受けたデータが単一のデータか
2個以上のデータかを判定する判定手段を有し、 前記タイミング制御手段は、 前記小規模デコーダの前記判定手段での判定信号に基づ
いて、前記第1の切り替え手段が前記小規模デコーダか
らの出力データから前記大規模デコーダからの出力デー
タに切り替わった際に生じる不定データを検出する不定
タイミング検出手段と、 前記不定タイミング検出手段からの信号に基づいて前記
所定のタイミング信号を前記第2の切り替え手段へ出力
するタイミング信号出力手段とを備えることを特徴とす
る画像伸張装置。
11. The image decompression device according to claim 5, wherein the compressed image signal is variable-length code data, and the decompression unit decodes a single compressed data. A small-scale decoder, a large-scale decoder for decoding two or more pieces of compressed data having a processing speed characteristic almost half that of the small-scale decoder, and the small-scale decoder and the large-scale decoder being simultaneously compressed. Input data control means for giving single or two or more data, first switching means for switching and outputting output data from the small scale decoder and output data from the large scale decoder, and the first switching means. Delaying means for delaying and outputting the output data from the switching means by a unit time; and output data from the first switching means based on a predetermined timing signal. A second switching means for switching between the output data from the delay means and the output data from the delay means; and for switching the second switching means from the output data from the delay means to the output data from the first switching means. Timing control means for generating the predetermined timing signal, and the small-scale decoder has determination means for determining whether the received data is single data or two or more data, and the timing control means Is undefined data generated when the first switching unit switches from the output data from the small-scale decoder to the output data from the large-scale decoder based on the determination signal of the determination unit of the small-scale decoder. And an indefinite timing detection means for detecting the predetermined timing signal based on the signal from the indefinite timing detection means And a timing signal output means for outputting to the second switching means.
【請求項12】 請求項1ないし請求項4のいずれかに
記載の画像圧縮装置において、 前記圧縮部がパイプラインで前記画像信号に対する所定
の処理を行うものであって、 前記圧縮部が、 与えられた水平の同期信号および垂直の同期信号に基づ
いて各パイプラインが有効に動作するタイミングを検出
し所定のイネーブル信号を出力するイネーブル手段と、 前記イネーブル手段からの前記所定のイネーブル信号を
受けたときのみ前記パイプライン内の信号処理を許可
し、前記所定のイネーブル信号を受けないときに前記パ
イプライン内の信号処理を停止させる処理制御手段とを
備えることを特徴とする画像圧縮装置。
12. The image compression apparatus according to claim 1, wherein the compression unit performs a predetermined process on the image signal in a pipeline, and the compression unit provides: An enable means for detecting a timing at which each pipeline operates effectively based on the horizontal and vertical sync signals and outputting a predetermined enable signal; and a predetermined enable signal from the enable means. An image compression apparatus, comprising: a processing control unit that permits signal processing in the pipeline only when the predetermined enable signal is not received, and stops signal processing in the pipeline when the predetermined enable signal is not received.
【請求項13】 請求項1ないし請求項4のいずれかに
記載の画像圧縮装置において、 前記圧縮部がパイプラインで前記画像信号に対する所定
の処理を行うものであって、 前記圧縮部が、 与えられた水平の同期信号および垂直の同期信号に基づ
いて各パイプラインが有効に動作するタイミングを検出
し所定のイネーブル信号を出力するイネーブル手段と、 前記所定のイネーブル信号を信号処理のパイプラインの
段数分だけ遅延させるイネーブル信号遅延手段と、 前記イネーブル手段または前記イネーブル信号遅延手段
からの各段に対応した前記所定のイネーブル信号を受け
たときのみ前記パイプライン内の信号処理を許可し、前
記所定のイネーブル信号を受けないときに前記パイプラ
イン内の信号処理を停止させる処理制御手段とを備える
ことを特徴とする画像圧縮装置。
13. The image compression apparatus according to claim 1, wherein the compression unit performs a predetermined process on the image signal in a pipeline, and the compression unit Enable means for detecting a timing at which each pipeline effectively operates based on the received horizontal synchronization signal and vertical synchronization signal, and outputting a predetermined enable signal; and the number of pipeline stages for signal processing the predetermined enable signal. The enable signal delaying means for delaying only by the amount, and the signal processing in the pipeline is permitted only when the predetermined enable signal corresponding to each stage from the enable means or the enable signal delay means is received, and the predetermined signal is enabled. Processing control means for stopping signal processing in the pipeline when the enable signal is not received Image compression apparatus according to claim and.
【請求項14】 請求項5ないし請求項9のいずれかに
記載の画像伸張装置において、 前記伸張部がパイプラインで前記圧縮画像信号に対する
所定の処理を行うものであって、 前記伸張部が、 与えられた水平の同期信号および垂直の同期信号に基づ
いて各パイプラインが有効に動作するタイミングを検出
し所定のイネーブル信号を出力するイネーブル手段と、 前記イネーブル手段からの前記所定のイネーブル信号を
受けたときのみ前記パイプライン内の信号処理を許可
し、前記所定のイネーブル信号を受けないときに前記パ
イプライン内の信号処理を停止させる処理制御手段とを
備えることを特徴とする画像伸張装置。
14. The image decompression device according to claim 5, wherein the decompression unit performs predetermined processing on the compressed image signal in a pipeline, and the decompression unit includes: An enable means for detecting a timing at which each pipeline operates effectively on the basis of the given horizontal synchronizing signal and vertical synchronizing signal and outputting a predetermined enable signal, and a predetermined enable signal from the enable means. An image decompression device, comprising: a processing control unit that permits signal processing in the pipeline only when the predetermined enable signal is received and stops signal processing in the pipeline when the predetermined enable signal is not received.
【請求項15】 請求項5ないし請求項9のいずれかに
記載の画像伸張装置において、 前記伸張部がパイプラインで前記圧縮画像信号に対する
所定の処理を行うものであって、 前記伸張部が、 与えられた水平の同期信号および垂直の同期信号に基づ
いて各パイプラインが有効に動作するタイミングを検出
し所定のイネーブル信号を出力するイネーブル手段と、 前記所定のイネーブル信号を信号処理のパイプラインの
段数分だけ遅延させるイネーブル信号遅延手段と、 前記イネーブル手段または前記イネーブル信号遅延手段
からの各段に対応した前記所定のイネーブル信号を受け
たときのみ前記パイプライン内の信号処理を許可し、前
記所定のイネーブル信号を受けないときに前記パイプラ
イン内の信号処理を停止させる処理制御手段とを備える
ことを特徴とする画像伸張装置。
15. The image decompression device according to claim 5, wherein the decompression unit performs predetermined processing on the compressed image signal in a pipeline, and the decompression unit includes: Enable means for detecting the timing at which each pipeline operates effectively based on the given horizontal synchronizing signal and vertical synchronizing signal and outputting a predetermined enable signal, and the predetermined enable signal for the pipeline of signal processing. The enable signal delay means for delaying by the number of stages, and the signal processing in the pipeline is permitted only when the enable means or the predetermined enable signal corresponding to each stage from the enable signal delay means is received, and the predetermined signal is permitted. Processing control means for stopping the signal processing in the pipeline when not receiving the enable signal of Image expansion apparatus according to claim Rukoto.
JP6820996A 1996-03-25 1996-03-25 Image compression device and image decompression device Expired - Lifetime JP3330813B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6820996A JP3330813B2 (en) 1996-03-25 1996-03-25 Image compression device and image decompression device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6820996A JP3330813B2 (en) 1996-03-25 1996-03-25 Image compression device and image decompression device

Publications (2)

Publication Number Publication Date
JPH09261628A true JPH09261628A (en) 1997-10-03
JP3330813B2 JP3330813B2 (en) 2002-09-30

Family

ID=13367189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6820996A Expired - Lifetime JP3330813B2 (en) 1996-03-25 1996-03-25 Image compression device and image decompression device

Country Status (1)

Country Link
JP (1) JP3330813B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004004331A1 (en) * 2002-06-27 2004-01-08 Ricoh Company, Ltd. Image processing apparatus
JP2008141276A (en) * 2006-11-30 2008-06-19 Sanyo Electric Co Ltd Tv signal processing circuit
JP2015195430A (en) * 2014-03-31 2015-11-05 株式会社メガチップス Data storage control device and data storage control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004004331A1 (en) * 2002-06-27 2004-01-08 Ricoh Company, Ltd. Image processing apparatus
JP2008141276A (en) * 2006-11-30 2008-06-19 Sanyo Electric Co Ltd Tv signal processing circuit
US8311123B2 (en) 2006-11-30 2012-11-13 Semiconductor Components Industries, Llc TV signal processing circuit
JP2015195430A (en) * 2014-03-31 2015-11-05 株式会社メガチップス Data storage control device and data storage control method

Also Published As

Publication number Publication date
JP3330813B2 (en) 2002-09-30

Similar Documents

Publication Publication Date Title
US6192073B1 (en) Methods and apparatus for processing video data
JP2912593B2 (en) System for encoding and decoding multimedia data, MPEG system for compressing and expanding multimedia data, and method for compressing and expanding multimedia data
AU676012B2 (en) Dual memory buffer scheme for providing multiple data streams from stored data
US20110091124A1 (en) System for multi-byte reading
KR20000057375A (en) Parallel decoding of interleaved data streams within an mpeg decoder
JP2824425B2 (en) Apparatus for decoding MPEG video bit stream via multiple paths
JP2611637B2 (en) Image compression / decompression device
JPH07222164A (en) Digital video bit stream coder
WO1993012609A1 (en) Image digitizer including pixel engine
JPH09261628A (en) Image compressor, image expander, and image compander
US7330595B2 (en) System and method for video data compression
JP2829246B2 (en) Image expansion device
JP3828010B2 (en) Image receiving system
GB2333201A (en) Video decoder for high picture quality
KR100195098B1 (en) Reordering method and circuit of variable length decoded data in image compressing and restoring apparatus
JP2918877B2 (en) Image processing device
JP2942738B2 (en) Data decryption IC
KR960018942A (en) Compression / Restore Circuit of Video Data
JPH06268870A (en) Picture companding circuit device
JP2986474B2 (en) Image information display device
JP2795100B2 (en) Image compression circuit and image decompression circuit
JPH118853A (en) Image compressing and expanding device
KR100208480B1 (en) Decoding apparatus of moving picture compressor
KR100987252B1 (en) Interface device and method for processing of bitstream data
JPH0661949A (en) Image/voice data compression/expansion processor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080719

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080719

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090719

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090719

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100719

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100719

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110719

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120719

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150719

Year of fee payment: 13

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term