JPS61105171A - Picture compressing device - Google Patents

Picture compressing device

Info

Publication number
JPS61105171A
JPS61105171A JP59225734A JP22573484A JPS61105171A JP S61105171 A JPS61105171 A JP S61105171A JP 59225734 A JP59225734 A JP 59225734A JP 22573484 A JP22573484 A JP 22573484A JP S61105171 A JPS61105171 A JP S61105171A
Authority
JP
Japan
Prior art keywords
compression
picture
image
output area
read
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
JP59225734A
Other languages
Japanese (ja)
Inventor
Etsuo Horikawa
堀川 悦雄
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59225734A priority Critical patent/JPS61105171A/en
Publication of JPS61105171A publication Critical patent/JPS61105171A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To effectively utilize the compression code output area by immediately holding the state and stopping the operation when the code output area is overflowed during compression operation and restarting the picture compressing operation after transferring the compression codes to a recording medium such as optical disk. CONSTITUTION:When a direct memory access controller DMAC2 receives starting signal from a host unit, it fetches compression modes MH, MR, picture information top address, number of picture information data, code output area top address, and number of code output area spaces, calculates and output a shift control parameter 8 to shift the picture data, and outputs a operation mode 9 to a picture compressing part 3. Then, after giving the processing starting action 7 to the image compressing part 3, it waits for READ/WRITE request signal 6, and when it receives the READ/WRITE request signal 6 from a picture compressing part 3, it conducts READ/WRITE access control of the picture data and compression codes in the picture information storing memory 1.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、画像圧縮装置に関する。[Detailed description of the invention] [Field of application of the invention] The present invention relates to an image compression device.

〔発明の背景〕[Background of the invention]

画像を圧縮する場合、圧縮符号は画像内にある画素色変
化の数によって異なってくる為、圧縮符号数の予測が困
難である。従来は光ディスク等記録媒体へ送信するため
の符号出力エリアの設定として1画像のページ単位又は
数ライン単位相当の十分大きな空間を設定していた、し
かしこの方式では入力画像の高精細化に伴なう符号出力
、エリアの大容量化により、符号出力エリアの無駄な空
間に対する考慮がなかった。なお、この種の装置として
関連するものには特開昭58−5472号が挙げられる
When compressing an image, it is difficult to predict the number of compression codes because the compression code varies depending on the number of pixel color changes in the image. Conventionally, the code output area for transmission to a recording medium such as an optical disk was set to a sufficiently large space equivalent to a page or several lines of one image. Due to the increased capacity of the code output area, there was no consideration given to wasted space in the code output area. A related device of this type is JP-A No. 58-5472.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、画像圧縮符号を光ディスク等記録媒体
へ転送するための圧縮符号量カニリアの、有効な利用手
段を提供することにある。
An object of the present invention is to provide a means for effectively utilizing a compressed code amount canilia for transferring an image compression code to a recording medium such as an optical disk.

〔発明の概要〕[Summary of the invention]

上記目的を達成するため、本発明の画像圧縮装置は、画
像情報及び圧縮符号を格納するメモリーと、上記メモリ
ーに対し、情報のREAD・WRITE制御、メモリー
アドレス管理、画像圧縮動作の制御す行ない、符号圧カ
ニリアの最終アドレスに来たらただちに、その状態を保
持したまま圧縮動作を停止し、後に再起動かける手段と
、実際に画像圧縮を実行し、停止命令を受信したらただ
ちにその内部の状態を保持し・再起動命令を受信したら
継続して圧縮動作を行なう手段を設けることにより、圧
縮符号比カニリアな有効的に利用できることに特徴があ
る。
In order to achieve the above object, the image compression device of the present invention includes a memory for storing image information and compression codes, and controls information read/write control, memory address management, and image compression operation for the memory. As soon as it reaches the final address of the code pressure caniglia, it stops the compression operation while retaining that state, and restarts it later, and it actually executes the image compression and retains its internal state as soon as it receives a stop command. By providing a means to continue compression operation upon receiving a restart command, the compression code ratio can be effectively utilized.

発明の実施列〕 以下、本発明の実施例を図面により説明する。Implementation sequence of the invention] Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明の実施例を示す画像圧縮装置のブロッ
ク図である。第1図において、1は画像及び圧縮符号等
を格納する、画像情報格納メモリー、2はDMAC,3
は画像圧縮部、4は24ビツトのアドレスバス1.5は
16ピツトのデータバス、6はR,EAD−WR,IT
E要求信号、7は処理開始起動、8はシフト制御パラメ
ータ、9は動作モード情報である。
FIG. 1 is a block diagram of an image compression device showing an embodiment of the present invention. In FIG. 1, 1 is an image information storage memory that stores images, compression codes, etc., 2 is a DMAC, and 3 is a
4 is a 24-bit address bus. 5 is a 16-bit data bus. 6 is R, EAD-WR, IT.
E request signal, 7 is processing start activation, 8 is shift control parameter, and 9 is operation mode information.

DMAC2は、上位装置から起動信号を受信すると、画
像情報格納メモリーから圧縮モード(MH,MR)、画
像情報先頭アドレス、画像情報データ数、符号圧カニリ
ア先頭アドレス。
When the DMAC 2 receives the activation signal from the host device, the DMAC 2 reads the compression mode (MH, MR), image information start address, image information data number, and code pressure canilia start address from the image information storage memory.

符号比カニリア空間数を取り込み、画像データをシフト
するための、シフト制御パラメータ8の計算及び出力、
及び動作モード9を画像圧縮部3へ出力する。次に画像
圧縮部3に吋し処理開始起動作7をかけた後READ−
WRITB要求信号6を待つ、そして1画像圧縮部3よ
りREAD−WRITE要求信号6を受信すると1画像
情報格納メモリー1とのR,EAD−WRITEアクセ
ス処理1画像データ及び圧縮符号の画像情報格納メモリ
ー1内のアドレス管理を行なう。
calculation and output of a shift control parameter 8 for taking in the sign ratio Canilia space number and shifting the image data;
and operation mode 9 are output to the image compression section 3. Next, after processing the image compression unit 3 and applying the processing start operation 7, READ-
Waiting for the WRITB request signal 6, and upon receiving the READ-WRITE request signal 6 from the 1-image compression unit 3, performs R, EAD-WRITE access processing with the 1-image information storage memory 1, 1 image data and compression code image information storage memory 1. Manage addresses within.

また、そ−の際圧縮符号を出力すべき画像情報格納メモ
リー1内のアドレスをチグツクし、指定出力空間の最終
であった場合、ただちに自分(2,DMAC)内のレジ
スタの情報を画像情報格納メモリー1のワークエリアに
退避し、画像圧縮部3へ動作停止命令(動作モード情報
9に含まれる)を送出する。
Also, at that time, the address in the image information storage memory 1 where the compression code should be output is ticked, and if it is the last of the specified output space, the information in the register in itself (2, DMAC) is immediately stored in the image information storage memory. It is saved in the work area of the memory 1 and sends an operation stop command (included in the operation mode information 9) to the image compression section 3.

画像圧縮部3はDMAC2より処理開始信号7を受信し
、第2図に示す様な構成により、画像圧縮動作を行なう
The image compression section 3 receives the processing start signal 7 from the DMAC 2, and performs an image compression operation using the configuration shown in FIG.

第2図において画像データは、画像情報格納メモリー1
より、データバス5を介しリードデータバッファ10に
セットされた後、fi列(P)→直列(8)変換され、
1ビツトのシリアルデータとしてMH圧縮部12.MR
圧縮部13へ入力される。
In FIG. 2, image data is stored in image information storage memory 1.
After being set in the read data buffer 10 via the data bus 5, the fi column (P) is converted into serial (8),
The MH compression unit 12. M.R.
The data is input to the compression unit 13.

12のMH圧縮部、130MR,圧縮部は、17のクロ
クク制il1部の制御を受け、画像データをMH及びM
R,符号へ変換し、符号情報を14のセレクタへ送る。
The MH compression section 12, the MR compression section 130, and the compression section 130 are controlled by the clock control il1 section 17, and convert the image data into MH and M
R, code and sends code information to 14 selectors.

1Bの動作モードレジスタにより選択された符号情報は
、15の直列(S)→並列(P)変換され、16のライ
トデータバツ7アヘセットされる。
The code information selected by the 1B operation mode register is converted from 15 serial (S) to parallel (P) and set to 16 write data.

17のり四ツク制御部はまず、2のDMACより8のシ
フト制御パラメータを受信し、画像圧縮部のすべてのシ
フト制御を行なうための初期状態を設定し、次に2のD
MACより7の処理  □開始起動信号を受信し、画像
圧縮邪各ユニクトノ動作を開始させ、各ユニットのシフ
トクロック制御及び、19のR,BAD−WRITE要
求制御回路に対し、23のRFiAD−WRIITB要
求セクト信号を送出する19のREAD−WR,IT’
D要求制貰回路は、17のクロクク制御[より、23の
R,BAD・WRITE要求セット信号及び、18の動
作モードレジスタより20の圧縮動作許可信号を受信し
、2のDMACに対し6のREAD−WR,I’l’E
要求信号を送出するう また20の圧縮動作許可信号を受信しなかった場合25
のWRITFf要求セクト信号は受げ付げた状態で、2
のDMACには6のWRIT要求信号は送出せず、17
のクロクク制両部へ出力している22の基本ジアドクロ
ックをただちに停止する。
The 17-speed control unit first receives the 8 shift control parameters from the 2DMAC, sets the initial state for performing all shift control of the image compression unit, and then receives the 8th shift control parameter from the 2nd DMAC.
Processing in step 7 from MAC □Receives the start activation signal, starts each unit operation for image compression, controls the shift clock of each unit, and sends 23 RFiAD-WRIITB requests to 19 R, BAD-WRITE request control circuits. 19 READ-WR, IT' that sends sector signals
The D request control circuit receives 23 R, BAD/WRITE request set signals from 17 clock control and 20 compression operation permission signals from 18 operation mode registers, and receives 6 READ signals for 2 DMACs. -WR, I'l'E
25 if the request signal is sent and the compression operation permission signal of 20 is not received.
The WRITFf request sector signal of 2 is accepted.
The WRIT request signal of 6 cannot be sent to the DMAC of 17.
Immediately stop the 22 basic diad clocks that are output to both clock control sections.

18の動作モードレジスタは2のDMACより9の動作
モード情報(MHモード、MRモード等)を受信し、1
4のセレクタへ送る。また2のDMACより動作停止命
令(9の動作モード情報内にある)を受信した場合、た
だちに19のREAD・WRITE要求制御回路へ出力
している、20の圧縮動作許可信号をリセットする。
18 operation mode registers receive 9 operation mode information (MH mode, MR mode, etc.) from 2 DMACs, and 1
Send to selector 4. Further, when an operation stop command (included in the operation mode information 9) is received from the DMAC 2, the compression operation permission signal 20 outputted to the READ/WRITE request control circuit 19 is immediately reset.

第5図に19のREAD−WR,ITE  要求制御回
路内の主な回路、第4図にそのタイムチャートを示し本
発明の特徴である。圧縮動作の中断及び継続動作の具体
的動作を説明する。
FIG. 5 shows the main circuits in the 19 READ-WR, ITE request control circuits, and FIG. 4 shows their time charts, which are the characteristics of the present invention. The specific operations of interruption and continuation of the compression operation will be explained.

第3図において、27の基本クセククは17のクロック
制御より受信し、28のリードバク7アセツト29のラ
イトバッフ1セツトは、2のDMACより受信する。
In FIG. 3, 27 basic clocks are received from 17 clock controls, 28 read backs 7 assets and 29 write buffers 1 set are received from 2 DMACs.

第3図及び第4図においてまず、26のリセットにより
24のR,EADREQF、F、及び25のWRITE
R,EQF、F、がリセットされ、220基本シフトク
ロックが出力される。
In FIGS. 3 and 4, first, by resetting 26, 24 R, EADREQF, F, and 25 WRITE are reset.
R, EQF, and F are reset and a 220 basic shift clock is output.

次に、230RE A D要求セクト信号が11′にな
り、24のR,BADREQF、F、がセットされ20
の圧縮動作許可信号とのAND条件で6のREAD要求
信号カい1′となる。
Next, the 230RE A D request sector signal becomes 11', and 24 R, BADREQF, F are set and 20
The AND condition with the compression operation permission signal results in 6 READ request signals 1'.

また、それと同時に22の基本シフトクロックを停止す
る。
At the same time, the 22 basic shift clocks are stopped.

次に2のDMACのメモリリードアクセスの終了と同時
に28のり−ドバン71セクトが11′になり、20の
圧縮動作許可信号とのAND条件で24のR,BADR
EQF、F、がリセットされ、6のREAD要求信号が
10′になり、220基本シフトクロククが動作を開始
する。
Next, at the same time as the memory read access of DMAC 2 ends, the 71st sector of the 28th band becomes 11', and with the AND condition with the compression operation permission signal of 20, the R, BADR of 24
EQF and F are reset, the READ request signal of 6 becomes 10', and the 220 basic shift clock starts operating.

6のWR,ITE要求信号に関しても、23のBEAD
要求セクト信号を23のWR,ITE要求セクト信号に
、2日のリードバク71セツトを29のライトバン71
セツトに置き換えて同様の動作をする。
Regarding the 6 WR and ITE request signals, 23 BEAD
The request sector signal is set to 23's WR, ITE request sector signal, and the 2nd day's read back 71 set is set to 29's write band 71.
Replace it with set and perform the same operation.

次に、6のWR,ITE要求信号を2のDMACに対し
出力し、2のDMACにて符号出力エリアの終了を検出
した場合には、20の圧縮動作許可信号力い01になり
、25のWR,ITERBQF、F。
Next, the 6th WR, ITE request signal is output to the 2nd DMAC, and when the end of the code output area is detected by the 2nd DMAC, the 20th compression operation permission signal becomes 01, and the 25th DMAC becomes 01. WR, ITERBQF, F.

はセットされたまま6のWR,ITE要求信号は10′
になり、22の基本シフトクロックも停止したままの状
態を保持する。
remains set as 6 WR, ITE request signal as 10'
The basic shift clock 22 also remains stopped.

次に20の圧縮動作許可信号が11′になると、6のW
RITE要求信号が11′になりメモリライトアクセス
の終了と同時に、29のライトバク7アセツトが11′
になり、25のWRITEREQF、F。
Next, when the compression operation permission signal of 20 becomes 11', the W of 6
At the same time that the RITE request signal becomes 11' and the memory write access ends, the write back 7 assets of 29 become 11'.
25 WRITE REQF, F.

がリセットされ、22の基本シフトクロックが再び動作
を始める。
is reset and the 22 basic shift clocks start operating again.

〔発明の効果〕 以上説明したように、本発明によれば画像圧縮動作の中
断及び、継続動作が可能になりました。即時に圧縮動作
の中断及び、DflilACの起動命令により再起動を
行なうので、符号出力エリアの最終データは画像データ
のライン終了符号である必要はなくまた、符号の途中で
あっても良い。
[Effects of the Invention] As explained above, according to the present invention, it is possible to interrupt and continue the image compression operation. Since the compression operation is immediately interrupted and restarted by the DflilAC activation command, the final data in the code output area does not need to be the line end code of the image data, and may be in the middle of the code.

よって符号出力エリアのより有効な利用が可能となる。Therefore, the code output area can be used more effectively.

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

第1図は本発明の一実施例の画像圧縮装置のブロック図
、第2図は画像圧縮部の内部構成図、第3図は本発明の
圧縮動作の中断、再起動を説明する為のR,EAD−W
R,ITE要求制両回路図、第4図はそのタイムチャー
トでアル。 1・・・画像情報格納メモリ、3・・・画像圧縮部、4
・・・アドレスバス、    g・・・データバス、?
・・・処理開始起動信号。 8・・・シフ)1り!Ii[パラメータ、9・・・動作
モード、    12・・・MH圧圧部部13・・・M
FL圧縮部、14・・・セレクタ、17・・・クロック
制御部、   21・・・圧縮動作モード、22・・・
基本シ7トクロクク、26・・・リセット信号、27・
・・基本クロック、 29・・・ライトバッファセット信号。
FIG. 1 is a block diagram of an image compression device according to an embodiment of the present invention, FIG. 2 is an internal configuration diagram of an image compression unit, and FIG. ,EAD-W
R, ITE request system circuit diagram, Figure 4 is its time chart. 1... Image information storage memory, 3... Image compression section, 4
...address bus, g...data bus, ?
...Processing start signal. 8... Schiff) 1ri! Ii [parameter, 9...operation mode, 12...MH pressure section 13...M
FL compression section, 14... Selector, 17... Clock control section, 21... Compression operation mode, 22...
Basic shift, 26... Reset signal, 27.
...Basic clock, 29...Write buffer set signal.

Claims (1)

【特許請求の範囲】[Claims] 1、画像データをMH・MR方式により圧縮する装置に
おいて、画像情報及び圧縮符号を格納するメモリーと、
上記メモリーに対し画像情報のREAD・WRITE制
御及び上記メモリーアドレス管理及び画像圧縮動作の制
御を行なうDMAC(DirectMemoryAcc
essControler)と、上記DMACより起動
信号を受け実際に画像圧縮を実行する画像圧縮部より構
成され、画像圧縮符号を出力するエリアの有効的な利用
のために、圧縮動作中符号の出力エリアがオーバーフロ
ーした場合、即時に状態を保持し動作を停止し、光ディ
スク等記録媒体へ圧縮符号を転送した後、継続して画像
圧縮動作を再開することを特徴とした画像圧縮装置。
1. In a device that compresses image data using the MH/MR method, a memory that stores image information and compression codes;
DMAC (Direct Memory Acc
essController) and an image compression unit that receives a start signal from the DMAC and actually executes image compression.In order to effectively utilize the area for outputting image compression codes, the code output area overflows during compression operation. An image compression device characterized in that, when a compression code is detected, the image compression device immediately maintains the state, stops the operation, transfers the compression code to a recording medium such as an optical disk, and then resumes the image compression operation.
JP59225734A 1984-10-29 1984-10-29 Picture compressing device Pending JPS61105171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59225734A JPS61105171A (en) 1984-10-29 1984-10-29 Picture compressing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59225734A JPS61105171A (en) 1984-10-29 1984-10-29 Picture compressing device

Publications (1)

Publication Number Publication Date
JPS61105171A true JPS61105171A (en) 1986-05-23

Family

ID=16833988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59225734A Pending JPS61105171A (en) 1984-10-29 1984-10-29 Picture compressing device

Country Status (1)

Country Link
JP (1) JPS61105171A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6359064A (en) * 1986-08-28 1988-03-14 Canon Inc Coder for picture data

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5248425A (en) * 1975-10-16 1977-04-18 Kokusai Denshin Denwa Co Ltd <Kdd> Receiving system of facsimile signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5248425A (en) * 1975-10-16 1977-04-18 Kokusai Denshin Denwa Co Ltd <Kdd> Receiving system of facsimile signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6359064A (en) * 1986-08-28 1988-03-14 Canon Inc Coder for picture data

Similar Documents

Publication Publication Date Title
US5721840A (en) Information processing apparatus incorporating automatic SCSI ID generation
JP2561398B2 (en) Redundant disk controller
JPH0830550A (en) Interface device, information processor, information processing system, and data transferring method
JPH0798663A (en) Asynchronous i/o control system
JPS61105171A (en) Picture compressing device
JPH05189360A (en) Data transfer and storage system
JP2622008B2 (en) Information processing device
JPH0793101A (en) Data backup device
JP3259095B2 (en) Data transfer method
JPH06202894A (en) Shared memory control circuit
JP2826780B2 (en) Data transfer method
JPH0736806A (en) Dma system
JP2821176B2 (en) Information processing device
JP2803270B2 (en) SCSI host adapter circuit
JP3179891B2 (en) Bus control method
JP2945668B2 (en) Pipeline processing equipment
JPH02122472A (en) Input/output controller
JPS6019023B2 (en) data processing equipment
JPH0326177A (en) Compression and expansion controller for image data
JPH05173936A (en) Data transfer processing device
JPH06215119A (en) Initializing method for picture conversion processor
JPH0728740A (en) Data transfer device
JPS62138975A (en) Image memory device
JPH09214710A (en) Picture processor
JPH07107432A (en) Still picture reproducing device