JPH0779353A - Image compression / decompression device - Google Patents

Image compression / decompression device

Info

Publication number
JPH0779353A
JPH0779353A JP5220967A JP22096793A JPH0779353A JP H0779353 A JPH0779353 A JP H0779353A JP 5220967 A JP5220967 A JP 5220967A JP 22096793 A JP22096793 A JP 22096793A JP H0779353 A JPH0779353 A JP H0779353A
Authority
JP
Japan
Prior art keywords
image data
register
frame memory
compression
compressed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5220967A
Other languages
Japanese (ja)
Inventor
Tetsuyuki Toyofuku
哲之 豊福
Tetsuya Yamaguchi
徹也 山口
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5220967A priority Critical patent/JPH0779353A/en
Publication of JPH0779353A publication Critical patent/JPH0779353A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)

Abstract

(57)【要約】 【目的】 主記憶間での画像圧縮伸長および主記憶とフ
レームメモリ間での圧縮伸長が可能な画像圧縮伸長装置
を提供すること。 【構成】 データの伸長時には、画像圧縮伸長器30で
伸長した静止画像データを画像データFIFO50とフレー
ムメモリコントローラ70のどちらに転送するか選択
し、データの圧縮時には、前記画像データFIFO5と前記
フレームメモリコントローラ70のどちらから前記画像
圧縮伸長器30に静止画像データを入力するか選択する
転送切替器40を備えた画像圧縮伸長装置。
(57) [Summary] [Object] To provide an image compression / decompression device capable of image compression / decompression between main memories and compression / decompression between main memories and frame memories. [Structure] When decompressing data, it is selected which of the image data FIFO 50 and the frame memory controller 70 the still image data decompressed by the image compression / decompression device 30 is transferred, and at the time of data compression, the image data FIFO 5 and the frame memory An image compression / decompression device having a transfer switching device 40 for selecting which of the controllers 70 inputs still image data to the image compression / decompression device 30.

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 / expansion device.

【0002】[0002]

【従来の技術】従来の画像圧縮伸長装置を図2と図3を
用いて説明する。
2. Description of the Related Art A conventional image compression / decompression device will be described with reference to FIGS.

【0003】図2は主記憶メモリ20内の圧縮画像デー
タ領域21と静止画像データ領域22間で画像データを
圧縮および伸長する画像圧縮伸長装置の構成を示す図で
ある。
FIG. 2 is a diagram showing the structure of an image compression / expansion device for compressing and expanding image data between a compressed image data area 21 and a still image data area 22 in the main memory 20.

【0004】圧縮画像データ領域21にある圧縮画像を
画像圧縮伸長器30で伸長して静止画像データ領域22
に格納する伸長機能について説明する。
The compressed image in the compressed image data area 21 is decompressed by the image compression / decompression device 30 to be extracted as the still image data area 22.
The decompression function stored in will be described.

【0005】MPU 10がDMA コントローラ60のアドレ
スレジスタ62に対して静止画像データ領域22の先頭
アドレスを、バイトレジスタ61に圧縮画像データ領域
21にある圧縮画像の伸長結果の画像のサイズを、ステ
ータスレジスタ63に画像転送方向をそれぞれ設定す
る。
The MPU 10 sends the start address of the still image data area 22 to the address register 62 of the DMA controller 60, the byte register 61 to the size of the image resulting from the expansion of the compressed image in the compressed image data area 21, and the status register. The image transfer directions are set to 63.

【0006】次にステータスレジスタ63にDMA 転送開
始の命令を書き込む。次にMPU 10は圧縮画像データ領
域21にある圧縮画像データを先頭から画像圧縮伸長器
30のコーデックレジスタ31に書き込む。この際は、
ステータスレジスタ32で画像圧縮伸長器30の状態を
見て書き込める状態であることを確認した後に書き込
む。
Then, a DMA transfer start instruction is written in the status register 63. Next, the MPU 10 writes the compressed image data in the compressed image data area 21 from the beginning into the codec register 31 of the image compression / decompression device 30. In this case,
Writing is performed after checking the state of the image compression / decompression device 30 in the status register 32 to confirm that the image can be written.

【0007】コーデックレジスタ31に書き込まれた圧
縮画像データは画像圧縮伸長器30が伸長して伸長デー
タレジスタ33に書き込む。
The compressed image data written in the codec register 31 is expanded by the image compression / expansion device 30 and written in the expansion data register 33.

【0008】伸長データレジスタ33に書き込まれた伸
長データはハードウェアの制御で画像データFIFO50に
書き込まれる。
The decompressed data written in the decompressed data register 33 is written in the image data FIFO 50 under the control of hardware.

【0009】画像データFIFO50に伸長データがあると
DMA コントローラ60はアドレスレジスタ62に書かれ
た領域に画像データFIFO50内の先頭データを転送し、
アドレスレジスタ62を一つ増加させ、バイトレジスタ
61を一つ減ずる。
If the image data FIFO 50 has decompressed data
The DMA controller 60 transfers the top data in the image data FIFO 50 to the area written in the address register 62,
The address register 62 is increased by 1 and the byte register 61 is decreased by 1.

【0010】このようにしてMPU 10は圧縮画像データ
領域21にある圧縮画像データをすべてコーデックレジ
スタ31に書き込み、伸長された画像はDMA コントロー
ラ60が静止画像データ領域22に書き込むことで伸長
が終了する。
In this way, the MPU 10 writes all the compressed image data in the compressed image data area 21 into the codec register 31, and the decompressed image is completed by the DMA controller 60 writing in the still image data area 22. .

【0011】次に、静止画像データ領域22にある静止
画像データを画像圧縮伸長器30で圧縮して圧縮画像デ
ータ領域21に格納する圧縮機能について説明する。
Next, a compression function of compressing still image data in the still image data area 22 by the image compression / expansion device 30 and storing it in the compressed image data area 21 will be described.

【0012】MPU 10がDMA コントローラ60のバイト
レジスタ61に静止画像データ領域22にある静止画像
のサイズを、ステータスレジスタ63に画像転送方向を
設定する。アドレスレジスタ62は使用しない。
The MPU 10 sets the size of the still image in the still image data area 22 in the byte register 61 of the DMA controller 60 and sets the image transfer direction in the status register 63. The address register 62 is not used.

【0013】次にステータスレジスタ63にDMA 転送開
始の命令を書き込む。DMA コントローラ60は静止画像
データ領域22にある静止画像を画像データFIFO50に
転送する。この転送において、DMA コントローラ60は
画像データFIFO50がオーバーフローをおこさないよう
に転送を制御する。
Next, a DMA transfer start instruction is written in the status register 63. The DMA controller 60 transfers the still image in the still image data area 22 to the image data FIFO 50. In this transfer, the DMA controller 60 controls the transfer so that the image data FIFO 50 does not overflow.

【0014】画像データFIFO50に書き込まれた画像デ
ータは伸長データレジスタ33に書き込まれる。
The image data written in the image data FIFO 50 is written in the decompression data register 33.

【0015】伸長画像データレジスタ33に書き込まれ
た画像データは画像圧縮伸長器30で圧縮されコーデッ
クレジスタ31に書き込まれる。
The image data written in the expanded image data register 33 is compressed by the image compression / expansion device 30 and written in the codec register 31.

【0016】MPU 10はステータスレジスタ32を見て
コーデックレジスタ31に圧縮画像があることを確認し
て、コーデックレジスタ31の内容を圧縮画像データ領
域21に書き込む。
The MPU 10 looks at the status register 32 and confirms that the codec register 31 has a compressed image, and writes the contents of the codec register 31 in the compressed image data area 21.

【0017】このようにして静止画像データ領域22に
ある静止画像が画像圧縮伸長器30で圧縮され圧縮画像
データ領域21に格納される。
In this way, the still image in the still image data area 22 is compressed by the image compression / expansion unit 30 and stored in the compressed image data area 21.

【0018】図3はフレームメモリ90と圧縮画像デー
タ領域21間で画像データを圧縮および伸長する画像圧
縮伸長装置の構成を示す図である。
FIG. 3 is a view showing the arrangement of an image compression / decompression device which compresses and decompresses image data between the frame memory 90 and the compressed image data area 21.

【0019】圧縮画像データ領域21にある圧縮画像を
画像圧縮伸長器30で伸長してフレームメモリ90に書
き込む伸長機能について説明する。
The decompression function of decompressing the compressed image in the compressed image data area 21 by the image compression / decompression device 30 and writing it in the frame memory 90 will be described.

【0020】MPU 10がフレームメモリコントローラ7
0に対して、画像圧縮伸長器30が伸長データを書き込
む伸長データレジスタ33のデータを、フレームメモリ
90のどこに書くかの命令を送る。
The MPU 10 is the frame memory controller 7
To 0, the image compression / expansion device 30 sends an instruction to write in the frame memory 90 the data of the expansion data register 33 for writing the expansion data.

【0021】次にMPU 10は圧縮画像データ領域21に
ある圧縮画像データを先頭から画像圧縮伸長器30のコ
ーデックレジスタ31に書き込む。
Next, the MPU 10 writes the compressed image data in the compressed image data area 21 into the codec register 31 of the image compression / decompression device 30 from the beginning.

【0022】MPU 10が圧縮画像データをコーデックレ
ジスタ31に書き込む際には、ステータスレジスタ32
で画像圧縮伸長器30の状態を見て、書き込める状態で
あることを確認した後に書き込む。
When the MPU 10 writes the compressed image data in the codec register 31, the status register 32 is used.
Then, the state of the image compression / decompression device 30 is checked to confirm that the image can be written, and then the image is written.

【0023】コーデックレジスタ31に書き込まれた圧
縮画像データは画像圧縮伸長器30が伸長して伸長デー
タレジスタ33に書き込む。
The compressed image data written in the codec register 31 is expanded by the image compression / expansion device 30 and written in the expansion data register 33.

【0024】伸長データレジスタ33に書き込まれた伸
長データはハードウェアの制御でフレームメモリコント
ローラ70が読みだし、MPU 10が指定したフレームメ
モリ領域90に書き込む。
The decompressed data written in the decompressed data register 33 is read out by the frame memory controller 70 under the control of hardware and written in the frame memory area 90 designated by the MPU 10.

【0025】このようにしてMPU 10は圧縮画像データ
領域21にある圧縮画像データをすべてコーデックレジ
スタ31に書き込み、伸長された画像はフレームメモリ
コントローラ70を通じてフレームメモリ90の指定さ
れた領域に書き込まれる。
In this way, the MPU 10 writes all the compressed image data in the compressed image data area 21 into the codec register 31, and the decompressed image is written into the designated area of the frame memory 90 through the frame memory controller 70.

【0026】次に、フレームメモリ90にある画像デー
タを画像圧縮伸長器30で圧縮して圧縮画像データ領域
21に格納する圧縮機能について説明する。
Next, the compression function of compressing the image data in the frame memory 90 by the image compression / expansion device 30 and storing it in the compressed image data area 21 will be described.

【0027】MPU 10がフレームメモリコントローラ7
0に対してフレームメモリ90のどの領域を画像圧縮伸
長器30に送るかを決める命令を送る。
The MPU 10 is the frame memory controller 7
A command for deciding which area of the frame memory 90 to send to the image compression / decompression device 30 is sent to 0.

【0028】フレームメモリコントローラ70はフレー
ムメモリ90の指定された領域を伸長データレジスタ3
3に転送する。
The frame memory controller 70 expands the designated area of the frame memory 90 to the decompression data register 3
Transfer to 3.

【0029】伸長画像データレジスタ33に書き込まれ
た画像データは画像圧縮伸長器30で圧縮されコーデッ
クレジスタ31に書き込まれる。
The image data written in the expanded image data register 33 is compressed by the image compression / expansion device 30 and written in the codec register 31.

【0030】MPU 10はステータスレジスタ31を見て
コーデックレジスタ31に圧縮画像があることを確認し
て、コーデックレジスタ31の内容を圧縮画像データ領
域21に書き込む。
The MPU 10 looks at the status register 31 and confirms that there is a compressed image in the codec register 31, and writes the contents of the codec register 31 in the compressed image data area 21.

【0031】このようにしてフレームメモリ90の指定
された領域の画像データが画像圧縮伸長器30で圧縮さ
れ圧縮画像データ領域21に格納される。
In this way, the image data in the designated area of the frame memory 90 is compressed by the image compression / decompression device 30 and stored in the compressed image data area 21.

【0032】[0032]

【発明が解決しようとする課題】しかしながら上記図2
に示す構成では、フレームメモリ内の画像の圧縮および
メモリ内の圧縮画像のフレームメモリへの伸長ができな
かった。
However, the above-mentioned FIG.
With the configuration shown in (1), the image in the frame memory cannot be compressed and the compressed image in the memory cannot be expanded to the frame memory.

【0033】また、上記図3に示す構成では、メモリ内
の圧縮データを伸長してメモリに格納できず、メモリ内
の画像データを圧縮してメモリに格納できないという問
題を有していた。
Further, the structure shown in FIG. 3 has a problem that the compressed data in the memory cannot be expanded and stored in the memory, and the image data in the memory cannot be compressed and stored in the memory.

【0034】本発明は上記従来の問題点を解決するもの
で、1つのシステムで、フレームメモリにおける画像デ
ータの圧縮・伸長、および圧縮・伸長した画像データを
メモリに格納することが可能な画像圧縮伸長装置を提供
することを目的とする。
The present invention solves the above-mentioned problems of the prior art by compressing / decompressing image data in a frame memory and compressing / decompressing image data in a memory in one system. An object is to provide a decompression device.

【0035】[0035]

【課題を解決するための手段】この目的を達成するため
に、本発明の画像圧縮伸長装置は、圧縮画像データを保
持する圧縮画像データ領域と、静止画像データを保持す
る静止画像データ領域と、静止画像データを圧縮し、圧
縮画像データを伸長する画像圧縮伸長器と、表示装置の
出力内容を保持するフレームメモリと、前記フレームメ
モリへのデータの読み書きを制御するフレームメモリコ
ントローラと、前記静止画像データを保持する画像デー
タFIFOと、前記静止画像データと前記画像データFIFO間
で静止画像データを転送するDMA コントローラと、前記
画像圧縮伸長器で伸長した静止画像データを前記画像デ
ータFIFOと前記フレームメモリコントローラのどちらに
転送するかを決定し、前記フレームメモリコントローラ
と前記画像データFIFOのどちらから前記画像圧縮伸長器
に静止画像データを入力するかを決める転送切替器とを
備える。
In order to achieve this object, an image compression / expansion apparatus of the present invention comprises a compressed image data area for holding compressed image data, a still image data area for holding still image data, and An image compression / decompression device that compresses still image data and decompresses the compressed image data, a frame memory that holds output contents of a display device, a frame memory controller that controls reading and writing of data from the frame memory, and the still image. An image data FIFO that holds data, a DMA controller that transfers still image data between the still image data and the image data FIFO, still image data expanded by the image compression / expansion device, and the image data FIFO and the frame memory. Decide which of the controller to transfer to, the frame memory controller and the image data FIFO And a transfer switch for determining whether to enter the still image data to the image compression and expansion unit from Chira.

【0036】[0036]

【作用】本発明によれば、転送切替器を備えたことで、
メモリ間での圧縮伸長とメモリとフレームメモリ間での
圧縮伸長機能を1つの画像圧縮制御装置で可能としてい
る。
According to the present invention, since the transfer switching device is provided,
A single image compression control device enables compression / expansion between memories and compression / expansion functions between memories and frame memories.

【0037】[0037]

【実施例】以下本発明の実施例について、図面を参照し
ながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0038】図1は本発明の一実施例の構成を示す図で
ある。図1において、10はMPU 、20は主記憶、21
は圧縮画像データ領域、22は静止画像データ領域、3
0は画像圧縮伸長器、31はコーデックレジスタ、32
はステータスレジスタ、33は伸長データレジスタ、4
0は転送切替器、50は画像データFIFO、60はDMAコ
ントローラ、61はバイトレジスタ、62はアドレスレ
ジスタ、63はステータスレジスタ、70はフレームメ
モリコントローラ、80はクリッピング情報記憶装置、
90はフレームメモリ、100は表示装置、110はバ
スである。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. In FIG. 1, 10 is an MPU, 20 is a main memory, and 21.
Is a compressed image data area, 22 is a still image data area, 3
0 is an image compression / decompression device, 31 is a codec register, 32
Is a status register, 33 is a decompression data register, 4
0 is a transfer switcher, 50 is an image data FIFO, 60 is a DMA controller, 61 is a byte register, 62 is an address register, 63 is a status register, 70 is a frame memory controller, 80 is a clipping information storage device,
90 is a frame memory, 100 is a display device, and 110 is a bus.

【0039】まず、圧縮画像データ領域21にある圧縮
画像を画像圧縮伸長器30で伸長して静止画像データ領
域22に格納する伸長機能について説明する。
First, the decompression function of decompressing the compressed image in the compressed image data area 21 by the image compression / decompression device 30 and storing it in the still image data area 22 will be described.

【0040】MPU 10は、転送切替器40を伸長データ
レジスタ33から画像データFIFO50の方向に設定す
る。
The MPU 10 sets the transfer switch 40 in the direction from the decompression data register 33 to the image data FIFO 50.

【0041】MPU 10がDMA コントローラ60のアドレ
スレジスタ62に対して静止画像データ領域22の先頭
アドレスを、バイトアドレス61に圧縮画像データ領域
21にある圧縮画像の伸長画像のサイズを、ステータス
レジスタ63に画像転送方向を設定する。次にステータ
スレジスタ63にDMA 転送開始の命令を書き込む。
The MPU 10 sets the start address of the still image data area 22 to the address register 62 of the DMA controller 60, the byte address 61 to the size of the expanded image of the compressed image in the compressed image data area 21, and the status register 63 to the status register 63. Set the image transfer direction. Next, the DMA transfer start instruction is written in the status register 63.

【0042】次にMPU 10は圧縮画像データ領域21に
ある圧縮画像データを先頭から画像圧縮伸長器30のコ
ーデックレジスタ31に書き込む。
Next, the MPU 10 writes the compressed image data in the compressed image data area 21 into the codec register 31 of the image compression / decompression device 30 from the beginning.

【0043】MPU 10が圧縮画像データをコーデックレ
ジスタ31に書き込む際には、ステータスレジスタ32
で画像圧縮伸長器30の状態を見て書き込める状態であ
ることを確認した後に書き込む。
When the MPU 10 writes compressed image data in the codec register 31, the status register 32 is used.
Writing is performed after checking the state of the image compression / expansion unit 30 to confirm that writing is possible.

【0044】コーデックレジスタ31に書き込まれた圧
縮画像データは画像圧縮伸長器30が伸長して伸長デー
タレジスタ33に書き込む。
The compressed image data written in the codec register 31 is expanded by the image compression / expansion device 30 and written in the expansion data register 33.

【0045】伸長データレジスタ33に書き込まれた伸
長データは、転送切替器40が伸長データレジスタ33
から画像データFIFO50側に設定されているため、画像
データFIFO50に書き込まれる。
The decompressed data written in the decompressed data register 33 is transferred by the transfer switch 40 to the decompressed data register 33.
Since it is set to the image data FIFO 50 side, the data is written in the image data FIFO 50.

【0046】画像データFIFO50に伸長データがあると
DMA コントローラ60はアドレスレジスタ62に書かれ
た領域に画像データFIFO50内の先頭データを転送し、
アドレスレジスタ62を一つ増加させ、バイトレジスタ
61を一つ減ずる。
If the image data FIFO 50 has decompressed data
The DMA controller 60 transfers the top data in the image data FIFO 50 to the area written in the address register 62,
The address register 62 is increased by 1 and the byte register 61 is decreased by 1.

【0047】このようにして、MPU 10は圧縮画像デー
タ領域21にある圧縮画像データをすべてコーデックレ
ジスタ31に書き込み、伸長された画像はDMA コントロ
ーラ60が静止画像データ領域22に書き込むことで伸
長が終了する。
In this way, the MPU 10 writes all the compressed image data in the compressed image data area 21 into the codec register 31, and the decompressed image is written into the still image data area 22 by the DMA controller 60, thus ending the decompression. To do.

【0048】次に、静止画像データ領域22にある静止
画像データを画像圧縮伸長器30で圧縮して圧縮画像デ
ータ領域21に格納する圧縮機能について説明する。
Next, a compression function of compressing still image data in the still image data area 22 by the image compression / expansion device 30 and storing it in the compressed image data area 21 will be described.

【0049】MPU 10はまず転送切替器40を画像デー
タFIFO50から伸長データレジスタ33の方向に設定す
る。
The MPU 10 first sets the transfer switch 40 in the direction from the image data FIFO 50 to the decompression data register 33.

【0050】MPU 10がDMA コントローラ60のバイト
レジスタ61に静止画像データ領域22にある静止画像
のサイズを、ステータスレジスタ63に画像転送方向を
設定する。アドレスレジスタ62は使用しない。
The MPU 10 sets the size of the still image in the still image data area 22 in the byte register 61 of the DMA controller 60 and sets the image transfer direction in the status register 63. The address register 62 is not used.

【0051】次にステータスレジスタ63にDMA 転送開
始の命令を書き込む。DMA コントローラ60は静止画像
データ領域22にある静止画像を画像データFIFO50に
転送する。この転送において、DMA コントローラ60は
画像データFIFO50がオーバーフローをおこさないよう
に転送を制御する。
Next, a DMA transfer start instruction is written in the status register 63. The DMA controller 60 transfers the still image in the still image data area 22 to the image data FIFO 50. In this transfer, the DMA controller 60 controls the transfer so that the image data FIFO 50 does not overflow.

【0052】画像データFIFO50に書き込まれた画像デ
ータは、転送切替器40が画像データFIFO50から伸長
データレジスタ33に設定されているため、伸長データ
レジスタ33に書き込まれる。
The image data written in the image data FIFO 50 is written in the expanded data register 33 because the transfer switch 40 is set in the expanded data register 33 from the image data FIFO 50.

【0053】伸長画像データレジスタ33に書き込まれ
た画像データは画像圧縮伸長器30で圧縮されコーデッ
クレジスタ31に書き込まれる。
The image data written in the expanded image data register 33 is compressed by the image compression / expansion device 30 and written in the codec register 31.

【0054】MPU 10はステータスレジスタ32を見て
コーデックレジスタ31に圧縮画像があることを確認し
て、コーデックレジスタ31の内容を圧縮画像データ領
域21に書き込む。
The MPU 10 looks at the status register 32 and confirms that there is a compressed image in the codec register 31, and writes the contents of the codec register 31 in the compressed image data area 21.

【0055】このようにして静止画像データ領域22に
ある静止画像が画像圧縮伸長器30で圧縮され、圧縮画
像データ領域21に格納される。
In this way, the still image in the still image data area 22 is compressed by the image compression / expansion device 30 and stored in the compressed image data area 21.

【0056】次に、圧縮画像データ領域21にある圧縮
画像を画像圧縮伸長器30で伸長してフレームメモリ9
0に書き込む伸長機能について説明する。
Next, the compressed image in the compressed image data area 21 is decompressed by the image compression / decompression device 30 to be expanded in the frame memory 9
The decompression function for writing 0 will be described.

【0057】MPU 10はまず転送切替器40を伸長デー
タレジスタ33からフレームメモリコントローラ70の
方向に設定する。
The MPU 10 first sets the transfer switch 40 in the direction from the decompression data register 33 to the frame memory controller 70.

【0058】MPU 10がフレームメモリコントローラ7
0に対して画像圧縮伸長器30が伸長データを書き込む
伸長データレジスタ33のデータをフレームメモリ90
のどこに書くかを指定する命令を送る。
The MPU 10 is the frame memory controller 7
When the image compression / decompression device 30 writes decompression data to 0,
Send an instruction specifying where to write.

【0059】次にMPU 10は圧縮画像データ領域21に
ある圧縮画像データを先頭から画像圧縮伸長器30のコ
ーデックレジスタ31に書き込む。
Next, the MPU 10 writes the compressed image data in the compressed image data area 21 into the codec register 31 of the image compression / decompression device 30 from the beginning.

【0060】MPU 10が圧縮画像データをコーデックレ
ジスタ31に書き込む際には、ステータスレジスタ32
で画像圧縮伸長器30の状態を見て書き込める状態であ
ることを確認した後に書き込む。
When the MPU 10 writes the compressed image data in the codec register 31, the status register 32
Writing is performed after checking the state of the image compression / expansion unit 30 to confirm that writing is possible.

【0061】コーデックレジスタ31に書き込まれた圧
縮画像データは画像圧縮伸長器30が伸長して伸長デー
タレジスタ33に書き込む。
The compressed image data written in the codec register 31 is expanded by the image compression / expansion device 30 and written in the expansion data register 33.

【0062】伸長データレジスタ33に書き込まれた伸
長データは、転送切替器40を伸長データレジスタ33
からフレームメモリコントローラ70の方向に設定して
いるため、フレームメモリコントローラ70が読みだ
し、MPU 10が指定した領域に書き込む。
The decompressed data written in the decompressed data register 33 is transferred to the transfer switching unit 40 by the decompressed data register 33.
Since it is set in the direction from the frame memory controller 70 to the frame memory controller 70, the frame memory controller 70 reads out and writes in the area designated by the MPU 10.

【0063】このようにしてMPU 10は圧縮画像データ
領域21にある圧縮画像データをすべてコーデックレジ
スタ31に書き込み、伸長された画像はフレームメモリ
コントローラ70を通じてフレームメモリ90の指定さ
れた領域に書き込まれる。
In this way, the MPU 10 writes all the compressed image data in the compressed image data area 21 into the codec register 31, and the decompressed image is written into the designated area of the frame memory 90 through the frame memory controller 70.

【0064】次に、フレームメモリ90にある画像デー
タを画像圧縮伸長器30で圧縮して圧縮画像データ領域
21に格納する圧縮機能について説明する。
Next, the compression function of compressing the image data in the frame memory 90 by the image compression / expansion device 30 and storing it in the compressed image data area 21 will be described.

【0065】MPU 10はまず転送切替器40をフレーム
メモリコントローラ70から伸長データレジスタ33の
方向に設定する。
The MPU 10 first sets the transfer switch 40 in the direction from the frame memory controller 70 to the decompression data register 33.

【0066】MPU 10がフレームメモリコントローラ7
0に対して、フレームメモリ90のどこの領域を画像圧
縮伸長器30に送るかを決める命令を送る。
The MPU 10 is the frame memory controller 7
A command for determining which area of the frame memory 90 is to be sent to the image compression / decompression device 30 is sent to 0.

【0067】転送切替器40がフレームメモリ70から
伸長データレジスタ33の方向に設定されているため、
フレームメモリコントローラ70はフレームメモリ90
にある指定された領域を伸長データレジスタ33に転送
する。
Since the transfer switch 40 is set in the direction from the frame memory 70 to the decompression data register 33,
The frame memory controller 70 is a frame memory 90.
And transfers the designated area in the decompression data register 33.

【0068】伸長データレジスタ33に書き込まれた画
像データは画像圧縮伸長器30で圧縮されコーデックレ
ジスタに31書き込まれる。
The image data written in the decompression data register 33 is compressed by the image compression / decompression device 30 and written in the codec register 31.

【0069】MPU 10はステータスレジスタ32を見て
コーデックレジスタ31に圧縮画像があることを確認し
て、コーデックレジスタ31の内容を圧縮画像データ領
域21に書き込む。
The MPU 10 looks at the status register 32 and confirms that there is a compressed image in the codec register 31, and writes the contents of the codec register 31 in the compressed image data area 21.

【0070】このようにしてフレームメモリ90内の指
定された領域の画像データが画像圧縮伸長器30で圧縮
され圧縮画像データ領域21に格納される。
In this way, the image data of the designated area in the frame memory 90 is compressed by the image compression / decompression device 30 and stored in the compressed image data area 21.

【0071】[0071]

【発明の効果】以上のように本発明は、転送切替器を有
することにより一つの画像圧縮伸長装置でメモリ間での
圧縮伸長とメモリ・フレームメモリ間での圧縮伸長を実
現できる機能を持ち、本発明による効果は多大である。
As described above, the present invention has the function of realizing the compression / expansion between the memories and the compression / expansion between the memory and the frame memory with one image compression / expansion device by having the transfer switch. The effect of the present invention is great.

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

【図1】本発明の実施例の構成を示す図FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【図2】従来の画像圧縮伸長装置の第1の構成例を示す
FIG. 2 is a diagram showing a first configuration example of a conventional image compression / decompression device.

【図3】従来の画像圧縮伸長装置の第2の構成例を示す
FIG. 3 is a diagram showing a second configuration example of a conventional image compression / decompression device.

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

10 MPU 20 主記憶 21 圧縮画像データ領域 22 静止画像データ領域 30 画像圧縮伸長器 31 コーデックレジスタ 32 ステータスレジスタ 33 伸長データレジスタ 40 転送切替器 50 画像データFIFO 60 DMA コントローラ 61 バイトレジスタ 62 アドレスレジスタ 63 ステータスレジスタ 70 フレームメモリコントローラ 80 クリッピング情報記憶装置 90 フレームメモリ 100 表示装置 110 バス 10 MPU 20 Main memory 21 Compressed image data area 22 Still image data area 30 Image compression / decompression device 31 Codec register 32 Status register 33 Decompression data register 40 Transfer switcher 50 Image data FIFO 60 DMA controller 61 Byte register 62 Address register 63 Status register 70 frame memory controller 80 clipping information storage device 90 frame memory 100 display device 110 bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】圧縮画像データを保持する圧縮画像データ
領域と、静止画像データを保持する静止画像データ領域
と、静止画像データを圧縮し、圧縮画像データを伸長す
る画像圧縮伸長器と、表示装置の出力内容を保持するフ
レームメモリと、前記フレームメモリへのデータの読み
書きを制御するフレームメモリコントローラと、前記静
止画像データを保持する画像データFIFOと、前記静止画
像データ領域と前記画像データFIFO間で静止画像データ
を転送するDMA コントローラと、前記画像圧縮伸長器で
伸長した静止画像データを前記画像データFIFOと前記フ
レームメモリコントローラのどちらに転送するかを決定
し、前記フレームメモリコントローラと前記画像データ
FIFOのどちらから前記画像圧縮伸長器に静止画像データ
を入力するかを決める転送切替器とを備えた画像圧縮伸
長装置。
1. A compressed image data area for holding compressed image data, a still image data area for holding still image data, an image compression / expansion device for compressing still image data and expanding the compressed image data, and a display device. Between a frame memory that holds the output content of the frame memory, a frame memory controller that controls the reading and writing of data to the frame memory, an image data FIFO that holds the still image data, and the still image data area and the image data FIFO. A DMA controller that transfers still image data, and determines which of the image data FIFO and the frame memory controller to transfer the still image data expanded by the image compression / expansion device, the frame memory controller and the image data
An image compression / decompression device, comprising: a transfer switching device that determines from which of the FIFO the still image data is input to the image compression / decompression device.
JP5220967A 1993-09-06 1993-09-06 Image compression / decompression device Pending JPH0779353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5220967A JPH0779353A (en) 1993-09-06 1993-09-06 Image compression / decompression device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5220967A JPH0779353A (en) 1993-09-06 1993-09-06 Image compression / decompression device

Publications (1)

Publication Number Publication Date
JPH0779353A true JPH0779353A (en) 1995-03-20

Family

ID=16759367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5220967A Pending JPH0779353A (en) 1993-09-06 1993-09-06 Image compression / decompression device

Country Status (1)

Country Link
JP (1) JPH0779353A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422765A (en) * 2019-08-20 2021-02-26 富士施乐株式会社 Image processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422765A (en) * 2019-08-20 2021-02-26 富士施乐株式会社 Image processing apparatus

Similar Documents

Publication Publication Date Title
JP2000066948A (en) Memory lsi with compressed data input/output function
US20040184306A1 (en) Memory device
JPH0447376A (en) Information processor
JPH0779353A (en) Image compression / decompression device
JPH05204747A (en) Semiconductor memory controller
JP3149477B2 (en) Image data processing device
JP2862121B2 (en) Image processing circuit
JPH06303439A (en) Image data processor
JPS63300363A (en) Image processing system
JPS62243075A (en) Image data transfer device
JPH0452923A (en) Data input/output system
JPH01319870A (en) image file device
JP3332412B2 (en) Image processing apparatus and method
JPH07191822A (en) Data storage device and data system
JP2902709B2 (en) Image processing device
JPS61294587A (en) Picture processor
JP3002203U (en) Signal processor
JP2000207514A (en) Memory card main controller
JPH06149196A (en) Image display device
JPH0541804A (en) Image processing device
JPH0662200A (en) Video signal processor
JPH0546751A (en) Data terminal equipment
JPH0286267A (en) semiconductor memory
JPH02188880A (en) Holding device for display screen data
JPS6330944A (en) Image filing device