JP3357243B2 - Setting data changing device in image processing device - Google Patents

Setting data changing device in image processing device

Info

Publication number
JP3357243B2
JP3357243B2 JP13382796A JP13382796A JP3357243B2 JP 3357243 B2 JP3357243 B2 JP 3357243B2 JP 13382796 A JP13382796 A JP 13382796A JP 13382796 A JP13382796 A JP 13382796A JP 3357243 B2 JP3357243 B2 JP 3357243B2
Authority
JP
Japan
Prior art keywords
data
image processing
setting data
image
selection signal
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.)
Expired - Fee Related
Application number
JP13382796A
Other languages
Japanese (ja)
Other versions
JPH09319863A (en
Inventor
守 小田
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.)
Sharp Corp
Original Assignee
Sharp 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=15113976&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP3357243(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP13382796A priority Critical patent/JP3357243B2/en
Publication of JPH09319863A publication Critical patent/JPH09319863A/en
Application granted granted Critical
Publication of JP3357243B2 publication Critical patent/JP3357243B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理に必要と
される設定データを変更可能とする画像処理装置におけ
る設定データ変更装置に関し、特に、パイプライン方式
を用いて行う画像処理に好適な設定データ変更装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a setting data changing device in an image processing device capable of changing setting data required for image processing, and more particularly to a setting suitable for image processing performed using a pipeline system. It relates to a data change device.

【0002】[0002]

【従来の技術】現在、連続的に入力される画像データを
処理する有効な画像処理装置としてパイプライン方式を
用いたものが知られている。図5はこのパイプライン方
式による画像処理装置の概略構成を示す図である。図示
のように、このパイプライン方式では、複数段のステー
ジST1,ST2,ST3…ST(N+M)を備え、画
像データ用バスB1を介して供給される画像データに対
し、前記各ステージでそれぞれ所定の画像処理を施し、
各システムクロックCLKに応じて順次後段のステージ
へと転送して行くものとなっている。
2. Description of the Related Art At present, an image processing apparatus using a pipeline system is known as an effective image processing apparatus for processing continuously input image data. FIG. 5 is a diagram showing a schematic configuration of an image processing apparatus using the pipeline system. As shown in the figure, the pipeline system includes a plurality of stages ST1, ST2, ST3,... ST (N + M), and each of the stages performs predetermined processing on image data supplied via an image data bus B1. Image processing,
The data is sequentially transferred to the subsequent stage in accordance with each system clock CLK.

【0003】また、図6は従来のパイプライン方式を用
いた画像処理装置の各ステージの基本構成を示すブロッ
ク図である。図示のように、各ステージは、入力される
画像データをシステムクロックCLKにてラッチするた
めの画像データ用ラッチ回路1と、この画像データを処
理するための画像データ処理回路2と、この画像データ
処理回路2での処理に必要な値や処理内容等の設定デー
タを指示する選択信号を格納したレジスタ3等を備え
る。そして、このような画像処理装置では、前記レジス
タ3の設定値を変更することにより、画像処理内容の変
更が可能となっている。このレジスタ3における設定デ
ータの変更処理は、CPUからのデータバスB2を介し
て供給されるデータと、レジスタ選択信号S1〜SNと
によってレジスタ変更命令の対象となるレジスタ3に格
納された設定データを変更処理するものとなっている。
FIG. 6 is a block diagram showing a basic configuration of each stage of an image processing apparatus using a conventional pipeline system. As shown, each stage includes an image data latch circuit 1 for latching input image data by a system clock CLK, an image data processing circuit 2 for processing the image data, and an image data processing circuit 2. A register 3 and the like that store a selection signal for designating setting data such as a value required for processing in the processing circuit 2 and processing contents are provided. In such an image processing apparatus, the content of the image processing can be changed by changing the set value of the register 3. The change processing of the setting data in the register 3 is based on the data supplied from the CPU via the data bus B2 and the setting data stored in the register 3 which is the target of the register change instruction by the register selection signals S1 to SN. Change processing is to be performed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の技術においては、画像データがパイプラインの中か
で処理を行っている最中にレジスタ3を更新すると画像
データが破壊されるという不都合が生じるため、レジス
タ3を更新する場合にはパイプライン内に存在する画像
データがパイプラインを構成する全てのステージST1
〜ST(+M)を通過するのを待ち、その後にファー
ムウェアによって該当するステージにおけるレジスタ3
の設定データを更新するようになっている。従って、レ
ジスタ3を更新する際には、その都度、画像データがパ
イプラインを通過するのを待つ必要があり、パイプライ
ン中に画像データが存在しなくなる、いわゆるパイプラ
インフラッシュのための待ち時間が必要となる。従っ
て、頻繁にレジスタ3の設定データの変更が行われる画
像処理においては、パイプラインフラッシュに要する待
ち時間によって十分な描画速度が得られないという問題
があった。
However, in the above-mentioned prior art, if the register 3 is updated while the image data is being processed in the pipeline, the image data is destroyed. Therefore, when the register 3 is updated, the image data existing in the pipeline includes all the stages ST1 constituting the pipeline.
~ ST ( N + M), then register 3 in the corresponding stage by the firmware.
Is updated. Therefore, every time the register 3 is updated, it is necessary to wait for the image data to pass through the pipeline, and the waiting time for the so-called pipeline flush in which the image data no longer exists in the pipeline. Required. Therefore, in the image processing in which the setting data of the register 3 is frequently changed, there is a problem that a sufficient drawing speed cannot be obtained due to a waiting time required for the pipeline flush.

【0005】本発明は、前記従来の問題点を解消するべ
くなされたものであって、従来レジスタ変更のために不
可欠とされていたパイプラインフラッシュのための待ち
時間を不要とし、処理内容等を設定するための設定デー
タの変更が頻繁に行われる画像処理においても処理時間
を大幅に短縮することができる画像処理装置の設定デー
タ変更装置の提供を課題とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems, and does not require a waiting time for a pipeline flush which has been indispensable for changing a register. An object of the present invention is to provide a setting data changing device of an image processing device capable of greatly reducing the processing time even in image processing in which setting data for setting is frequently changed.

【0006】[0006]

【課題を解決するための手段】本発明は、前記課題を解
決するため次の構成を有する。すなわち、本願請求項1
記載の発明は、画像処理内容を設定するための設定デー
タを格納してなる設定データ格納手段と、前記設定デー
タ格納手段より出力された設定データに基づき入力され
た画像データに対して画像処理を施す画像処理部と、を
備えた画像処理装置において、前記設定データ格納手段
を、複数の異なる設定データを格納してなる複数のレジ
スタによって多重構造をなすよう構成すると共に、画像
データに同期して、必要とする画像処理に応じた設定デ
ータを格納してなるレジスタを選択する選択信号を出力
する選択信号送出手段と、前記選択信号送出手段から送
出された選択信号に基づき前記複数のレジスタを選択す
る選択手段とを設けたものとなっている。また、請求項
2記載の発明は、前記選択信号送出手段を、画像データ
とこの画像データに対応して選択信号を格納する画像メ
モリ装置によって構成したものとなっている。
The present invention has the following arrangement to solve the above-mentioned problems. That is, claim 1 of the present application
According to the invention described above, setting data storing means for storing setting data for setting image processing contents, and performing image processing on image data input based on the setting data output from the setting data storing means. And an image processing unit for applying the setting data, wherein the setting data storage means is configured to form a multiplex structure by a plurality of registers storing a plurality of different setting data, and is synchronized with the image data. Selection signal transmitting means for outputting a selection signal for selecting a register storing setting data corresponding to required image processing, and selecting the plurality of registers based on a selection signal transmitted from the selection signal transmitting means And selection means for performing the selection. According to a second aspect of the present invention, the selection signal transmitting means is constituted by image data and an image memory device for storing a selection signal corresponding to the image data.

【0007】さらに、請求項3記載の発明は、画像処理
内容を設定するための設定データを格納してなる設定デ
ータ格納手段と、前記設定データ格納手段より出力され
た設定データに基づき入力された画像データに対して画
像処理を施す画像処理部とからなる画像処理ステージを
多段に設定してなるパイプライン方式の画像処理装置に
おいて、前記設定データ格納手段は、複数の異なる設定
データを格納してなる複数のレジスタによって多重構造
をなすと共に、画像データに同期して、必要とする画像
処理に応じた処理ステージ及びレジスタを表す選択信号
を出力する選択信号出力手段と、前記選択信号出力手段
から出力された選択信号に基づき前記複数のレジスタの
中から所定のステージ及びレジスタを選択する選択手段
とを設けたものとなっている。さらに、請求項4記載の
発明は、前記前記請求項3記載の選択信号出力手段を、
画像データとこの画像データに対応して処理ステージ及
び選択信号を格納する画像メモリ装置によって構成した
ものである。
Further, according to a third aspect of the present invention, there is provided a setting data storing means for storing setting data for setting image processing contents, and an input based on the setting data outputted from the setting data storing means. In a pipeline-type image processing apparatus in which an image processing stage including an image processing unit that performs image processing on image data is set in multiple stages, the setting data storage unit stores a plurality of different setting data. A selection signal output means for outputting a selection signal indicating a processing stage and a register corresponding to required image processing, in synchronization with image data, and output from the selection signal output means. And selecting means for selecting a predetermined stage and a register from the plurality of registers based on the selected selection signal. You have me. Further, according to a fourth aspect of the present invention, the selection signal output means according to the third aspect further comprises:
It is configured by an image memory device that stores image data, a processing stage and a selection signal corresponding to the image data.

【0008】本願請求項1又は2記載の発明において
は、画像処理内容を設定する異なる内容の設定データが
多重構造をなす複数のレジスタにそれぞれ格納されてお
り、レジスタを適宜選択することによって、画像処理部
にて行う処理内容を選択する。このレジスタの選択は、
画像データに同期して選択信号出力手段から発生される
信号に基づき、選択手段が必要とする画像処理を選択す
るため、連続的に入力される画像データを適正かつ迅速
に処理することができる。
According to the first or second aspect of the present invention, setting data having different contents for setting image processing contents are stored in a plurality of registers having a multiplex structure, respectively. Select the processing content to be performed by the processing unit. The choice of this register is
Since the image processing required by the selection means is selected based on a signal generated from the selection signal output means in synchronization with the image data, continuously input image data can be processed appropriately and quickly.

【0009】また、本願請求項3または4記載の発明に
あっては、パイプライン方式を用いた画像処理装置にお
いて、各ステージにおける画像処理内容を変更するに際
し、画像データに同期して出力される選択信号が処理内
容を変更すべき処理ステージ及びレジスタを選択して適
宜所定の画像処理を選択・実行させつつパイプライン処
理を行って行くため、従来のように、画像処理内容を変
更するにあたり、パイプライン内から画像データが存在
しない状態となるパイプラインフラッシュを待たずに画
像処理内容の変更を行うことができ、連続的に入力され
る画像処理を効率的に実行させることができる。このた
め、画像処理に関する設定データの変更が頻繁に行われ
るコンピュータグラフィックスにおいても高速な描画が
可能となる。
According to the third or fourth aspect of the present invention, in the image processing apparatus using the pipeline system, when changing the image processing content in each stage, the image processing is output in synchronization with the image data. In order to perform pipeline processing while selecting and executing a predetermined image processing as appropriate by selecting a processing stage and a register in which a selection signal should change processing content, as in the related art, in changing image processing content, The image processing content can be changed without waiting for a pipeline flush in which image data does not exist from within the pipeline, and image processing that is continuously input can be efficiently executed. Therefore, high-speed drawing can be performed even in computer graphics in which setting data related to image processing is frequently changed.

【0010】[0010]

【発明の実施の形態】以下、図1ないし図4を参照して
本願発明の実施の形態を説明する。図1は本願発明の実
施の形態に適用するパイプライン処理方式を用いた画像
処理装置の概略構成を示すブロック図であり、図2は図
1に示した画像処理装置の各ステージにおける設定デー
タ変更装置の構成を示すブロック図、図3は同実施の形
態に使用する画像メモリ装置のデータ構成を示す説明
図、図4は同実施の形態における動作を示すタイミング
チャートである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus using a pipeline processing method applied to an embodiment of the present invention, and FIG. 2 is a diagram showing setting data change in each stage of the image processing apparatus shown in FIG. FIG. 3 is a block diagram showing a configuration of the apparatus, FIG. 3 is an explanatory diagram showing a data configuration of an image memory device used in the embodiment, and FIG. 4 is a timing chart showing an operation in the embodiment.

【0011】図1に示すように、本願発明の実施の形態
に適用するパイプライン処理方式においても、上記従来
技術に示したパイプライン処理方式と同様に、複数の画
像処理ステージST1〜ST(N+M)を備え、画像用
データバス100によって転送されて来る画像データD
1をシステムクロックCLKによって順次各ステージS
T1〜ST(N+M)へと転送して行き、各々のステー
ジで所定の画像処理を施すものとなっており、この点は
上記従来技術にて示したものと同様であるが、各ステー
ジST1〜ST(N+M)の構成及び各ステージST1
〜ST(N+M)に入力されるデータ及び信号が図2に
示すように異なる。以下、図2に基づきこの実施の形態
を詳細に説明する。
As shown in FIG. 1, also in the pipeline processing system applied to the embodiment of the present invention, a plurality of image processing stages ST1 to ST (N + M) are used, similarly to the pipeline processing system shown in the above-mentioned prior art. ) And image data D transferred by the image data bus 100.
1 in each stage S in sequence by the system clock CLK.
The data is transferred to T1 to ST (N + M), and predetermined image processing is performed in each stage. This point is the same as that shown in the above-mentioned prior art, but each stage ST1 to ST (N + M) is processed. ST (N + M) configuration and each stage ST1
Data and signals input to .about.ST (N + M) are different as shown in FIG. Hereinafter, this embodiment will be described in detail with reference to FIG.

【0012】図2に示すステージは、上記パイプライン
におけるM段目のステージST(N+M)を示してお
り、図中、101は画像データバス100を介して入力
される画像データD1をラッチする画像データ用のラッ
チ回路、102はこのラッチ回路101から出力された
画像データに対し後述のレジスタからの設定データに応
じた画像処理を施す画像データ処理回路(画像処理部)
である。前記ラッチ回路101には、画像処理内容の変
更を要するステージの段数を指定するデータ(段数デー
タ)D2がデータバス103を介して入力されると共
に、複数のレジスタの切り替えのタイミングを指示する
レジスタ切替信号RCEとシステムクロックCLKとが
それぞれ信号線104、105を介して入力される。
The stage shown in FIG. 2 shows an M-th stage ST (N + M) in the pipeline. In the figure, reference numeral 101 denotes an image for latching image data D1 inputted via an image data bus 100. A data latch circuit 102 is an image data processing circuit (image processing unit) that performs image processing on image data output from the latch circuit 101 in accordance with setting data from a register described later.
It is. To the latch circuit 101, data (stage number data) D2 designating the number of stages for which the image processing content needs to be changed is input via the data bus 103, and register switching for instructing switching timing of a plurality of registers is performed. Signal RCE and system clock CLK are input via signal lines 104 and 105, respectively.

【0013】また、前記画像データラッチ回路101の
後段には2個の比較器106,107が設けられてい
る。このうち一方の比較器106には、データ“0”
と、前記ラッチ回路101から出力されたステージ段数
値(画像処理の変更を要するステージ段数値)を表すデ
ータD2とが入力されており、また他方の比較器107
には同じくラッチ回路101から出力されたデータD2
と、実際のステージの段数値(ここでは段数(M))が
入力されている。
Further, two comparators 106 and 107 are provided at the subsequent stage of the image data latch circuit 101. Data “0” is stored in one of the comparators 106.
And data D2 representing a stage value (a stage value requiring a change in image processing) outputted from the latch circuit 101, and the other comparator 107
Also includes data D2 output from the latch circuit 101.
And the stage value of the actual stage (here, the stage number (M)).

【0014】さらに、前記両比較器106,107に
は、各々の出力の論理和を出力するORゲート108が
接続されており、その出力信号はアンドゲート109の
一方の入力端子に入力されている。また、前記アンドゲ
ート109の他方の入力端子には前記ラッチ回路101
より出力されたレジスタ切替信号RCEが入力されてお
り、アンドゲート109は両信号の論理積を後段に設け
られたカウンタ115のCE端子(クロック許可入力端
子)へと出力するようになっている。そして、カウンタ
105には、前記システムクロックCLKが入力されて
おり、前記CE端子に所定の入力(ここでは“1”)が
入力されると、このシステムクロックCLKをカウント
し、そのカウント値に応じて出力端子(0),(1),
(2),(3)の中のいずれか一つをアクティブとする
ようになっている(選択信号S1,S2,S3,S4を
出力するようになっている)。なお、前記106,10
7,108,109及び115によって本願発明の請求
項に記載の選択手段10が構成されている。
Further, an OR gate 108 for outputting a logical sum of respective outputs is connected to the comparators 106 and 107, and an output signal thereof is input to one input terminal of an AND gate 109. . The other input terminal of the AND gate 109 is connected to the latch circuit 101.
The output of the register switching signal RCE is input, and the AND gate 109 outputs the logical product of the two signals to the CE terminal (clock enable input terminal) of the counter 115 provided at the subsequent stage. The system clock CLK is input to the counter 105. When a predetermined input (here, “1”) is input to the CE terminal, the counter 105 counts the system clock CLK, and responds to the count value. Output terminals (0), (1),
One of (2) and (3) is activated (outputs selection signals S1, S2, S3, S4). In addition, 106, 10
7, 108, 109 and 115 constitute the selecting means 10 according to the present invention.

【0015】一方、116,117,118,119は
前記画像処理のための機能や定数を表す値を格納してな
る4個のレジスタで、それぞれ異なる処理内容を表す値
が格納されており、これらレジスタにより4重構造をな
す格納手段20が構成されている。そして、前記各レジ
スタ116,117,118,119の各データ入力端
子DIには、ファームウェアによりレジスタにデータを
書き込むためのCPUデータバス110が接続されてお
り、各レジスタ116,117,118,119のデー
タ出力端子DOはレジスタバス120を介して前記画像
データ処理装置102に接続されている。また、レジス
タ116,117,118,119の書込み端子WRに
は、信号線111,112,113,114を介してレ
ジスタ書込み信号W1,W2,W3,W4が入力可能と
なっている。
On the other hand, reference numerals 116, 117, 118, and 119 denote four registers for storing values representing the functions and constants for the image processing. Values representing different processing contents are stored in these registers. The register constitutes a storage means 20 having a quadruple structure. A CPU data bus 110 for writing data to the registers by firmware is connected to each data input terminal DI of each of the registers 116, 117, 118, and 119, and is connected to each of the registers 116, 117, 118, and 119. The data output terminal DO is connected to the image data processing device 102 via the register bus 120. Further, register write signals W1, W2, W3, and W4 can be input to the write terminals WR of the registers 116, 117, 118, and 119 via signal lines 111, 112, 113, and 114, respectively.

【0016】また、図3にこの実施の形態に使用する画
像メモリ装置200のデータ構成を示す。図示のよう
に、この画像メモリ装置200には、パイプラインへ順
次送出される各画像データD1と、各画像信号に対応す
るレジスタ切替信号RCE及び段数データD2とがそれ
ぞれ互いに対応する領域に格納されると共に、読み出し
は対応する領域内のデータが同期して行われるようにな
っており、本願発明の選択信号出力手段を構成してい
る。
FIG. 3 shows a data structure of the image memory device 200 used in this embodiment. As shown in the figure, in the image memory device 200, each image data D1 sequentially sent to the pipeline, and a register switching signal RCE and stage number data D2 corresponding to each image signal are stored in areas corresponding to each other. At the same time, the reading is performed in synchronization with the data in the corresponding area, and constitutes the selection signal output means of the present invention.

【0017】なお、図3において、画像データ内に記載
されている(N−1)〜(N+4)は、パイプラインへ
読み出される順番を示している。また、ここに示される
レジスタ切替信号RCEは、“1”又は“0”で表され
る1ビットの信号であり、“1”は切替の実行を意味し
ている。さらに段数データD2において、M,Pは切替
を行うステージの段数を表し、0はすべてのステージに
おける切替を意味している。従って、ここに示す(N)
番目の画像データは、M段目のステージSTMでの処理
においてレジスタの切替えが行われ、(N+2)番目の
画像データはP段目のステージSTPでの処理において
レジスタの切替えが行われ、(N+1)番目の画像デー
タは全てのステージにおいて設定データの切替えが行わ
れることを表している。
In FIG. 3, (N-1) to (N + 4) described in the image data indicate the order of reading to the pipeline. The register switching signal RCE shown here is a 1-bit signal represented by "1" or "0", and "1" means that switching is performed. Further, in the stage number data D2, M and P represent the number of stages to be switched, and 0 means switching in all stages. Therefore, (N) shown here
The register switching of the (N + 2) th image data is performed in the processing of the P-th stage STP, and the register switching is performed in the processing of the M-th stage STM. The ()) th image data indicates that setting data is switched in all stages.

【0018】また、前記レジスタ116,117,11
8,119に書き込む設定データは、画像メモリ200
における格納内容に合わせてファームウェアが予めレジ
スタ書き込み信号W1,W2,W3,W4を使い設定す
る。例えば、画像データ(N−1)に対するレジスタの
値が(0−1)で、画像データ(N)に対するレジスタ
の値が(0)、画像データ(N+1)に対するレジスタ
の値が(0+1)であり、これらが画像データ処理回路
102で必要な値であるとすると、レジスタ116には
(0−1)、レジスタ117には(0)、レジスタ11
8には(0+1)を予め設定しておく。
The registers 116, 117, 11
8 and 119 are stored in the image memory 200.
Is set in advance by using the register write signals W1, W2, W3, and W4 in accordance with the contents stored in the register. For example, the register value for the image data (N-1) is (0-1), the register value for the image data (N) is (0), and the register value for the image data (N + 1) is (0 + 1). Assuming that these values are required by the image data processing circuit 102, (0-1) is stored in the register 116, (0) is stored in the register 117, and the register 11
In (8), (0 + 1) is set in advance.

【0019】以上の構成に基づき、次に作用を説明す
る。画像メモリ200から読み出された画像データD1
は、画像データバス100を経てパイプラインの第1段
目のステージST1に転送され、その後システムクロッ
クCLKのタイミングに応じて順次後段のステージへと
転送されて行く。いま、N番目の画像データがM段のス
テージSTMに転送されたとすると、画像データD1に
同期して、段数データD2及びレジスタ切替信号RCE
も共にM段のステージSTMに転送される。そして、ス
テージSTMに転送された画像データは、ラッチ回路1
01でラッチされた後画像データ処理回路102に入力
され、段数データD2は比較器106及び107にそれ
ぞれ入力される。
Next, the operation based on the above configuration will be described. Image data D1 read from image memory 200
Are transferred to the first stage ST1 of the pipeline via the image data bus 100, and then sequentially transferred to the subsequent stages according to the timing of the system clock CLK. Now, assuming that the N-th image data is transferred to the M-stage STM, the stage number data D2 and the register switching signal RCE are synchronized with the image data D1.
Are transferred to the M-stage STM. Then, the image data transferred to the stage STM is
After being latched at 01, it is input to the image data processing circuit 102, and the stage number data D2 is input to the comparators 106 and 107, respectively.

【0020】また、レジスタ切替信号RECはラッチ回
路101からアンドゲート109に入力される。ここで
比較器106は、入力された段数データD2によって表
される段数値と、現在のステージにおける段数値(M)
とを比較し、両値が一致していれば比較器107から出
力信号“1”が出力され、一致していない場合には
“0”が出力される。この場合、段数データD2は図3
に示すようにその値がMであるため、比較器107に入
力される2つのデータ値は一致し、比較器107からは
“1”が出力される。その結果、オアゲート108から
の出力は“1”となり、それがアンドゲート109の一
方の入力端子に入力される。
The register switching signal REC is input from the latch circuit 101 to the AND gate 109. Here, the comparator 106 calculates the stage value represented by the inputted stage number data D2 and the stage value (M) in the current stage.
The comparator 107 outputs an output signal “1” if the values match, and outputs “0” if they do not match. In this case, the stage number data D2 is as shown in FIG.
Since the value is M as shown in (2), the two data values input to the comparator 107 match, and the comparator 107 outputs “1”. As a result, the output from the OR gate 108 becomes “1”, which is input to one input terminal of the AND gate 109.

【0021】また、このアンドゲート109の他方の入
力端子には、レジスタ切替信号RCEが入力されてい
る。ここでは、図4に示すように、RCE信号は“1”
となっているため、アンドゲート109の出力信号は1
となる。このアンドゲート109の出力信号“1”はカ
ウンタ115のクロック入力許可端子CEに入力される
ため、カウンタ115にはシステムクロックCLKが入
力される。このためカウンタ115は1カウントカウン
トアップし、出力端子(0),(1),(2),(3)
のいずれか1つが選択的にアクティブになる。
The other input terminal of the AND gate 109 receives a register switching signal RCE. Here, as shown in FIG. 4, the RCE signal is "1".
Therefore, the output signal of the AND gate 109 is 1
Becomes Since the output signal “1” of the AND gate 109 is input to the clock input permission terminal CE of the counter 115, the counter 115 receives the system clock CLK. Therefore, the counter 115 counts up by one, and the output terminals (0), (1), (2), (3)
Is selectively activated.

【0022】ここで、カウンタ115の出力端子(1)
がアクティブになったとすると、この出力端子に接続さ
れているレジスタ117のデータ出力許可入力端子OE
がアクティブになり、レジスタ117に設定されている
データがレジスタバスD3を経て画像データ処理回路1
02に転送される。画像処理データ回路102では、こ
のレジスタ117の設定データに従って、入力された画
像データに対し所定の画像処理を施す。
Here, the output terminal (1) of the counter 115
Becomes active, the data output enable input terminal OE of the register 117 connected to this output terminal.
Becomes active, and the data set in the register 117 is transferred to the image data processing circuit 1 via the register bus D3.
02. The image processing data circuit 102 performs predetermined image processing on the input image data according to the setting data of the register 117.

【0023】この後、次のシステムクロックが入力され
た時点で、処理された画像データは次段のステーション
へと送られる一方、このステーションST1の画像デー
タ用ラッチ回路101に(N+1)番目の画像データD
1が転送される。またこの画像データD1と共にレジス
タ切替信号RCE、及び段数データD2もラッチ回路1
01に入力される。
Thereafter, when the next system clock is input, the processed image data is sent to the next station, and the (N + 1) -th image data is stored in the image data latch circuit 101 of this station ST1. Data D
1 is transferred. In addition to the image data D1, the register switching signal RCE and the stage number data D2 are also stored in the latch circuit 1.
01 is input.

【0024】この段数データD2は図3に示すように
“0”となっており、この“0”の値はレジスタ切替信
号RCEの値が“1”であれば、全てのステージに対し
てレジスタの切り替えを行うことを意味している。すな
わち、比較器106の両入力端子には、前記の値“0”
と予め設定した値0とが共に入力されることとなり、同
比較器106からは“1”が出力され、オアゲート10
8からは“1”が出力される。またレジスタ切替信号R
CEは図3に示すように1であるため、アンドゲート1
09の両入力端子には共に“1”が入力され、出力端子
からは“1”が出力されてカウンタ115の入力端子C
Eがアクティブになる。このため、カウンタ115はシ
ステムクロックCLKによって1カウントカウントアッ
プし、カウンタ115のアクティブとなる出力端子が切
り替わり、設定データの読み出されるレジスタが切り替
わる。ここでは、前回の画像処理においてカウンタ11
5の出力端子(1)がアクティブとなっているため、今
回のカウントアップによってカウンタ115は出力端子
(2)がアクティブになる。これにより、レジスタ11
8の設定データ内容がレジスタバスD3を介して画像デ
ータ処理回路102に送出され、その設定データ内容に
従って画像処理を施す。
The stage number data D2 is "0" as shown in FIG. 3, and the value of "0" is the register value for all stages if the value of the register switching signal RCE is "1". Switching is performed. That is, the value “0” is input to both input terminals of the comparator 106.
And a preset value 0 are input together, and “1” is output from the comparator 106 and the OR gate 10
8 outputs “1”. The register switching signal R
Since CE is 1 as shown in FIG.
09 is input to both input terminals, and “1” is output from the output terminal.
E becomes active. For this reason, the counter 115 counts up by one according to the system clock CLK, the active output terminal of the counter 115 is switched, and the register from which the setting data is read is switched. Here, the counter 11 is used in the previous image processing.
Since the output terminal (1) of the counter 115 is active, the output terminal (2) of the counter 115 becomes active by the current count-up. Thereby, the register 11
8 are sent to the image data processing circuit 102 via the register bus D3, and image processing is performed according to the set data contents.

【0025】この後、システムクロックCLKに従って
(N+2)番目の画像データD1と共に段数データD2
及びレジスタ切替信号RCEが入力された場合、比較器
106には予め設定されている値“0”と段数データ
“P”が入力されるため、その出力は“0”となり、ま
た、比較器107においても段数データ“P”と予め設
定されているステージ段数“M”とが比較されるため、
その出力は“0”となる。従って、オアゲート108か
らは“0”が出力され、アンドゲート109には、この
オアゲート108からの出力信号“0”とレジスタ切替
信号“1”とが入力されるため、その出力は“0”とな
る。これにより、カウンタ115の入力端子CEは非ア
クティブとなり、システムクロックCLKに対するカウ
ント動作は行われず、それまでのカウント値が維持され
る。すなわち、カウンタ115の出力端子(2)が引き
続きアクティブに保たれるため、画像データ処理回路1
02に入力される設定データは変更されず、前回と同一
の画像処理が施される。
Thereafter, according to the system clock CLK, the stage number data D2 together with the (N + 2) th image data D1
When the register switching signal RCE is input, the preset value “0” and the stage number data “P” are input to the comparator 106, so that the output is “0”. Also in the above, since the stage number data “P” is compared with the preset stage number “M”,
The output is "0". Therefore, "0" is output from the OR gate 108, and the output signal "0" from the OR gate 108 and the register switching signal "1" are input to the AND gate 109, so that the output is "0". Become. As a result, the input terminal CE of the counter 115 becomes inactive, the count operation for the system clock CLK is not performed, and the count value up to that time is maintained. That is, since the output terminal (2) of the counter 115 is kept active, the image data processing circuit 1
The setting data input to 02 is not changed, and the same image processing as before is performed.

【0026】[0026]

【発明の効果】以上説明したとおり、本願発明に係る画
像処理装置における設定データ変更装置によれば、画像
処理の内容を設定する設定データの選択を、画像データ
に同期して出力される選択信号によって行うようにした
ため、設定データの変更が頻繁に行われる画像処理にお
いても画像データを順次連続的に処理することができ、
処理時間の短縮化を図ることが可能となる。特に、パイ
プライン方式を用いた画像処理装置において、処理内容
の変更を要する処理ステージ及びレジスタの選択を画像
データに同期して出力される選択信号によって行うよう
にすれば、入力される画像データに対し、必要とされる
画像処理を随時実行することができる。従って、設定デ
ータの変更時において従来の装置では不可欠とされてい
たパイプラインフラッシュのための待ち時間を削減する
ことができ、処理時間の大幅な短縮が可能となるため、
頻繁に設定データが変更されるコンピュータグラフィク
スにおいても高速描画を実現することができる。
As described above, according to the setting data changing apparatus in the image processing apparatus according to the present invention, the selection of the setting data for setting the contents of the image processing is performed by the selection signal output in synchronization with the image data. In the image processing in which the setting data is frequently changed, the image data can be sequentially and continuously processed.
Processing time can be reduced. In particular, in an image processing apparatus using a pipeline system, if a selection of a processing stage and a register that require a change in processing content is performed by a selection signal output in synchronization with image data, the input image data On the other hand, required image processing can be executed at any time. Therefore, when setting data is changed, the waiting time for pipeline flush, which has been indispensable in the conventional apparatus, can be reduced, and the processing time can be significantly reduced.
High-speed drawing can be realized even in computer graphics in which setting data is frequently changed.

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

【図1】本願発明の実施の形態に適用するパイプライン
処理方式を用いた画像処理装置の概略構成を示すブロッ
ク図である。
FIG. 1 is a block diagram illustrating a schematic configuration of an image processing apparatus using a pipeline processing method applied to an embodiment of the present invention.

【図2】図1に示した画像処理装置の各ステージにおけ
る設定データ変更装置の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a setting data changing device in each stage of the image processing device shown in FIG.

【図3】同上の実施形態に使用する画像メモリ装置のデ
ータ構成を示す説明図である。
FIG. 3 is an explanatory diagram showing a data configuration of an image memory device used in the embodiment.

【図4】同上の実施形態における動作を示すタイミング
チャートである。
FIG. 4 is a timing chart showing an operation in the embodiment.

【図5】従来のパイプライン方式を用いた画像処理装置
の概略構成を示す図である。
FIG. 5 is a diagram illustrating a schematic configuration of an image processing apparatus using a conventional pipeline method.

【図6】従来のパイプライン方式を用いた画像処理装置
における各ステージの基本構成を示すブロック図であ
る。
FIG. 6 is a block diagram showing a basic configuration of each stage in an image processing apparatus using a conventional pipeline system.

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

102 画像処理回路(画像処理部) 10 選択手段 20 格納手段 116 ,117,118,119 レジスタ 200 画像メモリ(選択信号出力手段) ST1〜ST(N+M) 処理ステージ 102 Image processing circuit (image processing unit) 10 Selection means 20 Storage means 116, 117, 118, 119 Register 200 Image memory (selection signal output means) ST1-ST (N + M) Processing stage

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像処理内容を設定するための設定デー
タを格納してなる設定データ格納手段と、 前記設定データ格納手段より出力された設定データに基
づき入力された画像データに対して画像処理を施す画像
処理部と、を備えた画像処理装置において、 前記設定データ格納手段は、複数の異なる設定データを
格納した複数のレジスタによって多重構造をなすよう構
成すると共に、 画像データに同期して、必要とする画像処理に応じた設
定データを格納してなるレジスタを選択する選択信号を
出力する選択信号出力手段と、 前記選択信号出力手段から出力された選択信号に基づき
前記複数のレジスタを選択する選択手段とを設けたこと
を特徴とする画像処理装置における設定データ変更装
置。
A setting data storage unit configured to store setting data for setting image processing contents; and performing image processing on image data input based on the setting data output from the setting data storage unit. The setting data storage means is configured to form a multiplexed structure by a plurality of registers storing a plurality of different setting data, and is synchronized with the image data. Selection signal output means for outputting a selection signal for selecting a register storing setting data corresponding to image processing to be performed, and selection for selecting the plurality of registers based on a selection signal output from the selection signal output means. And a setting data changing device in the image processing device.
【請求項2】 選択信号出力手段は、画像データとこの
画像データに対応して選択信号を格納する画像メモリ装
置であることを特徴とする請求項1記載の画像処理装置
における設定データ変更装置。
2. The setting data changing device according to claim 1, wherein said selection signal output means is an image memory device for storing image data and a selection signal corresponding to the image data.
【請求項3】 画像処理内容を設定するための設定デー
タを格納してなる設定データ格納手段と、 前記設定データ格納手段より出力された設定データに基
づき入力された画像データに対して画像処理を施す画像
処理部とからなるステージを多段に設定してなるパイプ
ライン方式の画像処理装置において、 前記設定データ格納手段は、複数の異なる設定データを
格納してなる複数のレジスタによって多重構造をなすよ
う構成すると共に、 画像データに同期して、必要とする画像処理に応じたス
テージ及びレジスタを表す選択信号を出力する選択信号
出力手段と、 前記選択信号出力手段から出力された選択信号に基づき
前記複数のレジスタの中から所定のステージ及びレジス
タを選択する選択手段とを設けたことを特徴とする画像
処理装置における設定データ変更装置。
3. A setting data storing means for storing setting data for setting image processing contents, and performing image processing on image data inputted based on the setting data outputted from the setting data storing means. In a pipeline-type image processing apparatus in which stages including an image processing unit to be applied are set in multiple stages, the setting data storage unit may have a multiplex structure by a plurality of registers storing a plurality of different setting data. A selection signal output unit configured to output a selection signal indicating a stage and a register corresponding to required image processing in synchronization with image data, and a plurality of the selection signals output from the selection signal output unit. And a selecting means for selecting a predetermined stage and a register from the registers. Setting data changing device that.
【請求項4】 選択信号出力手段は、画像データとこの
画像データに対応してステージ番号データ及び選択信号
を格納する画像メモリ装置であることを特徴とする請求
項2記載の画像処理装置における設定データ変更装置。
4. The setting in the image processing apparatus according to claim 2, wherein the selection signal output means is an image memory device for storing image data, stage number data and a selection signal corresponding to the image data. Data change device.
JP13382796A 1996-05-28 1996-05-28 Setting data changing device in image processing device Expired - Fee Related JP3357243B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13382796A JP3357243B2 (en) 1996-05-28 1996-05-28 Setting data changing device in image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13382796A JP3357243B2 (en) 1996-05-28 1996-05-28 Setting data changing device in image processing device

Publications (2)

Publication Number Publication Date
JPH09319863A JPH09319863A (en) 1997-12-12
JP3357243B2 true JP3357243B2 (en) 2002-12-16

Family

ID=15113976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13382796A Expired - Fee Related JP3357243B2 (en) 1996-05-28 1996-05-28 Setting data changing device in image processing device

Country Status (1)

Country Link
JP (1) JP3357243B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3862605B2 (en) 2001-07-19 2006-12-27 キヤノン株式会社 Image processing device
JP4844258B2 (en) * 2006-06-28 2011-12-28 富士ゼロックス株式会社 Image reading device
JP6617493B2 (en) 2015-09-18 2019-12-11 富士ゼロックス株式会社 Data processing device

Also Published As

Publication number Publication date
JPH09319863A (en) 1997-12-12

Similar Documents

Publication Publication Date Title
JP3357243B2 (en) Setting data changing device in image processing device
JPS6211736B2 (en)
JPH05134007A (en) Semiconductor integrated logic circuit
JP4497445B2 (en) Method, system, and computer program product for collection and transmission of overlapping graphics data using a single processor
JP2973941B2 (en) Asynchronous FIFO buffer device
US5305439A (en) Method and apparatus for time-shared processing of different data word sequences
JP2527814B2 (en) Instruction processing system
JP2579696B2 (en) Buffer control device
JPS6343784B2 (en)
JP2625396B2 (en) Receive data processing device
JP2588042B2 (en) Data processing circuit
JPH06274405A (en) Memory write control circuit
JPH1078913A (en) Write cache device and write cache circuit
JPS6136854A (en) Memory switching device
JPS63118965A (en) Dma word transfer system
JPS63196984A (en) Image data transfer circuit
JPS5932813B2 (en) Data transfer method
JP2000076841A (en) Fifo circuit and multiprocessor system
JPH0376557B2 (en)
JP2002150763A (en) Memory device and its control method
JPH0792902A (en) Programmable controller
JPS62221031A (en) Microprogram control system
JPH0342721A (en) Information processor
JPS6116086A (en) Memory control system
JPH08331105A (en) System and method for transmission line switching without hit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071004

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081004

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081004

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091004

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091004

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101004

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111004

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121004

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131004

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees