JPH03141424A - Coded data developing device - Google Patents

Coded data developing device

Info

Publication number
JPH03141424A
JPH03141424A JP1280225A JP28022589A JPH03141424A JP H03141424 A JPH03141424 A JP H03141424A JP 1280225 A JP1280225 A JP 1280225A JP 28022589 A JP28022589 A JP 28022589A JP H03141424 A JPH03141424 A JP H03141424A
Authority
JP
Japan
Prior art keywords
line
buffer
data
decoded data
processor
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
JP1280225A
Other languages
Japanese (ja)
Inventor
Kiyomi Akiyoshi
秋好 清己
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1280225A priority Critical patent/JPH03141424A/en
Publication of JPH03141424A publication Critical patent/JPH03141424A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To develope the decoded data edited in real time to a frame buffer by performing the write of the decoded data to a line buffer and the read of the data via a processor in parallel with each other with synchronization secured via a line synchronization control part for each line. CONSTITUTION:The decoded data b1 outputted from a decoding part 2 is written into a line buffer 3 having a capacity equal to plural lines of the data b1 and also read out the buffer 3 to an editing processor 4 in parallel with each other for each line with synchronization secured via a line synchronization control part 5 for each line. The processor 4 applies the editing processes like a clipping process, etc., to the read data b1 for each line. This processed data is evolved to a frame buffer 6. Thus, it is possible to apply the editing processes including a clipping process, etc., to an original image at a high speed and in real time. Then the processed image can be developed to the buffer 6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、プリンタ印字等に使用されている符号圧縮
されたイメージデータを復号し、フレームバッファへ展
開する符号化データ展開装置に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a coded data expansion device that decodes code-compressed image data used in printer printing, etc. and expands it into a frame buffer. .

〔従来の技術〕[Conventional technology]

第6図は従来の符号化データ展開装置の構成を示すブロ
ック図であり、図において、1は符号化圧縮されたデー
タ(以下、符号データという)を格納する符号バッファ
、2は前記符号バッファ1から読出した符号データを復
号する復号化部、6は前記復号化部2により復号された
データ(以下、復号データという)を印字イメージに展
開して格納するフレームバッファである。また、aは符
号バッファ1から復号化部2に入力される符号データ、
bは復号化部2からフレームバッファ6に入力される復
号データである。
FIG. 6 is a block diagram showing the configuration of a conventional coded data expansion device. In the figure, 1 is a code buffer that stores coded and compressed data (hereinafter referred to as code data), and 2 is the code buffer 1. The decoding section 6 decodes the encoded data read from the decoding section 2, and is a frame buffer that expands the data decoded by the decoding section 2 (hereinafter referred to as decoded data) into a print image and stores it. In addition, a is code data input from the code buffer 1 to the decoding unit 2,
b is decoded data input from the decoding unit 2 to the frame buffer 6.

次に動作について説明する。Next, the operation will be explained.

まず、第7図(a)に示すような原画イメージ10が、
例えばCCITT勧告7.4  G3ファクシミリ等の
規定に従って符号圧縮され、符号バッファ1に格納され
ているものとする。復号化部2は符号データaを前記符
号バッファ1から順次読出し、該符号データaの復号を
行い、復号データbとしてフレームバッファ6へ印字イ
メージに展開していく。
First, the original image 10 as shown in FIG. 7(a) is
For example, it is assumed that the code is compressed according to the regulations of CCITT Recommendation 7.4 G3 facsimile, etc., and stored in the code buffer 1. The decoding unit 2 sequentially reads code data a from the code buffer 1, decodes the code data a, and develops it into a print image in the frame buffer 6 as decoded data b.

つまり、前記復号化部2は、符号バッファ1に格納され
ている第7図(a)に示すような原画イメージ10(符
号データaとして格納されている)をそのまま復号して
、前記フレームバッファ6へ第7図(b)に示すように
展開しているため、原画イメージ10がそのままフレー
ムバッファ6へ再現されることになる。
That is, the decoding unit 2 directly decodes the original image 10 (stored as code data a) as shown in FIG. 7(a) stored in the code buffer 1, and Since the original image 10 is expanded as shown in FIG. 7(b), the original image 10 is reproduced as is in the frame buffer 6.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の符号化データ展開装置は以上のように構成されて
いるので、原画イメージをそのまま復号してフレームバ
ッファへ展開することになり、原画イメージの一部のみ
を取出してフレームバッファへ書込むクリッピング等の
所定の編集処理を行う場合、−旦原画イメージをフレー
ムバッファへの展開が終了してから編集処理を実行しな
ければならず、処理に時間がかかるとともに、フレーム
バッファへの展開途中に編集処理要求が発生しても、リ
アルタイムに該編集処理が実行できないなどの課題があ
った。
Since the conventional encoded data expansion device is configured as described above, the original image is decoded as it is and expanded to the frame buffer, and clipping, etc., in which only a part of the original image is extracted and written to the frame buffer, etc. When performing predetermined editing processing, the editing processing must be performed after the original image has been developed into the frame buffer, which takes time, and the editing processing must be performed while the original image is being developed into the frame buffer. Even if a request occurs, there is a problem that the editing process cannot be executed in real time.

この発明は上記のような課題を解消するためになされた
もので、高速に、かつリアルタイムで原画イメージのク
リッピング等の編集処理を実行し、フレームバッファへ
展開できる符号化データ展開装置を得ることを目的とす
る。
This invention was made in order to solve the above-mentioned problems, and it is an object of the present invention to provide an encoded data expansion device that can perform editing processing such as clipping of an original image at high speed and in real time, and can expand it to a frame buffer. purpose.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る符号化データ展開装置は、復号化部から
出力される復号データを、ライン同期制御部でライン単
位の同期をとりながら、該復号データの複数ライン分の
容量を有するラインバッフ・アへの書込み及び該ライン
バッファから編集処理を行うプロセッサへの読出しをラ
イン単位で並行して行い、該プロセッサにてライン単位
に読出された復号データにクリッピング等の編集処理を
行いながらフレームバッファへ展開するようにしたもの
である。
The coded data expansion device according to the present invention synchronizes the decoded data output from the decoding unit line by line with the line synchronization control unit, and synchronizes the decoded data output from the decoding unit into a line buffer address having a capacity for multiple lines of the decoded data. Writing to the line buffer and reading from the line buffer to a processor that performs editing processing are performed line by line in parallel, and the processor performs editing processing such as clipping on the decoded data read line by line while expanding it to the frame buffer. It was designed to do so.

〔作 用〕[For production]

二の発明におけるラインバッファは、デュアルポートR
AMで構成し、復号データをライン単位で一旦格納する
とともに、ライン単位での書込み及び読出しを、ライン
同期制御部により同期をとりながら並行して行うように
したので、プロセッサでの編集処理を任意に、かつリア
ルタイムに実行することができる。
The line buffer in the second invention is a dual port R
AM is configured, and decoded data is temporarily stored line by line, and writing and reading in line units are performed in parallel while being synchronized by the line synchronization control unit, so editing processing by the processor can be performed arbitrarily. and can be executed in real time.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。第1
図はこの発明の一実施例による符号化データ展開装置の
構成を示す図であり、従来の符号化データ展開装置(第
6図)と同一または相当部分には同一符号を付して説明
を省略する。図において、3はデュアルポートRAMか
ら構成され、復号化部2から出力される復号データb、
をライン単位に順次格納していくラインバッファで、こ
こでは4ライン分の復号データb、を格納できる容量が
あるものとする。4は前記ラインバッファ3への格納(
復号データb、の1ライン分の書込み)と並行して読出
された復号データb2にクリッピング等の編集処理を行
い、該編集処理されたデータをフレームバッファ6へ出
力するプロセッサ、5はライン単位での前記ラインバッ
ファ3への復号データb、の書込み及び前記プロセッサ
への復号データb2の読出しの同期をとるライン同期制
御部である。また、aは符号データ、blは前記復号化
部2から出力される復号データ、b2は前記ラインバッ
ファ3から出力される復号データ、Cはプロセッサ4か
ら編集処理後、フレームバッファ6へ出力されるライト
データ、dは復号化部2からライン同期制御部5に対し
て出力される復号データb、のラインの切換えを通知す
るアドレスA8信号、eは復号化部2からライン同期制
御部5に対してラインバッファ3に書込む復号データb
lの1ワードごとの出力タイミングを通知するライトス
トローブ信号、fはプロセッサ4からライン同期制御部
5に対する同期確認と、ラインバッファ3での書込みウ
ェイト状態を解除するためのライン同期リセット信号、
gはライン同期制御部5から復号化部2へのウェイト人
力として、及びプロセッサ4に対して同期確認を要求す
る信号としてのライン同期信号、hはライン同期制御部
5からラインバッファ3に対して復号データb、の格納
、読出しを指示する信号である。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a diagram showing the configuration of an encoded data expansion device according to an embodiment of the present invention, and the same or equivalent parts as in the conventional encoded data expansion device (FIG. 6) are given the same reference numerals and explanations are omitted. do. In the figure, 3 is composed of a dual port RAM, and decoded data b output from the decoding unit 2,
It is assumed here that the line buffer has a capacity to store decoded data b for four lines. 4 is storage in the line buffer 3 (
5 is a processor that performs editing processing such as clipping on the decoded data b2 read out in parallel with the writing of one line of decoded data b, and outputs the edited data to the frame buffer 6; This is a line synchronization control unit that synchronizes writing of decoded data b to the line buffer 3 and reading of decoded data b2 to the processor. Further, a is code data, bl is decoded data output from the decoding unit 2, b2 is decoded data output from the line buffer 3, and C is output from the processor 4 to the frame buffer 6 after editing processing. Write data, d is the address A8 signal that notifies line switching of the decoded data b output from the decoding unit 2 to the line synchronization control unit 5, and e is the signal from the decoding unit 2 to the line synchronization control unit 5. decoded data b to be written to line buffer 3
A write strobe signal notifies the output timing for each word of l, f is a line synchronization reset signal for confirming synchronization from the processor 4 to the line synchronization control unit 5 and canceling the write wait state in the line buffer 3,
g is a line synchronization signal as a weight input from the line synchronization control unit 5 to the decoding unit 2 and as a signal requesting synchronization confirmation to the processor 4; h is a line synchronization signal from the line synchronization control unit 5 to the line buffer 3; This is a signal instructing storage and reading of decoded data b.

次に動作について第2図のタイムチャートを用いて説明
する。
Next, the operation will be explained using the time chart shown in FIG.

まず、従来の符号化データ展開装置と同様に原画イメー
ジ10は符号圧縮されて、符号バッファ1に格納されて
おり、復号化部2は順次前記符号バッファ1より符号デ
ータaを読出し、復号して4ライン分格納できるライン
バッファ3へ格納していく。
First, as in the conventional coded data expansion device, the original image 10 is code-compressed and stored in a code buffer 1, and the decoding unit 2 sequentially reads code data a from the code buffer 1 and decodes it. The data is stored in the line buffer 3 which can store 4 lines.

この際、次ラインの最初の1ワードデータがラインバッ
ファ3に書込まれると(第3図中、アドレスA8信号d
が1ライン目の信号となり、1ライン目の最初のライト
ストローブ信号eが通知された状態)、ライン同期制御
部5は“ON”状態のライン同期信号g(ウェイト入力
)を復号化部2及びプロセッサ4に出力する。復号化部
2は該“ON”状態のライン同期信号g(ウェイト入力
)を受はウェイト状態となり、ラインバッファ3への残
りのラインデータの書込みが抑止される。プロセッサ4
はこのライン同期信号gが“ON”状態であることを検
出すると、ライン同期リセット信号fをライン同期制御
部5に通知し、すでに書込みの終了している前ラインの
復号データ(この場合0ライン目の復号データに相当す
る)を前記ラインバッファ3から読出す。これと並行し
て、ライン同期リセット信号fを受けたライン同期制御
部5は“OFF”状態のライン同期信号gを出力し、こ
れにより復号化部2でのウェイト状態が解除され、ライ
トストローブ信号eに合わせて残りのラインデータのラ
インバッファ3への書込みを再開する。このように、ラ
イン同期制御部5において、復号データb、の各ライン
ごとの同期をとりながらラインバッファ3の書込み及び
読出しを並行に実施していく。
At this time, when the first word data of the next line is written to the line buffer 3 (in FIG. 3, the address A8 signal d
is the signal for the first line, and the first write strobe signal e of the first line is notified), the line synchronization control unit 5 receives the line synchronization signal g (wait input) in the “ON” state from the decoding unit 2 and Output to processor 4. When the decoding unit 2 receives the line synchronization signal g (wait input) in the "ON" state, it enters a wait state, and writing of the remaining line data to the line buffer 3 is inhibited. processor 4
When it detects that this line synchronization signal g is in the “ON” state, it notifies the line synchronization reset signal f to the line synchronization control unit 5, and transfers the decoded data of the previous line that has already been written (in this case, line 0). (corresponding to the second decoded data) is read from the line buffer 3. In parallel with this, the line synchronization control unit 5, which has received the line synchronization reset signal f, outputs the line synchronization signal g in the “OFF” state, thereby canceling the wait state in the decoding unit 2, and the write strobe signal Writing of the remaining line data to the line buffer 3 is restarted in accordance with e. In this way, the line synchronization control unit 5 performs writing and reading from the line buffer 3 in parallel while synchronizing each line of the decoded data b.

プロセッサ4では、上述したようにラインごとの同期を
とりながら、ラインバッファ3から復号データb3を読
出し、該復号データb2にクリッピング等の編集処理を
行って、ライトデータCを出力し、フレームバッファ6
へ展開シていく。
The processor 4 reads the decoded data b3 from the line buffer 3 while synchronizing each line as described above, performs editing processing such as clipping on the decoded data b2, outputs the write data C, and outputs the write data C.
It will expand to.

また、第3図はこのプロセッサ4で行われるクリッピン
グにより、原画イメージ10(第3図(a))の一部分
11のみがフレームバッファ6に展開された様子(第3
図(b))を示した図である。
Furthermore, FIG. 3 shows how only a portion 11 of the original image 10 (FIG. 3(a)) is developed into the frame buffer 6 (the third
It is a figure showing figure (b)).

次に第4図を用いてラインバッファ3内での復号データ
の格納状態を説明する。
Next, the storage state of decoded data in the line buffer 3 will be explained using FIG.

復号化部2からの最初のラインデータ(0ライン目)が
ラインバッファ3に書込まれ(第4図(a))、次ライ
ン(lライン目)の最初の1ワードデータが書込まれた
時点で、ライン同期信号gを受けた該復号化部2がウェ
イト状態となり、書込みが中断される(第4図(b))
。さらに、プロセッサ4からライン同期リセット信号f
がライン同期制御部5に通知されると、復号化部2から
の残りのラインデータ(1ライン目)が書込まれ、これ
と並行してすでに書込まれている前ラインデータ(0ラ
イン目)がプロセッサ4に続出される(第4図(C))
、そして、残りのラインデータ(lライン目)の書込み
が終了して、次ラインデータ(2ライン目)の最初の1
ワードデータが書込まれた時点で、また復号化部2がウ
ェイト状態となり、書込みが中断される(第4図(d)
)。
The first line data (0th line) from the decoding unit 2 is written to the line buffer 3 (Fig. 4 (a)), and the first 1 word data of the next line (lth line) is written. At this point, the decoding unit 2 that has received the line synchronization signal g enters a wait state, and writing is interrupted (FIG. 4(b)).
. Furthermore, a line synchronization reset signal f is sent from the processor 4.
is notified to the line synchronization control unit 5, the remaining line data (1st line) from the decoding unit 2 is written, and in parallel, the previous line data (0th line) that has already been written is written. ) is successively output to the processor 4 (Fig. 4(C)).
, and after the writing of the remaining line data (L line) is completed, the first one of the next line data (Line 2) is written.
At the point when the word data is written, the decoding unit 2 enters the wait state again, and the writing is interrupted (Fig. 4(d)).
).

この一連の動作をラインバッファ3は全ラインデータに
ついて繰返している。
The line buffer 3 repeats this series of operations for all line data.

次に第5図のフローチャートを用いてプロセッサ4の動
作を説明する。
Next, the operation of the processor 4 will be explained using the flowchart shown in FIG.

プロセッサ4はライン同期制御部5から出力されるライ
ン同期信号gをモニタしており、該ライン同期信号gが
“ON”状態になったことを検出すると(ステップ5T
I)、ライン同期制御部5にライン同期リセット信号f
を通知する(ステ・ンブ5T2)。そして、ラインバッ
ファ3からすでに書込みの終了している復号データb、
のラインデータを読出し、クリッピング等の所定の編集
処理を行い、ライトデータCを出力してフレームバッフ
ァ6に展開しくステップ5T3)、すべてのラインデー
タについて展開が完了した時点で(ステップ5T4)、
処理を終了する。
The processor 4 monitors the line synchronization signal g output from the line synchronization control section 5, and when it detects that the line synchronization signal g is in the "ON" state (step 5T
I) A line synchronization reset signal f is sent to the line synchronization control unit 5.
(Step 5T2). Then, the decoded data b, which has already been written from the line buffer 3,
The line data is read out, predetermined editing processing such as clipping is performed, and the write data C is output and developed in the frame buffer 6 (step 5T3). When the development is completed for all line data (step 5T4),
Finish the process.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、デュアルボー)RA
Mで構成されたラインバッファへの復号化部による復号
データの書込み及びクリッピング等の所定の編集処理を
行うプロセッサによる該復号データの読出しとを、ライ
ン同期制御部によりライン単位に同期をとりながら、並
行に行えるように構成したので、高速に、かつリアルタ
イムで編集処理した復号データをフレームバッファへ展
開できる符号化データ展開装置を得ることができる効果
がある。
As described above, according to the present invention, dual baud) RA
The writing of decoded data by the decoding unit into the line buffer composed of M and the reading of the decoded data by the processor that performs predetermined editing processing such as clipping are synchronized line by line by the line synchronization control unit. Since the configuration is configured so that the editing can be performed in parallel, it is possible to obtain an encoded data expansion device that can expand decoded data that has been edited and processed into a frame buffer at high speed and in real time.

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

第1図はこの発明の一実施例による符号化データ展開装
置の構成を示すブロック図、第2図はこの発明の符号化
データ展開装置の動作を説明するタイムチャート、第3
図はこの発明におけるプロセッサのクリッピングによる
原画イメージのフレームバッファへの展開の様子を示し
た説明図、第4図はこの発明におけるラインバッファ内
でのラインデータの格納状態を説明する説明図、第5図
はこの発明におけるプロセッサの動作を説明するフロー
チャート、第6図は従来の符号化データ展開装置の構成
を示すブロック図、第7図は従来の符号化データ展開装
置による原画イメージのフレームバッファへの展開の様
子を示した説明図である。 図において、1は符号バッファ、2は復号化部、3はラ
インバッファ、4はプロセッサ、5はライン同期制御部
、6はフレームバッファである。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram showing the configuration of an encoded data expansion device according to an embodiment of the present invention, FIG. 2 is a time chart explaining the operation of the encoded data expansion device of this invention, and FIG.
FIG. 4 is an explanatory diagram illustrating how an original image is developed into a frame buffer by clipping by the processor according to the present invention, FIG. The figure is a flowchart explaining the operation of the processor in the present invention, FIG. 6 is a block diagram showing the configuration of a conventional encoded data expansion device, and FIG. 7 is a flow chart showing the configuration of a conventional encoded data expansion device. FIG. 3 is an explanatory diagram showing the state of development. In the figure, 1 is a code buffer, 2 is a decoding section, 3 is a line buffer, 4 is a processor, 5 is a line synchronization control section, and 6 is a frame buffer. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 符号バッファに格納される符号圧縮されたイメージデー
タを復号化部にて復号し、該復号データを印字イメージ
で格納するフレームバッファに展開する符号化データ展
開装置において、前記復号データの複数ライン分の容量
を有し、該復号データのライン単位での書込み及び読出
しを並行して行うラインバッファと、前記ラインバッフ
ァからライン単位に読出される復号データに所定の編集
処理を行い、前記フレームバッファに出力するプロセッ
サと、前記復号データのライン単位に、前記ラインバッ
ファへの書込み及び前記プロセッサへの読出しの同期化
を行うライン同期制御部とを備えたことを特徴とする符
号化データ展開装置。
In an encoded data expansion device that decodes code-compressed image data stored in a code buffer in a decoding unit and expands the decoded data into a frame buffer that stores the decoded data as a print image, a plurality of lines of the decoded data are a line buffer that has a capacity and writes and reads the decoded data in line units in parallel; and a line buffer that performs a predetermined editing process on the decoded data that is read out in line units from the line buffer and outputs it to the frame buffer. and a line synchronization control unit that synchronizes writing to the line buffer and reading to the processor on a line-by-line basis of the decoded data.
JP1280225A 1989-10-27 1989-10-27 Coded data developing device Pending JPH03141424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1280225A JPH03141424A (en) 1989-10-27 1989-10-27 Coded data developing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1280225A JPH03141424A (en) 1989-10-27 1989-10-27 Coded data developing device

Publications (1)

Publication Number Publication Date
JPH03141424A true JPH03141424A (en) 1991-06-17

Family

ID=17622056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1280225A Pending JPH03141424A (en) 1989-10-27 1989-10-27 Coded data developing device

Country Status (1)

Country Link
JP (1) JPH03141424A (en)

Similar Documents

Publication Publication Date Title
JPH03141424A (en) Coded data developing device
US4683552A (en) System for on-line and off-line display
JP3092526B2 (en) 2D inverse discrete cosine transform circuit
JP2002262099A (en) Picture processor and dma controller for the same
JPH09214746A (en) Image output system and image forming device
JPS60119170A (en) Connecting device of facsimile
JPS6229367A (en) Picture information processing system
JP2537830B2 (en) Image processing device
JPS62164376A (en) Picture data restoration device
JPH02185455A (en) Control system of high-resolution printer
JPH01103070A (en) Image data error recovery system
JPH1093813A (en) Recording device
JPS6385922A (en) Printer device
JPH05212913A (en) Image forming device
JPS61227475A (en) Picture processor
JPH01218174A (en) Image data expansion device
JPH03110681A (en) Continuous read processing method for image information
JPH09102035A (en) Picture processor
JPH04114197A (en) Image processor
JPH05207265A (en) Printer controller
JPH01241269A (en) Picture processing unit
JPH0247782A (en) Picture signal processor
JPH01282662A (en) Information processor
JPH0537772A (en) Image information converter
JPH0464181A (en) Raster converter for image data