JPS63227277A - Compression/expansion processor - Google Patents

Compression/expansion processor

Info

Publication number
JPS63227277A
JPS63227277A JP6198087A JP6198087A JPS63227277A JP S63227277 A JPS63227277 A JP S63227277A JP 6198087 A JP6198087 A JP 6198087A JP 6198087 A JP6198087 A JP 6198087A JP S63227277 A JPS63227277 A JP S63227277A
Authority
JP
Japan
Prior art keywords
data
code
register
output
selector
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
JP6198087A
Other languages
Japanese (ja)
Inventor
Shigekazu Sumita
住田 重和
Fumitaka Sato
文孝 佐藤
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP6198087A priority Critical patent/JPS63227277A/en
Publication of JPS63227277A publication Critical patent/JPS63227277A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To compress image data at high speed in a compression/expansion processing mode, by making the update of generation pointer data unnecessary in a second operation when the generation of code data is performed for two times. CONSTITUTION:When selected data is runlength data, the code data for a color designated by a second control data is generated according to generation address data from a generation address generating means. An encoder means 18 that is a means to generate the code data according to the generation address data from the generation address generating means when the selected data is a first control data, and which outputs the code data by separating outputting in two times when generated code data exceeds length decided in advance and outputs the code data of length decided at second time is provided. In such a way, it is possible to compress the image data at high speed in the compression/expansion processing mode.

Description

【発明の詳細な説明】 [発明の目的〕 (産業上の利用分野) 本発明は、コードデータをイメージデータに伸長し、イ
メージデータをコードデータに圧縮する圧縮伸長処理装
置に関し、特に、伸長処理および圧縮処理をパラレルに
パイプライン処理することができ、LSI化したときチ
ップ面積を減少させることができる圧縮伸長処理装置に
関する。
Detailed Description of the Invention [Object of the Invention] (Industrial Application Field) The present invention relates to a compression/decompression processing device that decompresses code data into image data and compresses image data into code data, and particularly relates to a compression/decompression processing device that decompresses code data into image data and compresses image data into code data. The present invention also relates to a compression/decompression processing device that can pipeline compression processing in parallel and reduce the chip area when integrated into an LSI.

(従来の技術) 2値データを圧縮伸長処理する方式としては、ファクシ
ミリ用にMH方式、MR方式、およびMMRMR方式の
符号か方式を使用することがCCITT(国際電信電話
諮問委員会)によって勧告され、国際的に標準化され、
広く認められている。
(Prior Art) As a method for compressing and decompressing binary data, the CCITT (International Telegraph and Telephone Consultative Committee) recommends the use of MH, MR, and MMRMR codes for facsimile. , internationally standardized,
Widely recognized.

これらの方式による2値データの圧縮伸長処理装置は、
従来一般に汎用マイクロコンピュータを使用してソフト
ウェア的に逐次処理により行われていた。このような処
理においては、データ伝送速度が制限されているファク
シミリとして使用することには問題がない。しかしなが
ら、コンピュータシステムのワークステーションにイメ
ージデータを表示するために、前述のような方法を用い
ようとすると、動作速度が大幅に落ち、良好なマン・マ
シン・インターフェイスを実現できなかった。このよう
な問題を解決するために、一般に広く利用されている方
法は並行処理、先回り処理、バイブライン処理である。
Binary data compression/decompression processing devices using these methods are:
Conventionally, this has generally been performed by sequential software processing using a general-purpose microcomputer. In such processing, there is no problem in using it as a facsimile machine whose data transmission speed is limited. However, when attempting to use the above-described method to display image data on a computer system workstation, the operating speed is significantly reduced and a good man-machine interface cannot be achieved. Parallel processing, proactive processing, and vibe line processing are commonly used methods to solve these problems.

ところが、まだ望まれる速度には達していない。However, the desired speed has not yet been reached.

(発明が解決しようとする問題点) 本発明は、上記事情に鑑みてなされたもので、圧縮伸長
処理モードで高速にイメージデータを圧縮できる圧縮伸
長処理装置を提供することを目的とする。
(Problems to be Solved by the Invention) The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a compression/expansion processing device that can compress image data at high speed in a compression/expansion processing mode.

[発明の構成] (問題を解決するための手段と作用) 本発明による圧縮伸長処理装置は、入力されるランレン
グスデータと入力される第1の制御データとのうち1つ
を選択し、その選択されたデータと入力される第2の制
御データとから生成アドレスデータを作成して出力する
ための生成アドレス作成手段と、選択されたデータがラ
ンレングスデータのとき、前記生成アドレス生成手段か
らの生成アドレスデータに従って、第2の制御データに
よって指定された色に対するコードデータを発生し、選
択されたデータが第1の制御データのとき、前記生成ア
ドレス作成手段からの生成アドレスデータに従って、コ
ードデータを発生するための手段であって、発生される
べきコードデータが、予め決められた長さを越えるとき
は、2回に分けてコードデータを出力し、2回目に予め
決められた長さ分のコードデータを出力するエンコーダ
手段とを具備する。これにより、圧縮伸長処理モードで
高速にイメージデータを圧縮することができる。
[Structure of the Invention] (Means and Effects for Solving the Problem) A compression/expansion processing device according to the present invention selects one of input run length data and input first control data, and a generated address generating means for generating and outputting generated address data from the selected data and input second control data; and when the selected data is run-length data, the generated address generating means Generate code data for the color specified by the second control data according to the generated address data, and when the selected data is the first control data, generate the code data according to the generated address data from the generated address generation means. When the code data to be generated exceeds a predetermined length, the code data is divided into two outputs, and the code data is output for the predetermined length in the second time. and encoder means for outputting code data. Thereby, image data can be compressed at high speed in the compression/expansion processing mode.

(実施例) 以下に、本発明による圧縮伸長処理装置について、添附
図面を参照して詳細に説明する。
(Example) Below, a compression/expansion processing apparatus according to the present invention will be described in detail with reference to the accompanying drawings.

最初に第1図から第10図を参照して、本発明による圧
縮伸長処理装置の一実施例の構成を説明する。
First, with reference to FIGS. 1 to 10, the configuration of an embodiment of the compression/expansion processing apparatus according to the present invention will be described.

最初に第1図を参照して、本発明の一実施例の圧縮伸長
処理装置の回路ブロックについて説明する。
First, with reference to FIG. 1, a circuit block of a compression/decompression processing apparatus according to an embodiment of the present invention will be described.

その実施例は、集積回路(LSI)に組込まれた圧縮伸
長処理部2と圧縮伸長処理制御部4と、および、そのL
SIに接続され、参照ラインデータを格納するための参
照ラインバッフ7メモリ6とからなる。
The embodiment includes a compression/expansion processing section 2, a compression/expansion processing control section 4, and its LSI built into an integrated circuit (LSI).
It is connected to the SI and consists of a reference line buffer 7 and a memory 6 for storing reference line data.

圧縮伸長処理部2は、入力される2値データにパイプラ
イン処理を施して圧縮処理あるいは伸長処理を行なう。
The compression/expansion processing unit 2 performs pipeline processing on input binary data to perform compression processing or expansion processing.

圧縮伸長処理部2は、解読処理部12と、生成処理部1
4と、および、バッフツメモリ制御部16とからなる。
The compression/decompression processing unit 2 includes a decoding processing unit 12 and a generation processing unit 1.
4, and a buffer memory control section 16.

解読処理部12は、伸長処理モードでは入力されるコー
ドデータの解読処理を行ない、圧縮処理モードではaO
点を検出するように動作する。生成処理部14は、伸長
処理モードでは解読処理部12での解読結果に基づいて
イメージデータを生成し、圧縮処理モードでは検出され
たaO点に基づいてコードデータを生成する。バッファ
メモリ制御部16は、参照ラインバッファメモリ6をア
クセスして参照ラインデータを書込み、あるいは読み出
し1、また生成処理がラインの終端まで進行したか否か
を判定する。
The decoding processing unit 12 decodes the input code data in the decompression processing mode, and decodes the input code data in the compression processing mode.
Works to detect points. The generation processing section 14 generates image data based on the decoding result of the decoding processing section 12 in the decompression processing mode, and generates code data based on the detected aO point in the compression processing mode. The buffer memory control unit 16 accesses the reference line buffer memory 6 to write or read reference line data 1, and determines whether the generation process has progressed to the end of the line.

生成処理部14は、生成結合部18とb1検出部イ9か
らなる。生成結合部18は、カウンタ部30と、変換部
32と、および結合部34とからなる。カウンタ部30
は、伸長処理モードでは解読処理部12によって解読さ
れたランレングスデータを保持し、圧縮処理モードでは
ランレングスをカウントする。変換部32は、カウンタ
部30あるいは侵述するランレングス算出部38からの
ランレングスデータ等に従ってイメージデータあるいは
コードデータを結合データとして発生する。結合部34
は、発生された結合データをつぎつぎと結合して所望さ
れる2値データを生成する。
The generation processing unit 14 includes a generation combination unit 18 and a b1 detection unit 9. The generation and combination section 18 includes a counter section 30, a conversion section 32, and a combination section 34. Counter section 30
holds the run length data decoded by the decoding processing unit 12 in the decompression processing mode, and counts the run length in the compression processing mode. The converter 32 generates image data or code data as combined data in accordance with run length data from the counter 30 or the run length calculator 38 . Joint part 34
combines the generated combined data one after another to generate the desired binary data.

b1検出部19は、色変化点検出部36と、およびラン
レングス算出部38とからなる。色変化点検出部36は
、参照ラインバッファメモリ6から読み出された参照ラ
インデータに基づいて参照ラインデータ中にb1点を検
出する。ランレングス算出部38は、伸長処理モードで
は1次元コードデータに対する1バイト長以上のランレ
ングスデータ以外のランレングスデータの生成されるべ
きイメージデータの長さを算出し、圧縮処理モードでは
2次元符号化のときのb1点と81点の差に対応するデ
ータを算出する。
The b1 detection section 19 includes a color change point detection section 36 and a run length calculation section 38. The color change point detection unit 36 detects point b1 in the reference line data based on the reference line data read from the reference line buffer memory 6. The run-length calculation unit 38 calculates the length of image data to be generated for run-length data other than run-length data of 1 byte or more with respect to one-dimensional code data in the decompression processing mode, and calculates the length of image data to be generated for run-length data other than run-length data with a length of 1 byte or more for one-dimensional code data, and in the compression processing mode, the run-length calculation unit 38 calculates the length of image data to be generated. Data corresponding to the difference between b1 point and 81 point at the time of b is calculated.

また、バッファメモリ制御部16は、アドレス部40と
、データ入出力部42と、およびライン終端検出部44
とからなる。ライン終端検出部44は、処理に先立ち1
ライン分のランレングスデータを受取って保持し、現在
生成処理が進行したバイト位置を検出する。このように
して、ラインの終端を検出する。アドレス部40は、着
目バイトブロックに関連するイメージデータが格納され
ている参照ラインバッフ7メモリ6のアドレスを、ライ
ン終端検出部44からの検出された現在生成処理が進行
したバイト位置に基づいて決定し、また、次ぎの処理ラ
インのための参照ラインデータを格納するためのアドレ
スを検出されたバイト位置に基づいて決定する。決定さ
れたアドレスを参照ラインバッファメモリ6に出力する
。このアドレス部40は、参照ラインバッファメモリ6
としてスタティックRAMが使用されるとき必要である
。ファーストインファーストアウト(FIFO)メモリ
が使用されるときは、アドレス部40は必要なくなり、
圧縮伸長処理制御部4にリード/ライトモードの制御す
る回路部分が必要となる。データ入出力部42は、伸長
処理モードでは生成結合部18からのイメージデータを
、また圧縮処理モードではwl読処理部12からのイメ
ージデータを、アドレス部40によって指定される参照
ラインバッファメモリ6のアドレスに格納し、現在の処
理ラインの参照ラインデータをアドレス部40のよって
指定される参照ラインバッファメモリ6のアドレスから
読み出す。
The buffer memory control section 16 also includes an address section 40, a data input/output section 42, and a line end detection section 44.
It consists of Prior to processing, the line end detection unit 44
It receives and holds run-length data for a line, and detects the byte position where the generation process is currently progressing. In this way, the end of the line is detected. The address unit 40 determines the address of the reference line buffer 7 memory 6 in which image data related to the byte block of interest is stored, based on the byte position detected by the line end detection unit 44 and where the current generation process has progressed. Also, an address for storing reference line data for the next processing line is determined based on the detected byte position. The determined address is output to the reference line buffer memory 6. This address section 40 is a reference line buffer memory 6
This is necessary when static RAM is used. When first-in-first-out (FIFO) memory is used, address section 40 is no longer needed;
The compression/expansion processing control section 4 requires a circuit section for controlling the read/write mode. The data input/output section 42 inputs image data from the generation/combination section 18 in the decompression processing mode, and inputs image data from the wl reading processing section 12 in the compression processing mode to the reference line buffer memory 6 specified by the address section 40. The reference line data of the current processing line is read from the address of the reference line buffer memory 6 specified by the address section 40.

圧縮伸長処理制御部4は、メインシーケンサ7と、解読
処理部サブシーケンサ8と、および生成処理部サブシー
ケンサ9とからなる。メインシーケンサ7は、LSI内
部の構成物の全体をIII ill b、また、図示さ
れない外部制御装置とコマンド/ステータスを交換する
。その内部には、処理されるラインが1次元であるか2
次元であるかを示すためのタグフリップ70ツブ(TA
Gフリップフロップ、図示せず)と、処理されるランの
色が白か黒かを示す色制御フリップ70ツブ(FBLK
Dフリップフロップ、図示せず)等のフリップフロップ
を内蔵する。解読処理部サブシーケンサ8は、解読処理
部12の動作を制御する。また、生成処理部サブシーケ
ンサ9は、生成処理部14の動作を制御する。
The compression/expansion processing control section 4 includes a main sequencer 7, a decoding processing section subsequencer 8, and a generation processing section subsequencer 9. The main sequencer 7 controls all of the internal components of the LSI, and also exchanges commands/status with an external control device (not shown). Inside it, whether the line being processed is one-dimensional or two-dimensional
Tag flip 70 tubes (TA
G flip-flop (not shown) and a color control flip 70 (FBLK) to indicate whether the color of the run being processed is white or black.
It has a built-in flip-flop such as a D flip-flop (not shown). The decoding processing section subsequencer 8 controls the operation of the decoding processing section 12. Further, the generation processing section sub-sequencer 9 controls the operation of the generation processing section 14.

以下に、各部の構成を詳細に説明する。The configuration of each part will be explained in detail below.

最初に第2図を参照して、解読処理部12の構成を詳細
に説明する。
First, the configuration of the decoding processing section 12 will be explained in detail with reference to FIG.

2値データRDINOO−07がデータA1として解読
処理部12にバイト単位で入力される。このデータRD
 I N 00−07は、伸長処理モードではコードデ
ータであり、非圧縮処理モードと圧縮処理モードではイ
メージデータである。レジスタRDT1102は、3バ
イトのデータ長を有するレジスタである。レジスタRD
T1102は、制御部4からの*1m信号に従って、保
持されているデータを、データRD T I 08−1
5がデータRD T I 00−07となるように、ま
たデータRD T I 16−23がデータRDTI0
8−15となるようにバイト単位でLSB方向(左方向
)にシフトする。その後、データR[) I N0O−
07をデータRD T I 16−23としてラッチす
る。圧縮処理モードでは、保持されているデータRD 
T I 00−07は、次ぎの圧縮処理ラインのための
参照ラインデータとして使用するために、データA2と
してバッファメモリ制御部16を介して参照ラインバッ
フ7メモリ6に格納される。データRDTI09−23
はファネルシフタ104に出力される。
Binary data RDINOO-07 is input in byte units to the decoding processing unit 12 as data A1. This data RD
I N 00-07 is code data in the expansion processing mode, and is image data in the non-compression processing mode and the compression processing mode. Register RDT1102 is a register having a data length of 3 bytes. Register RD
T1102 converts the held data into data RD T I 08-1 according to the *1m signal from the control unit 4.
5 becomes data RDTI 00-07, and data RDTI 16-23 becomes data RDTI0.
Shift in the LSB direction (left direction) in byte units so that the number becomes 8-15. After that, data R[) I N0O-
07 is latched as data RD T I 16-23. In compression processing mode, the retained data RD
T I 00-07 is stored as data A2 in the reference line buffer 7 memory 6 via the buffer memory control unit 16 in order to be used as reference line data for the next compression processing line. Data RDTI09-23
is output to the funnel shifter 104.

ファネルシフタ104には、解読ポインタ用のレジスタ
RBPP116から解読ポインタデータRBPPO2−
00が出力されている。ファネルシフタ104は、解読
ポインタデータRB P PO2−00に従って選択さ
れた1バイトのデータSHTDOO−07を出力する。
The funnel shifter 104 receives decoding pointer data RBPPO2- from the decoding pointer register RBPP116.
00 is output. Funnel shifter 104 outputs 1 byte of data SHTDOO-07 selected according to decoding pointer data RB P PO2-00.

例えば、レジスタ116からの解読ポインタデータRB
 P PO2−00が“3”(011)であるとき、フ
ッネルシフタ104に入力されるデータRD T I 
09−23のうち12−19ビツト部分が選択され、デ
ータ5HTDOO−07として出力される。
For example, decryption pointer data RB from register 116
When P PO2-00 is “3” (011), data input to Huhsnel shifter 104 RD T I
The 12-19 bit portion of 09-23 is selected and output as data 5HTDOO-07.

レジスタRD T I 102とフッネルシフタ104
とは、処理データの選択回路として働く。
Register RD T I 102 and Hunnel shifter 104
The circuit functions as a selection circuit for processing data.

フッネルシフタ104から出力されるデータ5HTDO
O−07は、色反転回路106に供給される。色反転回
路106は8個のイクスクルーシプオアゲート(図示せ
ず)からなる。各イクスクルーシブオアゲートの一方の
入力端子には制御部4からの色制御データM1が供給さ
れている。その他方の入力端子には、それぞれフッネル
シフタ104からのデータS HT D 00−07の
ビットデータが供給されている。このようにして、色反
転回路108は、制御部4からの色制御信号M1に従っ
て、伸長処理モードと非圧縮処理モードでは、入力され
るデータ5HTDOO−07を素通しし、圧縮処理モー
ドでは、入力されるイメージデータの色を、色変化の方
向が白から黒の方向に統一されるように反転する。色反
転回路106から出力されるデータDT(S 00−0
7は、データA3として変換部32に供給されると共に
、セレクタ110とマスクゲート108に供給される。
Data 5HTDO output from Huhnel shifter 104
O-07 is supplied to the color inversion circuit 106. Color inversion circuit 106 consists of eight exclusive or gates (not shown). Color control data M1 from the control section 4 is supplied to one input terminal of each exclusive OR gate. Bit data of data SHT D 00-07 from the Huhsnel shifter 104 is supplied to the other input terminals, respectively. In this manner, the color inversion circuit 108 passes the input data 5HTDOO-07 directly in the decompression processing mode and the non-compression processing mode, and passes the input data 5HTDOO-07 in the compression processing mode according to the color control signal M1 from the control unit 4. Inverts the colors of the image data so that the direction of color change is uniform from white to black. Data DT (S 00-0
7 is supplied to the converter 32 as data A3, and is also supplied to the selector 110 and mask gate 108.

マスクゲート108は、入力データDTISOO−01
に従って、マスクデータを発生する。マスクゲート10
8は、デコーダROM 112で使用される記憶領域を
削減するために、解読データのうち意味のない部分に所
定の数のビットデータを発生する。
The mask gate 108 receives input data DTISOO-01.
Generate mask data according to the following. mask gate 10
8 generates a predetermined number of bit data in meaningless portions of the decoded data in order to reduce the storage area used in the decoder ROM 112.

マスクデータはセレクタ110に供給される。Mask data is supplied to selector 110.

セレクタ110にはデータRD S OO4−02が制
御部4からデータM3として供給されている。このデー
タRDSQO4−02は、伸長処理モードと非圧縮処理
モードではデコーダROM 112において次ぎに参照
されるべきテーブルを指定するための制御データであり
、圧縮処理モードでは(111)である。セレクタ11
0には、また制御部4がらデータD N D POO=
07がデータM2として供給されている。このデータD
 N D POO−07は通常は[00]である。圧縮
処理モードの処理ラインの終端において、終端ランの右
側に仮想の変化点を補うために、データD N D P
OO−07は終端ランの右側の1ビツトだけが1”とな
る。
Data RD S OO4-02 is supplied to the selector 110 from the control section 4 as data M3. This data RDSQO4-02 is control data for specifying the table to be referenced next in the decoder ROM 112 in the decompression processing mode and the non-compression processing mode, and is (111) in the compression processing mode. Selector 11
0, the control unit 4 also receives data D N D POO=
07 is supplied as data M2. This data D
ND POO-07 is usually [00]. At the end of the processing line in the compression processing mode, data D N D P is added to the right side of the end run to compensate for the virtual change point.
In OO-07, only one bit on the right side of the terminal run is 1''.

伸長処理モードでは、色反転回路106からのデータ0
TISOO−07とマスクゲート108からのマスクデ
ータとから合成されたデータと、データR[)3QO4
−02とからアドレスデータD RM A 10−00
が形成され、デコーダROM 112に供給される。
In the decompression processing mode, data 0 from the color inversion circuit 106
Data synthesized from TISOO-07 and mask data from mask gate 108 and data R[)3QO4
-02 to address data DRM A 10-00
is formed and supplied to the decoder ROM 112.

圧縮処理モードでは、合成されたデータはさらにデータ
D N D POO−07と論理和がとられ、データR
DSQO4−02と共にアドレスデータD RM A 
10−〇〇としてデコーダROM 112に供給される
。マスクゲート108とセレクタ110は解読アドレス
発生回路として働く。
In the compression processing mode, the synthesized data is further logically summed with the data DND POO-07, and the data R
Address data DRM A along with DSQO4-02
It is supplied to the decoder ROM 112 as 10-00. Mask gate 108 and selector 110 function as a decoding address generation circuit.

デコーダROM112は、複数のテーブルを有していて
、入力されるアドレスデータD RM A 1O−OO
に従って、12ビツトのデータDROMII−00を出
力する。デコーダROM112に含まれるテーブルは、
白ラン1次元コードを解読するための1次元臼1コード
テーブル(白A)と1次元臼2コードテーブル(白B)
と、黒ラン1次元コードを解読するための1次元黒1コ
ードテーブル(黒A)と1次元黒2コードテーブル(黒
B〉と1次元黒3コードテーブル(黒C)と、垂直モー
ドコードとパスモードコードと水平モードの識別コード
を解読するための2次元コードテーブルと、非圧縮モー
ド終了コードを含む非圧縮モードコードとフィルスキッ
プコードを解読するための非圧縮モードコードテーブル
と、および、伸長処理モードでEOLコードを解読し、
圧縮処理モードでイメージデータを解読するための特殊
コードテーブルである。
The decoder ROM 112 has a plurality of tables, and input address data DRM A 1O-OO
Accordingly, 12-bit data DROMII-00 is output. The table included in the decoder ROM 112 is
One-dimensional mortar 1 code table (white A) and one-dimensional mortar 2 code table (white B) for decoding the white run one-dimensional code
, a one-dimensional black 1-code table (black A), a one-dimensional black 2-code table (black B), a one-dimensional black 3-code table (black C), and a vertical mode code for decoding the black run one-dimensional code. a two-dimensional code table for decoding pass mode codes and horizontal mode identification codes, an uncompressed mode code table for decoding uncompressed mode codes and fill skip codes including uncompressed mode end codes, and decompression Decipher the EOL code in processing mode,
This is a special code table for decoding image data in compression processing mode.

テーブル白A、白B、あるいは2次元コードテーブルと
テーブル黒Bとにより非圧縮モード開始コードとフィル
スキップコードも解読されることができる。特殊コード
テーブルはページの始まりで、EOLコードを解読する
ためにも使用される。
The uncompressed mode start code and the fill skip code can also be decoded using table white A, white B, or two-dimensional code table and table black B. A special code table is also used to decode the EOL code at the beginning of the page.

データDROMO5−00には、データA5として、伸
長処理モードと非圧縮処理モードでは解読されたコード
データのランレングスが出力され、圧縮モードでは入力
されたイメージデータの1バイト未満のランレングスが
出力される。データDROMO5−00は、伸長モード
と非圧縮モードではカウンタ部30に出力され、圧縮モ
ードではランレングス算出部38に出力される。
In data DROMO5-00, the run length of the decoded code data is output as data A5 in decompression processing mode and non-compression processing mode, and the run length of less than 1 byte of input image data is output in compression mode. Ru. Data DROMO5-00 is output to the counter section 30 in the decompression mode and uncompressed mode, and is output to the run length calculation section 38 in the compression mode.

データDROMO8−06には、データA7として、伸
長処理モードと非圧縮処理モードでは【(解読されたコ
ードデータ)−1)を示すデータが出力され、圧縮処理
モードでは((処理されたイメージデータ)−1)を示
すデータが出力される。データD ROM 08−06
ハ、加算器122 ニ出力すレルと共に、圧縮処理モー
ドでは色変化点検出部36に出力される。
Data indicating [(decoded code data) - 1) in the expansion processing mode and non-compression processing mode is output as data A7 to the data DROMO8-06, and in the compression processing mode ((processed image data) -1) is output. Data D ROM 08-06
C. The adder 122 outputs the output to the color change point detection section 36 in the compression processing mode.

データDROM11−09ニハ、データA4として、次
の状態を指定するための次状態データが出力される。デ
ータDROM11−09とビットDROMO5とは、圧
縮処理モードでは、使用されない。
In the data DROM 11-09, next state data for specifying the next state is output as data A4. Data DROM11-09 and bit DROM05 are not used in the compression processing mode.

レジスタRP1L119には、セレクタ118を介して
、制御部4からデータM4が供給されている。
Data M4 is supplied to the register RP1L119 from the control unit 4 via the selector 118.

圧縮処理モードにおいて、例えば、81点が検出されず
にbl点が検出されたとき、装置はバステストにはいる
。そのとき(bl−aO)に相当するデータM4がセレ
クタ108に入力され、−4される。その計算結果がレ
ジスタRP1L118に保持される。
In the compression processing mode, for example, when the 81 point is not detected and the bl point is detected, the device enters the bus test. At that time, data M4 corresponding to (bl-aO) is input to the selector 108 and is subtracted by -4. The calculation result is held in register RP1L118.

このレジスタRP1L119は、圧縮処理モードにおい
て使用され、伸長処理モードおよび非圧縮処理モードで
は使用されない。レジスタRPI L118に保持され
ているデータRP I LO2−00はセレクタ120
に供給される。
This register RP1L119 is used in the compression processing mode and is not used in the decompression processing mode and the non-compression processing mode. The data RPI LO2-00 held in the register RPI L118 is sent to the selector 120.
supplied to

セレクタ120には、レジスタRB P P 116か
らデータRB P POO−02も供給されている。セ
レクタ120は、制御部10からの制御信号に従って、
伸長処理モードではRB P PO2−00を選択し、
圧縮処理モードでバステストが実行されるときにはデー
タRP 1102−00を選択する。選択されたデータ
RB I LO2−00は加算器122に出力される。
The selector 120 is also supplied with data RB P POO-02 from the register RB P P 116 . In accordance with the control signal from the control unit 10, the selector 120
Select RB P PO2-00 in decompression processing mode,
When a bus test is executed in compression processing mode, data RP 1102-00 is selected. The selected data RBI LO2-00 is output to the adder 122.

加算器112には、デコーダROM112からのデータ
DROMOB−08と、セレクタ120からのデータR
B 1 LO2−00が供給されていて、それらのデー
タが加算される。その加算結果にさらに1が加算され、
最終的な加算結果A B P PO3−00が浸られる
。即ち、次式 %式% が、加算器122で求められる。加算結果ABPP02
−00は、セレクタ114に供給される。また、圧縮処
理モードでバステストが実行された結果、1次元符号化
を行なうことになったときは、データA B P PO
2−00は、データ八6として変換部32に供給される
。データA B P PO3−00の第3ビツトABP
PO3が、41″であるときは、1バイト分の2値デー
タの解読処理が終了したことを意味し、データA6によ
って制御部4に知らされる。これにより、レジスタRD
T1102に保持されているデータは、バイト単位でシ
フトされ、新しいバイトデータA1がRD T I 1
6−23としてラッチされる。
The adder 112 receives data DROMOB-08 from the decoder ROM 112 and data R from the selector 120.
B 1 LO2-00 is being supplied and their data is added. 1 is further added to the addition result,
The final addition result AB P PO3-00 is entered. That is, the following formula % formula % is obtained by the adder 122. Addition result ABPP02
-00 is supplied to selector 114. Also, if one-dimensional encoding is to be performed as a result of bus test execution in compression processing mode, data A B P PO
2-00 is supplied to the conversion unit 32 as data 86. 3rd bit ABP of data A B P PO3-00
When PO3 is 41'', it means that the decoding process of 1 byte of binary data has been completed, and this is notified to the control unit 4 by data A6.
The data held in T1102 is shifted byte by byte, and the new byte data A1 is RD T I 1
It is latched as 6-23.

セレクタ114には、加算器122からのデータABP
PO2−00の外に、データE3としてデータDBPA
O2−00が供給されている。セレクタ114は、I制
御部4からの制御信号に従って、伸長処理モードではデ
ータABPPO2−00を選択し、圧縮処理モードでは
データDBPAO2−00を選択する。但し、伸長処理
モードでも、初期値を設定するときはデータDBPAO
2−00を選択する。セレクタ114からの出力はレジ
スタRBPP116に入力されて保持される。レジスタ
RBPP116は、保持されているデータRB P P
O2−00をセレクタ120に出力すると共に、バレル
シフタ104に解読ポインタデータとして出力する。セ
レクタ114と、レジスタRBPP116と、加算器1
22よりなる回路は解読ポインタデータ保持回路として
働く。
The selector 114 receives data ABP from the adder 122.
Outside of PO2-00, data DBPA as data E3
O2-00 is being supplied. The selector 114 selects the data ABPPO2-00 in the decompression processing mode and selects the data DBPAO2-00 in the compression processing mode in accordance with the control signal from the I control section 4. However, even in decompression processing mode, when setting the initial value, use the data DBPAO.
Select 2-00. The output from selector 114 is input to and held in register RBPP116. The register RBPP116 stores the held data RBPP
O2-00 is output to the selector 120 and also output to the barrel shifter 104 as decoding pointer data. Selector 114, register RBPP116, and adder 1
The circuit consisting of 22 functions as a decoding pointer data holding circuit.

次ぎに第3図を参照して、カウンタ部30の構成につい
て説明する。
Next, the configuration of the counter section 30 will be explained with reference to FIG.

セレクタ124には、デコーダROM 112がらのデ
ータA5と、加算器130からの出力データANLCO
8−00と、カウンタRN L C126からの出力の
一部RN L CO2−00が入力されている。また、
データ“2556 ”が予めセットされている。制御部
4からの制御信号に従って、それらの入力データから出
力データDNLC11−00が選択される。
The selector 124 receives data A5 from the decoder ROM 112 and output data ANLCO from the adder 130.
8-00 and a part of the output from the counter RN L C126, RN L CO2-00, are input. Also,
Data "2556" is set in advance. According to a control signal from the control unit 4, output data DNLC11-00 is selected from these input data.

すなわち、伸長処理モードにおいて、メイクアップコー
ドが解読されたときは、11−06ビツト部分にデータ
DROMO5−00がセットされ、os−ooビット部
分に“O”がセットされたデータDNLC11−00が
選択される。ターミネイトコードが解読されたときには
、11−06ビツト部分にデータ゛i Onがセットさ
れ、os−ooビット部分にデータDROM05−00
がセットされたデータDNLC11−00が選択される
。解読結果に従って、イメージデータが生成されている
ときは、11−03ビット部分に加算器130の出力A
 N L 008−00がセットされ、02−〇〇ビッ
ト部分にデータRN L CO2−00がセットされた
データDNLC11−00が選択される。ざらに、圧縮
処理モードでは、データ“2556”(1000111
111100)がデータDNLC11−00として選択
される。
That is, in decompression processing mode, when the makeup code is decoded, data DROMO5-00 is set in the 11-06 bit part, and data DNLC11-00 with "O" set in the os-oo bit part is selected. be done. When the termination code is decoded, data "i On" is set in the 11-06 bit part, and data DROM05-00 is set in the os-oo bit part.
Data DNLC11-00 in which is set is selected. When image data is generated according to the decoding result, the output A of the adder 130 is added to the 11-03 bit part.
NL 008-00 is set, and data DNLC11-00 in which data RN L CO2-00 is set in the 02-XX bit portion is selected. Roughly speaking, in compression processing mode, data “2556” (1000111
111100) is selected as data DNLC11-00.

データDNLC11−00はレジスタRNLC126に
ラッチされる。データRN L C11−00のうちデ
ータRN L CO3−00はデータB3としてランレ
ングス算出部38に出力される。データB3のうちデー
タRN L CO2−00はセレクタ124に戻される
Data DNLC11-00 is latched into register RNLC126. Of the data RN L C11-00, data RN L CO3-00 is output to the run length calculation unit 38 as data B3. Of the data B3, data RN L CO2-00 is returned to the selector 124.

1バイト分のイメージデ〜りが生成されたとき、制御部
4からの制御信号に従って、データRNLC11−03
は加算器130に出力され、デーラダ“−1″と加算さ
れ、すなわち、“1”だけ引算される。
When 1 byte worth of image data is generated, data RNLC11-03 is generated according to the control signal from the control unit 4.
is output to the adder 130 and added to the delta "-1", that is, "1" is subtracted.

加算結果A N L C08−00は、セレクタ124
に戻されると同時に、データB2としてセレクタ146
に出力される。データRNLC11−03はコンパレー
タ128に出力される。コンパレータ128の他の端子
にはデータ“0” (000000000)が入力され
ており、データRN L C11−03はデータ゛0パ
と比較される。これにより伸長処理モードにおいて、バ
イト単位でのイメージデータの生成処理が終了したかど
うかが判定される。データRNLC11−03が“0”
と等しくなったとき、そのことがデータB4によって制
御部4に知らされる。セレクタ124とレジスタ126
と加算器130とからなる回路はカウンタ回路として働
く。
The addition result A N L C08-00 is sent to the selector 124
At the same time, it is returned to the selector 146 as data B2.
is output to. Data RNLC11-03 is output to comparator 128. Data "0" (000000000) is input to the other terminal of the comparator 128, and the data RNLC11-03 is compared with the data "0". Thereby, in the decompression processing mode, it is determined whether or not the image data generation processing in units of bytes has been completed. Data RNLC11-03 is “0”
When it becomes equal to , the control unit 4 is notified of this by data B4. Selector 124 and register 126
The circuit consisting of the adder 130 and the adder 130 functions as a counter circuit.

セレクタ132、レジスタ134、加算器13G、セレ
クタ138、レジスタ140、引算器142、コンパレ
ーダ144からなる回路は、圧縮処理モードにおいての
み使用される。水平モードの符号化が行われるとき、制
御部4からの制御信号に従って、セレクタ132は予め
セットされたデータ(000)を選択してレジスタRN
UC134に出力する。同じ色のランをカウントした結
果ランレングスが2560ビツトより長いとき、すなわ
ち、コンパレータ128からデータB4が制御部4に出
力されたとき、レジスタRNUC134に保持されたデ
ータRNUCO2−00は加算器136により1だけ加
算される。加算結果は再びセレクタ132で選択されて
レジスタRNUC134に保持される。同じ色のランが
終了したとき、データRN U CO2−00はセレク
タ138に供給される。
The circuit consisting of the selector 132, register 134, adder 13G, selector 138, register 140, subtracter 142, and comparator 144 is used only in the compression processing mode. When horizontal mode encoding is performed, the selector 132 selects preset data (000) according to the control signal from the control unit 4 and stores it in the register RN.
Output to UC134. When the run length as a result of counting the runs of the same color is longer than 2560 bits, that is, when data B4 is output from the comparator 128 to the control unit 4, the data RNUCO2-00 held in the register RNUC134 is set to 1 by the adder 136. will be added. The addition result is again selected by the selector 132 and held in the register RNUC134. When the same color run is completed, data RNU CO2-00 is provided to selector 138.

セレクタ138は入力されたデータRNUCO2−00
を選択してレジスタRNUG140に出力する。
The selector 138 selects the input data RNUCO2-00.
is selected and output to register RNUG140.

レジスタRNUG140は、2560ビツト分のランレ
ングスに対するコードが発生される毎にデータR[7G
02−00を出力する。データRNIJGO2−00は
引算器142によって1だけデクリメントされ、セレク
タ138によって選択されて、再びレジスタ140に保
持される。レジスタRN U G 140から出力され
るデータRN U CO2−00はまた、コンパレータ
144に出力され、0”となったがどうが調べられる。
Register RNUG140 stores data R[7G every time a code for a run length of 2560 bits is generated.
Outputs 02-00. Data RNIJGO2-00 is decremented by 1 by subtracter 142, selected by selector 138, and held in register 140 again. The data RN U CO2-00 output from the register RN U G 140 is also output to a comparator 144 to check whether it is 0'' or not.

データRN tJ CO2−00が゛0パならば、メイ
クアップコードの生成処理が終了したことを意味する。
If the data RN tJ CO2-00 is 0, it means that the makeup code generation process has been completed.

次に第4図を参照して、変換部32の構成について説明
する。
Next, the configuration of the converter 32 will be explained with reference to FIG. 4.

セレクタ14GとレジスアRNLG148とコンパレー
タ150とセレクタ156とり1らなる回路は圧縮処理
モードで1次元コードを発生するための、およびセレク
タ152とレジスタ154とセレクタ156とからなる
回路は、圧縮処理モードで2次元コードを発生するため
の生成アドレス発生回路として働く。
The circuit consisting of selector 14G, register RNLG 148, comparator 150, and selector 156 is for generating a one-dimensional code in compression processing mode, and the circuit consisting of selector 152, register 154, and selector 156 is for generating two-dimensional code in compression processing mode. Works as a generation address generation circuit for generating dimensional codes.

セレクタ146の11−03ビット部分には、データ8
2としてデータA N L C08−00が入力され、
また02−00ビット部分には、データ八6としてデー
タA B P PO2−00が入力される。それらのデ
ータは、レジスタRNLG148にデータRNLG11
−00としてラッチされる。データRNLG11−06
は、コンパレータ150に出力される。コンパレータ1
50ニハ、マタ、7’−9(100111)が供給され
ている。データRNLGII−06がデータ“”100
111”と等しいとき、データC2によって制御部4に
知らされる。これはカウントされたランレングスが64
ビツト以下であること、すなわち、生成されるべきコー
ドがターミネイトコードであることを意味する。レジス
タRNLG148からは、データRNLG11−06と
データRNLG05−00がセレクタ156に供給され
る。
The 11-03 bit portion of the selector 146 contains data 8.
Data A N L C08-00 is input as 2,
Further, data A B P PO 2-00 is input to the 02-00 bit portion as data 86. Those data are stored in register RNLG148 as data RNLG11.
Latched as -00. Data RNLG11-06
is output to the comparator 150. Comparator 1
50 Niha, Mata, 7'-9 (100111) is supplied. Data RNLGII-06 is data “”100
111'', the controller 4 is notified by data C2. This means that the counted run length is 64.
This means that the code to be generated is a terminated code. Data RNLG11-06 and data RNLG05-00 are supplied from register RNLG148 to selector 156.

セレクタ152には、データF2としてデータADLT
O2−00がランレングス算出部38から供給されてお
り、また、データM5としてデータEGCDO3−00
が制御部4から供給されている。データEGCDO3−
00に対しては、第4ビツトデータとしてデータ(1)
がセットされ、データADLT02−00に対しては第
4ビツトと第3ビツトデータとしてはデータ(01)が
セットされている。圧縮処理モードで垂直モードコード
が生成されるべきときは、データ(01) ADLTO
2−00が選択され、水平モードの識別コードあるいは
EOLコード等特殊なコードが発生されるべきときには
データ(1)EGCDO3−00が選択される。選択さ
れたデータはデータD G CD 04−00としてレ
ジスタRG CD 154に出力される。レジスタRG
CD154は、入力されるデータDGCDO4−00を
保持し、データRGCDO4−00としてセレクタ15
Gに出力する。
The selector 152 has data ADLT as data F2.
O2-00 is supplied from the run length calculation unit 38, and data EGCDO3-00 is supplied as data M5.
is supplied from the control section 4. Data EGCDO3-
For 00, data (1) is used as the 4th bit data.
is set, and data (01) is set as the fourth and third bit data for data ADLT02-00. When a vertical mode code is to be generated in compression processing mode, data (01) ADLTO
2-00 is selected, and when a special code such as a horizontal mode identification code or an EOL code is to be generated, data (1) EGCDO3-00 is selected. The selected data is output to register RG CD 154 as data DG CD 04-00. register RG
The CD 154 holds the input data DGCDO4-00 and sends it to the selector 15 as data RGCDO4-00.
Output to G.

セレクタ156には、制御部4のフリップフロップFB
LKDからの、色を指定するためのごットデータDBL
KがデータM6として、また、圧縮処理の回数を示すご
ットデータF2NGがデータM8として供給されている
。データDBLKは白を指定するとき(0)であり、黒
を指定するとき(1)である。データF2NGは、生成
されるべきコードの1回目の処理ステップでは(0)で
あり、2回目の処理ステップのときは(1)となる。
The selector 156 includes a flip-flop FB of the control unit 4.
Got data DBL from LKD for specifying color
K is supplied as data M6, and data F2NG indicating the number of times of compression processing is supplied as data M8. Data DBLK is (0) when specifying white, and (1) when specifying black. Data F2NG is (0) in the first processing step of the code to be generated, and becomes (1) in the second processing step.

入力されるデータRN L GO5−00に対しては第
7ビツトデータとして(0)がセットされていて、入力
されるデータRNLG11−06に対しては第7ごット
データとして(1)がセットされている。
For input data RNLGGO5-00, (0) is set as the 7th bit data, and for input data RNLG11-06, (1) is set as the 7th bit data. There is.

また、入力されるデータRG CD 04−00に対し
ては第6ビツトデータと第7ビツトデータとして(11
)がセットされている。
Furthermore, for the input data RG CD 04-00, (11
) is set.

従って、メイクアップコードの生成処理ステップではデ
ータ(DB LK)  (1) RN LGll−O6
(F2NG)が選択される。ターミネイトコードの生成
処理ステップではデータ(DBLK)(0)RNLGO
5−00(F2NG)が選択される。また、それ以外の
コードが生成されるべきときはデータ(DBLK)(1
1)RGCDO4−00(F2NG)が選択される。選
択されたデータは、9ビツトのアドレスデータERMA
O8−00としてエンコーダROM158に出力される
Therefore, in the makeup code generation processing step, data (DB LK) (1) RN LGll-O6
(F2NG) is selected. In the termination code generation processing step, data (DBLK) (0) RNLGO
5-00 (F2NG) is selected. Also, when other codes should be generated, data (DBLK) (1
1) RGCDO4-00 (F2NG) is selected. The selected data is 9-bit address data ERMA
It is output to the encoder ROM 158 as O8-00.

エンコーダROM 158は、アドレスデータERMA
08−00を入力Lr、データEROM10−00を出
力する。データFROMO7−00部分には、符号化コ
ードが出力され、セレクタ160に供給される。
The encoder ROM 158 stores address data ERMA.
08-00 is input Lr, and data EROM10-00 is output. An encoded code is output to the data FROM 7-00 portion, and is supplied to the selector 160.

データFROM10−08部分には、データFROM0
7−00として出力された符号化コードの長さが、−1
”された形でデータC3として出力される。
The data FROM10-08 part contains data FROM0.
The length of the encoded code output as 7-00 is -1
” is output as data C3.

レジスタRPAT162は8ビツトのデータ長を有し、
解読処理部12からデータA2を入力してセレクタ16
0に出力する。このレジスタ162は非圧縮処理モード
の時と、ビットシフトモードの時使用される。
Register RPAT162 has a data length of 8 bits,
Data A2 is input from the decoding processing unit 12 and the selector 16
Output to 0. This register 162 is used in the non-compression processing mode and in the bit shift mode.

セレクタ160には、レジスタRPAT162からのデ
ータRPATO7−00と、色変化点検出部36からの
データD RE N 10−03と、および、エンコー
ダRoM158から(7)7’ −タE ROMO7−
00が供給されている。また、データ(1111111
1)とデータ(00000000)がセットされている
The selector 160 receives data RPATO7-00 from the register RPAT162, data DREN10-03 from the color change point detection unit 36, and (7)7'-ta EROMO7- from the encoder RoM158.
00 is supplied. Also, data (1111111
1) and data (00000000) are set.

伸長処理モードでは、制御部4のフリップフロップFB
LKDによって現在指定されている色に従って、データ
(11111111)あるいはデータ(0000000
0)が選択される。圧縮処理モードでは、データERO
MO7−00が選択される。非圧縮処理モード、および
ビットシフトモードでは、データRPATO7−00が
選択される。エラー処理モードではデータDRENIO
−03が選択される。セレクタ160は、IIII[1
部4からの制御信号に従って選択されたデータE CD
 PO7−00をデータC1として出力する。
In the decompression processing mode, the flip-flop FB of the control unit 4
Data (11111111) or Data (0000000) according to the color currently specified by LKD.
0) is selected. In compression processing mode, data ERO
MO7-00 is selected. In the uncompressed processing mode and bit shift mode, data RPATO7-00 is selected. In error handling mode, data DRENIO
-03 is selected. The selector 160 selects III[1
Data ECD selected according to the control signal from section 4
Output PO7-00 as data C1.

次ぎに第5図を参照して、結合部34の構成について説
明する。
Next, the configuration of the coupling portion 34 will be explained with reference to FIG. 5.

セレクタ160から出力されたデータECDPO7−〇
〇は、バレルシフタS HT G 164に入力される
Data ECDPO7-〇〇 output from the selector 160 is input to the barrel shifter SHTG 164.

バレルシフタ5HTG164には生成ポインタ用のレジ
スタRBPQ176から生成ポインタデータR−BPQ
O2−00が出力されている。バレルシフタ164は、
その生成ポインタデータRBPQO2−00に従って、
入力されたデータを回転シフトする。
The barrel shifter 5HTG164 receives generated pointer data R-BPQ from the generated pointer register RBPQ176.
O2-00 is being output. The barrel shifter 164 is
According to the generated pointer data RBPQO2-00,
Rotate and shift input data.

MH方式、MR方式、および、MMR方式における伸長
処理モードにおいては、入力されるデータは全て(0)
か(1)のバイトデータであり、回転シフトしてもしな
くても同じである。しかし、圧縮処理モード、非圧縮処
理モード、ビットシフトモード、およびエラー処理モー
ドでは、入力データを回転シフトすることにより最大(
2バイト=1)長までの2値データの結合が1生成処理
ステツプで処理されることができる。
In the decompression processing mode in the MH method, MR method, and MMR method, all input data is (0).
(1) is the byte data, and is the same whether or not it is rotationally shifted. However, in compressed processing mode, uncompressed processing mode, bit shift mode, and error processing mode, the input data can be rotationally shifted to
Combinations of binary data up to 2 bytes = 1) in length can be processed in one generation processing step.

例えば、生成ポインタデータが“3”(011)であり
、バレルシフタ5HTG164に入力されたデータが(
01001110)であるとき、出力データ5HTGO
7−00は、(11001001)となる。バレルシフ
タ5t−ITG164からの出力5HTGO7−00は
、レジスタROD T 168の15−08ビット部分
と、結合用のセレクタEPCK166に供給される。
For example, the generated pointer data is "3" (011), and the data input to the barrel shifter 5HTG164 is (
01001110), the output data 5HTGO
7-00 becomes (11001001). The output 5HTGO7-00 from the barrel shifter 5t-ITG164 is supplied to the 15-08 bit portion of the register RODT 168 and the coupling selector EPCK166.

セレクタ170は、レジスタROD T 168に保持
されているデータRODTO7−00とROD T 1
5−08のうちいずれかを、制御部4からの制御信号に
従って選択的に出力する。直前の生成処理ステップにお
いて生成が完了された2値データが、1バイト長以上で
あるときはデータRODT15−08が選択され、生成
が完了された2値データが1バイト長未満であるときは
データRODTO8−00が選択される。選択されたバ
イトデータはデータEP310−07としてセレクタ1
66に出力される。
The selector 170 selects the data RODTO7-00 and RODTO1 held in the register RODTO168.
5-08 is selectively output according to a control signal from the control section 4. Data RODT15-08 is selected when the binary data whose generation was completed in the previous generation process step is 1 byte or more, and data RODT15-08 is selected when the binary data whose generation was completed is less than 1 byte long. RODTO8-00 is selected. The selected byte data is sent to selector 1 as data EP310-07.
66.

セレクタ166は、バレルシフタS HT G 164
からの出力5HTGO7−00と、セレクタ170から
の出力データEPSLO−07を入力する。また、バレ
ルシフタ164と同様に、同じ生成ポインタデータがレ
ジスタRBPQ176から供給されている。
The selector 166 is a barrel shifter SHTG 164
The output 5HTGO7-00 from the selector 170 and the output data EPSLO-07 from the selector 170 are input. Also, like the barrel shifter 164, the same generated pointer data is supplied from the register RBPQ176.

セレクタ166は、その生成ポインタデータに従って、
入力データを結合し、結合された8ビツトのデータEP
CK00−07をレジスタRODT16817)07−
00ビット部分に出力する。
According to the generated pointer data, the selector 166
Combine input data and create combined 8-bit data EP
CK00-07 to register RODT16817)07-
Output to the 00 bit part.

レジスタROD T 168は、データRODTO7−
−OOトデータRODT15−08ヲtレクタ1701
.:、出力する。データROD TO7−00内に、2
値データの生成が完了しているときには、データROD
TO7−〇〇は、伸長処理モードにおいて、次ぎの参照
ラインデータとして使用するために、データD1として
バッファメモリ制御16に出力される。また、データR
ODTO7−00は、出力レジスタROtJT112を
介してデータD2として外部に出力される。
Register ROD T 168 stores data RODTO7-
-OO data RODT15-08 collector 1701
.. :,Output. In the data ROD TO7-00, 2
When the generation of value data is complete, the data ROD
TO7-〇〇 is output to the buffer memory control 16 as data D1 in order to be used as the next reference line data in the decompression processing mode. Also, data R
ODTO7-00 is outputted to the outside as data D2 via the output register ROtJT112.

バレルシフタS HT G 164とセレクタEPCK
166とレジスタRoDT168とセレクタ170とか
らなる回路はホールドループ回路として働く。
Barrel shifter S HT G 164 and selector EPCK
166, register RoDT 168, and selector 170 function as a hold loop circuit.

加算器178には、エンコーダROM 158からのデ
ータC3とレジスタRBPQ176の生成ポインタデー
アRBPQO2−00が入力されている。圧縮処理モー
ドでは、データFROM10−08は、符号化されたコ
ードの実際の長さより1小さいコード長が出力されてい
るので、加算器178での加算結果A B P QO3
−00は次ぎのようにして計算される=A B PQO
3−00−F R0M1O−08+RBPQO2−00
+1 この加算結果ABPQO3−00のうち下位3ビットA
BPQO2−00はセレクタ174に出力される。また
、第3ビツトが(1)のときは、1バイト分の生成処理
が完了したことを意味し、データD3により制御部4に
知らされる。
The data C3 from the encoder ROM 158 and the generated pointer data RBPQO2-00 of the register RBPQ176 are input to the adder 178. In the compression processing mode, the data FROM10-08 outputs a code length that is 1 smaller than the actual length of the encoded code, so the addition result in the adder 178 is A B P QO3
-00 is calculated as follows = A B PQO
3-00-F R0M1O-08+RBPQO2-00
+1 Lower 3 bits A of this addition result ABPQO3-00
BPQO2-00 is output to selector 174. Further, when the third bit is (1), it means that the generation process for one byte has been completed, and this is notified to the control unit 4 by data D3.

セレクタ174には、色変化点検出部36からデータE
3としてデータDBPAO2−00と、加算器178か
らのデータABPQO2−00が入力されている。また
、データ“0”が予めセットされている。
The selector 174 receives data E from the color change point detection section 36.
3, data DBPAO2-00 and data ABPQO2-00 from the adder 178 are input. Further, data "0" is set in advance.

伸長処理モードとビットシフトモードのときは、制一部
4からの制御信号に従ってデータDBPA02−00が
選択される。また、圧縮処理モードのときは、データA
BPQO2−00が選択される。また、初期状態と、エ
ラー処理モードでは、データ゛0”が選択される。選択
されたデータはレジスタRBpQ176に出力される。
In the decompression processing mode and the bit shift mode, data DBPA02-00 are selected according to a control signal from the control section 4. Also, when in compression processing mode, data A
BPQO2-00 is selected. Further, in the initial state and in the error processing mode, data "0" is selected.The selected data is output to the register RBpQ176.

レジスタRBP0176は、セレクタ174からのデー
タを保持し、制御部4からの制御信号に従って、バレル
シフタ5HTG164とセレクタEPCK166に生成
ポインタデータとしてを出力する。
Register RBP0176 holds data from selector 174 and outputs it as generated pointer data to barrel shifter 5HTG164 and selector EPCK166 in accordance with a control signal from control unit 4.

加算器178とセレクタ174とレジスタ176とは、
生成ポインタデータ保持回路として働く。
The adder 178, selector 174, and register 176 are
Works as a generation pointer data holding circuit.

次ぎに第6図を参照して、色変化点検出部36の構成に
ついて説明する。
Next, the configuration of the color change point detection section 36 will be explained with reference to FIG.

レジスタRREF180には、バッフツメモリ制御部1
Gを介して参照ラインバッファメモリ6から参照ライン
データがデータG4として供給されて。
The register RREF180 contains the buffer memory control unit 1.
Reference line data is supplied as data G4 from the reference line buffer memory 6 via G.

いる。レジスタRREF180は27ビツトのデータ長
を有する。レジスタRREF180は、制御部4からの
制御信号に従って、データRREFO8−10がデータ
RRE FOO−02になるように、データRRE )
”、 11−18がデータRRE FO3−10になる
ように、データRREF19−26がデータRREF1
1−18になるようにバイト単位でデータをシフトし、
その後、19−26ビツト部分にデータG4を入力する
。レジスタRRE F 180に保持されているデータ
RRE FOO−26のうちデータRRE FOO−2
1が77ネルシフタ182に出力される。
There is. Register RREF 180 has a data length of 27 bits. According to the control signal from the control unit 4, the register RREF 180 changes the data RRE (RRE) so that the data RREFO8-10 becomes the data RREFOO-02.
”, data RREF19-26 become data RREF1 so that 11-18 becomes data RRE FO3-10.
Shift the data in bytes so that it becomes 1-18,
Thereafter, data G4 is input into the 19-26 bit portion. Data RRE FOO-2 of data RRE FOO-26 held in register RRE F 180
1 is output to the 77 channel shifter 182.

フッネルシフタ182はデータRRE FOO−21を
入力し、レジスタRBPA200からのaOポインタデ
ータRBPAO2−00に従って選択された15ビツト
のデータ5HTPOO−14を出力する。例えば、aO
ポインタデータRBPAO2−00が5”であるとき、
データ5HTPOO−14は、データRREF05−1
9に対応する。すなわち、データRREFOO−21の
第6ビツトから15ビツト分のデータが選択される。レ
ジスタRREF180とフッネルシフタ182とからな
る回路は参照ラインデータ選択回路として働く。
Funnel shifter 182 inputs data RRE FOO-21 and outputs 15-bit data 5HTPOO-14 selected according to aO pointer data RBPAO2-00 from register RBPA200. For example, aO
When pointer data RBPAO2-00 is 5",
Data 5HTPOO-14 is data RREF05-1
Corresponds to 9. That is, 15 bits of data from the 6th bit of data RREFOO-21 are selected. A circuit consisting of register RREF 180 and Huhsnel shifter 182 functions as a reference line data selection circuit.

色反転回路184には、バレルシフタ182からのデー
タ5HTPOO−14と、また、制御部4からデータM
9が入力されている。圧縮処理モードでは色反転回路1
84は画素の色変化の方向を白から黒に統一するように
働く。従って、白ランから黒ランへの色変化点を検出す
るときには、色反転回路184は入力されたデータをそ
のまま出力する。黒ランから白ランへの色変化点を検出
するときには、色反転回路184は入力されたデータを
反転して出力する。また、エラー処理モードでは、入力
されたままの色で入力データを出力する。色反転回路1
84は色統−されたデータDRENOO−14を変化点
検出器186に出力する。また、データDREN03−
10はデータE1として変換部32に出力される。
The color inversion circuit 184 receives data 5HTPOO-14 from the barrel shifter 182 and data M from the control section 4.
9 has been input. In compression processing mode, color inversion circuit 1
84 works to unify the direction of color change of pixels from white to black. Therefore, when detecting a color change point from a white run to a black run, the color inversion circuit 184 outputs the input data as is. When detecting a color change point from a black run to a white run, the color inversion circuit 184 inverts the input data and outputs the inverted data. In error processing mode, the input data is output in the same color as it was input. Color inversion circuit 1
84 outputs the color standardized data DRENOO-14 to the change point detector 186. In addition, data DREN03-
10 is output to the converter 32 as data E1.

変化点検出器186は、色反転回路184からのデータ
DRENOO−14と、制御部4からデータDNDPO
O−10とランの第1データとラインの第1データとを
制御データM7として入力し、色変化点を検出する。色
変化の方向が統一されているので、色変化点はビットデ
ータ(0)とされる。検出さ・れた色変化点データD 
RE C01−14はプライオリティエンコーダ188
に出力される。
The change point detector 186 receives data DRENOO-14 from the color inversion circuit 184 and data DNDPO from the control unit 4.
O-10, the first data of the run, and the first data of the line are input as control data M7, and a color change point is detected. Since the direction of color change is unified, the color change point is set as bit data (0). Detected color change point data D
RE C01-14 is priority encoder 188
is output to.

プライオリティエンコーダ188は、変化点検出器18
6からの色変化点データDRECO1−14を入力する
。入力データDRECO1−14のうちLSB位置に最
も近い色変化点のビット位置が2進数に変換され、変換
されたデータB 1 t) TO3−00が出力される
。従って、データDRECO1−14の第5ビツトが色
変化点とされたときには、データB1D T 03−0
0ハ“5n(0101)トナル。コノ色変化点の位置を
レジスタRODT168のデータRODT 00−08
と関連させると、この第5ビツトはビットデータROD
TOIに対応する。このように、検出された色変化点デ
ータは、着目ブロック内のビット位置に関して“+4”
した形になっている。
The priority encoder 188 is connected to the change point detector 18
Input the color change point data DRECO1-14 from 6. The bit position of the color change point closest to the LSB position of the input data DRECO1-14 is converted into a binary number, and the converted data B 1 t) TO3-00 is output. Therefore, when the fifth bit of data DRECO1-14 is set as a color change point, data B1D T03-0
0ha "5n (0101) tonal. The position of the color change point is the data in register RODT168 RODT 00-08
In relation to this, this fifth bit is the bit data ROD
Compatible with TOI. In this way, the detected color change point data is “+4” with respect to the bit position within the block of interest.
It is shaped like this.

検出されたデータB I D TO3−00はデータE
2として出力される。
The detected data BID TO3-00 is data E
Output as 2.

色反転回路184と変化点検出器186とプライオリテ
ィエンコーダ188とからなる回路はb1点検出回路と
して働く。
A circuit including the color inversion circuit 184, change point detector 186, and priority encoder 188 functions as a b1 point detection circuit.

セレクタ192にはレジスタRBPA200からのデー
タRBPAO2−00が供給されている。また、データ
(111)がセットされている。制御部4からの制御信
号に従って、圧縮処理モード、伸長処理モード、ビット
シフトモード、非圧縮処理モード、およびエラー処理モ
ードでは、データRBPAO2−00が選択され、初期
状態の時はデータ(111)が選択される。選択された
データは加算器196に出力される。セレクタ194に
は、解読処理部12からデータA7としてデータDRO
MO8−06が、また、制御部4からデータM10とし
てデータ5TATO2−00が入力されている。また、
データ“0″がセットされている。セレクタ194は、
制御部4からの制御信匈に従って、圧縮処理モードでは
、データDROMO8−06を選択する。圧縮処理モー
ドのラインの先頭においてはデータ5TATO2−00
を選択する。伸長処理モード、ビットシフトモード、非
圧縮処理モード、およびエラー処理モードのラインの先
頭においてはデータ“0”を選択する。選択されたデー
タは加算器196に出力される。
The selector 192 is supplied with data RBPAO2-00 from the register RBPA200. Also, data (111) is set. According to the control signal from the control unit 4, data RBPAO2-00 is selected in compression processing mode, decompression processing mode, bit shift mode, non-compression processing mode, and error processing mode, and data (111) is selected in the initial state. selected. The selected data is output to adder 196. The selector 194 receives data DRO from the decoding processing unit 12 as data A7.
MO8-06 and data 5TATO2-00 are also input from the control unit 4 as data M10. Also,
Data “0” is set. The selector 194 is
In accordance with the control signal from the control unit 4, data DROMO8-06 is selected in the compression processing mode. At the beginning of the line in compression processing mode, data 5TATO2-00
Select. Data "0" is selected at the beginning of the line in decompression processing mode, bit shift mode, non-compression processing mode, and error processing mode. The selected data is output to adder 196.

加算器196は、セレクタ192と194から入力され
たデータを加算し、加算結果にさらに、制御部4からの
指示に従って0″または“1″を加算する。圧縮処理モ
ード、伸長処理モード、および非圧縮処理モードのライ
ンの先頭においては、“0”を加算する。ビットシフト
モード、およびエラー処理モードのラインの先頭におい
てはデータ゛1″を加算する。また、圧縮処理モードで
aOポインタデータを更新するために、If 1 ++
を加算する。最終的な加算結果A 10MO2−00は
セレクタ198に出力される。
The adder 196 adds the data input from the selectors 192 and 194, and further adds 0" or "1" to the addition result according to instructions from the control unit 4. At the beginning of a line in compression processing mode, "0" is added. At the beginning of a line in bit shift mode and error processing mode, data "1" is added. Also, in order to update the aO pointer data in the compression processing mode, If 1 ++
Add. The final addition result A10MO2-00 is output to the selector 198.

セレクタ198は、加算器196からのデータA1CM
O2−00と、ランレングス算出部38からのデータF
1としてのデータAB1AO2−00を入力する。
The selector 198 receives data A1CM from the adder 196.
O2-00 and data F from the run length calculation unit 38
Input data AB1AO2-00 as 1.

セレクタ198は、制御部4からの制御信号に従って、
圧縮処理モードではデータA 10MO2−00を選択
し、伸長処理モードおよび非圧縮処理モードではデータ
AB1AO2−00を選択する。選択されたデータDB
PAO2−00はレジスタRB P A 200に出力
され、新たなaOポインタデータとされる。
In accordance with the control signal from the control unit 4, the selector 198
In the compression processing mode, data A 10MO2-00 is selected, and in the decompression processing mode and non-compression processing mode, data AB1AO2-00 is selected. Selected data DB
PAO2-00 is output to the register RBPA 200 and is used as new aO pointer data.

また、データDBPAO2−00はデータE3として、
伸長処理モードでは変換部34に出力され、圧縮処理モ
ードでは解読処理部12に出力される。
In addition, data DBPAO2-00 is data E3,
In the decompression processing mode, the data is output to the conversion section 34, and in the compression processing mode, it is output to the decoding processing section 12.

レジスタRBPA200は、セレクタ198からのデー
タDBPAO2−00を入力して保持し、データRBP
AO2−00をファネルシフタ182にaOポインタデ
ータとして出力する。また、データE5としてランレン
グス算出部38に出力する。レジスタRBPA200、
セレクタ192と194、加算器196、およびセレク
タ198とからなる回路はaOポインタデータ保持回路
として働く。
Register RBPA200 inputs and holds data DBPAO2-00 from selector 198, and stores data RBP
AO2-00 is output to the funnel shifter 182 as aO pointer data. It is also output to the run length calculation unit 38 as data E5. register RBPA200,
A circuit consisting of selectors 192 and 194, adder 196, and selector 198 functions as an aO pointer data holding circuit.

次ぎに第7図を参照して、ランレングス算出部38の構
成について説明する。
Next, the configuration of the run length calculation section 38 will be explained with reference to FIG.

セレクタ201の第3ビツトには制御部4からデータM
11が供給されている。その第Oから第2ビツトにはカ
ウンタ部30からデータRN L CO2−00が供給
されている。セレクタ202の第3ビツトにはデータ゛
0″がセットされている。その第Oから第2ビツトには
、データE5としてデータRBP A 02−00が供
給されている。セレクタ201 とセレクタ202の出
力は伸長処理モードのとき加算器204に出力される。
The third bit of the selector 201 receives data M from the control section 4.
11 are supplied. Data RN L CO2-00 is supplied from the counter section 30 to the Oth to second bits. Data ``0'' is set in the third bit of the selector 202.Data RBP A 02-00 is supplied as data E5 to the Oth to second bits.The outputs of the selector 201 and the selector 202 are It is output to the adder 204 in the decompression processing mode.

加陣器204は、セレクタ201とセレクタ202の出
力を加算する。このとき、1次元伸長処理モードと非圧
縮処理モードの°ときのラインの左端バイトのときは、
制御部4からの指示に従って、ざらに1゛′が加算され
る。最終的な加算結果AOPL 03−00は、セレク
タ206に出力される。
Adder 204 adds the outputs of selector 201 and selector 202. At this time, for the leftmost byte of the line at ° in the one-dimensional decompression processing mode and the non-compression processing mode,
According to instructions from the control unit 4, 1' is roughly added. The final addition result AOPL 03-00 is output to the selector 206.

セレクタ206は、03−00ビット部分に加算器20
4からのデータA OP LO3−00を入力し、第4
ビツトに制御部4からデータM12を入力し保持する。
The selector 206 connects the adder 20 to the 03-00 bit portion.
Input data A OP LO3-00 from 4th
Data M12 is input from the control unit 4 to the bit and held.

保持されているデータは加算器210に出力される。The held data is output to adder 210.

セレクタ208には、データE2として色変化点検出部
36からデータB 1 D TO3−00が供給されて
いる。また、データ(11111)が予めセットされて
いる。制御部4からの制御信号に従って、1次元コード
の伸長処理モードと、非圧縮処理モ−ドでは、データ(
11111)が選択され、2次元コードの伸長モードで
は、データ(0)+データB1DTO3−00が選択さ
れる。選択されたデータは、加算器210に出力される
Data B 1 D TO3-00 is supplied to the selector 208 from the color change point detection unit 36 as data E2. Further, data (11111) is set in advance. According to the control signal from the control unit 4, data (
11111) is selected, and in the two-dimensional code expansion mode, data (0)+data B1DTO3-00 is selected. The selected data is output to adder 210.

加算器210は、セレクタ206と208からのデータ
を加算する。1次元コードの伸長処理モードと、非圧縮
処理モードでは、その加算結果にさらにデータ゛1″が
加算される。また、非圧縮処理モードの最終ステップで
は、更に加算されるデータは“O′′である。また、2
次元コードの伸長モードでは、データ゛0”が加算され
る。1次元コードの伸長処理モードと、非圧縮処理モー
ドにおいて、最終的な加算結果AB1LO4−00の第
4ビツトと第3ビツトが(01)となったとき、結合部
34において1バイト分の2値データの合成が終了した
ことを示し、0″であれば、現在゛合成処理中のバイト
中に合成処理が終了したことを示す。このことは、デー
タF1によって制御部4に知らされる。最終的な加算結
果A31LO4−00はデータF1として色変化点検出
部36に出力される。
Adder 210 adds the data from selectors 206 and 208. In the one-dimensional code decompression processing mode and non-compression processing mode, data ``1'' is further added to the addition result.In addition, in the final step of the non-compression processing mode, the further added data is ``O''. be. Also, 2
In the dimensional code decompression mode, data "0" is added. In the 1-dimensional code decompression processing mode and non-compression processing mode, the 4th and 3rd bits of the final addition result AB1LO4-00 are (01). When , it indicates that the synthesis of one byte of binary data has been completed in the coupling section 34, and when it is 0'', it indicates that the synthesis process has been completed during the byte currently being synthesized. This is notified to the control unit 4 by data F1. The final addition result A31LO4-00 is output to the color change point detection section 36 as data F1.

セレクタ212は、データB3としてデータRNLCO
3−00と、データA5としてデータDROM03−0
0を入力する。制御部4からの制御信号に従って、伸長
処理モードでは、データRNLCO3−00が選択され
、圧縮処理モードではデータDROM 03−00が選
択される。選択されたデータは加算器216に出力され
る。
The selector 212 selects data RNLCO as data B3.
3-00 and data DROM03-0 as data A5
Enter 0. According to the control signal from the control unit 4, data RNLCO3-00 is selected in the decompression processing mode, and data DROM 03-00 is selected in the compression processing mode. The selected data is output to adder 216.

反転回路214は、データE2として色変化点検出部3
6からのデータB 1 D Ta2−00と制御部4か
らの制御データとしてM2Sを入力する。2次元伸長処
理モードでは、データB 1 D Ta2−00をその
まま素通しし、圧縮処理モードではデータB1DT 0
3−00は反転される。即ち、“0”は1″に、“1n
は“0″に変更される。反転回路214からのデータは
加算器216に出力される。
The inversion circuit 214 outputs the color change point detection unit 3 as data E2.
Data B1D Ta2-00 from 6 and M2S are input as control data from the control unit 4. In the two-dimensional expansion processing mode, the data B 1 D Ta2-00 is passed through as is, and in the compression processing mode, the data B 1 DT 0 is passed through.
3-00 is inverted. That is, "0" becomes 1", "1n
is changed to "0". Data from inversion circuit 214 is output to adder 216.

加算器216は、反転回路214からの反転データとセ
レクタ212からのデータを入力し、それらを加算する
。2次元伸長処理モードでは加算結果をデータA D 
L Ta2−00として出力する。圧縮処理モードでは
、その加算の結果に更にデータ“1″が加算される。す
なわち、これにより、反転回路214に入力されるB1
DTO3−00の2の補数を求めたことになる。圧縮処
理モードでは、この加算の結果がデータA D L T
a2−00として出力される。
Adder 216 inputs the inverted data from inverting circuit 214 and the data from selector 212, and adds them. In two-dimensional decompression processing mode, the addition result is data A
Output as L Ta2-00. In the compression processing mode, data "1" is further added to the result of the addition. That is, as a result, B1 input to the inverting circuit 214
This means that the two's complement of DTO3-00 has been found. In compression processing mode, the result of this addition is data A D L T
Output as a2-00.

このデータA31Aの第3ピツトが“1″ならば、結合
部34において、1バイト分の21i!データの合成が
終了したことを示し、O″であれば、現在合成処理中の
バイト中に合成処理が終了したことを示す。このことは
、データF1によって制御部4に知らされる。また、デ
ータF2は変換部32にも供給される。
If the third pit of this data A31A is "1", in the coupling section 34, 1 byte of 21i! Indicates that the data synthesis has been completed, and if O'', it indicates that the synthesis process has been completed during the byte currently being synthesized. This is notified to the control unit 4 by data F1. Data F2 is also supplied to the converter 32.

次ぎに第8図を参照して、バッファメモリti制御部1
6の構成について説明する。
Next, referring to FIG. 8, the buffer memory ti control section 1
The configuration of No. 6 will be explained.

セレクタ224には、加算器228の出力A8FA10
− (10がセレクタ224に入力されている。さらに
、セレクタには、データ“−4″が予めセットされてい
る。制卸部4からの制罪信号に従って、初期値として“
−4″′が選択される。また、参照ラインバッフ7メモ
リ6をアクセスするためには、データA 8 F A 
10−00が選択される。選択されたデータは、レジス
タRB F A 226に出力される。レジスタ226
は入力されたデータを保持し、加算器228に出力する
The selector 224 has the output A8FA10 of the adder 228.
- (10 is input to the selector 224. Furthermore, data "-4" is preset in the selector. According to the control signal from the control section 4, "
-4''' is selected. Also, in order to access the reference line buffer 7 memory 6, data A 8 F A
10-00 is selected. The selected data is output to register RBFA 226. register 226
holds the input data and outputs it to the adder 228.

セレクタ230には、データ“1”と“4”<100)
が予めセットされている。制御部4の制−信号に従って
、イメージデータを参照ラインバッファメモリ6に格納
するときは、データ“1″が選択され、参照ラインデー
タどしてのイメージデータを読み出すときはデータ“4
″が選択される。選択されたデータは加算器228に出
力される。
The selector 230 contains data “1” and “4” (<100)
is set in advance. According to the control signal of the control unit 4, data "1" is selected when storing image data in the reference line buffer memory 6, and data "4" is selected when reading image data as reference line data.
'' is selected. The selected data is output to adder 228.

加算器228は、レジスタRBFA226からのデータ
とセレクタ230からのデータを加算する。加算結果A
BFAIO−00は、セレクタ224と、コンパレータ
220と、および、セレクタ232に出力される。
Adder 228 adds data from register RBFA 226 and data from selector 230. Addition result A
BFAIO-00 is output to selector 224, comparator 220, and selector 232.

レジスタE N D 8218には、データM14とし
て1ライン分のランレングスデータがtill III
部4から予め与えられている。レジスタE N D 8
218に保持されているデータのうち、データE N 
D B 13−03はコンパレータ220に出力される
The register END 8218 contains one line of run length data as data M14.
It is given in advance from Section 4. Register E N D 8
Among the data held in 218, data E N
D B 13-03 is output to comparator 220.

コンパレータ220には加算器228からのデータAB
FA10−00も供給されている。2つのデータは比較
され、一致したとき、データG1が制御部10に出力さ
れる。すなわち、これにより2値データの処理が、ライ
ンの最終バイト位置まで進んだことを確認することがで
きる。レジスタEND8218に保持されているデータ
E N D BO2−00はコンパレータ222に出力
される。コンパレータ222には、データE5としてデ
ータRBPAO2−00が供給されている。これらのデ
ータは比較され、一致するとき、データG2によって制
御部4に知らされる。これにより、最終バイト位置の確
認に続き、ラインの完全な終端まで処理が進行したこと
が確認される。
Comparator 220 receives data AB from adder 228.
FA10-00 is also supplied. The two data are compared, and when they match, data G1 is output to the control section 10. In other words, it can thereby be confirmed that the processing of binary data has progressed to the final byte position of the line. Data EN D BO2-00 held in register END 8218 is output to comparator 222 . Data RBPAO2-00 is supplied to the comparator 222 as data E5. These data are compared, and when they match, the control unit 4 is notified by data G2. This confirms that processing has proceeded to the complete end of the line following confirmation of the final byte position.

バッファメモリ制御部16の、以上述べた回路部分によ
りライン終端検出部44が構成されている。
The above-described circuit portion of the buffer memory control section 16 constitutes a line end detection section 44.

セレクタ232は、加算器228からのデータABF 
A 10−00を10−00部分に入力する。また、参
照ラインデータW D 07−00が供給されている。
Selector 232 receives data ABF from adder 228.
A Enter 10-00 into the 10-00 part. Further, reference line data WD 07-00 is supplied.

第11ピツトにはυllm1部4からIIJ11Nデー
タM15を入力する。この制御データM15は、参照ラ
インバッファメモリ6の領域を指定するためのものであ
り、参照ラインバッフ7メモリ6に対しては信号RAH
として出力される。セレクタ232は、制御部4からの
制御信号に従って、スタティックRAMが参照ラインバ
ッファメモリ6として接続されているときはデータAB
FA10−00を選択し、FIFOメモリが参照ライン
バッファメモリ6として接続されているときはデータW
 D 07−00を選択する。
IIJ11N data M15 is input from the υllm1 unit 4 to the 11th pit. This control data M15 is for specifying the area of the reference line buffer memory 6, and for the reference line buffer 7 memory 6, the signal RAH
is output as The selector 232 selects data AB when the static RAM is connected as the reference line buffer memory 6 according to a control signal from the control unit 4.
When FA10-00 is selected and the FIFO memory is connected as the reference line buffer memory 6, the data W
Select D 07-00.

セレクタ232の出力はレジスタRA D R234に
出力される。
The output of selector 232 is output to register RADR234.

レジスタRA D R234は、入力されるデータを保
持し、オフチップドライバ236を介して参照ラインバ
ッファメモリ6に出力する。セレクタ232とレジスタ
234とオフチップドライバ236からなる回路はアド
レス部として働く。
The register RADR 234 holds input data and outputs it to the reference line buffer memory 6 via the off-chip driver 236. A circuit consisting of a selector 232, a register 234, and an off-chip driver 236 functions as an address section.

セレクタ238には、データA2としてデータRD T
 I 00−07が、またデータD1としてデータRO
DTOO−07が入力される。また、データ(oooo
  oooo >が予めセットされている。制御部4か
らの制御信号に従って、伸長処理モードではデータRO
DTOO−07が選択され、圧縮処理モードではRD 
T I 00−07が選択される。初期状態では、参照
ラインバッファメモリ6をクリアするためにデータ(0
0000000)が選択される。選択されたデータは、
オフチップドライバ240を介して参照ラインバッファ
メモリ6に出力される。また、参照ラインバッファメモ
リ6から読み出された参照ラインデータはレシーバ24
2を介して、データG4として色変化点検出部36に出
力される。
The selector 238 has data RDT as data A2.
I 00-07 is also data RO as data D1
DTOO-07 is input. Also, data (oooo
oooo> is set in advance. According to the control signal from the control unit 4, in the decompression processing mode, the data RO
DTOO-07 is selected and RD in compression processing mode.
T I 00-07 is selected. In the initial state, data (0) is used to clear the reference line buffer memory 6.
0000000) is selected. The selected data is
It is output to the reference line buffer memory 6 via the off-chip driver 240. Further, the reference line data read from the reference line buffer memory 6 is sent to the receiver 24.
2, it is output to the color change point detection section 36 as data G4.

次ぎに第9図を参照して、色変化点検出部36の変化検
出器186の構成について説明する。
Next, with reference to FIG. 9, the configuration of the change detector 186 of the color change point detection section 36 will be described.

基本的には、白(0)から黒(1)となる変化点を見付
けるために色反転回路184からのデータDRENOO
−14の各ビットと、このDRENOO−14の各ビッ
トを反転して1ビツトずつ右側にシフトした各ビットと
の論理積をとった後、更にラインの終了処理において、
終端点の右側に仮想の変化点を補うためのデータD N
 D POO−10との否定和をとるという構成になっ
ている。この基本構成に更に、ラインの第1ステツプで
の処理とランの第1ステツプでの処理に対応するために
特別な回路が付加されている。ラインの第1ステツプで
の処理とは、ラインの最初の1バイトの処理のことであ
る。第25図aに示されるように入力データの与え方に
よってはバイトの境界がラインの左端に一致しない場合
がある。そして、80点の真上にb1点が来ることがあ
る。このような場合、b1点が変化点として検出される
ために1つ前のビットが(0)となっていなければなら
ない。この処理をするのがDRENO2とIll II
I信号“反転(ラインの第1)”との否定槽をとるNA
NDゲート81−2である。ラインの第1ステツプの処
理では、tlIIIll信号“反転(ラインの第1)″
は(0)となる。従って、このNANDゲート81−2
により、ラインの第1ステツプでの処理においては、D
RENO2は必ず(0)として扱われる。つまり、DR
ECO3をb1点として検出できる。
Basically, in order to find the point of change from white (0) to black (1), the data DRENOO from the color inversion circuit 184 is
-14 and each bit of DRENOO-14 inverted and shifted to the right one bit at a time, and then in the line end processing,
Data D N to supplement the virtual change point on the right side of the terminal point
The configuration is such that the negative sum with DPOO-10 is calculated. In addition to this basic configuration, special circuitry is added to accommodate processing in the first step of the line and processing in the first step of the run. Processing in the first step of a line refers to processing the first byte of the line. As shown in FIG. 25a, the byte boundary may not coincide with the left end of the line depending on how input data is provided. Then, the b1 point may be directly above the 80 point. In such a case, in order for point b1 to be detected as a changing point, the previous bit must be (0). This process is carried out by DRENO2 and Ill II.
NA that takes the negative tank with the I signal “inversion (first line)”
This is the ND gate 81-2. In the processing of the first step of the line, the tlIIIll signal "inverted (first of the line)"
becomes (0). Therefore, this NAND gate 81-2
Therefore, in the processing at the first step of the line, D
RENO2 is always treated as (0). In other words, D.R.
ECO3 can be detected as b1 point.

ランの第1ステツプでの処理では、変化点を検出した後
、新たなランの処理に入り、最初の1バイトの処理のこ
とである。ランの第1ステツプでの処理では、第25図
すに示されるように、b1点は80点より右側にあるの
で、80点から左側の変化点が検出されてはならない。
In the first step of a run, after a change point is detected, a new run is processed, and the first byte is processed. In the processing at the first step of the run, as shown in FIG. 25, since point b1 is to the right of point 80, no change point to the left of point 80 should be detected.

このような処理をするのが制御信号“反転(ランの第1
)”である。この制御信号“反転(ランの第1)”はラ
ンの第1ステツプでの処理では、(0)となる。従って
、この制御信号をDRENOOの反転信号とDRENo
lとの否定槽をとるNANDゲート81−1に入力する
ことにより、出力データDRECO1は必ず(1)とな
る。同様にこの制御信号をDRENOlの反転信号とD
RENO2との否定槽をとるNANDゲート、91−2
に入力することにより、出力データDRECO2は必ず
(1)となる。
This type of processing is performed using the control signal “inversion (first run
)". This control signal "inversion (first run)" becomes (0) in the first step of the run. Therefore, this control signal is combined with the inversion signal of DRENOO and the inversion signal of DRENOO.
By inputting the data to the NAND gate 81-1 which forms a negative tank with 1, the output data DRECO1 always becomes (1). Similarly, this control signal is the inverted signal of DRENOl and D
NAND gate that takes a negative tank with RENO2, 91-2
By inputting , the output data DRECO2 will always be (1).

また、ラインの第1ステツプでの処理の場合、ランの第
1ステツプでの処理でもある。このような場合には、D
RECO3をb1点として検出しなければならない。し
かし、ラインの第1ステツプでの処理では無く、単にラ
ンの第1ステツプでの処理の場合にはDRECO3を変
化点として検出してはならない。このような処理をする
のがIIJ m信号“反転(ラインの第1)″を反転す
るNOVORゲート16NOTORゲート16の出力と
制御信号“反転(ラインの第1)′との論理和をとるO
Rゲート83である。ORゲート83の出力はDREC
03を出力するNANDゲート81−3に入力される。
Furthermore, in the case of processing at the first step of a line, it is also processing at the first step of a run. In such a case, D
RECO3 must be detected as point b1. However, in the case of processing not in the first step of a line but simply in the first step of a run, DRECO3 should not be detected as a change point. This process is performed by the NOVOR gate 16 that inverts the IIJ m signal "inversion (first line)" and the logical OR of the output of the NOTOR gate 16 and the control signal "inversion (first line)".
This is the R gate 83. The output of OR gate 83 is DREC
It is input to a NAND gate 81-3 which outputs 03.

ラインの第1ステツプでの処理であり、かつランの第1
ステツプでの処理である場合、ORゲート83の出力は
(1)となり、DRECO3をb1点として検出するこ
とできる。一方、ラインの第1ステツプでの処理ではな
く、単にランの第1ステツプでの処理の場合には、OR
ゲート83の出力は(0)となり、DRECO3を変化
点として検出しない。
processing in the first step of the line and the first step of the run
In the case of step processing, the output of the OR gate 83 becomes (1), and DRECO3 can be detected as the b1 point. On the other hand, in the case of processing simply in the first step of a run, rather than processing in the first step of a line, OR
The output of the gate 83 becomes (0), and DRECO3 is not detected as a changing point.

データDNDPOO−10は、前述したように終端点の
1ビツト右側に仮想の変化点を補うデータであり、通常
はDNDPOO−10の各ビットは(0)である。ライ
ンの最終のデータを処理する際、データDNDPOO−
10のうち、終端点の1ビツト右側に位置するビットの
みが(1)となる。したがって、ANDゲートから出力
される各ヒツトデータとDNDPOO−10の各ビット
との否定和をとると、終端点の1ビツト右側に仮想の変
化点が補われる。
Data DNDPOO-10 is data that supplements a virtual change point one bit to the right of the termination point, as described above, and normally each bit of DNDPOO-10 is (0). When processing the last data of the line, the data DNDPOO-
Among the 10 bits, only the bit located one bit to the right of the termination point becomes (1). Therefore, by calculating the negative sum of each hit data output from the AND gate and each bit of DNDPOO-10, a virtual change point is supplemented one bit to the right of the terminal point.

データDRENOO−14は、このような回路を介して
、変化点候補が検出される。データDREC01−14
において、変化点候補は(0)となり、それ以外は(1
)となる。変化点候補を示すデータDREC(N−14
はプライオリティエンコーダ188に入力される。プラ
イオリティエンコーダ188はD RE Cot−14
のうち最も左側に位置する変化点候補を検出し、このビ
ット位置を示すデータB1DTO3−00を出力する。
In the data DRENOO-14, change point candidates are detected through such a circuit. Data DREC01-14
In , the change point candidate is (0), and the others are (1
). Data DREC (N-14
is input to the priority encoder 188. Priority encoder 188 is DRE Cot-14
The leftmost change point candidate is detected, and data B1DTO3-00 indicating this bit position is output.

次ぎに第10図を参照して、ビット族りによりランに対
するコードをEOLコードと誤認されることを防ぐため
のセーフティ回路を説明する。この回路は制御部4のメ
インシーケンサに含まれる。
Next, referring to FIG. 10, a safety circuit for preventing a code for a run from being mistaken as an EOL code due to bit grouping will be described. This circuit is included in the main sequencer of the control section 4.

このセーフティ回路は、ANDゲート75とORゲート
76とANDゲート78からなる。AANDゲート75
には信号MCHDECと信号5AFTYが供給されてい
る。信号MCHDECはMH方式とMR方式では2個の
EOLコードを、MMR方式では1個のEOLコードを
S読したとき、次ぎのコードを解読するために出力され
る。信号5AFTYは、MH方式とM R方式ではEO
Lコードを連続して2個検出(MMR方式では1個)で
リターンツコントロール(RTC)とするか、あるいは
連続3個検出(MMR方式では2個)でRTCとするか
を切換えるゲートである。EOLコード2個なら信号5
AFTYは(0)であり、EOLコード2個なら信号5
AFTYは(1)である。
This safety circuit consists of an AND gate 75, an OR gate 76, and an AND gate 78. AAND gate 75
is supplied with a signal MCHDEC and a signal 5AFTY. Signal MCHDEC is output to decode the next code when two EOL codes are read in the MH system and the MR system, and one EOL code is read in the MMR system. Signal 5AFTY is EO in MH system and MR system.
This is a gate that switches between returning control (RTC) when two L codes are detected consecutively (one in the MMR system) or RTC when three L codes are detected consecutively (two in the MMR system). If there are 2 EOL codes, signal 5
AFTY is (0), and if there are 2 EOL codes, signal 5
AFTY is (1).

信号5AFTYは第1図に示されるメインシーケンサ中
のレジスタ(図示せず)に値をセットする。
Signal 5AFTY sets a value in a register (not shown) in the main sequencer shown in FIG.

信号5AFTYを(1)とする場合は、コードデータを
入力する前にこのレジスタに書込んでおく。
When the signal 5AFTY is set to (1), write it into this register before inputting the code data.

ANDゲート75の出力はORゲート76に供給される
The output of AND gate 75 is supplied to OR gate 76.

ORゲート76には信号MDECODも供給されている
。信号MDECODはMHあるいはMR方式で1個目の
EOLコードを解読したとき出力される。ORゲート1
6の出力はANDゲート78に出力される。
OR gate 76 is also supplied with signal MDECOD. The signal MDECOD is output when the first EOL code is decoded using the MH or MR method. OR gate 1
The output of 6 is output to AND gate 78.

ANDゲート78には信号DECIDの反転信号も供給
されていて、ORゲート7Gからの出力と論 ゛埋積が
取られ、信号DECODEとして出力される。この信、
号DECIDの反転信号は、解読処理部12が動作中で
あることを示す信号であり、解読処理部12が動作中の
ときは信号DECODEを出さないようにしている。
The AND gate 78 is also supplied with an inverted signal of the signal DECID, which is logically multiplied with the output from the OR gate 7G and output as the signal DECODE. This faith,
The inverted signal of the code DECID is a signal indicating that the decoding processing section 12 is in operation, and the signal DECODE is not output when the decoding processing section 12 is in operation.

りl        s9 次ぎに第N図から第一図を参照して、参照ラインバッフ
ァメモリ6と圧縮伸長処理装置11との接続関係を説明
する。
Next, the connection relationship between the reference line buffer memory 6 and the compression/expansion processing device 11 will be explained with reference to FIGS.

コロ 最初に、第N図を参照して、参照ラインバッフ7メモリ
6として、高速スタティクメモリSRAM(例えば、東
芝製の7MM2018D)6−1を使用する例を説明す
る。参照ラインデータアドレスは、圧縮伸長処理装置1
1のRA 09−00からSRA M 61に出力され
る。このSRAM6−1が、7MM2018Dのとき、
7MM2018Dは、16にビット、すなわち2にバイ
トの容量を有する。
First, with reference to FIG. N, an example will be described in which a high-speed static memory SRAM (for example, 7MM2018D manufactured by Toshiba) 6-1 is used as the reference line buffer 7 memory 6. The reference line data address is the compression/expansion processing device 1.
It is output from RA 09-00 of No. 1 to SRAM 61. When this SRAM6-1 is 7MM2018D,
The 7MM2018D has a capacity of 16 bits or 2 bytes.

したがって、圧縮伸長処理装置側のアドレスバスの第1
0ビツトラインは使用されない。代わりに、f!4域切
換信号RAHが、アドレスバスの第10ビツトラインに
接続されている。
Therefore, the first address bus on the compression/decompression processing device side
Zero bit lines are not used. Instead, f! A 4-area switching signal RAH is connected to the 10th bit line of the address bus.

参照ラインデータの交換は、圧縮伸長処理装置1の参照
ラインデータバスRD 07−00とSRAM4−1の
I10ボート01−08との間で行われる。また、圧縮
伸長処理袋[1からは、メモリライト信号MWRがS 
RA M 4−1のライトイネーブル端子WEに、およ
びメモリリード信号MRDがアウトプットイネーブル端
子OEに供給されている。また、SRAM6−1のチッ
プセレクト端子O8は接地されている。
Reference line data is exchanged between the reference line data bus RD 07-00 of the compression/expansion processing device 1 and the I10 port 01-08 of the SRAM 4-1. In addition, from the compression/expansion processing bag [1], the memory write signal MWR is
A write enable terminal WE of RAM 4-1 is supplied, and a memory read signal MRD is supplied to an output enable terminal OE. Furthermore, the chip select terminal O8 of the SRAM 6-1 is grounded.

第8図は、参照ラインバッフ7メモリ6としてファース
トインファーストアウト(FIFO)タイプのメモリ6
−2をシングルバッフ7モードで使用したときの例であ
る。このFIFOメモリとしては例えば日本電気製のμ
PO41101Gを使用することができる。圧縮伸長処
理装置1からは、SRAMが接続されたとき参照ライン
データアドレスを出力するためのラインから参照ライン
データが出力される。出力された参照ラインデータはF
IFOメtlJ6−2の端子D I NO7−00ニ入
力すれる。FIFOメモリ6−2の端子DOLJTO7
−00から読み出された参照ラインデータは参照ライン
データバスラインRD 07−00を介して圧縮伸長処
理袋M1に入力される。
FIG. 8 shows a first-in-first-out (FIFO) type memory 6 as a reference line buffer 7 memory 6.
This is an example when -2 is used in single buffer 7 mode. As this FIFO memory, for example, NEC's μ
PO41101G can be used. The compression/expansion processing device 1 outputs reference line data from a line for outputting a reference line data address when the SRAM is connected. The output reference line data is F
It is input to terminal DI NO7-00 of IFO metlJ6-2. FIFO memory 6-2 terminal DOLJTO7
The reference line data read from -00 is input to the compression/expansion processing bag M1 via the reference line data bus line RD 07-00.

圧縮伸長処理装置1はFIFOメモリ6−2に、メモリ
ライト信号MWRをライトイネーブル端子WEに、メモ
リリード信号MRDをリードイネーブル端子REに、お
よびメモリリセット信号MR8Tをリセットライト端子
R3TWとリセットリード端子R3TRに供給する。F
IFOメモリ6−2のクロック端子WCLKとRCLK
にはり0ツク2−CLKが供給されている。しかし、F
IFOメモリ6−2がシングルバッファモードで使用さ
れているので、領域切換え用の信号RAHは圧縮伸6と
してファーストインファーストアウト(F I FO)
タイプのメモリ6−2をダブルバッファモードで使用し
たときの例である。このFIFOメモリとしても、前述
と同様にして、例えば日本電気製のμPO41101G
を使用することができる。圧縮伸長処理装置1からは、
SRAMが接続されたとき参照ラインデータアドレスを
出力するためのデータラインから参照ラインデータが出
力される。出力された参照ラインデータはFIFOメモ
IJ 6−3 、!=6−4 (7)端子D I N 
07−00ニそれぞれ入力される。FIFOメモリ6−
2と6−4の端子DOLI丁07−00から読み出され
た参照ラインデータは参照ラインデータバスラインRD
O7−00を介して圧縮伸長処理装置1に入力される。
The compression/expansion processing device 1 supplies the FIFO memory 6-2 with a memory write signal MWR to a write enable terminal WE, a memory read signal MRD to a read enable terminal RE, and a memory reset signal MR8T to a reset write terminal R3TW and a reset read terminal R3TR. supply to. F
Clock terminals WCLK and RCLK of IFO memory 6-2
0x2-CLK is supplied. However, F
Since the IFO memory 6-2 is used in single buffer mode, the area switching signal RAH is first-in-first-out (F I FO) as the compression/expansion 6.
This is an example when the type memory 6-2 is used in double buffer mode. As for this FIFO memory, for example, μPO41101G manufactured by NEC Corporation is used in the same manner as described above.
can be used. From the compression/expansion processing device 1,
Reference line data is output from a data line for outputting a reference line data address when the SRAM is connected. The output reference line data is stored in FIFO memory IJ6-3,! =6-4 (7) Terminal DIN
07-00d are respectively input. FIFO memory 6-
The reference line data read from terminals 2 and 6-4 of DOLI 07-00 is connected to the reference line data bus line RD.
It is input to the compression/expansion processing device 1 via O7-00.

圧縮伸長処理装置1からのメモリライト信号MWRはイ
ンバータ5−1に供給される。また、メモリリード信J
jMRDはインバータ5−2に供給されている。領域切
換信号RA HはNANDゲート5−5と5−6とイン
バータ5−3に供給される。インバータ5−1の出力は
NANDゲート5−4と5−6に供給されている。イン
バータ5−2の出力はNANDゲート5−5と5−7に
供給されている。NANDグ−ト5−4.5−5.5−
6 、および5−1の出力はそれぞれ、FIFO6−3
のライトイープル端子WEとIJ −トイネー7jL、
端子RE 1.:、tたFIFO6−4のライトイープ
ル端子WEとリードイネーブル端子REに供給されてい
る。
Memory write signal MWR from compression/expansion processing device 1 is supplied to inverter 5-1. Also, memory read signal J
jMRD is supplied to the inverter 5-2. Area switching signal RA H is supplied to NAND gates 5-5 and 5-6 and inverter 5-3. The output of inverter 5-1 is supplied to NAND gates 5-4 and 5-6. The output of inverter 5-2 is supplied to NAND gates 5-5 and 5-7. NAND good 5-4.5-5.5-
The outputs of 6 and 5-1 are respectively FIFO6-3
Light eple terminals WE and IJ-Toine 7jL,
Terminal RE 1. :, is supplied to the write enable terminal WE and the read enable terminal RE of the FIFO 6-4.

また、圧縮伸長処理袋H1のリセット信号MR8Tは、
FIFO6−3のリセットライト端子R8TWとリセッ
トリード端子R8TRに、またPIFO6−4のリセッ
トライト端子R8TWとリセットリード端子R3TRに
供給されている。クロック信号20 L K 4.t、
F I PO6−3ドロー4 (7)クロック端子WC
LKとRCLKに供給されている。
In addition, the reset signal MR8T of the compression/expansion processing bag H1 is as follows.
It is supplied to the reset write terminal R8TW and reset read terminal R8TR of FIFO 6-3, and to the reset write terminal R8TW and reset read terminal R3TR of PIFO 6-4. Clock signal 20 L K 4. t,
F I PO6-3 Draw 4 (7) Clock terminal WC
Supplied to LK and RCLK.

以上のように構成することにより、ダブルバッファモー
ドにおいて、領域借換え信号RAHに従って、PIFO
6−3から参照ラインデータが読み出されるときには、
PIFO6−4に書込まれる。
By configuring as described above, in double buffer mode, PIFO
When reference line data is read from 6-3,
Written to PIFO6-4.

また、PIFO6−4から参照ラインデータが読み出さ
れるときには、PIFO6−3に書込まれる。
Further, when reference line data is read from PIFO 6-4, it is written to PIFO 6-3.

F I FOメモリをダブルバッファで使用する場合に
は、2つの記憶領域を1つにして使用することによりラ
イン長が2倍にセットされたときでも使用することがで
きる。そのときには、領域切換信号RAHはラインごと
に切換えられるのではなく、参照ラインデータを読み出
すためにどちらか一方のFIFOメモリを指定し、参照
ラインデータを書込むために他方のFIFOメモリを指
定する。
When the FIFO memory is used as a double buffer, it can be used even when the line length is set to double by using two storage areas as one. At that time, the area switching signal RAH is not switched line by line, but specifies one of the FIFO memories for reading reference line data, and specifies the other FIFO memory for writing reference line data.

次ぎに本発明による圧縮伸長処理装置の動作を説明する
Next, the operation of the compression/expansion processing apparatus according to the present invention will be explained.

最初に解1!処理部12の動作を説明する。Solution 1 first! The operation of the processing unit 12 will be explained.

処理されるべき2値データがレジスタ102に入力され
る。このとき、レジスタ102に既に保持されているデ
ータは左方向にバイト単位でシフトされる。レジスアR
DT1102に保持されているデータのうちRD T 
109−23が77ネルシフタ104に入力される。フ
ァネルシフタ104はレジスタ116からの解読ポイン
タデータに従って選択されたデータS HT D 00
−07を出力する。
Binary data to be processed is input into register 102 . At this time, the data already held in the register 102 is shifted leftward in byte units. Regisia R
Among the data held in DT1102, RDT
109-23 is input to the 77 channel shifter 104. Funnel shifter 104 selects data SHTD00 according to the decode pointer data from register 116.
-07 is output.

データS HT D 00−07は、色反転回路106
を素通ししてセレクタ110に供給される。セレクタ1
10には制御部4から制御データRD S QO4−0
2が供給されている。また、マスクデータもマスクゲー
ト108から供給されている。セレクタ110は、制御
部4からの制御信号に従って、それらの入力データから
アドレスデータDRMA10−00を作成し、デコーダ
ROM112に供給する。その時のアドレスフォーマッ
トは第11図に示されている。
Data SHTD 00-07 is the color inversion circuit 106
is supplied to the selector 110 without passing through. Selector 1
10 receives control data RDSQO4-0 from the control unit 4.
2 is supplied. Mask data is also supplied from the mask gate 108. The selector 110 creates address data DRMA10-00 from these input data according to the control signal from the control unit 4, and supplies it to the decoder ROM 112. The address format at that time is shown in FIG.

デコーダROM 112からは第13図に示される出力
フォーマットを有するデータが出力される。データDR
OM11−09は次状態データであり、制御部4に送ら
れる。この次状態データは、次ぎに参照されるべきテー
ブルを指定するため等に使用される。データDROMO
8−06には(コード長−1)を示すデータが出力され
る。このコードレングスデータは加算器122と色変化
点検出部36に供給される。データDROMO5−00
には解読されたコードのランレングスデータが出力され
る。
The decoder ROM 112 outputs data having the output format shown in FIG. data DR
OM11-09 is next state data and is sent to the control unit 4. This next state data is used, for example, to specify the table to be referenced next. Data DROMO
Data indicating (code length - 1) is output at 8-06. This code length data is supplied to the adder 122 and the color change point detection section 36. Data DROMO5-00
The run length data of the decoded code is output.

加算器122とレジスタRB P P 116によって
構成される解読ポインタデータ保持回路はつぎのように
動作する。ここで、レジスタRBPP116からの前回
の指示値が“3”(011)であるとする。
The decoding pointer data holding circuit constituted by adder 122 and register RB P P 116 operates as follows. Here, it is assumed that the previous instruction value from the register RBPP 116 is "3" (011).

伸長処理モードでは、今回解読されたコードデータの長
さが7(−111)のとき、解読フードレングスは1だ
けデクリメントされた値なので、y’:I−タROM1
12からは6(−110>が出力される。従って、加算
器122での加算結果ABPP 03−00は、 ABPPO3−G。
In the decompression processing mode, when the length of the code data decoded this time is 7 (-111), the decoded food length is a value decremented by 1, so y': I-ta ROM1
12 outputs 6(-110>. Therefore, the addition result ABPP 03-00 in the adder 122 is ABPPO3-G.

−RB P PO2−00+ D R0MO8−06+
 1−001 +110+1 となる。この加算結果RBPPO3−00のうち、RB
 P PO2−00はセレクタ114を介してレジスタ
RBPP116の新たな指示値となる。また、加算結果
A B P PO3−00のうち、第3ビツトデータは
データA6として制御部4に供給される。これは、1バ
イト分の解読処理が終了したことを意味し、新たなコー
ドデータがA1としてレジスタRDT■102の16−
23部分にラッチされる。
-RB P PO2-00+ D R0MO8-06+
It becomes 1-001 +110+1. Of this addition result RBPPO3-00, RB
PPO2-00 becomes a new instruction value of register RBPP116 via selector 114. Furthermore, the third bit data of the addition result ABPPO3-00 is supplied to the control section 4 as data A6. This means that the decoding process for one byte has been completed, and the new code data is stored as A1 at 16-1 of register RDT■102.
It is latched to the 23 part.

デコーダROMからのデータA5としてのランレングス
データは、セレクタ124を介してレジスタRNLC1
26にラッチされる。このとき、メイクアップコードに
対するランレングスデータは11−06ビツト部分にラ
ッチされ、ターミネイトコードと2次元コードに対する
ランレングスデータはos−ooビット部分にラッチさ
れる。
The run length data as data A5 from the decoder ROM is sent to the register RNLC1 via the selector 124.
26. At this time, run length data for the makeup code is latched in the 11-06 bit part, and run length data for the termination code and two-dimensional code is latched in the os-oo bit part.

レジスタRNLC12Bに保持されているランレングス
データは1バイト分のイメージデータが生成されるたび
に“1″だけ、11−03ビット部分からデクリメント
される。デクリメントされた値は0”と比較され、当該
ランレングスデータに対するバイト単位のイメージデー
タの生成が終了したかどうかが判定される。データRN
 L C11−03が“O”と等しくなったとき、デー
タB4によって制御部4に知らされる。データDNLC
11−00のうち、データRN L CO2−00がセ
レクタ124にデータB3によって戻される。また、1
バイト未満のランレングスに対するイメージデータの生
成を行なうために、データRNLCO3−00はデータ
B3として、ランレングス算出部38に出力される。
The run length data held in the register RNLC12B is decremented by "1" from the 11-03 bit portion every time one byte of image data is generated. The decremented value is compared with 0'' to determine whether generation of byte-by-byte image data for the run-length data has been completed.Data RN
When L C11-03 becomes equal to "O", the control unit 4 is notified by data B4. data DNLC
Of 11-00, data RN L CO2-00 is returned to the selector 124 as data B3. Also, 1
In order to generate image data for a run length of less than a byte, data RNLCO3-00 is output to the run length calculation unit 38 as data B3.

次ぎにデコーダROM112のテーブルについて説明す
る。
Next, the table of the decoder ROM 112 will be explained.

デコーダROM112は、入力されるアドレスデータの
着目解読処理単位を解読するために種々のテーブルを有
する。それらのテーブルは、第11図を参照して、1次
元臼1コードテーブルと、1次元臼2コードテーブルと
、1次元黒1コードテーブルと、1次元黒2コードテー
ブルと、1次元熱3コードテーブルと、2次元コードテ
ーブルと、非圧縮モードコードテーブルと、および特殊
コードテーブルである。
The decoder ROM 112 has various tables for decoding the target decoding processing unit of input address data. These tables are, with reference to FIG. A table, a two-dimensional code table, an uncompressed mode code table, and a special code table.

1次元臼1コードテーブルは、第11図aからCに示さ
れるように、8ビツト以下の白ランメイクアップコード
あるいは白ランターミネイトコードを解読処理単位とし
て解読し、ラン長1728以下で9ビット以上の白ラン
メイクアップコードのうち8ビツト目までのコード部分
を解読処理単位として解読し、およびラン長1792以
上で9ビット以上の白ランメイクアップコードのうち7
ビツト目までのコード部分を解読処理単位として解読し
、EOLコードの先頭から8ビツトを解読処理単位とし
て解読し、非圧縮モード開始コードとフィルスキップコ
ードの先頭から7ビツトを解読処理単位として解読する
ためのテーブルである。
As shown in Figure 11 a to c, the one-dimensional mortar 1 code table decodes a white run make-up code or a white run terminated code of 8 bits or less as a unit of decoding processing, and a run length of 1728 or less and a code of 9 bits or more. Of the white run makeup codes, the code part up to the 8th bit is decoded as a unit of decoding processing, and 7 of the white run makeup codes with a run length of 1792 or more and 9 bits or more are decoded.
The code part up to bit bit is decoded as a unit of decoding process, the 8 bits from the beginning of the EOL code are decoded as a unit of decoding process, and the 7 bits from the beginning of the uncompressed mode start code and fill skip code are decoded as a unit of decoding process. This is a table for

1次元臼2コードテーブルは、第11図aに示されるよ
うに、ラン長1728以下で9ビット以上の白ランメイ
クアップコードのうち3ビツト目以降のコード部分を解
読処理単位として解読するためのテーブルである。
As shown in Figure 11a, the one-dimensional mill 2 code table is used to decode the code part after the 3rd bit of the white run makeup code with a run length of 1728 or less and 9 bits or more as a unit of decoding processing. It's a table.

1次元黒1コードテーブルは、第12図a、b。The one-dimensional black 1 code table is shown in Figures 12a and b.

およびdに示されるように、7ビツト以下の黒ランター
ミネイトコードを解読処理単位として解読し、7ビット
以上の黒ランメイクアップコードあるいは黒ランターミ
ネイトコードの先頭ビットから7ビツトを解読処理単位
として解読し、非圧縮モード開始コードとフィルスキッ
プコードの先頭から7ビツトを解読処理単位として解読
するためのテーブルである。
As shown in and d, a black run terminated code of 7 bits or less is decoded as a unit of decoding processing, and a black run make-up code of 7 bits or more or 7 bits from the first bit of a black run terminated code are decoded as a unit of decoding processing. However, this is a table for decoding the 7 bits from the beginning of the uncompressed mode start code and fill skip code as a unit of decoding processing.

1次元黒2コードテーブルは、第12図a、b。The one-dimensional black 2 code table is shown in Figures 12a and b.

およびdに示されるように、7ビット以上の黒ランメイ
クアップコードあるいは黒ランターミネイトコードのう
ち先頭ビットから0″が6ビツト以上続くとき、第7ビ
ツト目以降のコード部分を解読処理単位として解読し、
非圧縮モード開始コードとEOLコードとフィルスキッ
プコードの第7ビツト以降を解読処理単位として解読す
るためのテーブルである。
As shown in and d, when 0'' continues for 6 or more bits from the first bit of a black run make-up code or black run termination code of 7 bits or more, the code part after the 7th bit is decoded as a unit of decoding processing. death,
This is a table for decoding the uncompressed mode start code, EOL code, and fill-skip code after the 7th bit as a unit of decoding processing.

1次元熱3コードテーブルは、第12図a、b。The one-dimensional thermal three-code table is shown in Figures 12a and b.

およびdに示されるように、7ビット以上の黒ランメイ
クアップコードあるいは黒ランターミネイトコードのう
ち先頭ビットから“O”が5ビット以下続くとき、5ビ
ツト目以降のコード部分を解読処理単位として解読する
ためのテーブルである。
As shown in and d, when "O" continues for 5 bits or less from the first bit of a black run make-up code or black run termination code of 7 bits or more, the code part after the 5th bit is decoded as a unit of decoding processing. It is a table for

2次元コードテーブルは、2次元コードデータを解読す
るために、2次元コードと、水平モードの識別コードと
、先頭から連続する6ビツトの“0”を解読処理単位と
して解読するためのテーブルである。
The 2D code table is a table for decoding 2D code data using the 2D code, horizontal mode identification code, and 6 consecutive bits of "0" from the beginning as units of decoding processing. .

非圧縮モードコードテーブルは非圧縮モードコ−ドを解
読するためのテーブルである。
The uncompressed mode code table is a table for decoding uncompressed mode codes.

特殊コードテーブルは、伸長処理モードでの特殊コード
データと、圧縮処理モードでのイメージデータを解読す
るために、伸長処理モードのベージの先頭においてEO
Lコードの先頭の8ビツトの“O″と9ビツト以降のコ
ード部分とを解読処理単位として解読し、EOLコード
に続くタグピットを解読処理単位として解読し、フィル
スキップコードを解読し、圧縮処理モードでイメージデ
ータの8ビツト中に“1”が存在するときは先頭の“1
”までを解読処理単位として解読し、8ビツト中に“1
パが存在しないときは8ビツトの“O”を解読処理単位
として解読するためのテーブルである。
The special code table is set to EO at the beginning of the page in decompression mode in order to decode special code data in decompression mode and image data in compression mode.
The first 8 bits "O" of the L code and the code part after the 9th bit are decoded as a decoding processing unit, the tag pit following the EOL code is decoded as a decoding processing unit, the fill skip code is decoded, and the compression processing mode is set. If "1" exists in the 8 bits of image data, the first "1"
” is decoded as a unit of decoding processing, and “1” is decoded in 8 bits.
This is a table for decoding using an 8-bit "O" as a unit of decoding processing when there is no par.

このとき、マスクゲート108はデータDTIS00−
07とデータRDSQO4−02とによって、第11図
に示されるようにマスクデータを発生する。すなわち、
1次元黒1コードテーブルではデータDT I 300
−01が(00)でないとき、データDT) 303−
 O6は(1111)となる。2次元フードテーブルで
はデータD T I 800−01が(00)でないと
き、データDTIS03−06は(1111)となる。
At this time, the mask gate 108 is connected to the data DTIS00-
07 and data RDSQO4-02, mask data is generated as shown in FIG. That is,
In the one-dimensional black one code table, the data DT I 300
When -01 is not (00), data DT) 303-
O6 becomes (1111). In the two-dimensional food table, when the data DT I 800-01 is not (00), the data DTIS03-06 is (1111).

非圧縮モードコードテーブルではデータDTIS03−
04が(00)でないとき、データDTISOO−〇2
は(111)となる。特殊コードテーブルではデータD
 T I S 00−01が(00)でないとき、デー
タDTIS03−07は(11111)となり、データ
D T I 800−05が(00)でないとき、デー
タDTISO6−07は(11)となる。このようにし
て、圧縮伸長処理装置fLS Iの中でデコードROM
112のチップ面積を減少させることができる。
In the uncompressed mode code table, data DTIS03-
When 04 is not (00), data DTISOO-〇2
becomes (111). Data D in the special code table
When T I S 00-01 is not (00), data DTIS03-07 is (11111), and when data D T I 800-05 is not (00), data DTISO6-07 is (11). In this way, the decode ROM is stored in the compression/expansion processing device fLSI.
112 chip area can be reduced.

以上のテーブルが参照されたときの出力フォーマットが
第13図に示されている。データDROM11−09は
、次状態データであり、第14図aに示されるようなデ
ータである。
The output format when the above table is referred to is shown in FIG. The data DROM 11-09 is next state data, and is data as shown in FIG. 14a.

(000)はエラー発生を示し、(001)はフィルス
キップの解読を示す。(010)はEOLコードを検出
するとき、あるいはコードの解読が未完(白Aから白B
に、黒Aから黒Bに)であることを示す。(011)と
(100)はそれぞれメイクアップコードとターミネイ
トコードの解読終了を示す、(101)は非圧縮モード
に入ることを示す。(110)は黒Aから黒Cに遷移す
ることを示す。(111)は圧縮処理等を示す。
(000) indicates the occurrence of an error, and (001) indicates the decoding of a fill skip. (010) is used when detecting an EOL code or when code decoding is incomplete (from white A to white B).
, from black A to black B). (011) and (100) indicate completion of decoding the make-up code and termination code, respectively, and (101) indicates entering the non-compression mode. (110) indicates a transition from black A to black C. (111) indicates compression processing, etc.

ランレングスデータの出力フォーマットが第14図すに
示される。ここで、垂直モードコードに対するランレン
グスデータは“−4″の形で出力される。詳細が第14
図Cに示される。
The output format of run length data is shown in FIG. Here, run length data for the vertical mode code is output in the form of "-4". Details are 14th
Shown in Figure C.

また、非圧縮モードコードテーブルと伸長処理の場合の
特殊コードテーブルの解読状態が第14図dに示される
Further, the decoding states of the uncompressed mode code table and the special code table in the case of decompression processing are shown in FIG. 14d.

前記1次元臼1コードテーブルは、8ビツト以下の白ラ
ンメイクアップコードあるいは白ランターミネイトコー
ドに対しては次状態データと、解読処理単位の長さから
1”だけデクリメントしたコードレングスデータと、お
よび、コードブロックに対するランレングスデータを出
力し、ラン長1728以下で9ビツト以上の白ランメイ
クアップコードのうち8ビツト目までのコード部分に対
しては次状態データと、“2″のコードレングスデータ
と、および、“O”のランレングスデータを出力し、お
よびラン長1792以上で9ビツト以上の白ランメイク
アップコードのうち7ビツト目までのコード部分に対し
ては次状態データと、“6″の長さデータと、および、
o″のランレングスデータを出力する。
The one-dimensional mortar 1 code table includes next state data for white run make-up codes or white run terminating codes of 8 bits or less, code length data that is decremented by 1" from the length of the decoding processing unit, and , outputs the run length data for the code block, and outputs the next state data and the code length data of "2" for the code part up to the 8th bit of the white run makeup code with a run length of 1728 or less and 9 bits or more. , and outputs the run length data of "O", and outputs the next state data and "6" for the code part up to the 7th bit of the white run makeup code with a run length of 1792 or more and 9 bits or more. ″ length data, and
o'' run length data is output.

1次元臼2コードテーブルは、ラン長1728以下で9
ビツト以上の白ランメイクアップコードのうち3ビツト
目以降のコード部分に対しては次状態データと、解読処
理単位の長さから1”だけデクリメントしたコードレン
グスデータと、および、コードブロックに対するランレ
ングスデータを出力する。
The 1-dimensional mill 2 code table is 9 with a run length of 1728 or less.
For the code part after the 3rd bit of the white run make-up code of bits or more, the next state data, the code length data that is decremented by 1" from the length of the decoding processing unit, and the run length for the code block. Output data.

1次元黒1コードテーブルは、7ビツト以下の黒ランタ
ーミネイトコードに対しては次状態データと、解読処理
単位の長さから“1″だけデクリメントしたフードレン
グスデータと、および、コードブロックに対するランレ
ングスデータを出力し、7ビツト以上の黒ランメイクア
ップコードあるいは黒ランターミネイトコードの先頭ビ
ットから7ビツトのコード部分に対しては、先頭ビット
から“O″が5ビット以下続くときは次状態データと、
“4nのコードレングスデータと、および、0”のラン
レングスデータを出力し、先頭ビットから0”が6ビツ
ト以上続くときは次状態データと、6”のコードレング
スデータと、および、“OI+のランレングスデータを
出力し、非圧縮モード開始コードとフィルスキップコー
ドの先頭から7ビツトに対しては次状態データと、6n
のコードレングスデータと、および、′O”のランレン
グスデータを出力する。
The one-dimensional black 1 code table contains the next state data for a black run terminated code of 7 bits or less, the food length data decremented by "1" from the length of the decoding processing unit, and the run length for the code block. Output data, and for the code part of 7 bits from the first bit of the black run make-up code or black run terminate code of 7 bits or more, if "O" continues for 5 bits or less from the first bit, it is considered as next state data. ,
It outputs code length data of “4n” and run length data of “0”, and when 6 or more bits of “0” continue from the first bit, it outputs the next state data, code length data of “6”, and run length data of “OI+”. Run length data is output, and next state data and 6n are output for the first 7 bits of the uncompressed mode start code and fill skip code.
The code length data of 'O' and the run length data of 'O' are output.

1次元黒2コードテーブルは、7ビット以上の黒ランメ
イクアップコードあるいは黒ランターミネイトコードの
うち先頭ビットから“O”が6ビツト以上続くときの第
7ビツト目以降のコード部分に対しては次状態データと
、解読処理単位の長さから“1”だけデクリメントした
コードレングスデータと、および、コードブロックのラ
ンレングスデータを出力し、非圧縮モード開始コードと
EOLコードとフィルスキップコードの第7ビツト以降
のコード部分に対しては次状態データと、解読処理単位
の長さから“1”だけデクリメントしたコードレングス
データと、および、0”のランレングスデータを出力す
る。
The one-dimensional black 2 code table is as follows for the code part after the 7th bit when "O" continues for 6 or more bits from the first bit of a black run make-up code or black run termination code of 7 bits or more. Outputs state data, code length data decremented by 1 from the decoding processing unit length, and code block run length data, and outputs the uncompressed mode start code, EOL code, and the 7th bit of the fill skip code. For subsequent code portions, next state data, code length data decremented by "1" from the length of the decoding processing unit, and run length data of "0" are output.

1次元黒3コードテーブルは、7ビット以上の黒ランメ
イクアップコードあるいは黒ランターミネイトコードの
うち先頭ビットから“0″が5ビット以下続くときの6
ビツト目以降のコード部分に対しては次状態データと、
解読処理単位の長さから1″だけデクリメントしたコー
ドレングスデータと、および、コードブロックのランレ
ングスデータを出力する。
The one-dimensional black 3 code table is a black run make-up code of 7 bits or more or a black run termination code of 6 when 5 bits or less of "0" continues from the first bit.
For the code part after the bit, the next state data,
Code length data decremented by 1'' from the length of the decoding processing unit and run length data of the code block are output.

2次元コードテーブルは、2次元コードのうち垂直モー
ドコードに対しては次状態データと、解読処理単位の長
さから1′′だけデクリメントしたコードレングスデー
タと、および、コードブロックのランレングスデータに
対応するデータを出力し、2次元コードのうちバスモー
ドコードに対しては次状態データと、解読処理単位の長
さから“1”だけデクリメントしたコードレングスデー
タと、および、予め決められたコードを出力し、水平モ
ードの識別コードと連続する7ビツトのri Onに対
しては次状態データと、解読処理単位の長さから“1″
だけデクリメントしたコードレングスデータと、および
、“0″のランレングスデータを出力する。
The two-dimensional code table contains the next state data for the vertical mode code among the two-dimensional codes, the code length data decremented by 1'' from the length of the decoding processing unit, and the run length data of the code block. The corresponding data is output, and for the bus mode code among the two-dimensional codes, the next state data, code length data decremented by "1" from the length of the decoding processing unit, and a predetermined code are output. Outputs the horizontal mode identification code and the next 7-bit ri On that is continuous with the next state data and “1” from the length of the decoding processing unit.
Outputs code length data decremented by 0 and run length data of "0".

非圧縮モードコードテーブルは、非圧縮モードデータに
対しては次状態データと、解読処理単位の長さから“1
″だけデクリメントしたコードレングスデータと、およ
び、ランレングスデータとして解読処理単位の長さデー
タを出力し、非圧縮モード終了コードに対しては次状態
データと、解読処理単位の長さから1”だけデクリメン
トしたコードレングスデータと、および、“0″のラン
レングスデータを出力する。
For uncompressed mode data, the uncompressed mode code table contains the next state data and the length of the decoding processing unit.
Outputs the code length data decremented by ``, and the length data of the decoding processing unit as run length data, and outputs the next state data and the length of the decoding processing unit for the uncompressed mode end code by 1'' from the length of the decoding processing unit. The decremented code length data and the run length data of "0" are output.

特殊コードテーブルは、伸長処理モードのページの先頭
においてEOLコードの先頭の8ビツトの0”と9ビツ
ト以降のコード部分に対しては次状態データと、解読処
理単位の長さから“1”だけデクリメントしたコードレ
ングスデータと、および、“Onのランレングスデータ
を出力し、EOLコードに続くタグピットに対しては次
状態データと、′0”のコードレングスデータと、およ
び、O″のランレングスデータを出力し、フィルスキッ
プコードに対しては次状態データと、解読処理単位の長
さから“1″だけデクリメントしたコードレングスデー
タと、および、′Oパのランレングスデータを出力し、
圧縮処理モードでイメージデータに対しては解読処理単
位の長さから“1″だけデクリメントしたフードレング
スデータと、および、解読処理単位の長さデータを出力
する。
The special code table contains the first 8 bits of the EOL code at the beginning of the page in decompression processing mode, and the next state data for the code part after the 9th bit, and only 1 from the length of the decoding processing unit. Outputs the decremented code length data and run length data of "On", and outputs next state data, code length data of '0', and run length data of 'O' for the tag pit following the EOL code. For the fill-skip code, output the next state data, the code length data decremented by "1" from the length of the decoding processing unit, and the run length data of 'Opa,
For image data in the compression processing mode, food length data that is decremented by "1" from the length of the decoding processing unit and length data of the decoding processing unit are output.

次ぎに、第15図を参照して、解読処理部サブシーケン
サ8の動作を説明する。ここで、矢印に付けられた数字
は、テーブルが参照されたとき出力される次状態データ
を示す。
Next, the operation of the decoding processing section subsequencer 8 will be explained with reference to FIG. Here, the number attached to the arrow indicates the next state data that is output when the table is referenced.

伸長処理モードのページの先頭においてEOLコードを
解読するように特殊コードテーブルを参照する。
A special code table is referred to to decode the EOL code at the beginning of the page in decompression processing mode.

ページ先頭のEOLコードが解読されると、MH方式の
伸長処理モードでは、ラインの先頭で1次元臼1コード
テーブルが参照される。
When the EOL code at the top of the page is decoded, in the MH expansion processing mode, the one-dimensional die 1 code table is referenced at the top of the line.

8ビツト以下の白ランメイクアップコードが1次元臼1
コードテーブルで解読処理単位として解読されたときと
、1次元臼2コードテーブルでラン長1728以下で9
ビット以上の白ランメイクアップコードのうち3ビツト
目以降のコード部分が解読処理単位として解読されたと
きと、1次元黒1コードテーブルで7ビツト以下の黒ラ
ンターミネイトコードが解読処理単位として解読された
ときと、1次元黒2コードテーブルで7ビット以上の黒
ランメイクアップコードあるいは黒ランターミネイトコ
ードのうち先頭ビットから″o°′が6ビツト以上続く
ときと、8ビット以上の白ランメイクアップコードで先
頭ビットから“0”が6ビツト以上続くとき、第7ビツ
ト目以降のコード部分が解読処理単位として解読された
ときと、1次元黒3コードテーブルで7ビット以上の黒
ランメイクアップコードあるいは黒ランターミネイトコ
ードのうち先頭ビットから“0″が5ビット以下続くと
き、5ビツト目以降のコード部分がWl読処理単位とし
て解読されたとき、1次元臼1コードテーブルが参照さ
れる。
White run makeup code of 8 bits or less is one-dimensional mortar 1
When decoded as a unit of decoding processing in the code table, and when the run length is 1728 or less in the one-dimensional mortar 2 code table, 9
When the code part after the 3rd bit of the white run make-up code of bits or more is decoded as a decoding processing unit, and when the black run termination code of 7 bits or less is decoded as a decoding processing unit in a one-dimensional black 1 code table. and when "o°" continues for 6 or more bits from the first bit of the black run make-up code of 7 bits or more or the black run terminating code in the one-dimensional black 2 code table, and the white run make-up of 8 bits or more. When 6 or more bits of "0" continue from the first bit in the code, when the code part after the 7th bit is decoded as a unit of decoding processing, and when there is a black run makeup code of 7 bits or more in the one-dimensional black 3 code table. Alternatively, when five bits or less of "0"s continue from the first bit in the black run terminated code, when the code portion after the fifth bit is decoded as a unit of W1 reading processing, the one-dimensional mortar 1 code table is referred to.

1次元臼1コードテーブルでラン長1792以上で9ビ
ット以上の白ランメイクアップコードのうち7ビツト目
までのコード部分が解読処理単位として解読されたとき
、1次元臼2コードテーブルが参照される。
When the code part up to the 7th bit of a white run makeup code with a run length of 1792 or more and 9 bits or more is decoded as a unit of decoding processing in the 1-dimensional 1-dimensional code table, the 1-dimensional 2-code table is referred to. .

1次元臼1コードテーブルおよび1次元臼1コードテー
ブルで白ランメイクアップコードあるいは白ランターミ
ネイトコードが解読されたときと、1次元黒1コードテ
ーブル、1次元黒2コードテーブルおよび1次元黒3コ
ードテーブルで黒ランメイクアップコードが解読された
ときとに、1次元黒1コードテーブルが参照される。
When a white run make-up code or a white run terminate code is decoded in the 1-dimensional mill 1 code table and the 1-dimensional mill 1 code table, the 1-dimensional black 1 code table, the 1-dimensional black 2 code table, and the 1-dimensional black 3 code When the black run makeup code is decoded in the table, the one-dimensional black 1 code table is referred to.

1次元臼1コードテーブルでランレングスが1792以
上の白ランメイクアップコードが解読されたときと、1
次元黒1コードテーブルで、コードレングルが8ビット
以上で先頭から6ビット以上(0)が続く黒ランメイク
アップコードあるいは黒ランターミネイトコードの先頭
から7ビット部分が解読処理単位として解読されたとき
と、1次元臼1コードテーブルと1次元黒1コードテー
ブルでEOLコードとフィルスキップコードと非圧縮モ
ード開始コードの先頭の“7”ビットの“O″が解読さ
れたとき、1次元黒2コードテーブルが参照される。
When a white run make-up code with a run length of 1792 or more is decoded in the 1-dimensional mortar 1 code table, and 1
In the dimensional black 1 code table, when the code length is 8 bits or more and the 7 bits from the beginning of the black run make-up code or the black run terminated code with 6 or more bits (0) from the beginning are decoded as a unit of decoding processing. When the first "7" bit "O" of the EOL code, fill-skip code, and uncompressed mode start code is decoded in the 1-dimensional mortar 1 code table and the 1-dimensional black 1 code table, the 1-dimensional black 2 code is decoded. A table is referenced.

1次元黒1コードテーブルで先頭から゛5″ビット以下
(0)が続く黒ランメイクアップコードと黒ランターミ
ネイトコードで、先頭から“7″ビツト分が解読処理単
位として解読されたとき、1次元黒3コードテーブルが
参照される。
In a one-dimensional black 1 code table, when the black run make-up code and the black run termination code are followed by ``5'' bits or less (0) from the beginning, when ``7'' bits from the beginning are decoded as a unit of decoding processing, the 1-dimensional The Black 3 code table is referenced.

1次元黒2コードテーブルで非圧縮モード開始コードが
参照されたとき、非圧縮モードコードテーブルが参照さ
れる。
When the uncompressed mode start code is referred to in the one-dimensional black 2 code table, the uncompressed mode code table is referred to.

非圧縮モードコードテーブルで非圧縮モード終了コード
が解読されたときは、タグピットに従って1次元臼1コ
ードテーブルあるいは1次元黒1コードテーブルが参照
される。
When the non-compressed mode end code is decoded in the non-compressed mode code table, the one-dimensional mortar 1 code table or the one-dimensional black 1 code table is referred to according to the tag pit.

MRおよびMMR方式の伸長処理モードでは、ラインの
先頭で2次元コードテーブルが参照される。2次元コー
ドテーブルは、他にも2次元コードが解読処理単位とし
て解読されたときと、黒ランターミネイトコードが解読
されたとき、参照される。
In the MR and MMR decompression processing modes, the two-dimensional code table is referenced at the beginning of the line. The two-dimensional code table is also referred to when a two-dimensional code is decoded as a unit of decoding processing and when a black run terminated code is decoded.

2次元コードテーブルで水平モード識別コードが解読さ
れたとき、続いて1次元臼1コードテーブルが参照され
る。水平モードのコードでは、水平モード識別コード、
白ランメイクアップコード、白ランターミネイトコード
、黒ランメイクアップコード、および黒ランターミネイ
トコードが順番に並んでいる。従って、MR方式とMM
R方式で水平モードコードを解読するときには、MH方
式の場合とくらべてその点が異なる。たとえば、白ラン
メイクアップコードが解読されとき、1次元黒1コード
テーブルが参照されることはない。また、黒ランターミ
ネイトコードが解読された後は、2次元コードテーブル
が参照される。
When the horizontal mode identification code is decoded using the two-dimensional code table, the one-dimensional mortar 1 code table is subsequently referred to. For horizontal mode codes, horizontal mode identification code,
A white run make-up code, a white run terminate code, a black run make-up code, and a black run terminate code are arranged in order. Therefore, MR method and MM
When decoding a horizontal mode code using the R method, there is a difference compared to the MH method. For example, when a white run makeup code is decoded, the one-dimensional black 1 code table is not referenced. Further, after the black run terminate code is decoded, the two-dimensional code table is referred to.

次ぎに伸長処理モードにおける生成処理部14の動作を
説明する。
Next, the operation of the generation processing section 14 in the decompression processing mode will be explained.

レジスタRREF180には、参照ラインバッファメモ
リ2からの参照ラインデータがバッフツメモリ制御部1
6を介してデータG4として19−26ビツト部分に1
バイトずつ入力されている。レジスタRRE F 18
0は、参照ラインデータを入力するときには、制一部4
からの制御信号に従って、保持されている参照ラインデ
ータをバイト単位で左方向、すなわちLSB方向にシフ
トする。すなわち、データREF08−10がデータR
EFOO−02となるように、データREF11−18
がデータREF03−10となるように、および、デー
タRE F 19−26がデータREFII−18とな
るようにシフトする。
The reference line data from the reference line buffer memory 2 is stored in the register RREF 180.
6 to the 19-26 bit part as data G4.
Each byte is input. Register RRE F 18
0 means that the control section 4 is used when inputting reference line data.
The reference line data held is shifted in byte units to the left, that is, in the LSB direction, according to a control signal from the controller. That is, data REF08-10 is data R
Data REF11-18 to become EFOO-02
are shifted so that they become data REF03-10, and data REF19-26 become data REFII-18.

その後、新たな参照ラインデータをデータRRE1”1
9−26として入力する。
After that, new reference line data is set to data RRE1”1.
Enter as 9-26.

ファネルシフタ182は、レジスタ゛RREF180か
らデータRRE FOO−21を入力する。フ?ネルシ
フタ182には、レジスタRBPA200からaOポイ
ンタデータRBPAO2−00が供給されていて、入力
されたデータRRE FOO−21から、ポインタデー
タRBPAO2−00によって示されるビット位置から
MSB方向15ビット分のデータを選択してデータ5H
TPOO−14として出力する。第26図に示されるよ
うな場合において、従来では、バイト単位で参照ライン
中のblを検出していた。従って、b1点の検出に2回
の処理ステップを要していた。
The funnel shifter 182 receives data RRE FOO-21 from the register RREF180. centre? The channel shifter 182 is supplied with the aO pointer data RBPAO2-00 from the register RBPA200, and selects 15 bits of data in the MSB direction from the bit position indicated by the pointer data RBPAO2-00 from the input data RRE FOO-21. and data 5H
Output as TPOO-14. In the case shown in FIG. 26, conventionally, bl in the reference line has been detected in byte units. Therefore, two processing steps were required to detect the b1 point.

しかし、本実施例では、80点のビット位置から1バイ
ト長以内にb1点が検出されるときには1回の処理ステ
ップですむ。現在着目されている参照ラインバイトデー
タは、レジスタRREFOO−26に保持されているデ
ータRRE FO4−11に対応する。
However, in this embodiment, when point b1 is detected within 1 byte length from the bit position of 80 points, only one processing step is required. The currently focused reference line byte data corresponds to data RRE FO4-11 held in register RREFOO-26.

ここで、データRRE FOO−14が選択されている
のは、垂直モードにおける色変化点を考慮したためであ
る。
Here, the data RRE FOO-14 is selected in consideration of the color change point in the vertical mode.

データ5HTPOO−14は色反転回路184に入力さ
れる。色反転回路184にはIll 111部4からデ
ータM9も供給されていて、画素の色変化の方向を統一
する。すなわち、本実施例では、色変化の検出方向を白
→黒としているので、内部のイクスクルーシブオアゲー
トによって色変化の方向が統一される。従って、白→黒
への色変化を検出するときには、制御データM9として
“0”が供給され、黒→白への色変化を検出するときに
は“1”が供給される。色変化の方向が統一されたデー
タ5HTP00−14はデータDRENOO−14とし
て出力される。
Data 5HTPOO-14 is input to color inversion circuit 184. The color inversion circuit 184 is also supplied with data M9 from the Ill 111 section 4 to unify the direction of color change of the pixels. That is, in this embodiment, since the detection direction of color change is from white to black, the direction of color change is unified by the internal exclusive OR gate. Therefore, when detecting a color change from white to black, "0" is supplied as the control data M9, and when detecting a color change from black to white, "1" is supplied. Data 5HTP00-14 in which the direction of color change is unified is output as data DRENOO-14.

変化点検出器186は、色反転回路184からのデータ
DRENOO−14を受取り、色変化点をデータ“O”
として第16図に示されるデータDRECO1−14の
ように出力する。なお、第16図において、*は“0”
または1″を示す。ここで、データDRECOI−14
は、現在の伸長処理ラインの着目ブロックの−3−10
に対応する。すなわち、データDRECO1−14は、
現在の伸長処理ラインの着目ブロックのビット位置に“
4”加えた形となっている。データDRECO1−14
と現在の処理ラインの着目ブロックのビット位置との対
応関係も第16図に示される。
The change point detector 186 receives the data DRENOO-14 from the color inversion circuit 184 and converts the color change point into data “O”.
The data is output as data DRECO1-14 shown in FIG. In addition, in Fig. 16, * is “0”
or 1''. Here, the data DRECOI-14
is -3-10 of the target block of the current decompression processing line
corresponds to That is, the data DRECO1-14 are
At the bit position of the block of interest in the current decompression line, “
4” added.Data DRECO1-14
FIG. 16 also shows the correspondence between this and the bit position of the block of interest in the current processing line.

データDRECO1−14はプライオリティエンコーダ
188に入力されて、色変化点が検出される。
Data DRECO1-14 are input to a priority encoder 188, and color change points are detected.

すなわち、細かい市松模様のとき等には複数の色変化点
が検出される場合があるが、その場合には一番左の、即
ちLSB方向の色変化点が検出される。検出された色変
化点のビット位置は第16図にデータB1DTO3−0
0に示されるように2進数に変換されて出力される。
That is, in the case of a fine checkered pattern, a plurality of color change points may be detected, and in that case, the leftmost color change point, that is, the color change point in the LSB direction is detected. The bit position of the detected color change point is shown in Figure 16 as data B1DTO3-0.
It is converted into a binary number and output as shown by 0.

次に、2次元伸長処理の場合について説明する。Next, the case of two-dimensional expansion processing will be explained.

2次元コードの伸長処理モードの場合には、解読処理部
12からデータB3としてデータRNLC03−00が
セレクタ201と212に供給される。また、セレクタ
201にはデータM11が1111111部4から供給
されている。このデータM11は、2次元コードの伸長
処理モードか、あるいは1次元コードの伸長処理モード
かを示す1ビツトのデータであり、2次元コードの伸長
処理モードの場合には(1)である。
In the two-dimensional code expansion processing mode, data RNLC03-00 is supplied from the decoding processing unit 12 to the selectors 201 and 212 as data B3. Further, data M11 is supplied to the selector 201 from the 1111111 section 4. This data M11 is 1-bit data indicating whether the mode is a two-dimensional code decompression processing mode or a one-dimensional code decompression processing mode, and is (1) in the case of the two-dimensional code decompression processing mode.

加篩器204には、セレクタ201からのデータRNL
CO2−00とセレクタ202からのデータRBPAO
2−00とが供給されていて、それらのデータの和が計
算され、データAOPLO3−00が得られる。
The filter 204 receives data RNL from the selector 201.
Data RBPAO from CO2-00 and selector 202
2-00 is supplied, and the sum of these data is calculated to obtain data AOPLO3-00.

今は2次元コードの伸長処理モードについて説明してい
るので、データAOPLO3−00は、A OP LO
3−00 −(0) RBPAO2−00+ (1) RN LC
O2−00−aO+(δ−4)・ 一δ−4+aO となる。データA OP LO3−00はセレクタ20
6を介して、加算器210に供給される。加算器210
にはまたセレクタ208を介して、データBIDTO3
−〇〇も供給されている。それらのデータは加算され、
加算結果A D L TO3−00が得られる。データ
ADLTO3−00は、 A B 1 AO3−00 −BI 0T03−00+AOPLO3−00−(bl
+4−ao) + (δ−4+ao)−b1+δ となる。このデータA B 1 AO3−00は、セレ
クタ198を介して、レジスタRBPAO2−00とレ
ジスタRBP0176に送られる。上記の処理と同時に
、生成結合部22では当該ランレングスに対するイメー
ジデータの生成が完了されている。
Since we are currently explaining the two-dimensional code decompression mode, data AOPLO3-00 is AOPLO3-00.
3-00 -(0) RBPAO2-00+ (1) RN LC
O2−00−aO+(δ−4)・−δ−4+aO. Data A OP LO3-00 is selector 20
6 to an adder 210. Adder 210
Also, the data BIDTO3 is sent via the selector 208.
−〇〇 is also supplied. Those data are added and
The addition result ADL TO3-00 is obtained. Data ADLTO3-00 is A B 1 AO3-00 -BI 0T03-00+AOPLO3-00-(bl
+4-ao) + (δ-4+ao)-b1+δ. This data A B 1 AO3-00 is sent to register RBPAO2-00 and register RBP0176 via selector 198. At the same time as the above processing, the generation and combination unit 22 completes generation of image data for the run length.

一方、加算器216にはセレクタ212を介してデータ
RN L CO3−00と、反転回路214を介してデ
ータB 1 D TO3−00が供給されている。ここ
で、反転回路214は伸長処理モードでは入力されるデ
ータB 1 D TO3−00を素通しする。加算器2
16は、これらのデータから加算結果A D L TO
3−00を得る。データADLTO3−00は、 ADLTO3−00 −B 1 D TO3−00+RN L CO3−00
−(b1+4−aO) + (δ−4)−b1+δ−a
O −at −aO となる。このデー、夕ADLTO3−00が8以上のと
き、111111部10にデータF2が出力され、着目
バイトブロックにおいて、イメージデータの生成が完了
したことが知らされる。
On the other hand, the adder 216 is supplied with data RN L CO3-00 via the selector 212 and data B 1 D TO3-00 via the inversion circuit 214 . Here, the inversion circuit 214 passes the input data B 1 D TO3-00 in the decompression processing mode. Adder 2
16 is the addition result ADL TO from these data.
Get 3-00. Data ADLTO3-00 is ADLTO3-00 -B 1 D TO3-00+RN L CO3-00
-(b1+4-aO) + (δ-4)-b1+δ-a
It becomes O -at -aO. When ADLTO3-00 is 8 or more, data F2 is output to the 111111 section 10, and it is notified that the generation of image data has been completed in the byte block of interest.

次ぎに、1バイト未満のランレングスの1次元コードと
非圧縮コードの伸長処理について説明する。
Next, a description will be given of decompression processing for a one-dimensional code and an uncompressed code with a run length of less than 1 byte.

1次元コードの1バイト未満のランレングスデータがレ
ジスタRNLC126からデータB3としてセレクタ2
01に入力される。611111部4からのデータM1
1は、前述のように、この場合は(0)である。このセ
レクタ201からのデータは加算器204に供給される
。加算器204にはまた、レジスタRBPA200から
データRBPAO2−00が供給されている。これらの
データの加算結果AOPL03−00は、 AOPLO3−00 −(0)RBPAO2−00+ (0)RNLCO2−
00−ao+ RL となる。ここで、“”aO”は80点のヒツト位置を示
し、“RL ”は1バイト以下のランレングスを示す。
The run length data of less than 1 byte of the one-dimensional code is transferred from the register RNLC126 to the selector 2 as data B3.
01 is input. Data M1 from 611111 part 4
1 is (0) in this case, as described above. Data from this selector 201 is supplied to an adder 204. Adder 204 is also supplied with data RBPAO2-00 from register RBPA200. The addition result of these data AOPL03-00 is AOPLO3-00 - (0) RBPAO2-00+ (0) RNLCO2-
00-ao+RL. Here, "aO" indicates a hit position of 80 points, and "RL" indicates a run length of 1 byte or less.

このデータAOPLO3−00は、セレクタ206を介
して加算器210に供給される。加算器210には、セ
レクタ208から、制御部4からの制御信号によって選
択されたデータ(11111)が供給される。
This data AOPLO3-00 is supplied to the adder 210 via the selector 206. The adder 210 is supplied with data (11111) selected by the control signal from the control unit 4 from the selector 208.

従って、加算結果AB1AO4−00は、ABIAO4
−00 m 11111  + “0” AOPLO3−00+
1− “O″ AOPLO3−00 −ao+ RL となる。ここで、加算器210は、入力データ間の加算
結果に、更に“1”加算する。
Therefore, the addition result AB1AO4-00 is ABIAO4
-00 m 11111 + “0” AOPLO3-00+
1- “O” AOPLO3-00 -ao+ RL. Here, the adder 210 further adds "1" to the result of addition between input data.

この加算結果AB1AO4−GoのうちAB1AO2−
〇〇は、セレクタ198を介してレジスタRBPA20
0と、さらにセレクタ174を介して、レジスタRBP
0176に供給される。
AB1AO2- of this addition result AB1AO4-Go
〇〇 is the register RBPA20 via the selector 198
0 and further via selector 174, register RBP
0176.

以上の1次元コードの伸長処理の説明は、そのまま非圧
縮コードに適用されることができる。
The above description of the one-dimensional code decompression process can be directly applied to uncompressed codes.

以上のようにして、生成されるべきイメージデータの長
さ、および、着目バイトブロック内の生成が完了された
ピット位置が決定される。
As described above, the length of the image data to be generated and the position of the generated pit in the byte block of interest are determined.

次ぎに生成結合部22の伸長処理時の動作について説明
する。
Next, the operation of the generation and combination unit 22 during decompression processing will be explained.

最初に、1次元コードと2次元コードの伸長処理につい
て説明する。
First, the decompression process for one-dimensional codes and two-dimensional codes will be explained.

1バイト長以上のランレングスデータに対するイメージ
データの生成処理では、フリップ70ツブF8LKDに
よって現在指定されている色に従って決定される制御部
4からの制御信号に従って、セレクタ160において予
めセットされていたデータ(11111111)あるい
は(00000000)が選択され、データECDPO
O−07として出力される。選択されたデータE CO
POO−07はバレルシフタ164に入力される。バレ
ルシフタ164には、レジスタRB P Q 176か
らデータRB P QO2−00が出力されている。こ
のデータは、直前の生成ステップで生成が終了されてい
る着目バイトブロック内のビット位置の次ぎのビット位
置を示す。バレルシフタ164において、データECD
PO7−00は、ポインタデータRBPQO2−00に
従って回転シフトされ、データ5HTGOO−07とし
て出力される。
In the image data generation process for run length data of 1 byte or more, the selector 160 selects the data ( 11111111) or (00000000) is selected and the data ECDPO
It is output as O-07. Selected data E CO
POO-07 is input to barrel shifter 164. Data RBP QO2-00 is output to the barrel shifter 164 from the register RBP Q 176. This data indicates the next bit position of the bit position in the byte block of interest whose generation has been completed in the immediately previous generation step. In the barrel shifter 164, the data ECD
PO7-00 is rotationally shifted according to pointer data RBPQO2-00 and output as data 5HTGOO-07.

データS HT GOO−07は、データ′結合用のセ
レクタ166とレジスタ168の08−15ビット部分
に供給される。セレクタ168にはセレクタ170から
既に生成されているイメージデータの残りの部分が供給
されている。バイト単位でのイメージデータの生成処理
が実行されているときと、データADI T 03−0
0の第3ビツトが1であるときは、レジスタ168の0
8−15ビット部分のデータが選択され、それ以外のと
きは00−07ビツト部分のデータが選択される。
Data S HT GOO-07 is supplied to the 08-15 bit portion of the selector 166 and register 168 for data combination. The selector 168 is supplied with the remaining part of the image data already generated from the selector 170. When image data generation processing is executed in byte units and data ADI T 03-0
When the third bit of 0 is 1, the 0 of register 168 is
Data in the 8-15 bit portion is selected; otherwise, data in the 00-07 bit portion is selected.

セレクタ168にはまた、ポインタレジスタRepQ1
76からデータRBPQO2−00が供給されていて、
データRBPQO2−00に従って選択された入力デー
タが結合される。すなわち、先頭ビット位置からデータ
RBPQO2−00によって指定されたビット位置の直
前までのビットデータとして、セレクタ170からのデ
ータが選択され、データRBPQO2−00によって指
定されたビット位置から最終ビットまではバレルシフタ
164からのデータが選択される。
The selector 168 also includes a pointer register RepQ1.
Data RBPQO2-00 is supplied from 76,
Input data selected according to data RBPQO2-00 is combined. That is, the data from the selector 170 is selected as the bit data from the first bit position to just before the bit position specified by the data RBPQO2-00, and the data from the bit position specified by the data RBPQO2-00 to the last bit is selected by the barrel shifter 164. data from is selected.

例えば、バイト単位の生成処理がなされていて、データ
RBPQO2−00が“3”であり、データ5HTGO
O−07が(1111111111’)であり、データ
RODTO8−15が(10000000)とする。こ
のとき、セレクタ166からの出力EPCKOO−07
は(10111111)となる。このようにして得られ
たデータEPCKOO−07はレジスタ168の00−
07ビツト部分に格納される。
For example, if generation processing is performed in bytes, data RBPQO2-00 is "3", and data 5HTGO
Assume that O-07 is (1111111111') and data RODTO8-15 is (10000000). At this time, the output EPCKOO-07 from the selector 166
becomes (10111111). The data EPCKOO-07 obtained in this way is stored in the register 168 at 00-
It is stored in the 07 bit part.

バイト単位でのイメージデータの生成処理が実行されて
いるときと、データA D L TO3−00の第3ビ
ツトが1であるときは、1バイト分のイメージデータの
生成処理が完了したとして、制御部4からの制御信号に
従って、データRODTOO−07は、レジスタ172
を介して外部(イメージメモリ)に出力される。また、
データRODTOO−07は、データD1としてセレク
タ238を介して参照ラインバッフ7メモリ2に格納さ
れる。
When image data generation processing is being executed in byte units and when the third bit of data ADL TO3-00 is 1, it is assumed that the image data generation processing for 1 byte has been completed, and control is executed. According to the control signal from unit 4, data RODTOO-07 is stored in register 172.
It is output to the outside (image memory) via. Also,
Data RODTOO-07 is stored in reference line buffer 7 memory 2 via selector 238 as data D1.

以上の述べたイメージデータの生成処理動作が行われて
いるときは、データRBPQO2−00は変えられない
。これは、バイト単位の処理をしているので、変える必
要がないからである。
While the image data generation processing operation described above is being performed, data RBPQO2-00 cannot be changed. This is because processing is done in bytes, so there is no need to change it.

次ぎに、1次元コードの1バイト未満のランレングスデ
ータに対するイメージデータの生成処理について説明す
る。
Next, image data generation processing for run length data of less than 1 byte of a one-dimensional code will be described.

上述と全く同様にして、レジスタ168にはイメージデ
ータが生成されている。上述のバイト単位の処理と異な
る点は、セレクタ16Gによって結合されたイメージデ
ータがレジスタ168に格納されたとき、データRBP
QO2−00が、データDBPAO2−00に基づいて
更新されるということである。
Image data is generated in register 168 in exactly the same manner as described above. The difference from the byte-by-byte processing described above is that when the image data combined by the selector 16G is stored in the register 168, the data RBP
This means that QO2-00 is updated based on data DBPAO2-00.

次ぎに、2次元コードのランレングスデータに対するイ
メージデータの生成処理について説明する。
Next, image data generation processing for run length data of a two-dimensional code will be described.

b1点が検出されないときは、b1点が検出されるまで
、前述と同様にしてバイト単位の処理が行われる。b1
点が検出されたときは、垂直モードコードに対するイメ
ージデータの生成処理は1バイト未満のランレングスデ
ータに対するイメージデータの生成処理と同様に行われ
る。
If point b1 is not detected, byte-by-byte processing is performed in the same manner as described above until point b1 is detected. b1
When a point is detected, the image data generation process for the vertical mode code is performed in the same way as the image data generation process for run length data of less than 1 byte.

パスモードコードに対するイメージデータの生成処理は
、垂直モードに対するイメージデータの生成処理と同様
であるが、セレクタ160で選択されるイメージデータ
は、バスモードコードの前後で生成されるイメージデー
タの色が変更されないように選択される。
The image data generation process for the pass mode code is similar to the image data generation process for the vertical mode, but the color of the image data selected by the selector 160 is changed before and after the bus mode code. Selected not to.

次ぎに非圧縮モードコードの伸長処理について説明する
Next, the decompression process of the uncompressed mode code will be explained.

フッネルシフタ104から出力されたデータSHT D
 00−07は、色反転回路106を介してレジスタR
PAT162にデータRPATO7−00としてラッチ
されている。このデータRPATO7−00は、セレク
タ160によって選択されて、バレルシフタ164に供
給される。その後の生成処理は、1バイト未満のランレ
ングスデータに対するイメージデータの生成処理と同様
である。
Data SHT D output from Huhnel shifter 104
00-07 are connected to the register R via the color inversion circuit 106.
It is latched in the PAT 162 as data RPATO7-00. This data RPATO7-00 is selected by selector 160 and supplied to barrel shifter 164. The subsequent generation process is similar to the image data generation process for run length data of less than 1 byte.

次ぎに圧縮処理モードについて説明する。Next, the compression processing mode will be explained.

圧縮処理では81点とb1点の検出が行われる。81点
の検出処理は解読処理部12で行われる。b1点の検出
処理は色変化点検出部36で行われる。その後、検出さ
れた81点とb1点を使用して、対応するコードが生成
される。
In the compression process, 81 points and b1 points are detected. The detection processing of the 81 points is performed by the decoding processing section 12. The b1 point detection process is performed by the color change point detection section 36. The corresponding code is then generated using the detected 81 points and the b1 point.

最初に81点の検出処理について説明する。First, the detection process for 81 points will be explained.

圧縮処理モードにおいては、レジシタRBPP116に
はセレクタ114を介して制御部10からデータDBP
AO2−00が供給され、初期値“7”(111)にセ
ットされる。従って、フッネルシフタ104は、データ
RD T I 16−23をデータ5HTD 00−0
7として出力する。色反転回路106には制御部4から
色変化の方向を統一するために制御データM1が供給さ
れている。これにより、本実施例では、画素の色変化の
方向は白から黒の方向に統一される。色反転回路106
の出力DTISOO−07はマスクゲート108と同様
にセレクタ110に供給される。
In the compression processing mode, the register RBPP 116 receives data DBP from the control unit 10 via the selector 114.
AO2-00 is supplied and set to the initial value "7" (111). Therefore, the Huhner shifter 104 converts the data RD T I 16-23 into the data 5HTD 00-0
Output as 7. Control data M1 is supplied from the control section 4 to the color inversion circuit 106 in order to unify the direction of color change. As a result, in this embodiment, the direction of color change of pixels is unified from white to black. Color inversion circuit 106
The output DTISOO-07 is supplied to the selector 110 in the same way as the mask gate 108.

セレクタ110には制御部10からデータM3としてデ
ータRDSQO4−00が供給されている。このデータ
RDSQO4−00は圧縮処理の場合には(111)で
ある。セレクタ110にはまた、ilJ’11部10か
らデータM2としてデータD N D POO−07が
供給されている。このデータD N D POO−07
は、ラインの終端点の1ビツト右側に仮想の変化点を補
うためのデータである。通常は、このデータDNDPO
O−07の各ビットは(0)であり、ラインの最終を処
理するとき、データD N D POO−07のうち終
端点の右側のビット位置のみが(1)となる。このデー
タD N D POO−07とデータDTIS00−0
7との論理和がとられたデータが、ざらにマスクゲート
108からのマスクデータと合成されてデータDRMA
10−00として出力される。
Data RDSQO4-00 is supplied to the selector 110 from the control unit 10 as data M3. This data RDSQO4-00 is (111) in the case of compression processing. The selector 110 is also supplied with data DND POO-07 as data M2 from the ilJ'11 unit 10. This data DND POO-07
is data for supplementing a virtual change point 1 bit to the right of the end point of the line. Normally, this data DNDPO
Each bit of O-07 is (0), and when processing the end of the line, only the bit position to the right of the end point of data DND POO-07 is (1). This data DND POO-07 and data DTIS00-0
The data logically summed with 7 is combined with the mask data from the mask gate 108 to generate data DRMA.
Output as 10-00.

アドレスデータDRMA10−00はデコーダROM1
12.に供給される。デコーダROM112はこのデー
タD RM A 10−00を解読してデータDROM
11−00を出力する。このときの解読結果が第14図
eに示される。第14図eにおいてMはマスクデータを
示し、×は(0)あるい゛は(1)である。
Address data DRMA10-00 is decoder ROM1
12. supplied to The decoder ROM 112 decodes this data DRM A 10-00 and stores it in the data DROM.
Outputs 11-00. The decoding result at this time is shown in FIG. 14e. In FIG. 14e, M indicates mask data, and x is (0) or "1".

圧縮処理の場合、データDROM11−00のうちビッ
ト11.10.09.05は使用されない。データDR
OMO8−06は加算器122とランレングス算出部3
8に出力され、ビットデータDROMO4は制御部4に
出力され、データDROMO3−00はカウンタ部30
に出力される。第14図eを参照して、データDROM
O8−O6には解読されたイメージデータの長さからマ
イナス1した値(ラン長−1)が示される。ビットデー
タDROMO4は、セレクタ114、レジスタ116、
加算器122からなる解読ポインタ回路において、カウ
ントするか否かを決定するためのデータとして使用され
る。81点が検出されたときは、ビットデータDROM
O4は(0)となり、81点が未検出の場合、(1)と
なる。
In the case of compression processing, bits 11.10.09.05 of data DROM 11-00 are not used. data DR
OMO8-06 includes adder 122 and run length calculation unit 3
bit data DROMO4 is output to the control unit 4, and data DROMO3-00 is output to the counter unit 30.
is output to. With reference to FIG. 14e, the data DROM
In O8-O6, a value obtained by subtracting 1 from the length of the decoded image data (run length - 1) is shown. The bit data DROMO4 includes a selector 114, a register 116,
In the decoding pointer circuit consisting of the adder 122, it is used as data for determining whether to count or not. When 81 points are detected, bit data DROM
O4 becomes (0), and when 81 points are not detected, it becomes (1).

加算器122では、伸長処理のときと同様に、データR
8P PO2−00とデータDROMO8−06が加算
され、さらにデータ“1″が加痒される。この加算の結
果、ビットデータABPPO3が“1″となったとき、
そのことが11110部4にデータ八6として知らされ
る。制御部4はデータ八6に従って、新たなバイトイメ
ージデータをレジスタ102に入力される。ビットデー
タABPPO3が(0)のときは、そのまま処理が続け
られる。
In the adder 122, as in the decompression process, the data R
8P PO2-00 and data DROMO8-06 are added, and data "1" is added. As a result of this addition, when bit data ABPPO3 becomes “1”,
This is notified to the 11110 section 4 as data 86. The control unit 4 receives new byte image data into the register 102 according to the data 86. When bit data ABPPO3 is (0), processing continues as is.

一方、色変化点検出部36ではb1点が検出される。On the other hand, the color change point detection section 36 detects point b1.

レジスタ180、フッネルシフタ182、色反転回路1
84、変化点検出回路186、および、プライオリティ
エンコーダ188の動作は伸長処理のときと同様である
。検出されたb1点のデータはBIDTO3−〇〇とし
て出力される。
Register 180, Huhnel shifter 182, color inversion circuit 1
84, the change point detection circuit 186, and the priority encoder 188 operate in the same way as in the decompression process. The data of the detected b1 point is output as BIDTO3-〇〇.

圧縮処理モードでは、セレクタ114において邑変化点
検出部36からのデータDBPAO2−00が選択され
ることを除いて同様である。但し、圧縮の過程で80点
から1バイト以内の所にb1点が見付かるとパステスト
が始まり、(bl−ao)に相当するデータがレジスタ
RP1L118にラッチされ、aOポインタデータはb
1点のビット位置の所まで進められる。その後、同じ色
のランをバイト単位でカウントする。バステストの結果
1次元符号化することになったとき、このラッチされた
データRPi102−00はセレクタ120によって選
択されて、加算器122に出力される。加算器122に
は、デコーダROM 112から1バイト未満の、ラン
レングスが“1”だけデクリメントされたデータDRO
M 08−06が供給されている。この加算結果にはさ
らに“1″が加えられる。最終的な加算結果ASPPO
2−00は、生成部32に出力され、1次元符号化−ド
に使用される。
In the compression processing mode, the same is true except that the selector 114 selects the data DBPAO2-00 from the village change point detection unit 36. However, if point b1 is found within 1 byte from point 80 during the compression process, a pass test starts, data corresponding to (bl-ao) is latched into register RP1L118, and the aO pointer data becomes b
Advances to one bit position. Then, the runs of the same color are counted in bytes. When the bus test results in one-dimensional encoding, the latched data RPi 102-00 is selected by the selector 120 and output to the adder 122. The adder 122 receives data DRO from the decoder ROM 112, which is less than 1 byte and whose run length is decremented by "1".
M 08-06 is supplied. "1" is further added to this addition result. Final addition result ASPPO
2-00 is output to the generation unit 32 and used for one-dimensional encoding.

符号化が終了したとき、aOポインタデータは次ぎのよ
うにして更新される。レジスタRBPA200に保持さ
れた80点を示すデータRBPAO2−00は、セレク
タ192によって選択されて加算器196に供給される
。加算器196にはセレクタ194を介してデータDR
MO8−06も供給されている。
When encoding is completed, the aO pointer data is updated as follows. Data RBPAO2-00 indicating 80 points held in register RBPA200 is selected by selector 192 and supplied to adder 196. The adder 196 receives data DR via the selector 194.
MO8-06 is also supplied.

加算器196では次ぎのような計算がなされ、データA
 I 0MO2−00が得られる。
The adder 196 performs the following calculation, and the data A
I0MO2-00 is obtained.

A 10MO2−00 −RBPAO2−00+DROMO8−06+1=aO
+ (al−aO−1) + 1すなわち、このように
して31点を示すデータA1CM 02−00が得られ
る。データA I 0MO2−00は、レジスタRB 
P A 200にセットされると共に、解読処理部12
のセレクタ114に供給される。このように圧縮処理モ
ードでは、色変化点検出部36において80点の更新が
行われる。
A 10MO2-00 -RBPAO2-00+DROMO8-06+1=aO
+ (al-aO-1) + 1 That is, data A1CM 02-00 indicating 31 points is obtained in this way. Data A I 0MO2-00 is register RB
P A is set to 200, and the decoding processing unit 12
is supplied to the selector 114 of. In this way, in the compression processing mode, 80 points are updated in the color change point detection section 36.

2次元符号化が行われることになったとき、ランレング
スは次ぎのようにして求められる。ランレングス算出部
38では、データB 1 D TO3−00は反転回路
214を介して加算器216に供給される。
When two-dimensional encoding is to be performed, the run length is determined as follows. In the run length calculation unit 38, the data B 1 D TO3-00 is supplied to the adder 216 via the inversion circuit 214.

セレクタ212では、解読処理部12からのデータDR
OMO3−00が選択され、加算器216に供給される
。加算器216では、次ぎのような計算がなされ、デー
タA D L TO3−00が求められる。
In the selector 212, the data DR from the decoding processing unit 12
OMO3-00 is selected and provided to adder 216. The adder 216 performs the following calculation to obtain data ADL TO3-00.

A D L TO3−00 一反転(B 1 DTO3−00) +DROMO3−
00+ 1=反転(b1+ 4−aO) + (al−
ao) + 1− al −bl −4 一δ−4 すなわち、反転回路214において、入力データB1D
T03−00が反転され、加算器216で1”加算され
ることは、データB1DTO3−00の2の補数を求め
ることと同じである。このようにして得られたデータA
 D L TO3−00のうちデータADLT 02−
00は生成部22に出力される。
A D L TO3-00 One inversion (B 1 DTO3-00) +DROMO3-
00+ 1=inversion (b1+ 4-aO) + (al-
ao) + 1- al -bl -4 - δ-4 In other words, in the inverting circuit 214, input data B1D
Inverting T03-00 and adding 1" in the adder 216 is the same as calculating the two's complement of data B1DTO3-00. Data A obtained in this way
Data ADLT 02- of D L TO3-00
00 is output to the generation unit 22.

カウンタ部30では、イメージデータのコード化が行わ
れるたびに、セレクタ124においてデータ“2556
”(100111111100)が選択されて、レジス
タRNLC126にセットされる。このデータRN L
 C11−00のうちデータRN L C11−03は
加算器130に送られる。加算器130では、データR
NIC11−03が“1″だけデクリメントされ、再゛
びセレクタ124に供給される。また、データRNLC
II−03はコンパレータ128に供給され、′O゛(
ooooooooo )と等しいか否かが調べられる。
In the counter unit 30, each time image data is encoded, the selector 124 receives data “2556”.
”(100111111100) is selected and set in the register RNLC126.This data RN L
Of C11-00, data RN L C11-03 is sent to the adder 130. In the adder 130, the data R
The NIC 11-03 is decremented by "1" and supplied to the selector 124 again. Also, data RNLC
II-03 is supplied to the comparator 128, and 'O゛(
ooooooooooo) is checked.

データRNLC11−03が“0″に等しいときは、デ
ータB4によって制御部4に知らされる。このようにし
て、ランレングスカウンタ回路は1バイト単位で処理さ
れる。
When the data RNLC11-03 is equal to "0", the control unit 4 is informed by data B4. In this way, the run length counter circuit processes one byte at a time.

コンパレータ128で“ONが検出されてさらに同じ色
のランが続くときは、レジスタRNUC134に保持さ
れていたデータが“1”だけインクリメントされる。こ
の値は、初期値として“0″がセレクタ132で選択さ
れている。
When “ON” is detected by the comparator 128 and the same color run continues, the data held in the register RNUC 134 is incremented by “1”. Selected.

レジスタRNUC134の値はセレクタ138を介して
、レジスタ140にラッチされる。ランレングス“25
60”に対応するコートデータが生成されるたびに“1
”だけデクリメントされる。デクリメントされた結果が
“ONと一致するかどうかがコンパレータ144でチェ
ックされる。
The value of register RNUC 134 is latched into register 140 via selector 138. Run length “25”
1 every time the court data corresponding to 60 is generated.
” is decremented. The comparator 144 checks whether the decremented result matches “ON”.

生成部32では、カウンタ部30からデータANL00
8−00を、解読処理部12からデータABPPO2−
〇〇が入力され、レジスタRNLG148に供給される
。し°ジスタRNLG148に保持されたデータRNL
G11−00のうちデータRNLG11−06とデータ
RNLGO5−00はセレクタ156に供給される。
The generation unit 32 receives data ANL00 from the counter unit 30.
8-00 from the decoding processing unit 12 as data ABPPO2-
〇〇 is input and supplied to the register RNLG148. Data RNL held in register RNLG148
Of G11-00, data RNLG11-06 and data RNLGO5-00 are supplied to the selector 156.

また、6ビツトのデータRNLGII−06はコンパレ
ータ150に供給される。コンパレータ150は1次元
コードの圧縮処理モードで使用され、入力されたデータ
RNLG11−06がデータ(100111)と一致す
るかどうかを判定し、その結果をデータC2によって制
御部4に知らせる。制御部4は、一致するときは生成す
べき符号語が、メイクアップコードであり、一致しない
ときはターミネイトコードであると判断する。
Further, 6-bit data RNLGII-06 is supplied to the comparator 150. The comparator 150 is used in the one-dimensional code compression processing mode, determines whether the input data RNLG11-06 matches the data (100111), and notifies the control unit 4 of the result using data C2. The control unit 4 determines that the code word to be generated is a make-up code when they match, and determines that the code word to be generated is a termination code when they do not match.

セレクタ152には、ランレングス算出部38からのデ
ータA D L TO2−00と制御部4からのデータ
EGCDO3−00が供給されている。セレクタ152
には、データE G CDn3−00のためにデータ(
1)と、データA D L TO2−00のためにデー
タ(01)が供給されている。2次元コードの圧縮51
1!モードでは、データA D L TO2−00が選
択され、水平モードの識別コード、あるいはパスモード
コード等の場合にはデータEGCDO3−00が選択さ
れる。
The selector 152 is supplied with data ADL TO2-00 from the run length calculation section 38 and data EGCDO3-00 from the control section 4. Selector 152
For data EG CDn3-00, data (
1) and data (01) are supplied for data ADL TO2-00. 2D code compression 51
1! In the mode, data ADL TO2-00 is selected, and in the case of a horizontal mode identification code or pass mode code, data EGCDO3-00 is selected.

選択されたデータDGCDO4−00は、レジスタ15
4を介してデータRGCDO4−00としてセレクタ1
56に供給されている。
The selected data DGCDO4-00 is stored in register 15.
Selector 1 as data RGCDO4-00 via 4
56.

セレクタ156には、第17図aに示されるように、制
御部10から白/黒どちらかの色の符号語を生成するか
を示すビットデータDBLJGが供給されている。この
ビットデータDBLKは、1次元コードを生成するとき
使用され、白の場合には“0”であり、黒の場合には“
1″である。セレクタ156にはまた、ビットデータF
2NGが供給されている。ビットデータF、 2 N 
Gは、生成されるべきコードが9ビツト以上のとき、デ
コーダROM158が2回アクセスされるとき、1回目
のアクセスと2回目のアクセスとを区別するためのデー
タである。データF2NGは2回目のアクセスのとき1
″となる。
As shown in FIG. 17a, the selector 156 is supplied with bit data DBLJG from the control unit 10 indicating whether a code word of either white or black color is to be generated. This bit data DBLK is used when generating a one-dimensional code, and is “0” for white and “0” for black.
1''.The selector 156 also contains bit data F.
2NG is supplied. Bit data F, 2 N
G is data for distinguishing between the first access and the second access when the decoder ROM 158 is accessed twice when the code to be generated is 9 bits or more. Data F2NG is 1 when accessed for the second time.
”.

セレクタ156はデータERMAO8−00として、メ
イクアップコードの生成の場合には、データRNLG1
1−00を、ターミネイトコードの生成の場合にはデー
タRN L GO5−00を、特殊なコードを発生する
ときにはデータRGCDO4−00を含むデータを選択
する。
The selector 156 sets data ERMAO8-00, and in the case of makeup code generation, data RNLG1.
1-00, data RN L GO5-00 is selected when generating a termination code, and data including data RGCDO4-00 is selected when generating a special code.

データERMAO8−00は、エンコーダROM158
に加えられる。エンコーダROM 158からはデータ
FROMII−00が出力される。データFROM11
−00の出力フォーマットが第17図すに示される。こ
こで、ビットデータEROM11は、生成ステップの最
終であるかどうかを示すためのデータであり、(1)の
とき最終ステップを示し、(0)とき対応するコードデ
ータを生成するために次ぎの生成スツテップが必要であ
ることを示す。
Data ERMAO8-00 is encoder ROM158
added to. Data FROMII-00 is output from the encoder ROM 158. Data FROM11
The output format of -00 is shown in FIG. Here, the bit data EROM11 is data for indicating whether or not the generation step is the final step; (1) indicates the final step, and (0) indicates the next generation step to generate the corresponding code data. Indicates that a step is required.

10−08ビット部分にはく発生されたコード部分の長
さ−1)を示すデータが出力される。このデータERO
MIO−08は加算器178に供給される。データFR
OMO7−00に発生されたコードが出力される。
Data indicating the length of the generated code portion (-1) is output in the 10-08 bit portion. This data ERO
MIO-08 is provided to adder 178. Data FR
The code generated by OMO7-00 is output.

データFROMO7−00はセレクタ160を介してバ
レルシフタ164に供給される。ホールドループ回路に
おける以降の処理は、伸長処理のときと同様である。異
なるのは、生成ポインタデータ保持回路の動作である。
Data FROMO7-00 is supplied to barrel shifter 164 via selector 160. The subsequent processing in the hold loop circuit is the same as the decompression processing. The difference is the operation of the generated pointer data holding circuit.

生成ポインタデータ保持回路では、コードデータの生成
と並行してエンコーダROM 158からのデータFR
OM10−08に従って、生成ポインタデータが更新さ
れる。すなわち、加算B178で、保持されている生成
ポインタデータとデータEROM 10−08が加算さ
れる。その加算結果に更に# 1 reが加えられる。
The generation pointer data holding circuit stores data FR from the encoder ROM 158 in parallel with the generation of code data.
Generated pointer data is updated according to OM10-08. That is, in addition B178, the held generated pointer data and data EROM 10-08 are added. #1re is further added to the addition result.

最終的な加算結果A B P QO3−00のうちAB
PQO2−00がセレクタ174を介してレジスタRB
P017Bに保持され、新たな生成ポインタデータとな
る。データABPQO3が(1)のときは、1バイト分
のコープデータが生成されたとして制御部4にデータD
3で知らされる。その結果、レジスタRDT1168の
00−07ビツト部分に保持されていたコードデータが
出力される。
Final addition result A B P AB out of QO3-00
PQO2-00 is sent to register RB via selector 174.
It is held in P017B and becomes new generated pointer data. When data ABPQO3 is (1), it is assumed that 1 byte worth of copy data has been generated, and data D is sent to control unit 4.
You will be informed at 3. As a result, the code data held in the 00-07 bit portion of register RDT1168 is output.

以上述べたように、圧縮処理モードでは、生成ポインタ
データはデータEROM10−08に基づいて更新され
る。従って、第17図すに示されるように、2回目の生
成ステップで8ビツトのコードデータを出力するように
すれば、生成ポインタデータを更新する必要がなくなり
、圧縮処理を高速化することができる。
As described above, in the compression processing mode, the generated pointer data is updated based on the data EROM 10-08. Therefore, as shown in Figure 17, if 8-bit code data is output in the second generation step, there is no need to update the generated pointer data, and the compression process can be sped up. .

次ぎに第18図を9照して、生成処理部サブシーケンサ
9の動作を説明する。
Next, the operation of the generation processing section subsequencer 9 will be explained with reference to FIG.

MH方式による符号化のときは、Hコード状態からメイ
クアップ状態、2560コード状態あるいはターミネイ
ト状態へと転移し、1次元コードを生成する。1次元コ
ードの生成が終了すると再びHコード状態が実行される
。その後、ラインが終了するまで、以上の動作が繰返さ
れる。ラインの終端まで達すると、ターミネイト状態か
ら特殊状態に移り、EOLコードあるいはフィルスキッ
プコードが生成される。その後、リセット待機に戻る。
When encoding using the MH method, a one-dimensional code is generated by transitioning from the H code state to the makeup state, 2560 code state, or termination state. When the generation of the one-dimensional code is completed, the H code state is executed again. Thereafter, the above operations are repeated until the line ends. When the end of the line is reached, the termination state is changed to a special state, and an EOL code or fill-skip code is generated. After that, it returns to the reset standby state.

MRおよりMMRMR方式次元生成処理モードでは、リ
セット待機状態からライン゛の先頭において81点とb
1点の位置を検出する。81点が検出されたがb1点が
検出されないときは、特殊状態に移り、水平モード識別
コードを発生する。その後、MH方式の場合と同様にし
て、白ランメイクアップコードと白ランターミネイトコ
ードを発生する。続いて、再びHコード状態から、黒ラ
ンメイクアップコードと黒ランターミネイトコードを発
生する。
In the MR to MMRMR dimension generation processing mode, 81 points and b are set at the beginning of the line from the reset standby state.
Detect the position of one point. When 81 points are detected but b1 point is not detected, a special state is entered and a horizontal mode identification code is generated. Thereafter, a white run make-up code and a white run terminate code are generated in the same manner as in the MH method. Subsequently, a black run make-up code and a black run terminate code are generated again from the H code state.

その後、再び81点とb1点を検索する。After that, the 81st point and the b1 point are searched again.

b1点が検出されたが、81点が検出されないときは、
バステストに入る。81点が検出されないときは、特殊
状態に移り。バスコードが生成される。
b1 point is detected but 81 points are not detected,
Enter the bus test. If 81 points are not detected, it moves to a special state. A bus code will be generated.

81点が3ビツト以上b1点から離れた所に検出された
ときは、前述と同様にして1次元コードが生成される。
When point 81 is detected at a location 3 bits or more away from point b1, a one-dimensional code is generated in the same manner as described above.

81点がb1点から3ビツト以内の位置に検出されたと
きは、■コード状態に移り、2次元コードが生成される
When the 81st point is detected within 3 bits from the b1 point, the state shifts to the (2) code state and a two-dimensional code is generated.

MR方式では、MH方式と同様に、ラインの終端に達し
たとき、特殊状態に移って、EOLコードあるいはフィ
ルスキップコードが生成される。
In the MR method, like the MH method, when the end of the line is reached, a special state is entered and an EOL code or fill-skip code is generated.

また、ページの最後では、所定の数のEOLコードを発
生するために、特殊状態に移る。
Also, at the end of the page, a special state is entered in order to generate a predetermined number of EOL codes.

次ぎに、第19図から第21図までのフローチャーに非
圧縮モードにおける伸長処理について説明する。
Next, the decompression process in the uncompressed mode will be explained using the flowcharts shown in FIGS. 19 to 21.

この例では、MH符号化コードデータの伸長処理で始ま
り、途中で非圧縮モードの伸長処理にかわる。なお、こ
こでレジスタRMPC(図示せず)は、インストラクシ
ョンレジスタであり、それにラッチされるインストラク
ションが各ステップの中に書かれている。
In this example, the process starts with decompression processing of MH encoded code data, and changes to uncompressed mode decompression processing midway through. Note that the register RMPC (not shown) is an instruction register, and instructions latched therein are written in each step.

圧縮伸長処理装置は、クロック#0〜#3に対応するス
テップS2と84においてループを描き、電源投入の直
後に初期化された状態でデータの入力を侍っている。デ
ータが入力されない限り、この状態が続く。なお、各レ
ジスタの初期化された値がクロック#Oに示されている
。この状態では解読処理部サブシーケンサ8もリセット
状態である。
The compression/decompression processing device draws a loop in steps S2 and 84 corresponding to clocks #0 to #3, and waits for data input in an initialized state immediately after power is turned on. This state continues as long as no data is input. Note that the initialized values of each register are shown in clock #O. In this state, the decoding processing unit subsequencer 8 is also in a reset state.

ステップS6において、データの入力があると、ページ
制御の初期化が行われる。最初に送られてくるデータは
制御データであり、圧縮処理モードと伸長処理モードの
いずれかであるかを示すデータ、符号化方式がMH,M
RlあるいはMMRのうちいずれであるかを示すデータ
、および、1ライン当りのランレングスデータ等が含ま
れる。ここでは、MH方式により伸長処理モードが選択
されたとする。また、1ライン当りのランレングスデー
タはレジスタEND8218にセットされる。
In step S6, when data is input, page control is initialized. The first data sent is control data, which indicates whether the mode is compression processing mode or decompression processing mode, and whether the encoding method is MH or M.
It includes data indicating whether it is Rl or MMR, run length data per line, and the like. Here, it is assumed that the decompression processing mode is selected using the MH method. Further, run length data per line is set in register END8218.

また、圧縮伸長処理装置1の内部では、色を指定するた
めのレジスタFBLKDが白にセットされる等のページ
制御の初期化が行われる。ステップS6のクロック#4
では、データA1として“00″(oooooooo 
)がレジスタRDIN(図示せず)にセットされる。
Further, inside the compression/expansion processing device 1, initialization of page control is performed, such as setting a register FBLKD for specifying a color to white. Clock #4 of step S6
Then, set “00” (oooooooooo) as data A1.
) is set in register RDIN (not shown).

ステップS8において圧縮処理モードであるかどうかが
判定される。圧縮処理モードが指定されているときは圧
縮処理が実行され、伸長処理モードが指定されていると
きは、ステップS10に進む。
In step S8, it is determined whether the mode is compression processing mode. When the compression processing mode is designated, the compression processing is executed, and when the decompression processing mode is designated, the process advances to step S10.

現在は、MH方式によって符号化されたコードデータの
伸長処理モードが指定されているので、ステップ810
に進む。
Currently, the decompression processing mode for code data encoded by the MH method is specified, so step 810
Proceed to.

ステップ$10ではクロック#5において、レジスタR
DT1102内部に保持されているデータはLSB方向
に1バイトシフトされる。その後、入力データA1はレ
ジスタRDINよりレジスタRD T I 102に移
される。ここでは、入力データが[00コのためレジス
タRDT1102内部の値は見掛は1変化していない。
At step $10, at clock #5, register R
The data held inside the DT 1102 is shifted by 1 byte in the LSB direction. Thereafter, input data A1 is transferred from register RDIN to register RD T I 102. Here, since the input data is [00, the value inside the register RDT 1102 does not appear to change by 1.

ステップS12において、MMR符号化方式であるかど
うかが判定される。MMR符号化方式であるときは、フ
ローはステップS22に進み、DLNLOOPが実行さ
れる。それ以外のときは、フローはステップ314に進
む。本動作説明ではMH符号化方式を例にとっているた
め、フローはステップS14に進む。
In step S12, it is determined whether the MMR encoding method is used. If it is the MMR encoding method, the flow advances to step S22 and DLNLOOP is executed. Otherwise, flow continues to step 314. Since this operation description uses the MH encoding method as an example, the flow advances to step S14.

ステップS14ではクロック#6において、解読処理部
サブシーケンサ8により解読処理部12に起動指示が出
され、EOLサーチAが実行される。
In step S14, at clock #6, the decoding processing section sub-sequencer 8 issues a startup instruction to the decoding processing section 12, and EOL search A is executed.

このため、入力データは、EOLコードまでスキップさ
れる。同時にレジスタRBPP116の値は“7″に更
新され、レジスタRDINには次ぎの入力データ[OC
]  (00001100)がセットされる。
Therefore, input data is skipped up to the EOL code. At the same time, the value of register RBPP116 is updated to "7", and the next input data [OC
] (00001100) is set.

解読処理部サブシーケンス8はEOLサーチAの状態に
あるので、ステップ816ではクロック#7において入
力データ[Q Q 3  (00000000)が特殊
コードテーブルを参照してデコーダDROM112によ
って解読される。その結果、データDROM 11−0
9ICハデータ(001)が、データDROM 08−
06ニは“7“(111)が出力される。
Since the decoding processing unit subsequence 8 is in the EOL search A state, in step 816, the input data [Q Q 3 (00000000) is decoded by the decoder DROM 112 with reference to the special code table at clock #7. As a result, data DROM 11-0
9IC data (001) is data DROM 08-
For 06d, "7" (111) is output.

この“7”データに基づいて、レジスタRBPP116
に保持されている解読ポインタデータの更新が行われる
。すなわち、加算器A122の出力ABPPは、 ABPPO3−00−111+111 +1となり、レ
ジスタRBPP116の解読ポインタデータは再び“7
″となる。また、第3ビツトが(1)であることがデー
タ八〇によって制御部4に知らされる。
Based on this "7" data, register RBPP116
The decryption pointer data held in the decryption pointer data is updated. That is, the output ABPP of the adder A122 becomes ABPPO3-00-111+111 +1, and the decoding pointer data of the register RBPP116 becomes "7" again.
''. Furthermore, the control unit 4 is informed by data 80 that the third bit is (1).

その結果、クロック#8において加算器122のオーバ
ーフローによってレジスタRDT1102内に保持され
ているデータは1バイト分LSB方向にシフトされ、デ
ータRD T 116−23部分にデータ[OC]  
(00001100)が入力される。また、レジスタR
DINには次ぎのデータ[70](01110000)
が入力される。
As a result, at clock #8, the data held in the register RDT 1102 due to the overflow of the adder 122 is shifted by one byte in the LSB direction, and data [OC] is placed in the data RDT 116-23 portion.
(00001100) is input. Also, register R
DIN contains the following data [70] (01110000)
is input.

解読処理部サブシーケンサ8はデータDROM11−0
9の(001)によりEOLサーチBに移り、EOLコ
ードの確定処理を実行する。レジスタRDT1102に
保持されているデータは[0000QC] (0000
00000000000000001100)であり、
フッネルシフタ104には09−23ごットデータ部分
が入力されるので、データ(000000000001
100)がフッネルシフタ104に入力される。レジス
タR8PP116の値が“7″を指しているため、解読
対象は(00001100)となる。これは、レジスタ
RD T I 102内の[OC]に対応する。このコ
ードデータに対するデコーダROM 112からの出力
DROM 11−00ハ、[D O5]  (1101
00001001) rある。従って、解読されたコー
ド長はDROMO8−06で(100)であり、“1″
だけデクリメントされているので、EOLコードは解読
ポインタデータRB P PO2−00によって指定さ
れるビット位置から5ビツト目で確定している。また、
データ[OC]はレジスタRPAT162に出力される
The decoding processing unit subsequencer 8 is a data DROM 11-0.
9 (001), the program moves to EOL search B and executes EOL code determination processing. The data held in register RDT1102 is [0000QC] (0000
00000000000000001100),
Since the 09-23 data part is input to the Huhnel shifter 104, the data (000000000001
100) is input to the Huhnel shifter 104. Since the value of register R8PP116 indicates "7", the decoding target is (00001100). This corresponds to [OC] in register RD T I 102. Output DROM 11-00 from decoder ROM 112 for this code data, [DO5] (1101
00001001) There are r. Therefore, the decoded code length is (100) for DROMO8-06, which is “1”
The EOL code is determined at the 5th bit from the bit position specified by the decoding pointer data RBPPO2-00. Also,
Data [OC] is output to register RPAT162.

クロック#9においては、加算器122で、データR8
P PO2−00の“7″とデータDROMO8−06
の“4″とから、前述と同様にして、データ″12” 
(1100)が得られる。第3ビツトの“1″は制御部
4に知らされる。これにより、データRD T I 0
0−23は1バイト分LSB方向にシフトされ、16−
23ビット部分にはデータ[70](01110000
)が入力される。また、解読ポインタデータRB P 
PO2−00は加算結果に基づいて“4“に更新される
。現在、データRDTI08−23は(0000110
001110000)であり、データRBPP02−0
0が“4″であることからデータ5HTDOO−07は
(10001110)である。これにより、解読結果は
1ビツトを示し、これはタグピットを意味する。
At clock #9, the adder 122 outputs data R8.
“7” of P PO2-00 and data DROMO8-06
Data “12” is obtained from “4” in the same manner as above.
(1100) is obtained. The third bit "1" is notified to the control section 4. As a result, the data RD T I 0
0-23 is shifted by one byte in the LSB direction, and 16-
The 23-bit part contains data [70] (01110000
) is input. Also, decryption pointer data RBP
PO2-00 is updated to "4" based on the addition result. Currently, data RDTI08-23 is (0000110
001110000) and data RBPP02-0
Since 0 is "4", data 5HTDOO-07 is (10001110). As a result, the decoding result shows 1 bit, which means a tag pit.

解読処理部サブシーケンサ8はEOL確定のスデータス
にあり、レジスタRDINには次ぎのデータ[OF ]
  (00001111)がセットされる。レジスタR
PAT162には、クロック#9においてデータRB 
P PO2−00に基づいてレジスタRDT 1102
から取出されたデータ[0(、]がラッチされるが、非
圧縮処理モードでないため、この値は使用されない。
The decoding processing unit sub-sequencer 8 is in the EOL fixed status, and the next data [OF] is in the register RDIN.
(00001111) is set. Register R
PAT162 receives data RB at clock #9.
Register RDT 1102 based on P PO2-00
The data retrieved from [0(,] is latched, but this value is not used since we are not in uncompressed processing mode.

ステップ818では、クロック#10において、MR符
号化方式が適用されているかどうかが判定される。MH
符号化方式でない時は、続いてDLNLOOPが実行さ
れる。MR符号化方式のときは、ステップS20が実行
される。また、レジスタRPAT162にはクロック#
9において解読ポインタデータRB P PO2−00
の“4″に基づいて抽出されたデータ[8E]がラッチ
されるが、これも無視される。ステップS20ではクロ
ック#11において、タグピットの取込みが行われ、レ
ジスタTAGフリップフロップ(因示せず)にセットさ
れる。その後、フローはDLNLOOPに進む。
In step 818, it is determined at clock #10 whether the MR encoding method is applied. M.H.
If the encoding method is not selected, then DLNLOOP is executed. In the case of the MR encoding method, step S20 is executed. Also, the register RPAT162 has a clock #.
9 decrypted pointer data RB P PO2-00
Data [8E] extracted based on "4" is latched, but this is also ignored. In step S20, a tag pit is taken in at clock #11 and set in a register TAG flip-flop (not shown). Flow then proceeds to DLNLOOP.

クロック#12においてDLNLOOPが始まる。DLNLOOP begins at clock #12.

ステップS22のクロック#12において、ライン制卸
のため内部FF(フリップフロップ)が初期化され、解
読ポインタデータRB P PO2−00はタグピット
の処理終了に伴って“5″に更新される。
At clock #12 of step S22, an internal FF (flip-flop) is initialized for line control, and decoding pointer data RB P PO2-00 is updated to "5" upon completion of tag pit processing.

また、参照ラインバッファメモリ6の領域が切換えられ
る。これにより、セレクタ232に供給されるデータM
15が切換えられる。また、ラインごとの制御が始まる
Furthermore, the area of the reference line buffer memory 6 is switched. As a result, the data M supplied to the selector 232
15 is switched. Also, line-by-line control begins.

ステップS24のクロック#13において、データRD
 T I O&−23の(0000110001110
000)とデータRB P PO2−00の“5″から
データ[1C](00011100)がレジスタRPA
T162にラッチされる。また、データ出力制御ポイン
タ用のレジスタRB P 0176に保持されている生
成ポインタデータRBPQO2−00が“ONにリセッ
トされる。
At clock #13 of step S24, data RD
TIO&-23 (0000110001110
000) and data RB P PO2-00 “5” to data [1C] (00011100) are stored in register RPA.
It is latched to T162. Furthermore, the generated pointer data RBPQO2-00 held in the data output control pointer register RBP0176 is reset to "ON".

ステップ826において、参照ラインバッフ7メモリ6
の内容をクリアすることが必要かどうかが判定される。
In step 826, the reference line buffer 7 memory 6
It is determined whether it is necessary to clear the contents of.

クリアの必要がないときは、続いてステップS34が実
行される。クリアの必要があるときは、参照ラインアド
レスを保持するレジスタ226がリセットされ、′−4
”が初期設定される。
If clearing is not necessary, step S34 is subsequently executed. When clearing is necessary, the register 226 holding the reference line address is reset and
” is initially set.

その後、ステップ828が実行される。現在の処理では
必要ではないが、動作を説明する。
Thereafter, step 828 is executed. Although not necessary in the current process, the operation will be explained.

ステップ828では、レジスタRBFA226からのデ
ータRBFA10−00は、セレクタ236からのデー
タ“4″と加算され、アドレスデータとしてセレクタ2
32とレジスタ234を介して参照ラインバッファメモ
リ6に供給される。セレクタ238ではデータ(000
00000)が選択され、参照ラインバッファメモリ6
に供給される。このようにしてアドレス゛0”のロケー
ションがクリアされる。その後、データRB F A 
10−00は、加算器228によって“1″だけインク
リメントされる。インクリメントされたデータは、セレ
クタ232に供給され、次ぎのロケーションをクリアす
るために使用される。
In step 828, the data RBFA10-00 from the register RBFA226 is added to the data "4" from the selector 236, and the data RBFA10-00 from the register RBFA226 is added to the data "4" from the selector 236 as address data.
32 and a register 234 to the reference line buffer memory 6. The selector 238 selects data (000
00000) is selected and the reference line buffer memory 6
supplied to In this way, the location of address "0" is cleared. After that, the data RB F A
10-00 is incremented by "1" by adder 228. The incremented data is provided to selector 232 and used to clear the next location.

ステップS30では、1ライン分の参照ラインバッファ
メモリ6のロケーションがクリアされたかどうかが判定
される。まだ1ライン分終了していなければ、ステップ
828が再び実行される。1ライン分終了していれば、
ステップ832が実行され、伸長処理モードであるかど
うかが判断される。圧縮処理モードのときは、圧縮処理
が実行される。
In step S30, it is determined whether the location in the reference line buffer memory 6 for one line has been cleared. If one line has not yet been completed, step 828 is executed again. If one line is completed,
Step 832 is executed and it is determined whether the decompression processing mode is in effect. In the compression processing mode, compression processing is executed.

伸長処理モードのときは、続いてステップ834が実行
される。
In the decompression processing mode, step 834 is subsequently executed.

ステップ334ではクロック#14において、出力デー
タアレンジ用レジスタであるRODTI68が初期化さ
れる。すなわち、[0000]とされる。
In step 334, RODTI68, which is an output data arrangement register, is initialized at clock #14. That is, it is set to [0000].

また、参照ラインデータレジスタRRE F 180に
保持されているデータRRE FOO−26がバイト単
位でシフトされる。すなわち、データRREFO8−1
0がデータRREFOO−02に、データRREF11
−18がデータRRE PO3−10に、また、データ
RRE F 19−26がデータRREF11−18と
なるようにシフトされる。その後、参照ラインバッファ
メモリ6から、バッファメモリ制御部16からの参照ラ
インアドレスに従って参照ラインデータが読み出され、
レジスタRRE F 180の19−26ビツト部分に
ラッチされる。同時に解読処理部12は、解読処理部サ
ブシーケンサ8によって起動がかけられ、1次元白1コ
ードテーブル(白A)の状態となり、解読処理が開始さ
れる。また、レジスタRODTI88は“0”にクリア
される。
Furthermore, data RRE FOO-26 held in the reference line data register RRE F 180 is shifted in byte units. That is, data RREFO8-1
0 to data RREFOO-02, data RREF11
-18 is shifted to data RRE PO3-10, and data RRE F 19-26 is shifted to data RREF11-18. Thereafter, reference line data is read out from the reference line buffer memory 6 according to the reference line address from the buffer memory control unit 16.
It is latched into the 19-26 bit portion of register RREF 180. At the same time, the decoding processing section 12 is activated by the decoding processing section sub-sequencer 8, enters the one-dimensional white 1 code table (white A) state, and starts decoding processing. Further, the register RODTI88 is cleared to "0".

ステップ836ではクロック#15において、データR
RE FOO−26は、前述と同様にしてLS8方向に
1バイト分シフトされる。その後、19−26ピツト部
分に、読み出された次ぎのバイト参照ラインデータが入
力される。またこのとき、セレクタ192でデータ(1
11)が選択され、セレクタ194でデータ(000)
が選択され、加算器196で加算される。このとき、加
算器196ではさらに“0″が加算されるが、結果は変
わらない。このようにして得られたデータ“7゛′が、
着目ブロックの左端のビット番号を示す初期値データと
してレジスタRBPQ176にラッチされる。これは、
たまたま出力データバイト内のオフセットが“7”に設
定されていることによる。
At step 836, at clock #15, data R
RE FOO-26 is shifted by one byte in the LS8 direction in the same manner as described above. Thereafter, the read next byte reference line data is input into the 19-26 pit portion. Also, at this time, the selector 192 selects the data (1
11) is selected and data (000) is selected by the selector 194.
are selected and added by adder 196. At this time, the adder 196 further adds "0", but the result remains unchanged. The data “7゛′” obtained in this way is
It is latched into register RBPQ176 as initial value data indicating the leftmost bit number of the block of interest. this is,
This is because the offset in the output data byte happens to be set to "7".

ステップ538ではりOツク#16において、レジスタ
RB P A 200にインターフェイスよりの初期値
゛7”がセットされる。すなわち、前述のレジスタRB
PQ176にデータ“7′がセットされるのと同様にし
て、セットされる。また、データRREFOO−26は
、前述と同様にしてLSB方向に1バイト分シフトされ
る。その後、19−26ビツト部分に次ぎのバイト参照
ラインデータが入力される。
In step 538, the register RB P A 200 is set to the initial value "7" from the interface in check #16. That is, the register RB
It is set in the same way as data "7" is set in PQ176. Also, data RREFOO-26 is shifted by one byte in the LSB direction in the same manner as described above. Thereafter, the 19-26 bit portion Next byte reference line data is input.

データRDT108−23は“0C70”(00001
10001110000)であるが、データRBPP0
2−00は“5″であり、ステップ834で解読が開始
されたデータDTIS00−07は(00011100
)である。このデータのうち(000111)がラン長
1の白コード(000111)として解読され、デコー
ダROM112からはデータDROM11−00として
[540]  (010101000000)が出力さ
れる。すなわち、解読されたフードレングスは“6″な
ので、フードレングスデータDROMO8−06として
“5″が出力される。データRB P PO2−00は
“5°゛であり、従って、更新されたデータRB P 
PO2−00は′3″となる。これにより、データRD
T100−23はバイト単位でシフトされ、レジスタR
DT1102の16−23ビット部分にデータ[OF]
がラッチされる。レジスタRDINには次ぎのバイトデ
ータ[A4]がラーツチされる。また、ランレングスは
“1″なので、データDROMO5−00として“1”
 (000001)が生成処理部14に出力される。
Data RDT108-23 is “0C70” (00001
10001110000), but the data RBPP0
2-00 is "5", and the data DTIS00-07 whose decoding was started in step 834 is (00011100
). Of this data, (000111) is decoded as a white code (000111) with a run length of 1, and the decoder ROM 112 outputs [540] (010101000000) as data DROM 11-00. That is, since the decoded hood length is "6", "5" is output as the hood length data DROMO8-06. The data RB P PO2-00 is “5°”, therefore, the updated data RB P
PO2-00 becomes '3''. As a result, data RD
T100-23 are shifted byte by byte and placed in register R
Data [OF] in 16-23 bit part of DT1102
is latched. The next byte data [A4] is latched into register RDIN. Also, since the run length is “1”, it is “1” as data DROMO5-00.
(000001) is output to the generation processing unit 14.

解読が完了した事によって、次は黒コードとの予想のも
とにフリツ、ブフOツブFBLKDが反転される。これ
により、解読処理部サブシーケンサ8は1次元黒1コー
ドテーブル(黒A)の状態に移る。
After the decoding is completed, the next code is ``Fritsu'' and ``BufuOtsubu'' FBLKD, which is inverted based on the expectation that it will be a black code. As a result, the decoding processing section subsequencer 8 shifts to the state of a one-dimensional black 1 code table (black A).

ステップS40ではメインシーケンサ7はイメージ生成
のステップに入る。以後1ラインの処理が完了するまで
、生成処理部14は解読処理部12からランレングスデ
ータを受取り、イメージデータの伸長処理を実行する。
In step S40, the main sequencer 7 enters an image generation step. Thereafter, the generation processing section 14 receives run-length data from the decoding processing section 12 and executes image data decompression processing until the processing of one line is completed.

クロック#17では、解読処理部12では、解読処理部
シーケンサ8に従って、次ぎのコードデータの解読が行
われる。今、データRD T 108−23は(011
10000000011j1’)であり、データRBP
P02−00は“3”であるので、データ(00000
000)がデータS HT D 00−07となり、デ
コーダROM112によって解読される。“0″が6個
以上続くので、データDROM11−09には1次元黒
2コードテーブル(黒B)に移るように、解読処理部シ
ーケンサ8からデータ(010)が出力される。
At clock #17, the decoding processing section 12 decodes the next code data according to the decoding processing section sequencer 8. Now, data RD T 108-23 is (011
10000000011j1') and data RBP
Since P02-00 is “3”, the data (00000
000) becomes data SHTD 00-07, which is decoded by the decoder ROM 112. Since six or more "0"s continue, data (010) is output from the decoding processing unit sequencer 8 to the data DROM 11-09 so as to move to the one-dimensional black 2 code table (black B).

また、データDROMO8−06にはデータ゛5”が出
力される。
Furthermore, data "5" is output to the data DROMO8-06.

続いて、クロック#18において、レジスタRDT ■
102はバイトシフトを実行し、データ[A4]を入力
する。また、レジスタRDINにはデータ[42]が入
力される。データRB P PO2−00は、“1”と
なる。データRD T I 08−23が(00001
11110100100)であり、データRBPP02
−00が“1”であることから、次ぎの解読処理単位(
001111)が1次元黒2コードテーブルによって非
圧縮モード開始コードの後半の解読処理単位であること
が判明する。これにより、非圧縮コードの処理が開始さ
れる。
Subsequently, at clock #18, register RDT ■
102 executes a byte shift and inputs data [A4]. Furthermore, data [42] is input to the register RDIN. Data RB P PO2-00 becomes "1". Data RD T I 08-23 is (00001
11110100100) and data RBPP02
Since −00 is “1”, the next decoding processing unit (
001111) is found to be the latter half decoding processing unit of the uncompressed mode start code from the one-dimensional black 2 code table. This starts processing of the uncompressed code.

クロック#19において、デコーダROM 112から
は−j’ −夕DROM11−09としT<101)が
出力される。また、データRB P PO2−00は7
″となる。ここで、加算器122の出力の第3ビツトが
“1パでないため、データRD T I 00−23の
シフト動作は実行されない。したがって、新しいバイト
データもレジスタRDINから入力されることはない。
At clock #19, the decoder ROM 112 outputs -j' - T<101) from the DROM 11-09. Also, data RB P PO2-00 is 7
". Here, since the third bit of the output of the adder 122 is not "1 pass", the shift operation of the data RD T I 00-23 is not executed. Therefore, new byte data is also not input from register RDIN.

データRB P PO2−00は“7パに更新されてお
り、クロック#19では、これによりデータRDT11
6−23の[A4]がファネルシフタ104によって選
択されて、レジスタRPAT162にセットされる。既
に非圧縮モードに入っているため、以後レジスタRPA
T162にラッチされるデータがセレクタ160を介し
て結合部34に転送される。尚、このとき、データ5H
TDOO−07の[A4](10100100)は解読
アドレス発生回路によりアドレスデー蚕[6A7コ (
110101001−11>に変換される。このアドレ
スデータによって、デコーダDROM 112がアクセ
スサレ、7’ −夕D ROM 1l−OOとして[9
46]  (100101000110)が出力される
。これは、非圧縮モードデータが6ビツト一括処理され
たことに他ならない。
Data RB P PO2-00 has been updated to “7pa”, and at clock #19, data RDT11
6-23 [A4] is selected by the funnel shifter 104 and set in the register RPAT162. Since it is already in uncompressed mode, the register RPA
The data latched in T162 is transferred to the coupling unit 34 via the selector 160. In addition, at this time, data 5H
[A4] (10100100) of TDOO-07 is the address data silkworm [6A7 (
110101001-11>. Based on this address data, the decoder DROM 112 accesses the DROM 1l-OO as [9
46] (100101000110) is output. This is nothing but 6-bit batch processing of uncompressed mode data.

DROMO5−00“6″は次クロックでレジスタRN
LC126に転送される。DROMO8−06“5°′
は、もともと“−1”された値であり、加算器122に
供給される。すなわち、次のクロックで、データRB 
P PO2−00は、 RBPPO2−00−7+5+1■13となり、(13
−8)から5となる。これはレジスタRB P P 1
16が3ビツトレジスタであることによる。このように
してクロックを重ねるに従って、レジスタRPAT16
2には[A4]、[10]、[08]、[04]、+伊
4→=: [08]、[12]、[2C]がラッチされ
る。また、DROM 08−06で定義される処理ビッ
ト長は同様に順次レジスタRNLC126に生成される
DROMO5-00 “6” registers RN at the next clock
Transferred to LC126. DROMO8-06"5°'
is originally a value that has been subtracted by “−1” and is supplied to the adder 122. That is, at the next clock, data RB
P PO2-00 becomes RBPPO2-00-7+5+1■13, (13
-8) becomes 5. This is register RB P P 1
This is because 16 is a 3-bit register. In this way, as the clocks are repeated, register RPAT16
2, [A4], [10], [08], [04], +I4→=: [08], [12], [2C] are latched. Further, the processing bit length defined by DROM 08-06 is similarly generated sequentially in register RNLC126.

このデータRN L CO2−00とaOポインタデー
タRBPAO2−00とが加算器204によって加算さ
れてAOPLO3−00を生成する。この加算結果AO
P L 03−00が、セレクタ206、加算器210
、セレクタ198を介して、レジスタRBPA200に
フィードバックされる。このようにして、データDBP
AO2−00は更新される。また、aOポインタデータ
DBPAO2−00はレジスタRBPQ176に接続さ
れるセレクタ114にロードされる。このため、レジス
タRBPQ176とRBPA200とは同一の値となる
。このレジスタRBPQ174に保持された生成ポイン
タデータRBPQO2−00がバレルシフタ164およ
びデータアレンジ用のセレクタ166のポインタとなっ
ている。以後は、生成ポインタデータRBPQO2−0
0にもとづいてイメージデータの生成について説明する
This data RN L CO2-00 and aO pointer data RBPAO2-00 are added by an adder 204 to generate AOPLO3-00. This addition result AO
P L 03-00 is the selector 206 and the adder 210
, is fed back to register RBPA200 via selector 198. In this way, the data DBP
AO2-00 is updated. Further, the aO pointer data DBPAO2-00 is loaded into the selector 114 connected to the register RBPQ176. Therefore, registers RBPQ176 and RBPA200 have the same value. The generated pointer data RBPQO2-00 held in this register RBPQ174 serves as a pointer for the barrel shifter 164 and the selector 166 for data arrangement. After that, generated pointer data RBPQO2-0
Generation of image data will be explained based on 0.

さて、レジスタROD T 168およびROUT17
2におけるイメージデータの生成であるが、レジスタR
OD T 168は初期値として[0000]が設定さ
れている。
Now, register ROD T 168 and ROUT17
Regarding the generation of image data in step 2, register R
The initial value of OD T 168 is set to [0000].

前述の1ビツトの白ランがクロック#17から#19で
生成されているため、クロック#20において、レジス
タRODT168の00−07ビツト部分には[000
0]が生成されている。また、オフセットが7であるた
め、生成ポインタデータRBPQO2−〇〇が“7Hか
ら“0″に更新されている。このため、レジスタRoD
T168の00−07ビツト部分のデータ[0000]
は、1バイト分のイメージデータの生成が終了したとし
て出力される。また、レジスタRPAT162に保持さ
れていたデータ[A4]が結合部34に入力される。
Since the aforementioned 1-bit white run is generated at clocks #17 to #19, at clock #20, the bits 00-07 of register RODT168 contain [000
0] is generated. Also, since the offset is 7, the generated pointer data RBPQO2-〇〇 has been updated from “7H” to “0”. Therefore, the register RoD
Data of bit 00-07 of T168 [0000]
is output as the completion of generation of 1 byte of image data. Further, data [A4] held in the register RPAT 162 is input to the coupling unit 34.

クロック#21において、データRBPQO2−00が
“OHなので、データRODTOO−15ハ、データ[
A4A4]  (1010010010100100)
となる。
At clock #21, since data RBPQO2-00 is “OH”, data RODTOO-15 is “OH” and data [
A4A4] (1010010010100100)
becomes.

同時に、処理されたデータ長を示すデータDROM 0
8−06に従って、データAB1AO4−00が更新さ
れる。また、生成ポインタデータRBPQO2−00は
“6”に更新される。
At the same time, data DROM 0 indicating the processed data length
8-06, data AB1AO4-00 is updated. Furthermore, the generated pointer data RBPQO2-00 is updated to "6".

次ぎにクロック#22において、データRODToo−
is内のデータ[A4A4] (1010010010100100)のデータRBP
QO2−00によって示されるビットポイント°゛6”
の位置かラテ−9RPA TO7−00(7) [10
]  (00010000)が重ね書きされる。これに
よりデータRODTOO−15は[A440]  (1
010010001000000)となる。
Next, at clock #22, data RODToo-
Data in is [A4A4] Data RBP of (1010010010100100)
Bit point °゛6'' indicated by QO2-00
Position of Latte-9RPA TO7-00 (7) [10
] (00010000) is overwritten. As a result, data RODTOO-15 becomes [A440] (1
010010001000000).

次ぎにデータRN L CO2−00の“4′が加算さ
れ、 RBPQ−6+4−10  から2となる。これもレジ
スタRB P Q 176が3ビツトであることによる
。ここでオーバーフローが生じたため、レジスタROD
 T 168内に1バイトのイメージデータが完成した
として、データRODTOO−07の[A4]がレジス
タRot、lT172に転送される。この時、外部イン
ターフェイスの都合により初回の完成データ゛’oo”
が受取られていない場合もあり得るため、本提案におい
ても、内部インタロックを施し、防衛しているが、本題
ではないため、割愛する。
Next, “4” of data RN L CO2-00 is added, and RBPQ-6+4-10 becomes 2. This is also due to the fact that register RBPQ 176 has 3 bits. Because an overflow occurred here, register ROD
Assuming that 1 byte of image data is completed in T168, [A4] of data RODTOO-07 is transferred to register Rot, 1T172. At this time, due to the external interface, the first completed data ``'oo''
Since there may be cases where this is not received, this proposal also uses an internal interlock to protect it, but this is omitted as it is not the main topic.

このようにして順次処理が継続され、レジスタROU 
T 172にはデータ[001、[A4]、て、非圧縮
終了コード(00000010)を検出し、解読部は非
圧縮モードの終了にステータスを移す。
In this way, sequential processing continues, register ROU
At T 172, an uncompressed end code (00000010) is detected in the data [001, [A4], and the decoding unit changes the status to end of uncompressed mode.

以上のようにして第22図に示されるイメージデータが
生成される。
In the manner described above, the image data shown in FIG. 22 is generated.

クロック#29において、非圧縮モード処理が完了する
こととなり、メインシーケンサよりの指示待ちとなる。
At clock #29, the non-compression mode processing is completed and an instruction from the main sequencer is awaited.

クロック#31において元のコードデータ処理に戻る。At clock #31, the process returns to the original code data processing.

クロック#32において、終了コード末尾が“0″すな
わち、白コードより開始されるため、解読シーケンサは
白Aに移る。しかし、入力データはこのあとEOLコー
ドとなっているため、解読処理部制御シーケンサは白A
−黒B−F I LLスキップ−EOL検出と移る。一
方、メインシーケンサは1ラインの処理を完了させて、
次ぎラインの処理へと繰返す。
At clock #32, the end code ends at "0", that is, the decoding sequencer moves to white A since the start is from the white code. However, since the input data is now an EOL code, the decoding processing unit control sequencer is white A.
- Black BF I LL Skip - Move to EOL detection. On the other hand, the main sequencer completes the processing of one line,
Repeat to process the next line.

予め設定しである1ラインのピット数のイメージが生成
されたとき、フローはステップS52のクロック#38
に進む。ここで、MH,MMRの場合は解読処理部12
はEOLコードを解読していることになる。もしEOL
コードでなければステップ856でエラーとなる。そし
て、ステップ862で解読処理部12を再スタートさせ
る。このとき制御信号MDECODが出力され、第10
図に示されるように解読処理部12に制御信号DECO
DEが入力され、解読処理部12が動作する。コードの
解読結果がEOLコードでない場合は、ステップ372
からステップS22にと戻り、次ぎのラインの伸長処理
を行なう。
When an image with the preset number of pits per line is generated, the flow starts at clock #38 in step S52.
Proceed to. Here, in the case of MH and MMR, the decoding processing unit 12
is decoding the EOL code. If EOL
If it is not a code, an error occurs in step 856. Then, in step 862, the decoding processing section 12 is restarted. At this time, the control signal MDECOD is output, and the 10th
As shown in the figure, the control signal DECO is sent to the decoding processing unit 12.
DE is input, and the decoding processing section 12 operates. If the code decoding result is not an EOL code, step 372
Then, the process returns to step S22, and the next line is expanded.

また、MMR方式の場合は1ラインの処理終了後、次ぎ
の解読結果がEOLコードでなければ同様に次ぎのライ
ンの処理へと移る。このように、1ラインの処理が終了
し、次ぎのラインに処理が移る場合は、ステップ866
において解読した結果がEOLコードではないので、ス
テップ868に移ったとき、解読処理部12は動作状態
にある。従って、ステラフS68テIIJw信号MCH
DECというマイクロ命令は出力され、信号5AFTY
−“1″となっていても、信号DECIDがレベルLで
あるので、制御信号DECODEは出力されない。
In addition, in the case of the MMR method, after the processing of one line is completed, if the next decoding result is not an EOL code, the process similarly moves to the next line. In this way, when the processing of one line ends and the processing moves on to the next line, step 866
Since the result of the decoding in step 868 is not an EOL code, the decoding processing unit 12 is in an operating state when the process moves to step 868. Therefore, Stellaf S68 Te II Jw signal MCH
The microinstruction DEC is output and the signal 5AFTY
- Even if it is "1", since the signal DECID is at level L, the control signal DECODE is not output.

MH,MR方式では、ステップ362において、解読再
スタートさせた結果EOLコードを検出した場合(2個
目のEOL検出となる)、あるいはMMR方式において
1ライン伸長終了後、EOLコードを解読している場合
は、制御信号DECODE信号を持つ状態となっている
。I制御信号5AFTYが“0”となっているときは、
ステップ868で制−信号DECODEが出力されない
ので、RTC(リターン制tIl)コードを検出したと
して、ステップ872から384へと進み、1ペ一ジ分
の伸長処理が終了する。制信号@5AFTYに1″をセ
ットしている場合は、ステップ31で第10図に示され
るように、制御信号0EDCODEが出力されるので、
解読処理部12が再スタートする。この解読結果がEO
Lコードであるなら、RTCコード検出となり、伸長処
理が終わる。EOLコードでないなら、ステップ374
から876でエラーとされる。
In the MH and MR methods, in step 362, if an EOL code is detected as a result of restarting decoding (this is the second EOL detection), or in the MMR method, the EOL code is decoded after one line has been expanded. In this case, the control signal DECODE signal is present. When the I control signal 5AFTY is “0”,
Since the control signal DECODE is not output in step 868, it is assumed that an RTC (return control tIl) code is detected, and the process proceeds from step 872 to 384, and the decompression process for one page is completed. If the control signal @5AFTY is set to 1'', the control signal 0EDCODE is output in step 31 as shown in FIG.
The decoding processing unit 12 restarts. This decoding result is EO
If it is an L code, the RTC code is detected and the decompression process ends. If not an EOL code, step 374
876 is considered an error.

以上のようにvtm信号5AFTYを立てた場合には、
RTCコード検出においてEOLコードを通常より1個
余分に検出することになる。従って、1ビット誤りが発
生してにせのEOLコードを検出して゛しまった場合、
ステップ868で再スタートすることができる。よって
、1ビツト誤りによって伸長処理が終了してしまうこと
はない。
When the vtm signal 5AFTY is set as above,
In RTC code detection, one more EOL code than usual is detected. Therefore, if a 1-bit error occurs and a false EOL code is detected,
A restart can occur at step 868. Therefore, the decompression process will not be terminated due to a 1-bit error.

[発明の効果コ 以上詳細に述べたように、本発明の圧縮伸長処理装置に
よれば、コードデータの生成が2回に渡るとき、2回目
において、生成ポインタデータを更新する必要がなく、
圧縮処理を高速化することができる。
[Effects of the Invention] As described in detail above, according to the compression/decompression processing device of the present invention, when code data is generated twice, there is no need to update the generated pointer data in the second time.
Compression processing can be sped up.

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

第1因は、本発明による圧縮伸長処理装置の構成を示す
ブロックダイアグラムである。第2図は、第1図に示さ
れる解読処理部の詳細を示すブロックダイアグラムであ
る。第3図は、第1図に示されるカウンタ部の詳細を示
すブロックダイアグラムである。第4図は、第1図に示
される変換部の詳細を示すブロックダイアグラムで−あ
る。第5因は、第1図に示される結合部の詳細を示すブ
ロックダイアグラムである。第6図は、第1図に示され
る色変化点検出部の詳細を示すブロックダイアグラムで
ある。第7図は、第1図に示されるランレングス算出部
の詳細を示すブロックダイアグラムである。第8図は、
第1図に示されるバッファメモリ制御部の詳細を示すブ
ロックダイアグラムである。第9図は、変化点検出器の
詳細な構成を示すブロックダイアグラムである。第10
図は、メインシーケンサ内のセイフテイ回路の詳細な構
成を示すブロックダイアグラムである。第11図は、第
2図に示されるデコーダROMに格納されているコード
テーブルのアドレスフォーマットを示す図である。第1
2図aからdはメイクアップコードとターミネイトコー
ドがそれぞれどの表に含まれるかを示す図である。第1
3図は、第2図に示されるデコーダROMに格納されて
いるコードテーブルの出力フォーマットを示す図である
。第14図aは、第13図に示されるコードテーブルの
出力フォーマット中の次状態情報の意味を説明するため
の図である。第14図すは、第13図に示されるコード
テーブルの出力フォーマット中のランレングスデータの
出力フォーマットを説明するための図である。第14図
Cは、第14図すに示される垂直モードコードの出力フ
ォーマットを説明するための図である。第14図dは、
第11図に示される非圧縮モードコードテーブルと特殊
コードテーブルを説明するための図である。第14図e
は、第11図に示されるマスクデータを説明するための
図である。第15図は、第11図に示されるコードテー
ブルを解読処理部サブシーケンサがどのように1lJI
l]するかを示すための状!!!遷移図である。第16
図は色反転回路とプライオリティエンコーダの出力を説
明するための因である。第11図aは、第4図に示され
るセレクタの動作を説明するための図である。第17図
すはエンコーダROMの出力を説明するための図である
。第18図は、第4図に示されるエンコーダROMを生
成処理部サブシーケンサがどのように制御するかを示す
ための状態遷移図である。第19図から第21図は、本
発明による圧縮伸長処理装置の動作を説明するためのフ
ローチャートである。 第22図は、第19図から第21図に示されるフローチ
ャートに従って、イメージデータが生成される様子を示
す図である。第23図は、第2図に示されるレジスタR
PI Lの働きを説明するための図である。第24図a
とbは、ラインの最初の処理ステップと、ランの最初の
処理ステップにおけるイメージデータの生成の一例を示
す図である。第25図は、バイト境界にまたがるランの
処理の一例を示す図である。第26図は、スタティック
RAMを参照ラインバッファメモリに使用したときの接
続図である。第21図は、ファーストインファーストア
ウト(F I FO)メモリをシングルバッファモード
で使用したときの接続図である。第28図は、FIF2
・・・圧縮伸長処理部、4・・・圧縮伸長処理制御部、
6・・・参照ラインバッファメモリ、12・・・解読処
理部、14・・・生成処理部、16・・・バッファメモ
リ制御部出願人代理人 弁理士 鈴江武彦 第3図 [F]の くく MRD7−0 第6図 第8図 1ぢビ尤コし1フートテーフツレ”A)  :(Do、
D+)≠(0,0)−(D3−D6.+)喧1.−+4
)*殊コードデーフール        (DO,D+
)≠(0,0)−(D3.−、D7)= (1,−j 
)(Do、−、Ds) l (0,−,0)−CD6.
07) =(L + )第11図 7、−1目2図(b) 鳴24図(a) 第24図(b) 亀25図
The first factor is a block diagram showing the configuration of the compression/decompression processing device according to the present invention. FIG. 2 is a block diagram showing details of the decoding processing section shown in FIG. 1. FIG. 3 is a block diagram showing details of the counter section shown in FIG. 1. FIG. 4 is a block diagram showing details of the conversion section shown in FIG. 1. The fifth factor is a block diagram showing details of the coupling section shown in FIG. FIG. 6 is a block diagram showing details of the color change point detection section shown in FIG. 1. FIG. 7 is a block diagram showing details of the run length calculation section shown in FIG. 1. Figure 8 shows
2 is a block diagram showing details of the buffer memory control section shown in FIG. 1. FIG. FIG. 9 is a block diagram showing the detailed configuration of the change point detector. 10th
The figure is a block diagram showing the detailed configuration of the safety circuit within the main sequencer. FIG. 11 is a diagram showing the address format of the code table stored in the decoder ROM shown in FIG. 2. 1st
Figures 2a to 2d are diagrams showing which tables each include a make-up code and a termination code. 1st
FIG. 3 is a diagram showing the output format of the code table stored in the decoder ROM shown in FIG. 2. FIG. 14a is a diagram for explaining the meaning of the next state information in the output format of the code table shown in FIG. 13. FIG. 14 is a diagram for explaining the output format of run length data in the output format of the code table shown in FIG. 13. FIG. 14C is a diagram for explaining the output format of the vertical mode code shown in FIG. 14. Figure 14d is
12 is a diagram for explaining an uncompressed mode code table and a special code table shown in FIG. 11. FIG. Figure 14e
11 is a diagram for explaining the mask data shown in FIG. 11. FIG. FIG. 15 shows how the code table shown in FIG.
l]A letter to show what you want to do! ! ! It is a transition diagram. 16th
The figure is a factor for explaining the output of the color inverting circuit and the priority encoder. FIG. 11a is a diagram for explaining the operation of the selector shown in FIG. 4. FIG. 17 is a diagram for explaining the output of the encoder ROM. FIG. 18 is a state transition diagram showing how the generation processing section sub-sequencer controls the encoder ROM shown in FIG. 4. 19 to 21 are flowcharts for explaining the operation of the compression/expansion processing apparatus according to the present invention. FIG. 22 is a diagram showing how image data is generated according to the flowcharts shown in FIGS. 19 to 21. FIG. 23 shows the register R shown in FIG.
FIG. 3 is a diagram for explaining the function of PIL. Figure 24a
2A and 2B are diagrams illustrating an example of generation of image data in the first processing step of a line and the first processing step of a run. FIG. 25 is a diagram illustrating an example of run processing that spans byte boundaries. FIG. 26 is a connection diagram when static RAM is used as the reference line buffer memory. FIG. 21 is a connection diagram when a first-in-first-out (F I FO) memory is used in single buffer mode. Figure 28 shows FIF2
... Compression/expansion processing section, 4... Compression/expansion processing control section,
6...Reference line buffer memory, 12...Decoding processing unit, 14...Generation processing unit, 16...Buffer memory control unit Applicant's agent Patent attorney Takehiko Suzue Figure 3 [F] Nokuku MRD7 -0 Figure 6 Figure 8 1.
D+)≠(0,0)-(D3-D6.+) 1. -+4
)*Special Code Day Fool (DO, D+
)≠(0,0)−(D3.−,D7)=(1,−j
)(Do,-,Ds) l (0,-,0)-CD6.
07) = (L + )Figure 11 Figure 7, -1 Eye 2 Figure (b) Figure 24 (a) Figure 24 (b) Figure 25 Tortoise

Claims (1)

【特許請求の範囲】 入力されるランレングスデータと入力される第1の制御
データとのうち1つを選択し、その選択されたデータと
入力される第2の制御データとから生成アドレスデータ
を作成して出力するための生成アドレス作成手段と、 選択されたデータがランレングスデータのとき、前記生
成アドレス生成手段からの生成アドレスデータに従って
、第2の制御データによって指定された色に対するコー
ドデータを発生し、選択されたデータが第1の制御デー
タのとき、前記生成アドレス作成手段からの生成アドレ
スデータに従って、コードデータを発生するための手段
であって、発生されるべきコードデータが、予め決めら
れた長さを越えるときは、2回に分けてコードデータを
出力し、2回目に予め決められた長さ分のコードデータ
を出力するエンコーダ手段とを具備することを特徴とす
る圧縮伸長処理装置。
[Claims] One of input run length data and input first control data is selected, and generated address data is generated from the selected data and input second control data. generating address generating means for generating and outputting the generated address; and when the selected data is run-length data, generating code data for the color specified by the second control data according to the generated address data from the generated address generating means; When the generated and selected data is first control data, the means for generating code data according to the generated address data from the generated address generating means, wherein the code data to be generated is predetermined. When the length exceeds a predetermined length, the code data is divided into two outputs, and encoder means is configured to output the code data of a predetermined length in the second time. Device.
JP6198087A 1987-03-17 1987-03-17 Compression/expansion processor Pending JPS63227277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6198087A JPS63227277A (en) 1987-03-17 1987-03-17 Compression/expansion processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6198087A JPS63227277A (en) 1987-03-17 1987-03-17 Compression/expansion processor

Publications (1)

Publication Number Publication Date
JPS63227277A true JPS63227277A (en) 1988-09-21

Family

ID=13186836

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6198087A Pending JPS63227277A (en) 1987-03-17 1987-03-17 Compression/expansion processor

Country Status (1)

Country Link
JP (1) JPS63227277A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5578195A (en) * 1990-07-06 1996-11-26 Ecolith - Zeolithe Gmbh Synthetic crystalline aluminosilicate for the catalytic conversion of hydrocarbons in petrochemical processes

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5578195A (en) * 1990-07-06 1996-11-26 Ecolith - Zeolithe Gmbh Synthetic crystalline aluminosilicate for the catalytic conversion of hydrocarbons in petrochemical processes
US5696043A (en) * 1990-07-06 1997-12-09 Ecolith-Zeolithe Gmbh I.G. Synthetic crystalline aluminosilicate for the catalytic conversion of hydrocarbons in petrochemical processes

Similar Documents

Publication Publication Date Title
US6144322A (en) Variable length code processor with encoding and/or decoding
KR900001821B1 (en) Processor for compressing and expanding binary data
JP3505266B2 (en) Program execution device
US4760461A (en) Binary data compression and expansion processing apparatus
JPH11184750A (en) Data processor having variable length code processing mechanism
JP3189876B2 (en) Variable length code decoding circuit
US4760459A (en) Binary data compression and expansion processing apparatus
JPS63227277A (en) Compression/expansion processor
US5623556A (en) System and method of extracting binary image data
JPS63276973A (en) Compression expanding processor
JPS63227276A (en) Expansion/compression processor
JPS63227272A (en) Expansion/compression processor
JP2598011B2 (en) Compression / expansion processor
JPH06121172A (en) Picture encoder
US6144321A (en) Microprocessor dedicated to processing of bit streams in a system of compression/decompression of animated images
JPH01867A (en) Compression/expansion processing equipment
US6133859A (en) Microprocessor dedicated to processing of bit streams in a system of compression/decompression of animated images
JP2601822B2 (en) Decompression processing device that processes compressed signals
JP3014999B2 (en) Huffman decoding device
JP3247052B2 (en) Image data conversion processing method and apparatus
JP3453938B2 (en) Arithmetic circuit and arithmetic method
JP3224127B2 (en) Image data conversion processor
JP2000278538A (en) Device and method for arithmetic encoding/decoding
JP2641858B2 (en) Compression / expansion processor
JP2006019814A (en) Entropy decoder