JP2000090237A - Plotting processor - Google Patents

Plotting processor

Info

Publication number
JP2000090237A
JP2000090237A JP10256150A JP25615098A JP2000090237A JP 2000090237 A JP2000090237 A JP 2000090237A JP 10256150 A JP10256150 A JP 10256150A JP 25615098 A JP25615098 A JP 25615098A JP 2000090237 A JP2000090237 A JP 2000090237A
Authority
JP
Japan
Prior art keywords
processing
real
data
time path
image data
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
JP10256150A
Other languages
Japanese (ja)
Inventor
Hiroshi Ishikawa
宏 石川
Yuji Onozawa
雄二 小野澤
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP10256150A priority Critical patent/JP2000090237A/en
Publication of JP2000090237A publication Critical patent/JP2000090237A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To accelerate processing in small circuit scale by performing optimum reloading control to a logic to be operated by a reconfigurable hardware composing a non-real time path and a real time path. SOLUTION: Based on processing contents and the size of image data to be processed, a path determining means 11 determines whether processing is to be performed by a real time path means 21 or non-real time path means 22. Image data inputted from an arithmetic unit and stored in an image data buffer belonging to an arithmetic unit I/F 23 are sent to the non-real time path means 22 and returned into the image data buffer after processing determined by the path determining means 11 is executed. The returned data are further sent to the real time path processing means 21, processing determined by the path determining means 11 is executed and data, to which the prescribed processing is completed, are sent through an output device I/F 24 to an output device 3 and printed out or displayed out.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はコンピューター等で
生成され、入力された画像データの処理を実行し、ディ
スプレイへの表示、あるいはプリンタでの出力可能なデ
ータに変換する描画処理を実行する描画処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing process for executing processing of image data generated and input by a computer or the like, and executing drawing processing for conversion to data that can be displayed on a display or output by a printer. Related to the device.

【0002】[0002]

【従来の技術】従来、コンピューターで生成された画像
を処理し、ディスプレイ画面に表示したりプリンターに
出力する場合、入力データ、例えばPDL(ページ記述
言語)等の入力データをプリンタ等で出力可能なデータ
に変換する描画処理が実行される。昨今の高速プリンタ
等の出力速度に対応した描画処理速度を達成するため、
処理速度の向上が課題となっている。特に、カラー画像
ではその描画処理に多くの時間がかかるため処理の速度
を加速する装置が付加されるのが一般的となっている。
2. Description of the Related Art Conventionally, when an image generated by a computer is processed and displayed on a display screen or output to a printer, input data such as PDL (page description language) can be output by a printer or the like. A drawing process for converting to data is executed. In order to achieve a drawing processing speed corresponding to the output speed of recent high-speed printers,
Improving the processing speed has been an issue. In particular, in the case of a color image, it takes a lot of time to draw the image, so that a device for accelerating the processing speed is generally added.

【0003】たとえばカラー画像の描画処理の態様とし
て圧縮伸張処理、回転や拡大処理、色補正などがある。
これらの処理速度向上のため付加されるハードウェアは
一般的にアクセラレータと呼ばれる。このハードウェア
アクセラレータを使うとコンピュータの演算処理装置を
使ってソフトウェア処理するより高速な処理が可能とな
る。しかし、ハードウェアアクセラレータの欠点はアク
セラレートしたい機能をすべてハードウェアで用意して
おく必要があることである。本来の描画処理装置に必要
な処理機能、たとえばプリンタではPDLを解釈し、画
像を展開し、プリンタを動作させ正常終了を監視する装
置機能を持ったハードウェアとは別に、上記のアクセラ
レータハードウェアが必要になる。そのためサポートす
る機能の数にも依存するが基本的に処理装置全体の回路
規模が大きくなってしまうという欠点があった。
For example, there are compression / expansion processing, rotation / enlargement processing, color correction and the like as modes of drawing processing of a color image.
The hardware added to improve the processing speed is generally called an accelerator. The use of the hardware accelerator enables higher-speed processing than software processing using an arithmetic processing unit of a computer. However, the disadvantage of hardware accelerators is that all the functions you want to accelerate need to be prepared in hardware. In addition to the processing functions required for the original drawing processing device, for example, a printer interprets PDL, develops an image, operates the printer, and monitors the normal termination. Will be needed. Therefore, there is a disadvantage that the circuit scale of the entire processing apparatus basically increases, though it depends on the number of functions to be supported.

【0004】上述の回路規模増大という課題を解決する
一つの手法として、特開平06−131155号公報に
記載の技術がある。この公報に記載の構成はプログラマ
ブルロジックをアドレスジェネレータブロックと演算ブ
ロックに使用して様々な画像処理の変更データをファイ
ルとして記憶することで共通のプログラマブルロジック
を変更して様々な画像処理に対応する装置である。
As one technique for solving the above-mentioned problem of increasing the circuit scale, there is a technique described in JP-A-06-131155. The configuration described in this publication uses a programmable logic for an address generator block and an operation block and stores various image processing change data as a file, thereby changing a common programmable logic and supporting various image processing. It is.

【0005】また特開平06−282432公報では、
各種処理に応じてそれらの演算回路の組み合わせに対す
るデータの流れを制御することで各種の処理をより少な
い演算の組み合わせで行うことで演算回路を小さくする
装置が提案されている。
In Japanese Patent Application Laid-Open No. 06-282432,
There has been proposed an apparatus that controls the flow of data for a combination of these arithmetic circuits in accordance with various types of processing, thereby performing various types of processing with a smaller number of arithmetic combinations, thereby reducing the size of the arithmetic circuit.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
たいずれの従来の方式においても画像処理を行うときの
制約が大きく、処理装置の有する回路規模を十分生かせ
るものではなかった。例えば、描画処理装置中の演算装
置に所定の画像処理に必要なマクロ処理群が登録し、外
部から入力される命令コードを一旦デコードしてアドレ
スを生成し演算を選択して処理する方法は、処理が単純
な処理の集まりである場合は有効であるが、複雑でかつ
種類が多い処理を実現するには効率が悪い方法である。
However, in any of the above-mentioned conventional systems, there are great restrictions when performing image processing, and the circuit scale of the processing apparatus cannot be fully utilized. For example, a method in which a macro processing group required for predetermined image processing is registered in an arithmetic unit in a drawing processing apparatus, an instruction code input from the outside is temporarily decoded to generate an address, and an operation is selected and processed is as follows. This method is effective when the processing is a group of simple processing, but is inefficient in implementing complicated and many types of processing.

【0007】またALUを複数設置して並列処理するこ
とは一つの改善とはなるが、画像処理の場合逐次処理し
て行くパイプライン化方式が向いており、並列処理は汎
用プログラム処理よりは高速化できるがハードウェアア
クセラレータとしては規模の割に効果が小さいという結
果を招くこととなる。
[0007] Further, installing a plurality of ALUs and performing parallel processing is one improvement. However, in the case of image processing, a pipelined system in which sequential processing is performed is suitable, and parallel processing is faster than general-purpose program processing. However, as a hardware accelerator, the effect is small for the scale.

【0008】いずれの場合も、これら従来技術における
構成は、前述のように本来の描画処理装置に必要な処理
機能とは別に画像処理の一部を実行させるための特別の
付加ハードウェアを持つものであり、描画処理装置全体
としては新たなハードウェアを追加するもので、全体の
コンパクト化を達成するものではない。またプリント処
理に見られるように処理の順番は一定でありデータの流
れを変更して演算全体をコンパクトにしようとするとラ
スター画像では大きなメモリが必要となりコンパクトに
なった演算部分より周辺部分の規模が大きくなり全体の
削減にはつながらない。
In any case, these prior art configurations have special additional hardware for executing a part of the image processing separately from the processing functions necessary for the original drawing processing apparatus as described above. However, new hardware is added as the whole drawing processing apparatus, and it does not achieve the overall compactness. Also, as can be seen in the print processing, the order of processing is fixed, and if the entire operation is to be compacted by changing the data flow, a large memory is required for raster images, and the scale of the peripheral part is smaller than the compact operation part. It grows and does not lead to overall reduction.

【0009】本発明の目的は、上記のような従来技術の
問題を解決し、描画処理装置において本来必須の処理機
能と、例外的に重い処理を加速させるアクセラレータ機
能とを一体化してハードウェアを構成することにより、
小さな回路規模の一体化ハードウェアによって処理の高
速化を実現することにある。一体化ハードウェアによっ
て実行される処理内容は特にソフトウェアでは時間のか
かるラスター処理である。本発明によって提供される描
画処理装置は、一体化したハードウェアは記憶装置も含
めて小さい回路規模を有するものであり、描画処理装置
全体としての回路規模をコンパクトにし、かつ十分な高
速処理を実現するものである。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art, and integrate hardware that is essentially essential in a drawing processing apparatus with an accelerator function that accelerates exceptionally heavy processing. By configuring
An object of the present invention is to realize high-speed processing using integrated hardware having a small circuit scale. The processing performed by the integrated hardware is a raster processing that is time-consuming, especially in software. The rendering processing apparatus provided by the present invention has a small circuit scale of integrated hardware including a storage device, realizes a compact circuit processing scale of the entire rendering processing apparatus, and realizes sufficiently high-speed processing. Is what you do.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、本発明の描画処理装置は、内部素子の接続関係で処
理機能が決定される再構成可能なハードウェアによって
構成され、ラスター画像データを含む入力画像データを
処理し出力デバイスをドライブする描画処理装置におい
て、再構成可能なハードウェアを構成要素とし、出力デ
バイスの画像処理速度に同期して処理するリアルタイム
パス手段と、再構成可能なハードウェアを構成要素と
し、同期速度より遅い速度で処理するノンリアルタイム
パス手段と、入力画像データの画像処理サイズと処理内
容に基づいて、該画像データの処理をリアルタイムパス
手段で実行するか、ノンリアルタイムパス手段で実行す
るかを決定するパス決定手段と、再構成可能なハードウ
ェアの処理機能を変更するための書き換え制御手段とを
有することを特徴とする。
In order to achieve the above-mentioned object, a drawing processing apparatus according to the present invention is constituted by reconfigurable hardware whose processing function is determined by the connection relation of internal elements, and converts raster image data. A rendering processing apparatus that processes input image data including the input image data and drives an output device; a real-time path unit that performs processing in synchronization with an image processing speed of the output device; Non-real-time path means for processing at a speed lower than the synchronization speed, and processing of the image data by the real-time path means or non-real-time processing based on the image processing size and processing contents of the input image data. Changed path determination means to determine whether to execute by path means and processing function of reconfigurable hardware And having a because of the rewrite control means.

【0011】さらに、本発明の描画処理装置において、
再構成可能なハードウェアは、処理ページ内の画像デー
タを分割したバンド単位で処理を行うことを特徴とす
る。
Furthermore, in the drawing processing apparatus of the present invention,
The reconfigurable hardware is characterized in that processing is performed in units of bands obtained by dividing image data in a processing page.

【0012】さらに、本発明の描画処理装置において、
再構成可能なハードウェアはFPGA(フィールドプロ
グラマブルゲートアレイ)を構成要素とすることを特徴
とする。
Furthermore, in the drawing processing apparatus of the present invention,
The reconfigurable hardware includes an FPGA (Field Programmable Gate Array) as a component.

【0013】さらに、本発明の描画処理装置において、
描画処理装置に内蔵する記憶装置の容量を検知する記憶
容量検知手段と、記憶容量検知手段の検知に基づき、必
要に応じてラスター画像データを圧縮する圧縮手段と、
圧縮手段で用いたアルゴリズムに対応する伸長処理を実
行する伸張手段とを備え、少なくとも圧縮手段と伸張手
段のいずれかの手段の一部機能を再構成可能なハードウ
ェアで構成したことを特徴とする。
Further, in the drawing processing apparatus according to the present invention,
Storage capacity detection means for detecting the capacity of a storage device incorporated in the drawing processing apparatus; compression means for compressing raster image data as necessary based on the detection of the storage capacity detection means;
Decompression means for performing decompression processing corresponding to the algorithm used by the compression means, wherein at least some of the functions of the compression means and the decompression means are constituted by reconfigurable hardware. .

【0014】さらに、本発明の描画処理装置において、
ノンリアルタイムパス手段は、記憶装置からラスター画
像データをバンド単位で読み出し、該読み出したバンド
単位のラスター画像データの処理をノンリアルタイムパ
ス手段を構成する再構成可能なハードウェアにおいて実
行し、処理データを記憶装置に再格納する構成を有する
ことを特徴とする。
Further, in the drawing processing apparatus of the present invention,
The non-real-time path means reads the raster image data from the storage device in band units, executes the processing of the read raster image data in band units in reconfigurable hardware constituting the non-real-time path means, and processes the processed data. It is characterized by having a configuration for re-storing in a storage device.

【0015】さらに、本発明の描画処理装置において、
リアルタイムパス手段は、記憶装置からラスター画像デ
ータをバンド単位で読み出し、該読み出したバンド単位
のラスター画像データの処理をリアルタイムパス手段を
構成する再構成可能なハードウェアにおいて実行し、該
処理データを出力デバイスに順次出力する構成を有する
ことを特徴とする。
Further, in the drawing processing apparatus according to the present invention,
The real-time path means reads the raster image data from the storage device in band units, executes the processing of the read raster image data in band units in reconfigurable hardware constituting the real-time path means, and outputs the processed data. It is characterized by having a configuration for sequentially outputting to a device.

【0016】さらに、本発明の描画処理装置において、
書き換え制御手段は、入力画像データの少なくとも1ペ
ージ処理に必要となるノンリアルタイムパス手段とリア
ルタイムパス手段の再構成可能なハードウェアの内部素
子接続の態様を決める処理ロジックデータと、1ページ
処理に必要なノンリアルタイムパス手段とリアルタイム
パス手段における処理手順データと、必要に応じて処理
ロジックデータに付随する処理パラメータと、を含む制
御データに基づいてノンリアルタイムパス手段またはリ
アルタイムパス手段を構成する再構成可能なハードウェ
アの再構成を実行し、再構成可能なハードウェアは、制
御データに基づいて再構成が行われ、入力画像データの
処理を実行することを特徴とする。
Further, in the drawing processing apparatus according to the present invention,
The rewriting control means includes processing logic data for determining a non-real-time path means required for at least one-page processing of input image data and an internal element connection mode of reconfigurable hardware of the real-time path means, and one-page processing. Reconfigurable to configure the non-real-time path means or the real-time path means based on control data including non-real-time path means, processing procedure data in the real-time path means, and processing parameters attached to processing logic data as necessary. The reconfigurable hardware executes the reconfiguration of the hardware, performs the reconfiguration based on the control data, and executes the processing of the input image data.

【0017】さらに、本発明の描画処理装置において、
描画処理装置は、入力画像データについて1ページ内の
画像をノンリアルタイムパス手段において処理を実行
し、該処理データをメモリに蓄積し、該メモリに蓄積さ
れたノンリアルタイムパス手段における処理データをリ
アルタイムパスで処理する構成を有することを特徴とす
る。
Further, in the drawing processing apparatus of the present invention,
The drawing processing apparatus executes processing of an image in one page with respect to input image data in a non-real-time path unit, stores the processed data in a memory, and transfers the processed data in the non-real-time path unit stored in the memory to a real-time path. Characterized in that it has a configuration for processing in.

【0018】さらに、本発明の描画処理装置において、
処理ロジックデータは、ノンリアルタイムパス手段また
はリアルタイムパス手段における処理単位の領域内に複
数のラスターデータを有する場合、該領域内に含まれる
個々のラスターデータ毎の処理ロジックデータを連結し
た一連のテーブルによって構成されるものであることを
特徴とする。
Further, in the drawing processing apparatus of the present invention,
When the processing logic data has a plurality of raster data in the area of the processing unit in the non-real-time path means or the real-time path means, the processing logic data is formed by a series of tables in which the processing logic data of each individual raster data included in the area are linked. It is characterized by being constituted.

【0019】さらに、本発明の描画処理装置において、
書き換え制御手段は、入力画像データに対する一連の画
像処理を複数の処理モジュールに分解した処理モジュー
ル単位で書き換え制御データを構成するとともに、書き
換え制御手段は、再構成可能なハードウェアを構成する
FPGAをゲートサイズに換算した値に相当する処理モ
ジュールの組み合わせに基づいてFPGAの書き換えを
制御し、書き換え制御されたFPGAは、書き換えに基
づく処理モジュールの組み合わせを一括して実行する構
成であることを特徴とする。
Further, in the drawing processing apparatus of the present invention,
The rewriting control means configures rewriting control data in units of processing modules obtained by decomposing a series of image processing of input image data into a plurality of processing modules, and the rewriting control means gates an FPGA that constitutes reconfigurable hardware. The rewriting of the FPGA is controlled based on the combination of the processing modules corresponding to the value converted into the size, and the rewriting-controlled FPGA is configured to collectively execute the combination of the processing modules based on the rewriting. .

【0020】さらに、本発明の描画処理装置において、
再構成可能なハードウェアは描画処理装置内の記憶装置
に記憶された画像データを逐次読み出して処理を実行す
る構成を有し、記憶装置と再構成可能なハードウェア間
には2以上のバンドバッファを有し、記憶装置から再構
成可能なハードウェアへのデータ転送は該2以上のバン
ドバッファを介して実行する構成であることを特徴とす
る。
Further, in the drawing processing apparatus according to the present invention,
The reconfigurable hardware has a configuration in which image data stored in a storage device in the drawing processing apparatus is sequentially read and executed, and two or more band buffers are provided between the storage device and the reconfigurable hardware. And the data transfer from the storage device to the reconfigurable hardware is executed via the two or more band buffers.

【0021】[0021]

【発明の実施の形態】本発明の描画処理装置を適用した
システムは、例えばPDL等の描画データを生成する演
算装置と、描画データを処理する一体化描画処理装置と
処理されたデータの表示あるいはプリントを実行する出
力デバイスからなり、さらに詳細には、描画処理装置等
における描画処理のパスを決定するパス決定手段、画像
転送手段、演算装置I/F、記憶装置、リアルタイムパ
ス画像処理手段、ノンリアルタイムパス画像処理手段、
出力デバイスI/F等から構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A system to which a drawing processing apparatus according to the present invention is applied includes, for example, an arithmetic unit for generating drawing data such as PDL, an integrated drawing processing apparatus for processing drawing data, and display of processed data. An output device for executing printing; more specifically, a path determination unit for determining a path of a drawing process in a drawing processing device or the like, an image transfer unit, an arithmetic unit I / F, a storage device, a real-time path image processing unit, Real-time path image processing means,
It is composed of an output device I / F and the like.

【0022】ノンリアルタイムパス画像処理手段は、出
力デバイスが要求する速度とに同期することなく処理を
実行する手段であり、再構成可能なハードウェアである
FPGAと再構成可能なハードウェアの構成をの変更、
すなわち書き換えを実行する書き換え制御部、ワークメ
モリとリターン切り替え手段を有する。リアルタイムパ
ス画像処理手段は処理した結果を出力デバイスが要求す
る速度で出力するため、処理速度が出力手段の出力速度
に同期した処理を行う。構成は、ノンリアルタイムパス
画像処理手段からリターン切り替え手段を省いた機能か
らなる。
The non-real-time path image processing means executes processing without synchronizing with the speed required by the output device. The non-real-time path image processing means includes a reconfigurable hardware FPGA and a reconfigurable hardware configuration. Changes,
That is, it has a rewriting control unit for executing rewriting, a work memory, and return switching means. The real-time path image processing means outputs the processed result at the speed requested by the output device, and therefore performs processing in which the processing speed is synchronized with the output speed of the output means. The configuration has a function in which the return switching means is omitted from the non-real-time path image processing means.

【0023】演算装置から送られるデータには処理対象
となる画像データ、ノンリアルタイムパスで処理するの
かリアルタイムパスで処理するのかをあらかじめ定めた
処理パス順序情報、FPGAを逐次書き換えるための処
理ロジックデータと、必要に応じて処理に必要なパラメ
ータから構成される。書き換え制御には画像データと同
期して動作するための信号を取り込む機能を有する。以
下、本発明の描画処理装置の実施例について図面に基づ
き詳細に説明する。
The data sent from the arithmetic unit includes image data to be processed, processing path order information which determines in advance whether processing is performed in a non-real-time path or in a real-time path, processing logic data for sequentially rewriting an FPGA, and , As necessary. The rewriting control has a function of receiving a signal for operating in synchronization with image data. Hereinafter, embodiments of a drawing processing apparatus according to the present invention will be described in detail with reference to the drawings.

【0024】[0024]

【実施例】本発明の描画処理装置を使ったシステムの一
構成例を図1に示す。図1において、演算装置1は、例
えばコンピュータなどの演算装置1であり、PostS
criptなどのPDLで文書やGDIなど、文字、図
形、ラスタデータ等からなる表示向けフォーマットを作
成する。演算装置1で作成されたデータは、一体化描画
処理装置2に入力される。一体化描画処理装置2は、デ
ータの出力先である表示装置、あるいはプリンタなどの
出力デバイス3において出力可能なビットマップデータ
に変換する処理を実行する。出力デバイス3は、一体化
秒が処理装置2において処理されたデータを表示あるい
はプリントするためのディスプレイまたはプリンタ等で
ある。
FIG. 1 shows an example of a configuration of a system using a drawing processing apparatus according to the present invention. In FIG. 1, an arithmetic unit 1 is, for example, an arithmetic unit 1 such as a computer.
A display format including characters, graphics, raster data, and the like such as a document and GDI is created in a PDL such as a script. The data created by the arithmetic unit 1 is input to the integrated drawing processing unit 2. The integrated drawing processing device 2 executes a process of converting the data into bitmap data that can be output by a display device to which data is output or an output device 3 such as a printer. The output device 3 is a display or a printer for displaying or printing data processed by the processing device 2 for the integration seconds.

【0025】図2に図1のシステム構成中の一体化描画
処理2を中心とした構成を詳細に示すブロック図を示
す。図2に示すように本システムにおける描画処理装置
は、演算装置1と接続するための演算装置I/F23
と、出力デバイス3と接続するための出力デバイスI/
F24と、演算装置から受けた画像データを出力デバイ
スの要求速度、または本来画像データを可視化するのに
必要な速度で処理するリアルタイムパス処理手段21
と、要求速度より遅い速度で処理するノンリアルタイム
パス処理手段22とを有する。
FIG. 2 is a block diagram showing in detail a configuration centering on the integrated drawing process 2 in the system configuration of FIG. As shown in FIG. 2, the drawing processing device in the present system includes an arithmetic device I / F 23 for connecting to the arithmetic device 1.
And an output device I / for connecting to the output device 3
F24 and a real-time path processing means 21 for processing the image data received from the arithmetic unit at a required speed of the output device or at a speed required for visualizing the image data.
And a non-real-time path processing means 22 for processing at a speed lower than the requested speed.

【0026】ここでリアルタイムパス処理手段と、ノン
リアルタイムパス手段について簡単に説明する。描画処
理装置において実行される処理には、例えばデータの圧
縮処理、データの伸長処理、拡大処理、フィルター処
理、回転処理、色変換処理等、様々な処理が含まれる。
これら処理はその処理内容に応じて時間のかかるもの、
短時間で可能なもの等、様々な種類がある。これら複数
の処理を実行して最終的に出力デバイスに出力すること
になる。出力デバイスでの出力速度、例えばプリント速
度は一般的に一定の速度であり、上記各種の処理の中
で、プリント速度に同期した速度での処理が可能な処理
は上述のリアルタイムパスにおいて処理を行ってもプリ
ント速度に遅れることがないが、処理時間に多くを有す
る処理は、ノンリアルタイムパスで処理を行って処理デ
ータを予め生成しておくことが必要となる。リアルタイ
ムパス処理手段と、ノンリアルタイムパス手段は、これ
らの処理をそれぞれ実行するための処理パスである。
Here, the real-time path processing means and the non-real-time path means will be briefly described. The processing executed by the drawing processing apparatus includes various processing such as data compression processing, data expansion processing, enlargement processing, filter processing, rotation processing, and color conversion processing.
These processes take time depending on the content of the process,
There are various types, such as those that can be done in a short time. These multiple processes are executed and finally output to the output device. An output speed at an output device, for example, a print speed is generally a constant speed, and among the above various processes, a process capable of performing a process at a speed synchronized with the print speed is performed in the above-described real-time path. Even though the printing speed is not delayed, it is necessary to perform processing using a non-real-time path to generate processing data in advance for processing having a long processing time. The real-time path processing means and the non-real-time path means are processing paths for executing these processes, respectively.

【0027】演算装置1で作成されたPDL等の画像デ
ータは演算装置I/F,23に付属する画像データバッ
ファ(図示せず)にいったん蓄えられる。本発明の描画
処理装置が円滑に動作するための制御情報は演算装置I
/F,23を経由して書き換え制御データ生成手段12
へ送られる。パス決定手段11では、描画処理装置にお
ける処理内容と処理すべき画像データのサイズに基づい
て、各処理についてリアルタイムパス手段21またはノ
ンリアルタイムパス手段22のいずれにおいて処理すべ
きかを決定する。演算装置1から入力され、演算装置I
/F,23に付属する画像データバッファに蓄積された
画像データは、画像データバッファからノンリアルタイ
ムパス処理手段21に送られる。ノンリアルタイムパス
処理手段21では、パス決定手段11において決定され
た処理を実行し、処理データはいったん画像データバッ
ファ内に戻される。ノンリアルタイムパス処理手段21
での所定の処理が完了し、画像データバッファに戻され
たデータは、さらにリアルタイムパス処理手段22に送
付され、パス決定手段11において決定されたリアルタ
イムパス処理手段での処理を実行し、所定の処理が完了
したデータは、出力デバイスI/F,24を通して出力
デバイス3へ送付され、プリント出力またはディスプレ
イ表示出力がなされる。
Image data such as PDL created by the arithmetic unit 1 is temporarily stored in an image data buffer (not shown) attached to the arithmetic unit I / F 23. The control information for the smooth operation of the drawing processing device of the present invention is calculated by the arithmetic unit I.
/ F, via the rewrite control data generating means 12
Sent to The path determination unit 11 determines which of the real-time path unit 21 and the non-real-time path unit 22 should perform each process based on the processing content of the drawing processing apparatus and the size of the image data to be processed. Input from the arithmetic unit 1 and the arithmetic unit I
The image data stored in the image data buffer attached to / F, 23 is sent from the image data buffer to the non-real-time path processing means 21. The non-real-time path processing means 21 executes the processing determined by the path determining means 11, and the processing data is temporarily returned to the image data buffer. Non real-time path processing means 21
Is completed, and the data returned to the image data buffer is further sent to the real-time path processing means 22 to execute the processing in the real-time path processing means determined by the path determination means 11, The processed data is sent to the output device 3 via the output device I / F 24, and is printed out or displayed on the display.

【0028】図1における演算装置1内の処理の流れを
説明する図として図3を示す。図3に示すように、各種
のアプリケーションに基づいて作られた文書はPDLに
変換され、PDL入力部101に入力される。入力され
たPDLは字句解析部102で描画に必要な要素がPD
Lから取り出され、処理領域ごとの並び替えが実行され
る。ページ単位処理の場合はページを一つの単位とし
て、またバンド単位で処理を実行する場合はページを複
数のバンド領域に分割して並び替えを行う。
FIG. 3 is a diagram for explaining the flow of processing in the arithmetic unit 1 in FIG. As shown in FIG. 3, a document created based on various applications is converted into PDL and input to the PDL input unit 101. The elements required for drawing by the lexical analysis unit 102 are PD
L, and rearrangement is performed for each processing area. In the case of the page unit processing, the page is divided into a plurality of band areas and the page is rearranged when the processing is executed in a unit of a band, and when the processing is executed in a band unit.

【0029】バンド単位での処理であれば、それぞれの
バンド分割領域にある描画要素は文字図形/ラスター処
理分割部103で描画要素が文字図形を主体としたベク
ター情報なのか、写真やビットマップのラスター情報な
のかを認識する。認識された情報がベクター情報の場合
はベクター情報処理部(図示せず)へ送る。
In the case of processing in units of bands, the drawing element in each band division area is determined by the character / raster processing division unit 103 whether the drawing element is vector information mainly composed of a character figure or a photograph or bitmap. Recognize whether it is raster information. If the recognized information is vector information, it is sent to a vector information processing unit (not shown).

【0030】認識された情報がラスター情報である場合
は画像情報と、そのラスター画像情報にどのような処理
を加えるかの処理情報が添付されている。本発明の描画
処理装置は、これらの情報に基づいて以下の処理を行
う。
When the recognized information is raster information, image information and processing information on what processing is to be applied to the raster image information are attached. The drawing processing apparatus of the present invention performs the following processing based on the information.

【0031】計算負荷データベース112にはあらかじ
めCPUで処理する場合の単位あたりのCPU処理速度
と、描画処理装置内の再構成可能なハードウェアで処理
する単位あたりのハードウェア処理速度のデータが蓄積
されている。ラスター処理負荷計算部111では計算負
荷データベース112の情報と計算単位あたりで計算し
た画像データ量からラスター処理のパスが決定される。
計算単位は処理方法に依存する。例えば1ページのまと
まりで処理する場合、JPEG伸張のケースでは8x8
のマトリクスサイズが計算単位であり、1ページのまと
まりの中にその計算単位がいくつあるかで処理時間が計
算できる。また1ページをある領域サイズで分割して処
理して行く場合、JPEG伸張のケースでは8x8のマ
トリクスサイズの他に領域サイズで保証しなければいけ
ない処理時間が計算単位となる。
The calculation load database 112 previously stores data of the CPU processing speed per unit when processing is performed by the CPU and the hardware processing speed per unit processed by reconfigurable hardware in the drawing processing apparatus. ing. The raster processing load calculation unit 111 determines a raster processing path from the information in the calculation load database 112 and the amount of image data calculated per calculation unit.
The unit of calculation depends on the processing method. For example, when processing is performed in a unit of one page, in the case of JPEG decompression, 8 × 8
Is the calculation unit, and the processing time can be calculated based on the number of calculation units in one page unit. When one page is divided and processed in a certain area size, in the case of JPEG decompression, the processing time that must be guaranteed by the area size in addition to the 8 × 8 matrix size is a unit of calculation.

【0032】ラスター処理パス決定部113の処理を説
明する。ラスター処理のパスには、演算装置のCPUを
使用するパス、再構成可能なハードウェアを使ったリア
ルタイムパス、およびノンリアルタイムパスの3つがあ
り、優先順位はまずCPU処理が優先し、次にノンリア
ルタイムパス、次にリアルタイムパスとなる。
The processing of the raster processing path determination unit 113 will be described. There are three types of raster processing paths: a path that uses the CPU of the arithmetic device, a real-time path that uses reconfigurable hardware, and a non-real-time path. The real-time path is followed by the real-time path.

【0033】ラスター処理負荷計算部111からの情報
によりラスターの処理パスを決定する。計算負荷データ
ベース112にはプリンタ等の出力デバイスに出力する
際の出力要求速度や、処理の途中で出力デバイスに対す
る出力が間に合わない等のボトルネックが発生しないよ
うに1バンド処理に必要な最大時間等があらかじめ蓄積
されている。また書き換え制御に必要なオーバーヘッド
時間、処理に必要な画像データの読み出し時間なども記
憶されている。
A raster processing path is determined based on information from the raster processing load calculation unit 111. The calculation load database 112 includes an output request speed when outputting to an output device such as a printer, a maximum time necessary for one-band processing so that a bottleneck such as a failure to output to an output device in time during processing or the like occurs. Is stored in advance. Also stored are an overhead time required for rewriting control, an image data read time required for processing, and the like.

【0034】ここで具体的な処理例として画像データに
対し、90度回転、拡大処理、デジタルフィルタ処理、
および色変換処理をおこなうケースを考える。90度回
転処理のようにワークメモリを多く必要とする処理の場
合や非常に単純な処理である場合CPUで処理を行うこ
とを原則とする。このようなCPU処理の内容が決定さ
れると、次にラスター処理パス決定部113はノンリア
ルタイムパスとリアルタイムパスのいずれで残りの処理
を実行するかを決定する。
Here, as a specific processing example, 90-degree rotation, enlargement processing, digital filter processing,
And a case of performing color conversion processing. In the case of a process requiring a large amount of work memory, such as a 90-degree rotation process, or a very simple process, the process is basically performed by the CPU. When the contents of such CPU processing are determined, next, the raster processing path determination unit 113 determines whether to execute the remaining processing in the non-real-time path or the real-time path.

【0035】上述のように90度回転は演算装置で行う
ため残りは拡大処理と色変換処理、およびデジタルフィ
ルター処理の3つとなる。これらの処理についてラスタ
ー処理パス決定部113は処理パスを決定する。ラスタ
ー処理負荷計算部111で計算される処理の負荷以外に
処理の内容に基づいて処理の順番が決定される。この場
合、処理は拡大、デジタルフィルター、色変換という順
番が最適である。処理パスの決定に際しては、リアルタ
イムパスで何ができるかまず決めて、残りの処理をノン
リアルタイムパスでの処理とする。ここでは色変換処理
をリアルタイムパスにする。残りはノンリアルタイムパ
スでの処理とする。ラスター処理パス決定部113にお
いて処理パスがこのように決定されると、ラスター処理
パス決定部113は、決定された処理手順に沿った処理
を行うための書き換え制御データ生成に必要な書き換え
制御データを書き換えデータベース114から読み出
す。
As described above, since the 90-degree rotation is performed by the arithmetic unit, the remaining three operations are the enlargement process, the color conversion process, and the digital filter process. For these processes, the raster processing path determination unit 113 determines a processing path. In addition to the processing load calculated by the raster processing load calculation unit 111, the processing order is determined based on the content of the processing. In this case, the processing is optimally performed in the order of enlargement, digital filter, and color conversion. When determining the processing path, first determine what can be done with the real-time path, and then make the remaining processing the processing with the non-real-time path. Here, the color conversion processing is a real-time pass. The rest is processed on the non-real-time path. When the processing path is determined in this way by the raster processing path determining unit 113, the raster processing path determining unit 113 transmits the rewriting control data necessary for generating the rewriting control data for performing the processing according to the determined processing procedure. Read from the rewrite database 114.

【0036】図2における演算装置I/F,23には1
ページの画像を記憶できる記憶装置が内蔵されている。
記憶装置を小さくするためには圧縮された画像を記憶す
るほうが効率がよい。画像転送手段13は演算装置I/
F,23にある画像データ蓄積のための記憶装置の容量
を通信ラインをとおして検知する。転送する画像データ
サイズと記憶装置の容量を比較して必要に応じて画像転
送手段13で画像データの圧縮処理を実行し、圧縮され
た画像データを演算装置I/F,23に転送する。画像
転送手段13において使用した圧縮アルゴリズム情報は
保持されて、入力画像データであるPDLに付帯する画
像処理命令とは別に、書き換え制御データに付加されて
描画処理装置に伝達される。描画処理装置はこの情報に
基づいて適切な伸長処理が可能となる。
The arithmetic unit I / F 23 in FIG.
A storage device capable of storing an image of a page is built in.
It is more efficient to store the compressed image in order to reduce the size of the storage device. The image transfer means 13 is provided with an arithmetic unit I /
F, The capacity of the storage device for storing image data in 23 is detected through the communication line. The image data size to be transferred is compared with the capacity of the storage device, and the image data is compressed by the image transfer means 13 if necessary, and the compressed image data is transferred to the arithmetic unit I / F 23. The compression algorithm information used in the image transfer means 13 is held and added to the rewrite control data separately from the image processing command attached to the PDL as input image data and transmitted to the drawing processing device. The drawing processing device can perform appropriate decompression processing based on this information.

【0037】描画処理装置内の再構成可能なハードウェ
アを動作させるのに必要な書き換え制御情報は書き換え
データベース114から読み出され、ラスターパス決定
部113で決定された処理の順番によって並び替えら
れ、演算装置I/F,23から書き換え制御データ生成
手段12へロードされる。
The rewrite control information necessary for operating the reconfigurable hardware in the drawing processing apparatus is read from the rewrite database 114 and rearranged according to the processing order determined by the raster path determination unit 113. The data is loaded from the arithmetic unit I / F 23 to the rewrite control data generating means 12.

【0038】以下、具体的な処理例として、描画処理対
象である画像データが圧縮処理され、圧縮された画像デ
ータがノンリアルタイムパスによって伸張処理が実行さ
れ、さらに拡大処理とデジタルフィルター処理が実行さ
れる例について図4を用いて説明する。なお、図4にお
いて再構成可能なハードウェアは、FPGA(フィール
ド・プログラマブル・ゲート・アレイ)212,222
およびそれぞれのハードウェアの書き換えを行う書き換
え制御手段213,223によって構成されている。ワ
ークメモリ211,221とFPGA212,222、
書き換え制御部213,223は図では2つの異なった
構成として示されているが、説明において理解しやすい
ようにノンリアルタイムパス(ワークメモリ221とF
PGA222、書き換え制御部223)とリアルタイム
パス(ワークメモリ211とFPGA212、書き換え
制御部213)を区別して示しているもので実際上の装
置での物理的構成としては同じものを共通に使用するこ
とが可能である。
Hereinafter, as a specific processing example, image data to be drawn is subjected to a compression process, the compressed image data is subjected to a decompression process by a non-real-time path, and further, an enlargement process and a digital filter process are performed. An example will be described with reference to FIG. In FIG. 4, the reconfigurable hardware is FPGA (field programmable gate array) 212, 222.
And rewrite control means 213 and 223 for rewriting hardware. Work memories 211 and 221 and FPGAs 212 and 222,
Although the rewrite controllers 213 and 223 are shown as two different configurations in the figure, the non-real-time paths (the work memories 221 and F
The PGA 222 and the rewrite control unit 223) and the real-time path (the work memory 211 and the FPGA 212 and the rewrite control unit 213) are shown separately, and the same physical configuration may be commonly used in an actual device. It is possible.

【0039】まず、演算装置等において生成され、描画
処理装置に入力された画像データは図4に示す演算装置
I/F,23を介してワークメモリ221に一部の画像
データが移される。
First, a part of the image data generated in the arithmetic unit or the like and input to the drawing processing unit is transferred to the work memory 221 via the arithmetic unit I / F 23 shown in FIG.

【0040】再構成可能なハードウェアを構成するFP
GA222は書き換え制御手段223によってまず伸張
処理を実行する構成に書き換えられる。
FP constituting reconfigurable hardware
The GA 222 is first rewritten by the rewriting control means 223 to a configuration for executing the decompression process.

【0041】書き換え制御手段223によって伸張処理
を実行する構成に書き換えられたFPGA222は画像
データの伸長処理を実行する。伸張処理中の画像データ
は、リターン切り替え手段224によって書き換え制御
からの信号(図示せず)でまだノンリアルタイムパスの
処理が終了していない事を判断する。
The FPGA 222 which has been rewritten by the rewriting control means 223 to execute the decompression process executes the decompression process of the image data. The image data undergoing the decompression processing is judged by the return switching means 224 based on a signal (not shown) from the rewriting control that the non-real-time path processing has not been completed yet.

【0042】FPGA222での画像データの伸長処理
が行われた結果はワークメモリ221に蓄積される。F
PGA222での伸長処理が完了した時点で、FPGA
222は、書き換え制御手段223の制御により拡大処
理手段として書き換えられる。拡大処理手段として書き
換えられたFPGA222にワークメモリ221から伸
長処理されたデータが送付されて拡大処理が実行され
る。拡大処理が実行された結果は、さらにリターン切り
替え手段224に送られる。リターン切り替え手段22
4は再度ワークメモリ221に処理データを蓄積する。
The result of the image data decompression processing performed by the FPGA 222 is stored in the work memory 221. F
When the decompression processing by the PGA 222 is completed, the FPGA
222 is rewritten as enlargement processing means under the control of the rewriting control means 223. The expanded data is sent from the work memory 221 to the rewritten FPGA 222 as the enlargement processing means, and the enlargement processing is performed. The result of the execution of the enlargement processing is further sent to the return switching means 224. Return switching means 22
4 stores the processing data in the work memory 221 again.

【0043】次にFPGA222は、書き換え制御手段
223の制御によりデジタルフィルター処理手段として
書き換えられる。デジタルフィルター処理手段として書
き換えられたFPGA222にワークメモリ221から
拡大処理されたデータが送付され、FPGA222はデ
ジタルフィルター処理を行う。演算装置I/F,23の
記憶装置のサイズにより十分サイズが無く、処理結果を
蓄積するに十分な容量が無い場合はさらに圧縮処理をF
PGA222で行う。リターン切り替え手段224はノ
ンリアルタイムパスの処理が終了したことを判断し演算
装置I/F,23の記憶部へ処理データを蓄積する。
Next, the FPGA 222 is rewritten as digital filter processing means under the control of the rewriting control means 223. The enlarged data is sent from the work memory 221 to the rewritten FPGA 222 as digital filter processing means, and the FPGA 222 performs digital filter processing. If there is not enough size due to the size of the storage device of the arithmetic unit I / F 23, and there is not enough capacity to accumulate the processing result, the compression
This is performed by the PGA 222. The return switching unit 224 determines that the processing of the non-real-time path has been completed, and accumulates the processing data in the storage unit of the arithmetic unit I / F, 23.

【0044】演算装置I/F,23の記憶装置の記憶容
量は演算装置から演算装置I/Fに問い合わせることで
あらかじめ容量を認識でき、処理する画像データサイズ
から圧縮伸張処理が必要かどうかわかる。一つの画像デ
ータ領域に関する一連のノンリアルタイムパスでの処理
が終了すると、画像データの次の領域がワークメモリ2
21に移され、ワークメモリ221、FPGA222、
書き換え制御手段223、リターン切り替え224にお
いて同様のノンリアルタイムパスの処理を繰り返し、演
算装置I/F,23の記憶装置に処理データを蓄積す
る。
The storage capacity of the storage device of the arithmetic unit I / F 23 can be recognized in advance by inquiring from the arithmetic unit to the arithmetic unit I / F, and it can be determined from the image data size to be processed whether compression / expansion processing is necessary. When a series of non-real-time processing for one image data area is completed, the next area of the image data is stored in the work memory 2.
21, the work memory 221, the FPGA 222,
The same non-real-time path processing is repeated in the rewrite control means 223 and the return switch 224, and the processing data is accumulated in the storage device of the arithmetic unit I / F 23.

【0045】ノンリアルタイムパスの処理が終了する
と、リアルタイムパスの処理に移る。図4においてリア
ルタイムパスはワークメモリ211、FPGA212、
書き換え制御手段213によって構成される。前述した
ように、図4ではリアルタイムパスとノンリアルタイム
パスでワークメモリとFPGA,書き換え制御部に異な
った番号が付いているが、ノンリアルタイムとリアルタ
イムを区別して説明するためのもので物理的には同じも
のが使用可能である。ノンリアルタイムパスとリアルタ
イムパスをパイプライン的に動作させるような構成では
別のハードウェアによって構成してもよい。リアルタイ
ムパスでは演算装置I/F,23の記憶装置から順に処
理バンド等の所定の領域ごとにワークメモリ211に読
み出し、圧縮されたデータである場合には、まず、FP
GA212を書き換え制御手段213によって伸長処理
手段として書き換え、伸張処理を実行し、さらに、その
後、FPGA212を書き換え制御手段213によって
色変換理手段として書き換え、色変換処理を実行し、処
理されたデータを出力デバイスI/F,24に出力す
る。これら一連の処理を繰り返し、すべての画像データ
を処理し出力デバイスI/F,24を介して出力デバイ
ス3へ出力する。
When the processing of the non-real-time path is completed, the processing shifts to the processing of the real-time path. In FIG. 4, the real-time paths are the work memory 211, the FPGA 212,
It is constituted by rewriting control means 213. As described above, in FIG. 4, the work memory, the FPGA, and the rewrite control unit have different numbers in the real-time path and the non-real-time path. The same can be used. In a configuration in which the non-real-time path and the real-time path are operated in a pipeline manner, different hardware may be used. In the real-time path, the data is sequentially read out from the storage device of the arithmetic unit I / F 23 into the work memory 211 for each predetermined area such as a processing band, and if the data is compressed, first, the FP
The GA 212 is rewritten by the rewriting control means 213 as decompression processing means, and decompression processing is executed. Further, the FPGA 212 is rewritten by the rewriting control means 213 as color conversion processing means, color conversion processing is executed, and the processed data is output. Output to the device I / F, 24. By repeating these series of processes, all the image data are processed and output to the output device 3 via the output device I / F 24.

【0046】演算装置から送られる画像は描画処理装置
の処理単位で区切られて処理が実行される。処理単位が
1ページであればページ単位の圧縮処理が行われる。処
理単位が一定の領域で区切られたバンド単位であればバ
ンド単位で圧縮が行われて、演算装置I/F,23の記
憶装置に記憶される。ノンリアルタイム、またはリアル
タイムパス処理は、同じ処理単位で行われる。バンド単
位で処理が行われるときワークメモリは最低1バンドの
記憶容量が必要である。2バンド以上の記憶容量がある
と複数バンドの読み出しと処理が並行して行われるため
処理の動作速度が向上する。
The image sent from the arithmetic unit is divided into processing units of the drawing processing unit and the processing is executed. If the processing unit is one page, compression processing in page units is performed. If the processing unit is a band unit divided by a certain area, compression is performed in band units and stored in the storage device of the arithmetic unit I / F 23. The non-real-time or real-time path processing is performed in the same processing unit. When the processing is performed in band units, the work memory needs at least one band of storage capacity. If there is a storage capacity of two or more bands, reading and processing of a plurality of bands are performed in parallel, so that the operation speed of the processing is improved.

【0047】次に、書き換え制御手段について図5を用
いて説明する。書き換え制御手段は開始/切替え制御部
2131、書き換え制御部2132、書き換え配線デー
タ部2133を有する。開始/切替え制御部2131
は、FPGAにおいて処理が開始または変更されるタイ
ミング及び処理内容を書き換え制御部2132に出力
し、書き換え制御部2132は、処理内容に応じて必要
な変更データを書き換え制御配線データ部2133に出
力し、書き換え制御配線データ部2133は、処理内容
に応じて必要な配線データをFPGAに出力する。
Next, the rewriting control means will be described with reference to FIG. The rewriting control means has a start / switch control unit 2131, a rewriting control unit 2132, and a rewriting wiring data unit 2133. Start / switch control unit 2131
Outputs the timing at which processing is started or changed in the FPGA and the processing content to the rewrite control unit 2132, and the rewrite control unit 2132 outputs necessary change data according to the processing content to the rewrite control wiring data unit 2133, The rewrite control wiring data unit 2133 outputs necessary wiring data to the FPGA according to the processing content.

【0048】再構成可能なハードウェアを構成するFP
GA(フィールドプログラマブルゲートアレイ)に代表
される素子は内部の配線が外部からロードされる配線デ
ータによって電気的に決定される。決定された状態が電
気的に保持されている間は、配線は一定に保たれる。こ
のFPGAは一部の配線が使用されているときでもあい
ている配線の一部を書き換えることが可能であり、書き
換え時間は全体書き換え、部分書き換えとも高速に行う
特性を備えている。
FP constituting reconfigurable hardware
Elements represented by a GA (field programmable gate array) are electrically determined by wiring data in which internal wiring is externally loaded. As long as the determined state is maintained electrically, the wiring is kept constant. This FPGA is capable of rewriting a part of the open wiring even when a part of the wiring is used, and has a characteristic that the entire rewriting and the partial rewriting are performed at high speed.

【0049】FPGAの内部にSRAMメモリ素子を内
蔵し,FPGA素子によっても異なるがパラレルインタ
ーフェースを持ち外部メモリから内部のSRAMへ配線
データをロードすることで、FPGAは拡大処理を実行
する素子に書き換えたり、伸張処理をおこなう素子に書
き換えたりすることが可能となる。また処理によっては
配線データにレジスタを生成する部分も含まれ、パラメ
ータを必要とする処理では、レジスタにパラメータもロ
ードする。FPGA全体の処理能力を100とすると、
ある処理の場合に50しか使っていない時はその処理を
50で実行しているときに残りの未使用の50のFPG
Aに対して次の処理構成を書き込むことができる。
The FPGA has a built-in SRAM memory element, which differs depending on the FPGA element. The FPGA has a parallel interface and loads wiring data from an external memory to the internal SRAM, so that the FPGA can be rewritten as an element for executing enlargement processing. , It is possible to rewrite the element to perform the expansion processing. In some processes, a portion for generating a register is included in the wiring data. In a process requiring a parameter, the parameter is also loaded into the register. Assuming that the processing capacity of the entire FPGA is 100,
When only 50 is used in a certain process, the remaining 50 unused FPGs are executed when the process is executed at 50.
The following processing configuration can be written to A.

【0050】書き換え制御手段213,223は、FP
GA素子のゲート換算サイズ、画像処理に必要な書き換
えデータ、および関連パラメータ、書き換えタイミン
グ、バンド数、対象画像データ数などを制御において考
慮することが必要となる。処理の内容によるがFPGA
のゲート換算サイズより画像処理に必要なゲート換算サ
イズの方が大きい場合がありそのケースでは一つの画像
処理を2つ以上に分割してFPGAに書き、2つの場合
は前半処理と後半処理に分けて処理される。
The rewriting control means 213 and 223
It is necessary to consider the gate conversion size of the GA element, rewrite data necessary for image processing, related parameters, rewrite timing, the number of bands, the number of target image data, and the like in control. FPGA depending on the content of processing
There is a case where the gate conversion size required for image processing is larger than the gate conversion size of the above. In such a case, one image processing is divided into two or more and written to the FPGA, and in the case of two, the first half processing and the second half processing are divided. Is processed.

【0051】またFPGAにおいてバンド単位で処理を
行う場合は同じ処理をバンド数分繰り返す。このように
同じ処理を繰り返し、書き換えを行い動作させることが
多いため、繰り返し制御を付加することで書き換え配線
データを蓄積するメモリを削減する。書き換え制御デー
タを生成した結果のテーブル例を図6に示す。
When processing is performed in band units in the FPGA, the same processing is repeated for the number of bands. In many cases, the same processing is repeated to perform rewriting and operation. Therefore, by adding repetitive control, a memory for storing rewriting wiring data is reduced. FIG. 6 shows an example of a table as a result of generating the rewrite control data.

【0052】図6は、ノンリアルタイムパス(NR)と
リアルタイムパス(R)での処理をFPGAを処理に応
じて書き換えて実行するためのFPGA書き換えデータ
テーブルの例を示したものである。図6に示す例は、1
ページに2種類の画像データ(画像1、画像2)が処理
画像データ(PDL)として送られて、これら2つの画
像にノンリアルタイムパス(NR)とリアルタイムパス
(R)とで異なった処理を行い出力する例である。
FIG. 6 shows an example of an FPGA rewrite data table for executing the processing on the non-real-time path (NR) and the real-time path (R) by rewriting the FPGA according to the processing. The example shown in FIG.
Two types of image data (image 1 and image 2) are sent to a page as processed image data (PDL), and different processing is performed on these two images between a non-real-time path (NR) and a real-time path (R). This is an example of output.

【0053】テーブルは順次FPGAにロードすればよ
い順番に並べられている。テーブルの上からまず一つ目
の画像データ(画像1)に対する処理が書かれている。
繰り返し数NRはノンリアルタイムパスでの繰り返し数
が書かれている。繰り返し数はラスター画像をバンドに
分割した時の数を示している。繰り返し数NRについ
で、最初に実行される伸長処理について前半部と後半部
に分割されて書き換えデータテーブルに記録されてい
る。さらに処理Aである拡大処理、処理Bであるフィル
ターの書き換えデータが書かれている。さらに、2つめ
の画像データ、画像2に対する処理データが続く。同様
にノンリアルタイムパスでの繰り返し数が書かれ、処理
Eが続く。ノンリアルタイムパスを構成するFPGAは
このテーブルに書き込まれた順に構成が書き換えられて
それぞれの処理に対応する構成に変更され、それぞれの
処理を実行する。
The tables are arranged in an order in which they can be sequentially loaded into the FPGA. First, processing for the first image data (image 1) from the table is described.
The number of repetitions NR indicates the number of repetitions in the non-real-time path. The number of repetitions indicates the number when the raster image is divided into bands. Regarding the repetition number NR, the decompression process executed first is divided into the first half and the second half, and recorded in the rewrite data table. Further, enlargement processing as processing A and rewriting data of a filter as processing B are described. Further, the second image data and processing data for image 2 follow. Similarly, the number of repetitions in the non-real-time path is written, and processing E follows. The configuration of the FPGA constituting the non-real-time path is rewritten in the order in which it is written in this table, the configuration is changed to a configuration corresponding to each process, and each process is executed.

【0054】書き換えデータテーブルは、画像1、画像
2についてのノンリアルタイムパスでのFPGA構成を
記録した前半部に続いて、リアルタイムパスでのテーブ
ルが記録されている。まず画像1に関するリアルタイム
パスでの繰り返し数Rが書かれている。さらにリアルタ
イムパスで実行される伸長処理、処理Cである色変換と
そのパラメータと、PDLでは記述されていないがメモ
リサイズから必要となる処理Dである伸張処理の書き換
えデータが書かれている。さらに画像2についてのリア
ルタイムパスの繰り返し数Rおよび伸張処理が書かれて
いる。テーブルの繰り返し数はノンリアルタイムかリア
ルタイムかという情報と切り替え制御のタイミング情報
として書き換え制御が使用する。書き換え制御部の中で
は書き換え配線データと開始/切り替え制御、書き換え
制御情報として使用される。
In the rewrite data table, a table in the real-time path is recorded following the first half of the FPGA configuration of the image 1 and the image 2 in the non-real-time path. First, the repetition number R of the image 1 in the real-time path is written. Further, there are written the color conversion and its parameters, which are expansion processing executed in the real-time path, processing C, and rewriting data of expansion processing, which is processing D that is not described in PDL but is required from the memory size. Further, the repetition number R of the real-time pass and the expansion processing for the image 2 are described. The number of repetitions of the table is used by the rewrite control as information on whether it is non-real-time or real-time and timing information for switching control. In the rewrite control section, the rewrite control data is used as rewrite wiring data, start / switch control, and rewrite control information.

【0055】図7を用いて、本発明の描画処理装置の処
理フローを説明する。演算装置(図1,1)で圧縮され
た画像データが描画処理装置内に1ページ分蓄積される
(ステップ701)。1ページには複数の異なった画像
が含まれる事もある。演算装置内の書き換え制御データ
生成手段(図3,12)で生成された書き換え制御デー
タは画像転送手段(図3,12)から描画装置内の書き
換え制御部(図4,213,223)へセット(ステッ
プ702)され、処理が開始する。
Referring to FIG. 7, the processing flow of the drawing processing apparatus of the present invention will be described. The image data compressed by the arithmetic unit (FIGS. 1 and 1) is accumulated for one page in the drawing processing unit (step 701). One page may include a plurality of different images. The rewrite control data generated by the rewrite control data generation means (FIGS. 3 and 12) in the arithmetic unit is set from the image transfer means (FIGS. 3 and 12) to the rewrite control unit (FIGS. 4, 213 and 223) in the drawing apparatus. (Step 702), and the process starts.

【0056】演算装置側で生成されるバンドは例えば1
ページを32に分割する。A4サイズの長手297mm
を均等に32分割すると1分割の幅は約9.3mmとな
る。100mmX100mmサイズの画像を2つ処理す
る例であれば、画像の開始位置にもよるが11バンドに
分割される。そしてバンド単位で圧縮されて蓄積されて
いるので合計22バンドの圧縮画像データが蓄積されて
いる。
The band generated on the computing device side is, for example, 1
Divide the page into 32. A4 size 297mm long
Is evenly divided into 32, the width of one division is about 9.3 mm. In the case of processing two 100 mm × 100 mm images, the image is divided into 11 bands, depending on the start position of the image. Since the compressed image data is compressed and stored in band units, a total of 22 bands of compressed image data are stored.

【0057】ここではノンリアルタイムパスで処理を行
う。はじめの1バンドをワークメモリ(図4,221)
へ読み出す(ステップ703)。ワークメモリ221の
サイズは圧縮されていない1バンドの画像サイズをスト
アできる容量を持つ。書き換え制御223は伸張処理を
FPGA222にロードし(ステップ704)、FPG
Aは伸長処理を実行する構成となり、ワークメモリ22
1のデータを伸張する(ステップ705)。伸張アルゴ
リズム全体がFPGA222に入りきれない場合はワー
クメモリ221のデータを前半処理部と後半処理部に分
けFPGA222での伸長処理を2度繰り返して行う。
それぞれの処理を実行した結果は再度ワークメモリへ記
憶させる(ステップ707)。処理が終了すると、次の
処理(拡大)をロード(ステップ706、ステップ70
7)し処理を実行し、結果をワークメモリへ記憶させ
る。次に処理(デジタルフィルター)をロードし処理を
実行して結果をワークメモリへ記憶させる。次に処理
(圧縮)をロードし処理を実行し結果をワークメモリで
はなく演算装置I/F内の記憶装置へロードする。
Here, processing is performed by a non-real-time path. Work memory for the first band (Fig. 4, 221)
(Step 703). The size of the work memory 221 has a capacity capable of storing an uncompressed one-band image size. The rewrite control 223 loads the decompression processing into the FPGA 222 (step 704), and
A is configured to execute decompression processing, and the work memory 22
1 is expanded (step 705). If the entire decompression algorithm cannot be accommodated in the FPGA 222, the data in the work memory 221 is divided into a first half processing unit and a second half processing unit, and the decompression processing in the FPGA 222 is repeated twice.
The result of executing each process is stored again in the work memory (step 707). When the processing is completed, the next processing (enlargement) is loaded (steps 706 and 70).
7) Execute the processing and store the result in the work memory. Next, a process (digital filter) is loaded, the process is executed, and the result is stored in the work memory. Next, the processing (compression) is loaded, the processing is executed, and the result is loaded not into the work memory but into the storage device in the arithmetic unit I / F.

【0058】1バンド内の一連の処理の区切りは、書き
換え制御データで言えば繰り返し数の次に新たに繰り返
し数が出てくるまでであり、このデータの出現によって
区切りが判定される。1バンドが終了する(ステップ7
06の判定Y)と、次のバンドデータをワークメモリへ
ロードする(ステップ708、ステップ709、ステッ
プ703)。そして同じ動作を繰り返す。繰り返し数で
示されるバンド数11が終了すると2つ目の画像データ
のノンリアルタイム処理に移る。1つ目の画像データと
同じように処理し22バンドすべてを終了し、記憶装置
へ圧縮したデータを記憶させる。
In the rewriting control data, a series of processing within one band is delimited until a new repetition number appears after the repetition number. The appearance of this data determines the delimitation. One band ends (step 7)
When the determination is Y in step 06), the next band data is loaded into the work memory (steps 708, 709, and 703). Then, the same operation is repeated. When the number of bands 11 indicated by the number of repetitions ends, the processing shifts to non-real-time processing of the second image data. Processing is performed in the same manner as the first image data, all 22 bands are completed, and the compressed data is stored in the storage device.

【0059】次にリアルタイムパスでの処理に移る。こ
のリアルタイムパスの処理フローを図8に示す。リアル
タイムパスの動作は基本的にはノンリアルタイムと同じ
であり詳細な処理手順については図7で説明した手順と
同様であり、詳細な手順の説明は省略する。図7のノン
リアルタイムパスでのフローと異なる点は1バンドのリ
アルタイム処理が終了すると記憶装置ではなく出力デバ
イスI/Fへ送る(図4,24)点である。
Next, the processing shifts to a real-time path. FIG. 8 shows the processing flow of this real-time path. The operation of the real-time path is basically the same as that of the non-real-time path, and the detailed processing procedure is the same as the procedure described in FIG. The difference from the flow in the non-real-time path of FIG. 7 is that, when the real-time processing of one band is completed, the data is sent not to the storage device but to the output device I / F (FIG. 4, 24).

【0060】出力デバイスI/F,24には描画処理装
置から出るデータとデバイスを結ぶためのタイミング吸
収バッファメモリが内蔵され、出力デバイス3の要求す
るフォーマットに変換する機能を持つ。出力デバイス3
はゼログラフィー方式のカラープリンターであったり高
解像度カラーディスプレーであったりする。
The output device I / F 24 has a built-in timing absorption buffer memory for connecting data output from the drawing processing device to the device, and has a function of converting the data into a format required by the output device 3. Output device 3
May be xerographic color printers or high resolution color displays.

【0061】ノンリアルタイムの処理から引き続きリア
ルタイムパスへ移る時は画像データ蓄積と書き換え制御
セットはすでに終了している。そのため1つ目の処理画
像の1バンドをワークメモリへロードし伸張処理を書き
換え制御でロードする。処理を実行しワークメモリへ記
憶させ次に色変換処理とそのパラメータをロードしその
結果を出力デバイスI/Fへ転送する。1つ目の画像の
11バンド処理が終了すると2つ目の画像データの処理
を同様に行い出力デバイスI/Fへ転送して終了する。
When the processing shifts from the non-real-time processing to the real-time path, the image data accumulation and rewriting control set has already been completed. Therefore, one band of the first processed image is loaded into the work memory, and the decompression process is loaded by rewriting control. The processing is executed and stored in the work memory, then the color conversion processing and its parameters are loaded, and the result is transferred to the output device I / F. When the eleventh band processing of the first image is completed, the processing of the second image data is performed in the same manner, transferred to the output device I / F, and the processing ends.

【0062】図9は、1ページの画像処理データを構成
するPDLの中に含まれる画像1と画像2の位置、画像
1については本文の説明に出てくるバンド境界を仮想的
に線で示し、デバイスに出力する時の処理の方向を示し
たものである。図9に示す例では二つの画像、画像1、
画像2は同じバンド境界には入っていないが、いろいろ
なドキュメントには画像が重なったケースもある。その
ときは1バンド内に2種類の処理が発生することになる
が書き換え制御データと繰り返し数を1バンド内1種類
の画像と1バンド内2種類の画像を処理する場合に分け
て記述することにより同じ方式で処理が可能となる。ま
た演算装置で行うラスター処理負荷計算も1バンドあた
りの2つの処理の負荷を合計することでこれも同じ方式
で処理が可能となる。
FIG. 9 shows the positions of images 1 and 2 included in the PDL constituting the image processing data of one page, and for image 1, the band boundaries appearing in the description of the text are indicated by virtual lines. , The direction of processing when outputting to a device. In the example shown in FIG. 9, two images, image 1,
Image 2 does not fall on the same band boundary, but images may overlap in various documents. In that case, two types of processing will occur in one band, but the rewrite control data and the number of repetitions should be described separately for the case of processing one type of image in one band and two types of images in one band. Allows processing in the same manner. Also, the calculation of the raster processing load performed by the arithmetic unit can be performed by the same method by summing the loads of two processes per band.

【0063】図10に本発明の描画処理装置のハードウ
ェアを主体とした構成例を示す。記憶装置301は半導
体メモリのDRAMで構成されている。400dpi,
A4サイズ、RGB各色8bitで表現されたカラー画
像であれば圧縮率などを勘案して16Mバイトまたは3
2Mバイトの容量を持つ。バンドバッファは、バンドバ
ッファ1,302、バンドバッファ,303の2つあ
り、伸張したバンドデータ量に基づく容量としてそれぞ
れ2Mバイト備えている。
FIG. 10 shows an example of the configuration of the drawing processing apparatus according to the present invention, mainly using hardware. The storage device 301 is composed of a semiconductor memory DRAM. 400 dpi,
For a color image represented in A4 size, 8 bits for each color of RGB, 16 Mbytes or 3 in consideration of the compression ratio, etc.
It has a capacity of 2 Mbytes. There are two band buffers, a band buffer 1 302 and a band buffer 303, each having 2 Mbytes of capacity based on the expanded band data amount.

【0064】リアルタイムパスの処理例で動作を説明す
る。1バンドめを記憶装置301からバンドバッファ
1,302に読み出し、書き換え制御304からFPG
A305に書き込まれた内部配線データによりある画像
処理機能にバンドバッファ1,302からデータを送り
出す。FPGA305の配線回路はラスター処理の高速
性を実現するため、並列処理とパイプライン処理機能を
備えた画像処理演算並列化/パイプライン化3051構
成を有する。FPGA305は画像データを次々に処理
してその結果をバンドバッファ3,307へ書き込む。
その間に時間的な並列処理として記憶装置301からバ
ンドバッファ2,303へ次に処理するバンドを読み出
す。
The operation will be described using a processing example of a real-time path. The first band is read from the storage device 301 to the band buffers 1 and 302, and the rewrite control 304
The data is sent from the band buffers 1 and 302 to a certain image processing function based on the internal wiring data written in A305. The wiring circuit of the FPGA 305 has an image processing operation parallel / pipeline 3051 configuration having parallel processing and pipeline processing functions in order to realize high-speed raster processing. The FPGA 305 processes the image data one after another and writes the result to the band buffers 3 and 307.
In the meantime, the band to be processed next is read from the storage device 301 to the band buffers 2 and 303 as temporal parallel processing.

【0065】FPGA305での処理データをバンドバ
ッファ3,307へ書き込むと同時にバンドバッファ
2,303のデータはFPGA305へ送り出され、バ
ンドバッファ1,302と同様に処理されるバンドバッ
ファ3,307のデータはマルチプレクサ308を通し
てバンドバッファ1,302へ戻される。バンドバッフ
ァ2,303のデータは処理されるとバンドバッファ
3,307へ蓄積される。FPGA305の配線データ
は書き換え制御304により次の処理に対応する配線デ
ータに変更される。バンドバッファ3,307のデータ
はバンドバッファ2,303へ戻される。次にバンドバ
ッファ1,302からデータがFPGA305へ入力さ
れ、所定の処理が実行され、バンドバッファ3,307
へ蓄積される。バンド1の処理が終了するとバンドバッ
ファ3,307のデータはマルチプレクサ308から出
力デバイスI/F309を通して出力される。
The data processed by the FPGA 305 is written to the band buffers 3 and 307, and at the same time, the data of the band buffers 2 and 303 is sent to the FPGA 305, and the data of the band buffers 3 and 307 processed in the same manner as the band buffers 1 and 302 are The signal is returned to the band buffers 1 and 302 through the multiplexer 308. When processed, the data in the band buffers 2 and 303 is stored in the band buffers 3 and 307. The wiring data of the FPGA 305 is changed by the rewriting control 304 to wiring data corresponding to the next processing. The data in the band buffers 3 and 307 is returned to the band buffers 2 and 303. Next, data is input from the band buffers 1 and 302 to the FPGA 305, and predetermined processing is executed.
To be accumulated. When the processing of band 1 is completed, the data of band buffers 3 and 307 are output from multiplexer 308 through output device I / F 309.

【0066】バンドバッファ2,303のデータはFP
GA305に入力され、所定の画像処理が実行され、バ
ンドバッファ3,307へ蓄積される。並行して記憶装
置301からバンドバッファ1,302へ3バンドめの
情報が書き込まれる。バンドバッファ3,307のデー
タは処理が終了すると、マルチプレクサ308を通して
出力デバイスI/F309を通して出力される。FPG
A305の配線データは書き換え制御により変更され処
理が繰り返される。
The data in the band buffers 2 and 303 is FP
The image data is input to the GA 305, a predetermined image processing is executed, and the image data is stored in the band buffers 3 and 307. In parallel, the information of the third band is written from the storage device 301 to the band buffers 1 and 302. When the processing of the band buffers 3 and 307 is completed, the data is output through the multiplexer 308 and the output device I / F 309. FPG
The wiring data of A305 is changed by the rewrite control, and the process is repeated.

【0067】同じ図10を用いて、ノンリアルタイム処
理を説明する。リアルタイム処理では処理が終了すると
マルチプレクサ308を介して出力デバイスへ送られる
が、ノンリアルタイム処理においては、処理が終了する
とバンドバッファ1,302ないしバンドバッファ2,
303に戻され圧縮処理がFPGA305で施されバン
ドバッファ3,307に圧縮されたバンドデータが蓄積
されマルチプレクサ308から記憶装置301へ転送さ
れる。
The non-real-time processing will be described with reference to FIG. In the real-time processing, when the processing is completed, the data is sent to the output device via the multiplexer 308. In the non-real-time processing, when the processing is completed, the band buffer 1, 302 or the band buffer 2,
The band data is returned to 303, subjected to compression processing by the FPGA 305, and stored in the band buffers 3, 307, and transferred to the storage device 301 from the multiplexer 308.

【0068】内部レジスタ3052は内部配線データに
より形成するパラメータ等を一時的に保持する機能を有
するものである。FPGA305に接続されたワークメ
モリ306は画像処理演算過程で必要となるワーク領域
を確保するメモリであり、メモリ容量にもよるがFPG
A内部に実現することも可能である。
The internal register 3052 has a function of temporarily holding parameters and the like formed by internal wiring data. A work memory 306 connected to the FPGA 305 is a memory for securing a work area required in an image processing operation process.
It is also possible to realize it inside A.

【0069】FPGAへの配線情報は実施例1では画像
処理単位で説明を行ってきた。しかしFPGAを使った
一連の処理は必ずしも画像処理単位で行う必要はない。
図11に全体の処理をブロックレベルでの記述を表す。
それぞれの処理は複数の細かい処理から成っている。例
えば圧縮はJPEG方式で言えばハフマン符号化、ディ
スクリートコサイン変換、ラスターコンバージョンな
ど、拡大はアフィン変換と座標補間などに分解できる。
分解した処理をモジュールと呼ぶことにする。モジュー
ルごとにハードウェアのゲート数に換算することがで
き、モジュールごとに書き換え制御データを作成するこ
とが可能である。この処理はモジュールの順番などは変
更できない。
In the first embodiment, the wiring information to the FPGA has been described in units of image processing. However, a series of processes using the FPGA need not always be performed in image processing units.
FIG. 11 shows a description of the entire process at the block level.
Each process consists of a plurality of detailed processes. For example, compression can be decomposed into Huffman coding, discrete cosine transform, raster conversion, etc. in the JPEG system, and enlargement can be decomposed into affine transformation and coordinate interpolation.
The decomposed process is called a module. It can be converted into the number of hardware gates for each module, and rewrite control data can be created for each module. In this process, the order of the modules cannot be changed.

【0070】FPGAを例えば200kゲート換算のハ
ードウェアとする。処理単位では、拡大は50kゲート
相当であったりデジタルフィルターは70kゲート相当
であったりする。モジュール単位ではさらに細かくなり
複数のモジュールの合計値が200kゲート近くに達す
るまでの処理を一つのFPGAにロードして同じタイミ
ングで複数のモジュールの処理のかたまりとして実施す
ることが可能である。FPGAで行う処理のモジュール
の組み合わせからFPGAの最適ゲート換算サイズが決
定できる。その考えを適応すると図11の例で言えばノ
ンリアルタイムパスを処理単位で書き換えて処理を実行
すると4回の書き換えが発生するのに対し半分の書き換
え処理で済む。結果として書き換え制御データをモジュ
ール単位で行うことでFPGAの使用効率が高まりワー
クメモリのリード/ライトの回数および書き換え制御回
数が減るため全体の処理速度が向上する。
The FPGA is, for example, 200 k gate-converted hardware. In processing units, enlargement is equivalent to 50 k gates, and digital filter is equivalent to 70 k gates. It is possible to load the processing until a total value of a plurality of modules reaches close to 200 k gates into one FPGA and execute the processing of the plurality of modules at the same timing as a unit in a module. The optimal gate-converted size of the FPGA can be determined from the combination of the modules for processing performed by the FPGA. If this idea is applied, in the example of FIG. 11, if the non-real-time path is rewritten in processing units and the processing is executed, half of the rewriting processing is required, compared to four rewritings. As a result, by performing the rewrite control data on a module basis, the use efficiency of the FPGA is increased, and the number of times of read / write of the work memory and the number of rewrite controls are reduced, thereby improving the overall processing speed.

【0071】[0071]

【発明の効果】以上説明したように本発明の描画処理装
置によれば、入力画像データの処理において、ノンリア
ルタイムパスとリアルタイムパスを構成する再構成可能
なハードウェアで動作する処理ロジックを数多く用意
し、これら処理ロジックを書き換え制御手段によって再
構成可能なハードウェアのハード構成に応じて最適に書
き換えを実行することにより、小さいハードウェア規模
で多くのラスター画像処理をソフトウェアより高速に行
うことができる。
As described above, according to the drawing processing apparatus of the present invention, in the processing of input image data, a large number of processing logics operating on reconfigurable hardware constituting a non-real-time path and a real-time path are prepared. By performing the rewriting optimally according to the hardware configuration of the hardware that can reconfigure these processing logics by the rewriting control means, it is possible to perform many raster image processes at a smaller hardware scale and at a higher speed than software. .

【0072】さらに、本発明の描画処理装置によれば、
ノンリアルタイムパスとリアルタイムパス両方のパスに
おいて共通の再構成可能なハードウェアを共用するとと
もに、一連の画像処理に必要となる処理ロジックをノン
リアルタイムパスとリアルタイムパスを組み合わせてテ
ーブル化したデータとし、書き換え制御手段は、このテ
ーブルに基づいてFPGAの書き換えを実行することが
でき、書き換え処理の効率化が達成される。
Further, according to the drawing processing apparatus of the present invention,
Both the non-real-time path and the real-time path share the common reconfigurable hardware, and the processing logic required for a series of image processing is rewritten as table data combining the non-real-time path and the real-time path. The control means can execute the rewriting of the FPGA based on this table, and the efficiency of the rewriting process is achieved.

【0073】さらに、本発明の描画処理装置によれば、
書き換え制御手段は一連の画像処理をモジュールとして
認識するとともに、FPGAのゲート換算数に基づいて
モジュールを適宜組み合わせてFPGAの書き換えを行
い処理を実行するので、効率的なFPGAを用いた処理
フローを実現でき、処理の高速化、ハードウェア資源の
効率的使用が可能となる。
Further, according to the drawing processing apparatus of the present invention,
The rewriting control unit recognizes a series of image processing as a module and, based on the gate conversion number of the FPGA, appropriately combines the modules to rewrite the FPGA and executes the processing, thereby realizing an efficient processing flow using the FPGA. This makes it possible to speed up processing and use hardware resources efficiently.

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

【図1】 本発明の描画処理装置を適用したシステムを
例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a system to which a drawing processing apparatus according to the present invention is applied.

【図2】 本発明の描画処理装置の主要な機能ブロック
を示す図である。
FIG. 2 is a diagram showing main functional blocks of the drawing processing apparatus of the present invention.

【図3】 図1で示した本発明の描画処理装置を適用し
たシステム中の演算装置の構成ブロック図である。
FIG. 3 is a block diagram showing a configuration of an arithmetic unit in a system to which the drawing processing apparatus of the present invention shown in FIG. 1 is applied.

【図4】 本発明の描画処理装置の構成ブロック図であ
る。
FIG. 4 is a configuration block diagram of a drawing processing apparatus of the present invention.

【図5】 本発明の描画処理装置における書き換え制御
部の内部ブロック図である。
FIG. 5 is an internal block diagram of a rewriting control unit in the drawing processing apparatus of the present invention.

【図6】 本発明の描画処理装置における書き換えデー
タテーブルの構造例である。
FIG. 6 is a structural example of a rewrite data table in the drawing processing apparatus of the present invention.

【図7】 本発明の描画処理装置におけるノンリアルタ
イムパスの処理フローを示す図である。
FIG. 7 is a diagram showing a processing flow of a non-real-time path in the drawing processing apparatus of the present invention.

【図8】 本発明の描画処理装置におけるリアルタイム
パスの処理フローを示す図である。
FIG. 8 is a diagram showing a processing flow of a real-time path in the drawing processing apparatus of the present invention.

【図9】 本発明の描画処理装置におけるバンド分割例
を示す図である。
FIG. 9 is a diagram showing an example of band division in the drawing processing apparatus of the present invention.

【図10】 本発明の描画処理装置におけるハードウェ
ア構成例を示す図である。
FIG. 10 is a diagram illustrating an example of a hardware configuration of a drawing processing apparatus according to the present invention.

【図11】 本発明の描画処理装置における再構成可能
なハードウェアのモジュール構成例を示す図である。
FIG. 11 is a diagram illustrating an example of a module configuration of reconfigurable hardware in the drawing processing apparatus of the present invention.

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

1 演算装置 2 一体化描画処理装置 3 出力デバイス 11 パス決定手段 12 書き換え制御データ生成手段 13 画像転送手段 21 リアルタイムパス手段 22 リアルタイムパス手段 23 演算装置I/F 24 出力デバイスI/F 101 PDL入力部 102 字句解析部 103 文字図形、ラスター処理分割部 111 ラスター処理負荷計算部 112 計算負荷データベース 113 ラスター処理パス決定部 114 書き換えデータベース 211,221 ワークメモリ 212,222 FPGA 213,223 書き換え制御部 224 リターン切替え部 REFERENCE SIGNS LIST 1 arithmetic unit 2 integrated drawing processing unit 3 output device 11 path determination unit 12 rewrite control data generation unit 13 image transfer unit 21 real-time path unit 22 real-time path unit 23 arithmetic unit I / F 24 output device I / F 101 PDL input unit 102 lexical analysis unit 103 character / graphic / raster processing division unit 111 raster processing load calculation unit 112 calculation load database 113 raster processing path determination unit 114 rewrite database 211, 221 work memory 212, 222 FPGA 213, 223 rewrite control unit 224 return switching unit

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 内部素子の接続関係で処理機能が決定さ
れる再構成可能なハードウェアによって構成され、ラス
ター画像データを含む入力画像データを処理し出力デバ
イスをドライブする描画処理装置において、 上記再構成可能なハードウェアを構成要素とし、上記出
力デバイスの画像処理速度に同期して処理するリアルタ
イムパス手段と、 上記再構成可能なハードウェアを構成要素とし、上記同
期速度より遅い速度で処理するノンリアルタイムパス手
段と、 上記入力画像データの画像処理サイズと処理内容に基づ
いて、該画像データの処理を上記リアルタイムパス手段
で実行するか、上記ノンリアルタイムパス手段で実行す
るかを決定するパス決定手段と、 上記再構成可能なハードウェアの処理機能を変更するた
めの書き換え制御手段と、 を有することを特徴とする描画処理装置。
1. A drawing processing apparatus configured by reconfigurable hardware whose processing function is determined by the connection relation of internal elements, processes input image data including raster image data, and drives an output device. A real-time path means for making the configurable hardware a component and performing processing in synchronization with the image processing speed of the output device; and a non-processing device for making the reconfigurable hardware a component and performing processing at a speed lower than the synchronization speed Real-time path means; path determination means for determining whether to execute the processing of the image data by the real-time path means or the non-real-time path means based on the image processing size and processing content of the input image data Rewriting control means for changing the processing function of the reconfigurable hardware; Drawing processing apparatus characterized by having a.
【請求項2】 上記再構成可能なハードウェアは、処理
ページ内の画像データを分割したバンド単位で処理を行
うことを特徴とする請求項1記載の描画処理装置。
2. The drawing processing apparatus according to claim 1, wherein the reconfigurable hardware performs processing in units of bands obtained by dividing image data in a processing page.
【請求項3】 上記再構成可能なハードウェアはFPG
A(フィールドプログラマブルゲートアレイ)を構成要
素とすることを特徴とする請求項1記載の描画処理装
置。
3. The reconfigurable hardware is an FPG
2. The drawing processing apparatus according to claim 1, wherein A (field programmable gate array) is a constituent element.
【請求項4】 上記描画処理装置に内蔵する記憶装置の
容量を検知する記憶容量検知手段と、 上記記憶容量検知手段の検知に基づき、必要に応じてラ
スター画像データを圧縮する圧縮手段と、 上記圧縮手段で用いたアルゴリズムに対応する伸長処理
を実行する伸張手段とを備え、 少なくとも上記圧縮手段と上記伸張手段のいずれかの手
段の一部機能を上記再構成可能なハードウェアで構成し
たことを特徴とする請求項1記載の描画処理装置。
4. A storage capacity detecting means for detecting a capacity of a storage device incorporated in the drawing processing apparatus; a compression means for compressing raster image data as required based on the detection of the storage capacity detecting means; Decompression means for executing decompression processing corresponding to the algorithm used by the compression means, wherein at least a part of the function of any one of the compression means and the decompression means is constituted by the reconfigurable hardware. The drawing processing apparatus according to claim 1, wherein:
【請求項5】 上記ノンリアルタイムパス手段は、上記
記憶装置からラスター画像データをバンド単位で読み出
し、該読み出したバンド単位のラスター画像データの処
理を上記ノンリアルタイムパス手段を構成する再構成可
能なハードウェアにおいて実行し、処理データを上記記
憶装置に再格納する構成を有することを特徴とする請求
項4記載の描画処理装置。
5. The non-real-time path means reads the raster image data from the storage device in band units, and processes the read raster image data in band units in a reconfigurable hardware which constitutes the non-real-time path means. 5. The drawing processing apparatus according to claim 4, wherein the drawing processing apparatus is configured to execute the processing in hardware and re-store processing data in the storage device.
【請求項6】 上記リアルタイムパス手段は、上記記憶
装置からラスター画像データをバンド単位で読み出し、
該読み出したバンド単位のラスター画像データの処理を
上記リアルタイムパス手段を構成する再構成可能なハー
ドウェアにおいて実行し、該処理データを上記出力デバ
イスに順次出力する構成を有することを特徴とする請求
項4記載の描画処理装置。
6. The real-time path means reads raster image data from the storage device in band units,
The system according to claim 1, wherein the processing of the read raster image data in band units is executed in reconfigurable hardware constituting the real-time path means, and the processed data is sequentially output to the output device. 5. The drawing processing apparatus according to 4.
【請求項7】 上記書き換え制御手段は、 入力画像データの少なくとも1ページ処理に必要となる
上記ノンリアルタイムパス手段と上記リアルタイムパス
手段の再構成可能なハードウェアの内部素子接続の態様
を決める処理ロジックデータと、 上記1ページ処理に必要な上記ノンリアルタイムパス手
段と上記リアルタイムパス手段における処理手順データ
と、 必要に応じて上記処理ロジックデータに付随する処理パ
ラメータと、 を含む制御データに基づいて上記ノンリアルタイムパス
手段または上記リアルタイムパス手段を構成する再構成
可能なハードウェアの再構成を実行し、 上記再構成可能なハードウェアは、上記制御データに基
づいて再構成が行われ、上記入力画像データの処理を実
行することを特徴とする請求項1記載の描画処理装置。
7. The processing logic for determining a mode of connection of internal elements of reconfigurable hardware of the non-real-time path means and the real-time path means required for processing at least one page of input image data. The non-real-time path means required for the one-page processing, the processing procedure data in the real-time path means, and processing parameters attached to the processing logic data as necessary. Performing real-time path means or reconfiguration of reconfigurable hardware constituting the real-time path means; the reconfigurable hardware is reconfigured based on the control data; 2. The drawing process according to claim 1, wherein the process is executed. Location.
【請求項8】 上記描画処理装置は、入力画像データに
ついて1ページ内の画像を上記ノンリアルタイムパス手
段において処理を実行し、該処理データをメモリに蓄積
し、該メモリに蓄積された上記ノンリアルタイムパス手
段における処理データを上記リアルタイムパスで処理す
る構成を有することを特徴とする請求項1記載の描画処
理装置。
8. The non-real-time path means executes processing of an image in one page with respect to input image data, stores the processed data in a memory, and stores the non-real-time data stored in the memory. 2. The drawing processing apparatus according to claim 1, further comprising a configuration for processing the processing data in the path unit by the real-time path.
【請求項9】 上記処理ロジックデータは、上記ノンリ
アルタイムパス手段または上記リアルタイムパス手段に
おける処理単位の領域内に複数のラスターデータを有す
る場合、該領域内に含まれる個々のラスターデータ毎の
処理ロジックデータを連結した一連のテーブルによって
構成されるものであることを特徴とする請求項7記載の
描画処理装置。
9. When the processing logic data includes a plurality of raster data in an area of a processing unit in the non-real-time path means or the real-time path means, the processing logic for each raster data included in the area is provided. 8. The drawing processing apparatus according to claim 7, wherein the drawing processing apparatus is configured by a series of tables in which data is linked.
【請求項10】 上記書き換え制御手段は、上記入力画
像データに対する一連の画像処理を複数の処理モジュー
ルに分解した処理モジュール単位で書き換え制御データ
を構成するとともに、 上記書き換え制御手段は、上記再構成可能なハードウェ
アを構成するFPGAをゲートサイズに換算した値に相
当する上記処理モジュールの組み合わせに基づいて上記
FPGAの書き換えを制御し、 上記書き換え制御されたFPGAは、上記書き換えに基
づく上記処理モジュールの組み合わせを一括して実行す
る構成であることを特徴とする請求項7記載の描画処理
装置。
10. The rewrite control means configures rewrite control data in units of processing modules obtained by decomposing a series of image processing for the input image data into a plurality of processing modules, and the rewrite control means is configured to be capable of performing the reconfiguration. The rewriting of the FPGA is controlled based on a combination of the processing modules corresponding to a value obtained by converting an FPGA constituting a hardware into a gate size, and the rewriting-controlled FPGA is a combination of the processing modules based on the rewriting. 8. The drawing processing apparatus according to claim 7, wherein the processing is performed collectively.
【請求項11】 上記再構成可能なハードウェアは上記
描画処理装置内の記憶装置に記憶された画像データを逐
次読み出して処理を実行する構成を有し、 上記記憶装置と上記再構成可能なハードウェア間には2
以上のバンドバッファを有し、上記記憶装置から上記再
構成可能なハードウェアへのデータ転送は該2以上のバ
ンドバッファを介して実行する構成であることを特徴と
する請求項1記載の描画処理装置。
11. The reconfigurable hardware has a configuration for sequentially reading out image data stored in a storage device in the drawing processing apparatus and executing a process, and the reconfigurable hardware includes the storage device and the reconfigurable hardware. 2 between wears
2. The drawing process according to claim 1, further comprising the band buffer described above, wherein the data transfer from the storage device to the reconfigurable hardware is executed via the two or more band buffers. apparatus.
JP10256150A 1998-09-10 1998-09-10 Plotting processor Pending JP2000090237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10256150A JP2000090237A (en) 1998-09-10 1998-09-10 Plotting processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10256150A JP2000090237A (en) 1998-09-10 1998-09-10 Plotting processor

Publications (1)

Publication Number Publication Date
JP2000090237A true JP2000090237A (en) 2000-03-31

Family

ID=17288611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10256150A Pending JP2000090237A (en) 1998-09-10 1998-09-10 Plotting processor

Country Status (1)

Country Link
JP (1) JP2000090237A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6922737B2 (en) * 2001-09-10 2005-07-26 Hitachi, Ltd. Storage control device and method for management of storage control device
JP2008033702A (en) * 2006-07-31 2008-02-14 Fuji Xerox Co Ltd Arithmetic processing system, image processing system, and control program
JP2011154711A (en) * 2002-10-31 2011-08-11 Lockheed Martin Corp Improved computing architecture, related system and method
JP2013078901A (en) * 2011-10-04 2013-05-02 Ricoh Co Ltd Apparatus and method for forming image
US9013750B2 (en) 2009-06-25 2015-04-21 Canon Kabushiki Kaisha Image processing for processing image data in correspondence with each pixel of an image
US9466017B2 (en) 2009-07-01 2016-10-11 Canon Kabushiki Kaisha Image processing device and image processing apparatus which process image data in correspondence with one or more image pixels of an image
US9635218B2 (en) 2009-07-03 2017-04-25 Canon Kabushiki Kaisha Image processing based on a pixel value in image data

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6922737B2 (en) * 2001-09-10 2005-07-26 Hitachi, Ltd. Storage control device and method for management of storage control device
US7373436B2 (en) 2001-09-10 2008-05-13 Hitachi, Ltd. Storage control device and method for management of storage control device
JP2011154711A (en) * 2002-10-31 2011-08-11 Lockheed Martin Corp Improved computing architecture, related system and method
JP2011175655A (en) * 2002-10-31 2011-09-08 Lockheed Martin Corp Pipeline accelerator including multiple pipeline units, related computing machine, and method
JP2008033702A (en) * 2006-07-31 2008-02-14 Fuji Xerox Co Ltd Arithmetic processing system, image processing system, and control program
US9013750B2 (en) 2009-06-25 2015-04-21 Canon Kabushiki Kaisha Image processing for processing image data in correspondence with each pixel of an image
US9466017B2 (en) 2009-07-01 2016-10-11 Canon Kabushiki Kaisha Image processing device and image processing apparatus which process image data in correspondence with one or more image pixels of an image
US9661182B2 (en) 2009-07-01 2017-05-23 Canon Kabushiki Kaisha Image processing device and image processing apparatus
US9888150B2 (en) 2009-07-01 2018-02-06 Canon Kabushiki Kaisha Image processing apparatus, and image processing device which processes image data in correspondence with one or more pixels of an image
US9635218B2 (en) 2009-07-03 2017-04-25 Canon Kabushiki Kaisha Image processing based on a pixel value in image data
US10063748B2 (en) 2009-07-03 2018-08-28 Canon Kabushiki Kaisha Image processing apparatus having a determination unit that determines an attribute value which specifies processing content of one or more pixels
JP2013078901A (en) * 2011-10-04 2013-05-02 Ricoh Co Ltd Apparatus and method for forming image

Similar Documents

Publication Publication Date Title
JP2922680B2 (en) Compressed image storage method for high-resolution computer graphics
JPH11147335A (en) Plot process apparatus
JP4405884B2 (en) Drawing processing circuit and image output control device
JP2000090237A (en) Plotting processor
JPH1027127A (en) Data compression storage arithmetic unit
JPH10329371A (en) Printer memory boost
JPH11112753A (en) Picture processor
JP2000255117A (en) Printing processing apparatus and method for processing printing
JPH11165434A (en) Lithography processing device
JPH05204747A (en) Semiconductor memory controller
JP3680525B2 (en) Drawing processor
JP3093245B2 (en) Image processing device, output control device, image processing system and method
JP3950506B2 (en) Image processing apparatus and control method
JP3271539B2 (en) Image data processing device
JP2002024840A (en) Drawing processing device
JP2000255125A (en) Printing processing device and method
JP3763751B2 (en) Image compression / decompression apparatus and image compression / decompression method
JPH0550666A (en) Printer
JPH04323058A (en) Output method and apparatus
JP2020090075A (en) Image formation device and image formation method
JPH07242031A (en) Printer
JPH09240069A (en) Page printer controller and printing control method for page printer
JP2001211317A (en) Device and method for compression, storage medium recorded with compressing method, and printer
JPH09167243A (en) Image forming device
JPH0679320B2 (en) Image processing device