JP2007207269A - Apparatus and system for image processing - Google Patents

Apparatus and system for image processing Download PDF

Info

Publication number
JP2007207269A
JP2007207269A JP2007095991A JP2007095991A JP2007207269A JP 2007207269 A JP2007207269 A JP 2007207269A JP 2007095991 A JP2007095991 A JP 2007095991A JP 2007095991 A JP2007095991 A JP 2007095991A JP 2007207269 A JP2007207269 A JP 2007207269A
Authority
JP
Japan
Prior art keywords
data
function
unit
image processing
image
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.)
Granted
Application number
JP2007095991A
Other languages
Japanese (ja)
Other versions
JP4292218B2 (en
Inventor
Shoji Muramatsu
彰二 村松
Yoshiki Kobayashi
小林  芳樹
Kenji Hirose
健二 廣瀬
Shigehisa Sakimura
茂寿 崎村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Hitachi Information and Control Systems Inc
Hitachi Information and Control Solutions Ltd
Original Assignee
Hitachi Ltd
Hitachi Information and Control Systems Inc
Hitachi Information and Control Solutions Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi Information and Control Systems Inc, Hitachi Information and Control Solutions Ltd filed Critical Hitachi Ltd
Priority to JP2007095991A priority Critical patent/JP4292218B2/en
Publication of JP2007207269A publication Critical patent/JP2007207269A/en
Application granted granted Critical
Publication of JP4292218B2 publication Critical patent/JP4292218B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus and a system for image processing which can parallel process a plurality of image processing functions through efficient memory access and perform high-speed image processing. <P>SOLUTION: An image processing system has a priority function selecting part 30, which selects functions which operate according to priorities of functions, a data transfer part 20 which preferentially performs memory access necessary for the selected functions, and a plurality of data storage means 40 for storing a specified amount of data to process functions between a shared memory 2 and a plurality of function processing parts 5 and 7 which execute functions. In addition, the image processing system also has a data controller 4, and the data controller 4 collectively controls a set of a CPU 1, the shared memory 2 and a bus 3, based on the request from each function processing part. For the function processing parts 5 and 7, by independently transmitting or receiving the data to or from the data controller 4, functions are processed in parallel with other functions. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は複数の機能を処理する画像処理装置に関し、特にCPUの主メモリと画像メモ
リとを共有し、効率的に複数の機能を処理する画像処理装置及び画像処理システムに関す
る。
The present invention relates to an image processing apparatus that processes a plurality of functions, and more particularly to an image processing apparatus and an image processing system that share a main memory and an image memory of a CPU and efficiently process a plurality of functions.

画像処理を高速に行う従来技術の構成として、図2の従来例1に示したように画像処理
を行う画像処理部専用に複数の画像メモリを具備する方式がある。この方式によれば、画
像処理を行う対象データを画像メモリから画像処理部に供給するのと並行して、処理結果
データを画像処理部から画像メモリに保持することが可能となり、高速に画像処理を行う
ことができる。このことは、画像処理部が映像を入出力する映像入出力部の場合でも、映
像入力と映像出力とが画像メモリに並列にアクセスすることができるため、画像処理部と
同じように高速に処理することができる。つまり、映像の画像データを入力するのと並行
して、画像データを映像出力として出力することができる。
As a configuration of the prior art that performs image processing at high speed, there is a system that includes a plurality of image memories dedicated to an image processing unit that performs image processing, as shown in Conventional Example 1 of FIG. According to this method, it is possible to hold the processing result data from the image processing unit to the image memory in parallel with the supply of the target data to be processed from the image memory to the image processing unit. It can be performed. This means that even if the image processing unit is a video input / output unit that inputs and outputs video, the video input and video output can access the image memory in parallel, so that it can be processed as fast as the image processing unit. can do. That is, the image data can be output as the video output in parallel with the input of the video image data.

次に、画像処理のシステムを小さくする従来技術の構成として、図2の従来例2に示し
たようにCPUが使用するメモリと画像処理部により取り扱う画像メモリとを共有メモリ
を設けることにより共有する技術がある。この従来技術によれば、CPUが使用するメモ
リと画像メモリとを共有して使用するため、ハードウエアの物量の削減が可能で画像処理
システム自体を小さくすることができる。また、バスの制御を行うことが可能な処理部で
あれば、その処理部をバスに接続することで機能拡張を容易に実施することができる。
Next, as a configuration of the prior art for reducing the size of the image processing system, the memory used by the CPU and the image memory handled by the image processing unit are shared by providing a shared memory as shown in Conventional Example 2 in FIG. There is technology. According to this prior art, since the memory used by the CPU and the image memory are shared and used, the amount of hardware can be reduced and the image processing system itself can be made smaller. Further, if the processing unit can control the bus, the function expansion can be easily performed by connecting the processing unit to the bus.

しかしながら、図2の従来例1では、画像処理を高速に行うため画像処理部が専用の画
像メモリを複数個具備する構成のため、ハードウエアの物量が大きくなってしまう。また
、CPUから画像メモリ中のデータにアクセスする場合、画像処理部を介さなければ画像
メモリ中のデータにアクセスすることができず、アクセス時にオーバヘッドが発生してし
まう。このオーバヘッドにより、従来例1の技術においては、CPUから画像メモリへ高
速にアクセスすることができない。
However, in the conventional example 1 in FIG. 2, since the image processing unit includes a plurality of dedicated image memories in order to perform image processing at high speed, the amount of hardware increases. Further, when accessing data in the image memory from the CPU, the data in the image memory cannot be accessed without going through the image processing unit, resulting in overhead. Due to this overhead, the technology of Conventional Example 1 cannot access the image memory from the CPU at high speed.

また、図2の画像処理システムを小さくする従来例2では、CPUと画像処理関連の機
能とが共有メモリによってメモリを共有するため、図中のバス2の負荷が大きくなること
が問題であった。例えば、画像データの演算処理と映像の入出力処理とを並行して行う場
合、画像演算処理を行う画像データと映像データとがバス2を介してメモリにアクセスさ
れるため、画像処理用の専用メモリを具備した構成よりもバス2の負荷が大きくなる。つ
まり、従来例2の構成ではバスの調停処理が必要となるため、画像処理部や映像入出力部
などが頻繁にバス2を使用する場合、バスの調定処理のオーバヘッドにより装置全体の処
理速度を高めることが困難になってしまう。
Further, in the conventional example 2 in which the image processing system in FIG. 2 is made small, the CPU and the image processing related functions share the memory by the shared memory, so that the load on the bus 2 in the figure becomes large. . For example, when the image data calculation process and the video input / output process are performed in parallel, the image data and the video data to be subjected to the image calculation process are accessed to the memory via the bus 2, and therefore dedicated for image processing. The load on the bus 2 becomes larger than that of the configuration including the memory. In other words, the configuration of Conventional Example 2 requires bus arbitration processing, and therefore when the bus 2 is frequently used by an image processing unit, video input / output unit, etc., the processing speed of the entire apparatus due to the bus arbitration processing overhead. It will be difficult to increase.

さらに、図2の従来例2では、専用の画像データをメモリにアクセスするためのバスを
複数持たないため、並列で画像データを処理することができない。例えば、画像処理を行
う対象データを共有メモリから画像処理部に供給するのと並行して、処理結果データを画
像処理部から共有メモリに保持することはできない。このため、従来例2の技術では、処
理速度が低下してしまう。
Furthermore, in the conventional example 2 of FIG. 2, since there are not a plurality of buses for accessing the memory for the dedicated image data, the image data cannot be processed in parallel. For example, the processing result data cannot be held in the shared memory from the image processing unit in parallel with the supply of the target data for image processing from the shared memory to the image processing unit. For this reason, in the technique of Conventional Example 2, the processing speed decreases.

本発明の目的は、従来技術の問題点を克服し、効率的なメモリアクセスによって、複数
の画像処理の機能を並列に処理することを可能とし、高速に画像処理を行うことのできる
画像処理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to overcome the problems of the prior art and enable an image processing apparatus capable of processing a plurality of image processing functions in parallel by efficient memory access and performing image processing at high speed. Is to provide.

上記目的を達成するために本発明は、CPUと、該CPUの主メモリと画像メモリとを共有する共有メモリと、画像処理を実行する複数の機能処理部と、前記CPUと前記共有メモリとが接続されたバスとを備えた画像処理装置において、前記複数の機能処理部から要求された要求機能の優先度に応じて要求機能を選択する優先機能選択部と、前記バスに接続され、前記優先機能選択部により選択された機能が必要とする前記共有メモリへのメモリアクセスを優先的に行うデータ転送部と、機能を処理するためのデータを前記共有メモリと前記複数の機能処理部との間で保持する複数のデータ保持部と、前記複数の機能処理部の各々は、前記データ保持部に対して独立にデータのやり取りを行い、要求機能を他の機能処理部とは独立して並列に処理し、前記機能処理部は処理した処理結果を、処理対象の画像データが機能処理部に供給されるのと並列に接続されているデータ保持部に記憶することを特徴とするものである。   To achieve the above object, the present invention provides a CPU, a shared memory that shares the main memory and image memory of the CPU, a plurality of function processing units that execute image processing, and the CPU and the shared memory. In an image processing apparatus including a connected bus, a priority function selection unit that selects a requested function according to a priority of a requested function requested from the plurality of function processing units, and the priority connected to the bus and the priority A data transfer unit that preferentially performs memory access to the shared memory required by the function selected by the function selection unit, and data for processing functions between the shared memory and the plurality of function processing units. Each of the plurality of data holding units held by each of the plurality of function processing units exchanges data with the data holding unit independently, and the requested function is parallel to the other function processing units independently. Treated, the function processor is a processing result of processing, it is characterized in that stored in the data holding unit in which image data are connected in parallel to that supplied to the function processing unit to be processed.

また、上記目的を達成するために本発明は、CPUと、該CPUの主メモリと画像メモリとを共有する共有メモリと、画像処理を実行する複数の機能処理部と、前記CPUと前記共有メモリとが接続されたバスを備えた画像処理装置において、前記複数の機能処理部から要求された要求機能の優先度に応じて要求機能を選択する優先機能選択部と、前記バスに接続され、前記優先機能選択部により選択された機能が必要とする前記共有メモリへのメモリアクセスを優先的に行うデータ転送部と、機能を処理するためのデータを前記共有メモリと前記複数の機能処理部との間で保持する複数のデータ保持部と、前記複数の機能処理部の各々は、前記データ保持部に対して独立にデータのやり取りを行い、要求機能を他の機能処理部とは独立して並列に処理し、前記データ転送部は、使用しているメモリのビット幅に応じて、複数の画像データを同時にアクセスし、処理に必要な画像データだけを機能処理部に供給することを特徴とするものである。   In order to achieve the above object, the present invention provides a CPU, a shared memory that shares the main memory and image memory of the CPU, a plurality of function processing units that execute image processing, the CPU, and the shared memory. In the image processing apparatus including the bus connected to the priority function selection unit that selects the requested function according to the priority of the requested function requested from the plurality of function processing units, and connected to the bus, A data transfer unit that preferentially performs memory access to the shared memory required by the function selected by the priority function selecting unit, and data for processing a function between the shared memory and the plurality of function processing units. Each of the plurality of data holding units held between each of the plurality of function processing units exchanges data with the data holding unit independently, and the requested function is independent of other function processing units. In accordance with the bit width of the memory being used, the data transfer unit simultaneously accesses a plurality of image data and supplies only the image data necessary for processing to the function processing unit. To do.

本発明によれば、画像処理機能を実行する画像処理部とCPUの主メモリと共有した共
有メモリとの間に、データ保持部を具備することによって、CPUと主メモリを結ぶバス
の負荷を軽減することができる。
According to the present invention, the load of the bus connecting the CPU and the main memory is reduced by providing the data holding unit between the image processing unit that executes the image processing function and the shared memory shared with the main memory of the CPU. can do.

以下、本発明の一実施形態を図面を用いて説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態にかかわる画像処理装置の原理を示すブロック図である。   FIG. 1 is a block diagram showing the principle of an image processing apparatus according to an embodiment of the present invention.

まず、図1を用いて、本実施形態にかかわる画像処理装置の原理を概要と共に説明する
First, the principle of the image processing apparatus according to the present embodiment will be described together with an outline with reference to FIG.

画像処理装置全体はCPU1により制御される。CPU1が実行する制御のプログラム
や実行に必要となるデータは共有メモリ2に記憶されている。ここで、実行に必要なデー
タとは、例えばフィルタ処理のパラメータや画像データのことである。つまり、CPU1
は共有メモリにアクセスし、必要なデータをリード/ライトすることにより画像処理装置
の制御を行う。画像処理装置における画像間演算処理や映像の入出力処理といった画像処
理機能は、画像間演算処理を機能処理部5で映像の入出力処理を機能処理部7で機能を分
担して行い、それぞれの機能処理部5,7で独立に実行される。各機能処理部5,7が処
理を実行する場合、機能処理部5,7からは画像処理を実行する際の要求信号を信号線6
,8を介して優先機能選択部30に送り、共有メモリ2への画像データのアクセスを要求
する。各機能処理部5,7から要求を受けた優先機能選択部30は、各機能処理部5,7
が実行する機能の予め設定された優先順位に基づき実行する優先順位を決定する。そして
、優先順位の最も高い機能処理部の機能を実行するように、データ転送部20に信号を送
る。データ転送部20では、優先機能選択部30によって選択された機能の処理が実行で
きるよう共有メモリ2にアクセスして、処理に必要なメモリアクセスを行い、機能処理部
5,7で使用する画像データを読み出す。メモリアクセスによって得られた前述の画像デ
ータは、データ保持部40,41に格納され機能処理部5,7に供給される。尚、以下の
説明では、データ転送部20,優先機能選択部30,データ保持部40,41をまとめて
データ制御部4とする。
The entire image processing apparatus is controlled by the CPU 1. A control program executed by the CPU 1 and data necessary for the execution are stored in the shared memory 2. Here, the data required for execution is, for example, parameters for filter processing or image data. That is, CPU1
Controls the image processing apparatus by accessing the shared memory and reading / writing necessary data. Image processing functions such as inter-image arithmetic processing and video input / output processing in the image processing apparatus are performed by performing the inter-image arithmetic processing by the function processing unit 5 and the video input / output processing by the function processing unit 7. It is executed independently by the function processing units 5 and 7. When the function processing units 5 and 7 execute processing, the function processing units 5 and 7 send request signals for executing image processing to the signal line 6.
, 8 to the priority function selection unit 30 to request access to the shared memory 2 for image data. The priority function selection unit 30 that has received a request from each function processing unit 5, 7
The priority to be executed is determined based on the preset priority of the function to be executed. Then, a signal is sent to the data transfer unit 20 so as to execute the function of the function processing unit with the highest priority. The data transfer unit 20 accesses the shared memory 2 so as to execute processing of the function selected by the priority function selection unit 30, performs memory access necessary for processing, and uses image data used by the function processing units 5 and 7. Is read. The aforementioned image data obtained by memory access is stored in the data holding units 40 and 41 and supplied to the function processing units 5 and 7. In the following description, the data transfer unit 20, the priority function selection unit 30, and the data holding units 40 and 41 are collectively referred to as the data control unit 4.

本発明の実施形態の原理によると、データ保持部40,41によって、機能処理部5,
7が処理するデータを記憶できるため、記憶されたデータを処理する範囲内であれば、機
能処理部5,7は並列に処理を実行することが可能である。このため、効率的にデータを
データ保持部40,41に記憶させることができ装置全体としての処理速度の向上が可能
となる。
According to the principle of the embodiment of the present invention, the data processing units 5
Since the data to be processed by 7 can be stored, the function processing units 5 and 7 can execute the processes in parallel as long as the stored data is within the processing range. For this reason, data can be efficiently stored in the data holding units 40 and 41, and the processing speed of the entire apparatus can be improved.

次に、具体的な発明の一実施形態を図3に示す。   Next, an embodiment of a specific invention is shown in FIG.

以下、図3で示した一実施形態を詳細に説明する。   Hereinafter, the embodiment shown in FIG. 3 will be described in detail.

図3で説明する一実施形態は、画像処理装置の機能として、画像処理に使用する画像デ
ータの入力を制御する映像入力部60と、モニタなどの映像表示部への画像データの出力
を制御する映像出力部70と、複数の画像処理機能を保持した画像処理部80,90を備
えている。処理される画像データは、カメラなどの画像取得部から映像入力部60に入力
され、データ制御部4を介して共有メモリ2に記憶される。画素変換,画像間演算,エッ
ジ強調,特徴量抽出,画像間パターンマッチングなどの画像処理は、共有メモリ2に記憶
されている画像データに対して画像処理部80,90で行われる。また、各画像処理機能
の制御は、機能制御部50を介してCPU1によって制御される。このとき、本実施形態
におけるバス3の調定処理は、CPU1とデータ制御部4のみが行い、映像入力部60,
映像出力部70、および画像処理部80,90はバス3の調定処理を行わない。これによ
って、本発明の実施形態では、バス3における調定処理の負荷が軽減されているため、装
置全体の処理速度を向上することが可能である。また、各画像処理を実行する処理部の各
々が、バス3の制御を行うデータ制御部4に並列に接続されているため、データ制御部4
以降の処理を並列に実行することができる。尚、図3の機能制御部50,データ制御部4
,画像処理部80,90でプロセッサ10を構成しているが、このプロセッサ10に映像
入力部60,映像出力部70を加えたものをプロセッサとして構成することも考えられる
In the embodiment described with reference to FIG. 3, as a function of the image processing apparatus, a video input unit 60 that controls input of image data used for image processing and an output of image data to a video display unit such as a monitor are controlled. A video output unit 70 and image processing units 80 and 90 each having a plurality of image processing functions are provided. The image data to be processed is input to the video input unit 60 from an image acquisition unit such as a camera and stored in the shared memory 2 via the data control unit 4. Image processing such as pixel conversion, inter-image calculation, edge enhancement, feature extraction, and inter-image pattern matching is performed on the image data stored in the shared memory 2 by the image processing units 80 and 90. Control of each image processing function is controlled by the CPU 1 via the function control unit 50. At this time, the setting process of the bus 3 in this embodiment is performed only by the CPU 1 and the data control unit 4, and the video input unit 60,
The video output unit 70 and the image processing units 80 and 90 do not perform the bus 3 adjustment processing. As a result, in the embodiment of the present invention, since the load of the adjustment processing in the bus 3 is reduced, the processing speed of the entire apparatus can be improved. Further, since each of the processing units that execute each image processing is connected in parallel to the data control unit 4 that controls the bus 3, the data control unit 4
Subsequent processing can be executed in parallel. The function control unit 50 and the data control unit 4 in FIG.
The image processing units 80 and 90 constitute the processor 10. However, it is also conceivable that the processor 10 is configured by adding a video input unit 60 and a video output unit 70 as a processor.

図3で説明する一実施形態の画像データについて図4を用いて詳細に説明する。   The image data of the embodiment described with reference to FIG. 3 will be described in detail with reference to FIG.

本実施形態では、画像処理に使用されるデータのビット幅を8ビットとしている。その
ため、映像入力部60から入力される画像データや、画像処理部80,90に供給される
画像データのビット幅を8ビットとして以降の説明を行う。
In this embodiment, the bit width of data used for image processing is 8 bits. Therefore, the following description will be made assuming that the bit width of the image data input from the video input unit 60 and the image data supplied to the image processing units 80 and 90 is 8 bits.

まず、画像処理に使用されるデータの論理的なデータ配列を図4(1)に示す。図中の
f(x,y)は、座標値(x,y)での画像データの値を示している。次に、図4(1)
で示した画像データが、共有メモリ2にどの様に格納されているかについて説明する。本
実施形態で使用する共有メモリ2は、ビット幅(ビットの深さ)が32ビットのものを使
用している。そのため、本実施形態では、図4(2)に示すように、共有メモリ2の一つ
のアドレスに、4画素の画像データを統合して格納している。よって、本実施形態では、
1回(1クロック)のメモリアクセスで4画素の画像データにアクセスすることができる
。この方式によれば、1画素の画像処理を1クロックで行うことができる画像処理装置を
考えた場合、バス3の転送能力は、画像処理能力の4倍と考えることができる。本実施形
態では、このことを用いて効率的に画像データを共有メモリ2からデータ保持部40,
41へ転送している。また、本実施形態では、優先機能選択部30における機能の優先順
位を優先度の高い順に
映像入力処理>映像出力処理>画像演算処理
としている。この優先順位は、状況に応じて変えることも勿論可能であり、要は各処理に
対して処理優先順位を付けているということである。
First, a logical data array of data used for image processing is shown in FIG. In the figure, f (x, y) indicates the value of the image data at the coordinate value (x, y). Next, FIG. 4 (1)
A description will be given of how the image data indicated by is stored in the shared memory 2. The shared memory 2 used in the present embodiment has a bit width (bit depth) of 32 bits. Therefore, in this embodiment, as shown in FIG. 4B, the image data of 4 pixels is integrated and stored in one address of the shared memory 2. Therefore, in this embodiment,
The image data of 4 pixels can be accessed by one memory access (one clock). According to this method, when considering an image processing apparatus capable of performing image processing of one pixel with one clock, the transfer capability of the bus 3 can be considered to be four times the image processing capability. In the present embodiment, this is used to efficiently transfer image data from the shared memory 2 to the data holding unit 40,
41. Further, in the present embodiment, the priority order of the functions in the priority function selection unit 30 is set as video input processing> video output processing> image calculation processing in descending order of priority. Of course, this priority can be changed according to the situation, and the point is that processing priority is assigned to each process.

次に、図3〜図6を用いて、実際の画像処理を想定し本実施形態を詳しく説明する。   Next, the present embodiment will be described in detail assuming actual image processing with reference to FIGS.

図4(2)に示した形式で共有メモリ2に記録されている画像データに対し、画面Aと
画面Bとの画像間の加算処理を行う場合について説明する。本実施形態では、画像間の加
算処理を行う回路は、画像処理部80が具備している。
A case will be described in which addition processing between the images of the screen A and the screen B is performed on the image data recorded in the shared memory 2 in the format shown in FIG. In the present embodiment, the image processing unit 80 includes a circuit that performs an addition process between images.

まず、画像間の加算処理を行う場合の画像処理部の概要について説明する。   First, an outline of an image processing unit when performing addition processing between images will be described.

CPU1は、機能制御部50を介して、画像処理部80が加算処理を実行できるように
設定する。ここで、画像処理部80は、画像間加算処理,画像間減算処理などの画像処理
機能をレジスタ設定によって切り替えることができるものである。そして、画面Aの画像
データaを信号線83から、画面Bの画像データbを信号線84からそれぞれ供給すると
、画像処理部80は、画像データaと画像データbの加算処理を行い、処理結果である画
像データrを信号線85に出力する。このとき、信号線83,84には、画像データa,
bと共に、転送する画像データが有効であることを示す画像データ有効信号を画像処理部
80に供給している。画像処理部80は、この画像データ有効信号が示す有効データのみ
処理する。本実施形態における画像処理部80は、処理対象の二つの画像データa,bを
並列に供給することができるだけでなく、処理結果の画像データrもデータの供給と並列
に出力されるため、効率的な画像処理を行うことができる。尚、このときのタイミングチ
ャートを図5に示す。このタイミングチャートの詳しい動作内容については後述する。
The CPU 1 makes settings so that the image processing unit 80 can execute addition processing via the function control unit 50. Here, the image processing unit 80 can switch image processing functions such as inter-image addition processing and inter-image subtraction processing by register setting. Then, when the image data a of the screen A is supplied from the signal line 83 and the image data b of the screen B is supplied from the signal line 84, the image processing unit 80 performs the addition process of the image data a and the image data b, and the processing result Is output to the signal line 85. At this time, the image data a,
Along with b, an image data valid signal indicating that the image data to be transferred is valid is supplied to the image processing unit 80. The image processing unit 80 processes only valid data indicated by the image data valid signal. The image processing unit 80 according to the present embodiment can not only supply the two image data a and b to be processed in parallel, but also output the image data r as a processing result in parallel with the data supply. Image processing can be performed. A timing chart at this time is shown in FIG. Detailed operation contents of this timing chart will be described later.

次に、画像データa,bが、画像処理部80に供給されるまでの動作について説明する
Next, an operation until the image data a and b are supplied to the image processing unit 80 will be described.

CPU1は、画像データa,bを画像処理部80に供給するために必要な情報、即ち、
共有メモリ2における画像データa,bが存在するアドレス空間情報,加算処理を行うデ
ータ数の情報,処理結果データrを記憶する共有メモリ2におけるアドレス空間情報をデ
ータ転送部20に信号線51を介して設定する。この共有メモリ2へのアクセス情報の設
定が終了した後、CPU1は、画像処理部80に加算処理が行えるように設定する。この
設定は、画像処理部80内部にある起動レジスタにビットを立てることによって行われる
。画像処理部80は、加算処理の実行を行うために、図6の優先機能選択部30に信号線
82を介してデータの要求信号を送る。優先機能選択部30は、画像処理部80からの要
求信号を受け取ると、図示しないレジスタに画像処理部80からの要求信号がある旨のビ
ットを立て、このレジスタ中に立てられた画像処理部のうちで優先度の高いものから共有
メモリ2へのアクセスを行うように制御を行う。尚、この優先機能選択部30の処理につ
いては、上記方式の他に、各画像処理部からの要求信号を受け取ると、受け取った画像処
理部以外の画像処理部からの要求信号がないかどうかを調べ、優先度を比較して優先順位
の制御を行うことが考えられる。例えば、画像処理部80以外からの要求信号があれば、
さらにその画像処理部が画像処理部80よりも優先順位が高い要求かどうかを調べ、画像
処理部80が他の画像処理部よりも優先順位が高い場合や他の画像処理部からの要求信号
がない場合には、優先機能選択部30は、信号線31を介して、データ転送部20に画像
処理部80が要求するデータを取得するための共有メモリ2へのアクセスを許可する。ま
ず、画像データaの共有メモリ2へのアクセスが行われ、画像データaはデータ保持部
C120に一時記憶される。次に、画像データbの共有メモリ2へのアクセスが行われ、
画像データbはデータ保持部D130に一時記憶される。画像データbの共有メモリ2か
らデータ保持部D130への転送が終わると、データ保持部C120とデータ保持部D130とから、それぞれ画像データaと画像データbとが画像処理部80に供給される。そして、画像処理部80で処理された処理結果データrは、画像データa,bの供給から規定されたクロック数後に出力され、データ保持部E140に記憶される。記憶された処理結果データrは、データ転送部20を介して、共有メモリ2に記録される。
The CPU 1 is information necessary for supplying the image data a and b to the image processing unit 80, that is,
Address space information in the shared memory 2 where the image data a and b exist, information on the number of data to be added, and address space information in the shared memory 2 storing the processing result data r are sent to the data transfer unit 20 via the signal line 51. To set. After the setting of the access information to the shared memory 2 is completed, the CPU 1 sets the image processing unit 80 so that addition processing can be performed. This setting is performed by setting a bit in the activation register in the image processing unit 80. The image processing unit 80 sends a data request signal via the signal line 82 to the priority function selection unit 30 of FIG. 6 in order to execute the addition processing. Upon receiving the request signal from the image processing unit 80, the priority function selection unit 30 sets a bit indicating that there is a request signal from the image processing unit 80 in a register (not shown), and the priority function selection unit 30 sets the bit of the image processing unit set in this register. Control is performed so as to access the shared memory 2 from the one with higher priority. As for the processing of the priority function selection unit 30, in addition to the above method, when a request signal is received from each image processing unit, it is determined whether there is a request signal from an image processing unit other than the received image processing unit. It is conceivable to perform priority control by examining and comparing priorities. For example, if there is a request signal from other than the image processing unit 80,
Further, the image processing unit checks whether the request has a higher priority than the image processing unit 80. If the image processing unit 80 has a higher priority than the other image processing units, a request signal from another image processing unit is received. If not, the priority function selection unit 30 permits the data transfer unit 20 to access the shared memory 2 for acquiring data requested by the image processing unit 80 via the signal line 31. First, the image data a is accessed to the shared memory 2, and the image data a is temporarily stored in the data holding unit C120. Next, access to the shared memory 2 of the image data b is performed,
The image data b is temporarily stored in the data holding unit D130. When the transfer of the image data b from the shared memory 2 to the data holding unit D130 is completed, the image data a and the image data b are supplied to the image processing unit 80 from the data holding unit C120 and the data holding unit D130, respectively. Then, the processing result data r processed by the image processing unit 80 is output after a prescribed number of clocks from the supply of the image data a and b, and is stored in the data holding unit E140. The stored processing result data r is recorded in the shared memory 2 via the data transfer unit 20.

上記動作のタイミングチャートを図5に示す。図5に示すように、画像データa0〜
a39およびb0〜b39は、二度に分割されて転送されている。これは、データ保持部
C120およびD130の容量が20バイトの場合を想定したためである。この場合、所
望の画素数の加算処理を実行するためには、複数回上記の動作を繰り返す必要がある。こ
のような図5に示したタイミングチャートの動作は、図7に示すフローチャートによって
制御される(このフローチャートの制御は、データ転送部20に付加された回路で実行さ
れる)。本実施形態によれば、バス3を介してデータを転送する際に、バス3の能力の最
高性能でデータ保持部120,130にデータを転送するため、実際に画像処理部80が
データを使用している期間よりも短い期間(転送量とバス3の転送能力から計算できる最
短期間)だけバス3を占有する。バス3が開放されている場合、映像入出力処理などの他
の画像処理にバス3を使用することが可能となり、装置全体の処理速度の向上が可能とな
る。尚、ある画像処理部からの要求により、バスを使用しているが、この場合バスはある
一定期間画像処理部のために開放されているものであり、バス権を要求した画像処理部の
要求が終了した後でも、この一定期間内に別の画像処理部からの共有メモリへのアクセス
の要求があれば、バス権取得のためのやり取りなしに共有メモリへのアクセスを行うこと
ができる。尚、このバス権の調停処理は、図示していないがデータ制御部4のバス調停部
により行っている。
A timing chart of the above operation is shown in FIG. As shown in FIG.
a39 and b0 to b39 are divided and transferred twice. This is because it is assumed that the capacity of the data holding units C120 and D130 is 20 bytes. In this case, it is necessary to repeat the above-described operation a plurality of times in order to execute the addition process for a desired number of pixels. The operation of the timing chart shown in FIG. 5 is controlled by the flowchart shown in FIG. 7 (the control of this flowchart is executed by a circuit added to the data transfer unit 20). According to the present embodiment, when transferring data via the bus 3, the image processing unit 80 actually uses the data because the data is transferred to the data holding units 120 and 130 with the maximum performance of the bus 3. The bus 3 is occupied only for a period shorter than the current period (the shortest period that can be calculated from the transfer amount and the transfer capability of the bus 3). When the bus 3 is opened, the bus 3 can be used for other image processing such as video input / output processing, and the processing speed of the entire apparatus can be improved. A bus is used in response to a request from an image processing unit. In this case, the bus is open for an image processing unit for a certain period of time, and the request of the image processing unit that requested the bus right. Even after the process ends, if there is a request for access to the shared memory from another image processing unit within this fixed period, the shared memory can be accessed without exchange for acquiring the bus right. The bus arbitration processing is performed by the bus arbitration unit of the data control unit 4 although not shown.

図5では、映像出力処理の場合も同時に示している。ここでは、映像系の動作クロック
CLK3が、バス3の動作クロックCLK1や画像処理部の動作クロックCLK2に比べ
遅く設定されている。これは、映像系の動作周波数が12.5MHz もしくは25MHz
程度と低速であるためである。しかし、本実施形態によれば、映像出力の場合においても
、データ保持部B110までバス3の転送能力の最高性能で転送するため、バス3を占有
する期間が最短となる。
FIG. 5 also shows the case of video output processing. Here, the video operation clock CLK3 is set later than the operation clock CLK1 of the bus 3 and the operation clock CLK2 of the image processing unit. This is because the video operating frequency is 12.5 MHz or 25 MHz.
This is because the speed is low. However, according to the present embodiment, even in the case of video output, since the data is transferred to the data holding unit B110 with the highest performance of the transfer capability of the bus 3, the period of occupying the bus 3 is the shortest.

上記実施形態では、データ保持部120,130,140のデータ保持容量を小さいバ
イト数で実現している。これは、データ保持部がバスのデータ転送能力とデータ処理能力
との能力の違いを吸収するのに十分な容量があれば良いためである。本実施形態では、バ
ス3のデータ転送能力の方がデータを処理する能力よりも高いため、バス3の最高性能を
引き出すためのデータ保持部の容量は小さくて良い。
In the above embodiment, the data holding capacity of the data holding units 120, 130, and 140 is realized with a small number of bytes. This is because the data holding unit only needs to have a sufficient capacity to absorb the difference between the bus data transfer capability and the data processing capability. In this embodiment, since the data transfer capability of the bus 3 is higher than the capability of processing data, the capacity of the data holding unit for extracting the maximum performance of the bus 3 may be small.

上記実施形態では、データ保持部120,130,140のデータ保持容量を20バイ
トとしたが、別の実施形態において20バイトを超える容量を具備してもよい。
In the above embodiment, the data holding capacity of the data holding units 120, 130, and 140 is 20 bytes. However, in another embodiment, a capacity exceeding 20 bytes may be provided.

また、上記実施形態では、データ制御部4がデータ保持部120,130,140を具
備しているが、別の実施形態では、映像入力部60,映像出力部70,画像処理部80,
90で具備しても構わない。
In the above embodiment, the data control unit 4 includes the data holding units 120, 130, and 140. However, in another embodiment, the video input unit 60, the video output unit 70, the image processing unit 80,
90 may be provided.

さらに、上記実施形態では、有効データが供給されている間、もしくは、有効データが
出力されている間以外の期間、画像処理部80への動作クロックCLK2の供給が行われ
ていない。これは、消費電力を低くするための処理である。そのため、別の実施形態にお
いて、動作クロックの制御を行う必要はない。
Furthermore, in the above embodiment, the operation clock CLK2 is not supplied to the image processing unit 80 during a period other than when valid data is being supplied or valid data is being output. This is a process for reducing power consumption. Therefore, in another embodiment, it is not necessary to control the operation clock.

ここで、図8を用いてデータ転送部20の詳細を説明する。画像処理部80が必要とし
ている画像データa,b,rのデータの情報(アドレス空間情報,処理データ数)は、画
像データaに関してはメモリアクセス制御部220に、画像データbに関してはメモリア
クセス制御部230に、そして、処理結果の画像データrに関してはメモリアクセス制御
部240に設定される。本実施形態では、画像処理に必要な画像データa,b,rそれぞ
れに対し、一つずつメモリアクセス制御部C220,D230,E240が装備されてい
る。それぞれのメモリアクセス制御部C220,D230,E240に設定する情報は、
CPU1から信号線53を介して行われる。次に、優先機能選択部30で選択された共有
メモリ2へのアクセス情報(アクセスが許可された機能を選択する信号)は、信号線31
を介してバスインタフェース処理部21に送られ、バスインタフェース処理部21では、
許可されたメモリアクセスを実行する。
Here, details of the data transfer unit 20 will be described with reference to FIG. Information (address space information, number of processed data) of image data a, b, and r required by the image processing unit 80 is stored in the memory access control unit 220 for the image data a and memory access control for the image data b. The processing result image data r is set in the memory access control unit 240. In the present embodiment, one memory access control unit C220, D230, E240 is provided for each of image data a, b, r required for image processing. Information set in each of the memory access control units C220, D230, E240 is as follows:
This is performed from the CPU 1 through the signal line 53. Next, access information to the shared memory 2 selected by the priority function selection unit 30 (a signal for selecting a function permitted to be accessed) is sent to the signal line 31.
Is sent to the bus interface processing unit 21 via the bus interface processing unit 21.
Perform authorized memory access.

画像データaのアクセスを例にとってこのときの動作を説明する。   The operation at this time will be described by taking the access of the image data a as an example.

まず、バスインタフェース処理部21は、バス3の使用許可を取得し、使用許可が得ら
れたことをメモリアクセス制御部C220に伝える。そして、バスインタフェース処理部
21では、共有メモリ2にアクセスするのに必要な信号をメモリアクセス制御部C220
の情報(少なくとも必要なメモリのアドレス情報とメモリ範囲の情報を含む)に従って発
生し、共有メモリ2から画像データaを読み出す。読み出された画像データaは、信号線
121を介してデータ保持部C120に記憶される。
First, the bus interface processing unit 21 acquires the use permission of the bus 3, and notifies the memory access control unit C220 that the use permission has been obtained. Then, the bus interface processing unit 21 transmits a signal necessary for accessing the shared memory 2 to the memory access control unit C220.
The image data a is read out from the shared memory 2 in accordance with the information (including at least necessary memory address information and memory range information). The read image data a is stored in the data holding unit C120 via the signal line 121.

本実施形態によれば、バスインタフェース部21がバス3の使用権を取得している期間
は、バス3の使用許可を取得する処理を行う必要がない。例えば、画像データaを取得し
た後、バス3の調定処理を行わずに別の画像データbを取得することができる。また、他
の例では、画像演算処理中に映像入力処理による割り込み等が入った場合、バスインタフ
ェース部21はバス3の使用権を取得しているため新たに使用許可を取得する処理(調定
処理)は行わない。この様に、バスの調定処理の回数を減らすことによって効率的にバス
3を使用し、装置全体の処理速度を向上させることができる。特に、データ保持部A100
〜F150の記憶容量が小さい場合や、優先順位の高い処理の割り込みが頻繁に発生する
場合に本実施形態は有効である。
According to the present embodiment, during the period when the bus interface unit 21 acquires the right to use the bus 3, it is not necessary to perform a process for acquiring permission to use the bus 3. For example, after acquiring the image data a, it is possible to acquire another image data b without performing the bus 3 adjustment processing. In another example, when an interrupt or the like due to the video input process is input during the image calculation process, the bus interface unit 21 has acquired the right to use the bus 3, and thus newly acquires a use permission (arbitration). Processing) is not performed. In this way, the bus 3 can be efficiently used by reducing the number of bus adjustment processes, and the processing speed of the entire apparatus can be improved. In particular, the data holding unit A100
The present embodiment is effective when the storage capacity of .about.F150 is small or when high-priority processing interrupts frequently occur.

本実施形態の場合、共有メモリ2のビット幅(ビットの深さ)、バス3のビット幅、そ
して、データ保持部A100〜F150に記憶されるビット幅は全て32ビットであるが
、映像入力部60,映像出力部70,画像処理部80,90に入出力される画像データは
8ビットである。
In the case of this embodiment, the bit width (bit depth) of the shared memory 2, the bit width of the bus 3, and the bit width stored in the data holding units A100 to F150 are all 32 bits. 60, image data input / output to / from the video output unit 70 and the image processing units 80 and 90 is 8 bits.

次に、図9,図10を用いてデータのビット幅の制御について説明する。   Next, the control of the bit width of data will be described with reference to FIGS.

共有メモリ2からデータ保持部A100〜F150までのデータ転送は、バス3の転送
能力を最大限に使用するために32ビットで行う。まず、画像処理部80が使用するデー
タ保持部C120でのデータ転送を図9を用いて説明する。図9(1)に示すように、信
号線121を介して送られるデータは、32ビット幅でデータ保持部C120に記憶され
る。このときの、回路の動作クロックは、バス3の動作クロックと同一のCLK1である
。しかし、データを信号線83を介して画像処理部80に供給する場合は、画像処理部
80の動作クロックと同様のCLK2を使用して、画像処理部80が処理できる8ビット
幅(1画素)のデータをシリアルに供給する。
Data transfer from the shared memory 2 to the data holding units A100 to F150 is performed with 32 bits in order to use the transfer capability of the bus 3 to the maximum. First, data transfer in the data holding unit C120 used by the image processing unit 80 will be described with reference to FIG. As shown in FIG. 9 (1), the data sent via the signal line 121 is stored in the data holding unit C120 with a 32-bit width. At this time, the operation clock of the circuit is CLK1 which is the same as the operation clock of the bus 3. However, when data is supplied to the image processing unit 80 via the signal line 83, an 8-bit width (one pixel) that can be processed by the image processing unit 80 using the same CLK2 as the operation clock of the image processing unit 80. Data is supplied serially.

上記実施形態では、共有メモリ2から読み出した画像データを全て画像処理に使用する
場合の変換について説明したが、別の実施形態では、全ての画像データを使用する必要は
ない。つまり、図9(2)に示すように、画像を1/2に縮小した状態で画像処理を行う
場合、データ保持部C120に記憶された画像データの一部だけを画像処理部80に供給
してもよい。また、図9(3)に示すように、画像を1/8に縮小した状態で画像処理を
行う場合、共有メモリ2のアクセスを半分にして、図9(2)で示した制御と同様の制御
を行えば可能である。この場合、メモリアクセス制御部C220に、共有メモリ2へのア
クセスを制御する回路を付加することで所望の処理が達成される。以上のように、共有メ
モリ2へのアクセス制御と、データ保持部から出力するときの制御で、任意の縮小率を設
定することも可能である。
In the above embodiment, the conversion in the case where all the image data read from the shared memory 2 is used for image processing has been described. However, in another embodiment, it is not necessary to use all the image data. That is, as shown in FIG. 9B, when image processing is performed with the image reduced to ½, only a part of the image data stored in the data holding unit C120 is supplied to the image processing unit 80. May be. Further, as shown in FIG. 9 (3), when image processing is performed in a state where the image is reduced to 1/8, the access to the shared memory 2 is halved and the same control as that shown in FIG. 9 (2) is performed. This is possible if control is performed. In this case, a desired process is achieved by adding a circuit for controlling access to the shared memory 2 to the memory access control unit C220. As described above, an arbitrary reduction ratio can be set by controlling access to the shared memory 2 and controlling when data is output from the data holding unit.

次に、映像入力部60や画像処理部80からデータ保持部A100,E140にデータ
を記憶する場合について映像入力処理を例にとって図10を用いて説明する。
Next, a case where data is stored in the data holding units A100 and E140 from the video input unit 60 and the image processing unit 80 will be described with reference to FIG.

データ入力時には、映像入力部60の動作クロックと同一のクロックCLK3に同期し
て動作し、図10に示したデータ記録信号が有効になった箇所でデータ保持の処理を実行
する。データ出力時には、バス3の動作クロックと同一のCLK1に同期して、共有メモリ2
へ画像データの転送を行う。
At the time of data input, it operates in synchronism with the same clock CLK3 as the operation clock of the video input unit 60, and the data holding process is executed at the location where the data recording signal shown in FIG. 10 becomes valid. At the time of data output, the shared memory 2 is synchronized with the same CLK1 as the operation clock of the bus 3.
Transfer image data to.

次に、優先制御選択部30の動作について、画像処理を実行しているときに、他の処理
の実行要求が来た場合について説明する。
Next, the operation of the priority control selection unit 30 will be described in the case where an execution request for other processing is received while image processing is being performed.

ここでは、画像処理部80が実行要求を出しているときに、優先度が高い映像入力処理
部60から実行要求が来た場合について図11を用いて説明する。
Here, a case where an execution request is received from the video input processing unit 60 having a high priority when the image processing unit 80 issues an execution request will be described with reference to FIG.

画像処理部80よりも優先度が高い画像処理部からの要求が来た場合、優先度の低い画
像処理部80のための共有メモリアクセスは、即座に中断される。この時、中断されたと
きの状態をメモリアクセス制御部C210は保持しておき、優先度の高い処理のための共
有メモリアクセスが終了した後、画像処理部80のための共有メモリアクセスを再開する
When a request is received from an image processing unit having a higher priority than the image processing unit 80, the shared memory access for the image processing unit 80 having a lower priority is immediately interrupted. At this time, the memory access control unit C210 holds the state at the time of the interruption, and resumes the shared memory access for the image processing unit 80 after the shared memory access for high priority processing is completed. .

以上のように、本発明の実施形態では、いかなる状態でもバス3を画像処理が使用する
場合、バス3の転送能力の最高性能でデータ転送を行うことができる。また、各画像処理
においても、データ保持部に所望のデータが存在すれば、バス3の状態に関係なく、他の
処理機能の状態にも影響を受けずに処理を実行できるため、装置全体としての処理速度の
向上を図ることができる。
As described above, in the embodiment of the present invention, when the bus 3 is used for image processing in any state, data transfer can be performed with the highest performance of the transfer capability of the bus 3. Also, in each image processing, if desired data exists in the data holding unit, the processing can be executed regardless of the state of the bus 3, regardless of the state of other processing functions. The processing speed can be improved.

本明細書において、一つの処理部の機能が二つ以上の物理的手段により実現されても、
二つ以上の処理部の機能が一つの物理的手段により実現されてもよい。また、本発明によ
れば、画像処理機能毎にデータ保持部を具備することによって、各機能が並列に動作する
ことが可能となる。
In this specification, even if the function of one processing unit is realized by two or more physical means,
The functions of two or more processing units may be realized by one physical means. Also, according to the present invention, each function can be operated in parallel by providing a data holding unit for each image processing function.

さらに、本発明によれば、画像処理機能の処理能力が、CPUと主メモリを結ぶバスの
転送能力よりも低い場合でも、バスの転送能力を最大限使用することでバスの効率的な利
用を実現することができ装置全体の処理速度の向上を図ることができる。
Furthermore, according to the present invention, even when the processing capability of the image processing function is lower than the transfer capability of the bus connecting the CPU and the main memory, the bus can be used efficiently by maximizing the bus transfer capability. This can be realized and the processing speed of the entire apparatus can be improved.

本発明によれば、装置全体の処理速度の向上を図ることができる。   According to the present invention, the processing speed of the entire apparatus can be improved.

本発明の一実施形態における構成を説明した図である。It is a figure explaining the structure in one Embodiment of this invention. 従来例を説明した図である。It is a figure explaining the prior art example. 本発明の一実施形態における全体構成を示したブロック図である。It is the block diagram which showed the whole structure in one Embodiment of this invention. 本発明の一実施形態における共有メモリでのデータの保管方式を説明した図である。It is a figure explaining the storage system of the data in the shared memory in one Embodiment of this invention. 本発明の一実施形態における動作を示したタイミングチャートを示した図である。It is the figure which showed the timing chart which showed the operation | movement in one Embodiment of this invention. 本発明の一実施形態におけるデータを制御する箇所を示したブロック図である。It is the block diagram which showed the location which controls the data in one Embodiment of this invention. 本発明の一実施形態におけるデータ転送の動作を説明しているフローチャートである。It is a flowchart explaining operation | movement of the data transfer in one Embodiment of this invention. 本発明の一実施形態におけるメモリアクセスを制御する箇所を示したブロック図である。It is the block diagram which showed the location which controls the memory access in one Embodiment of this invention. 本発明の一実施形態におけるデータのビット幅の変換を説明した図である。It is a figure explaining conversion of the bit width of data in one embodiment of the present invention. 本発明の一実施形態におけるデータのビット幅の変換を説明した図である。It is a figure explaining conversion of the bit width of data in one embodiment of the present invention. 本発明の一実施形態における優先機能制御を説明した図である。It is a figure explaining priority function control in one embodiment of the present invention.

符号の説明Explanation of symbols

1…中央演算装置、2…共有メモリ、3…システムバス、4…データ制御部、5,7…
機能処理部、6,8…機能実行要求信号、20…データ転送部、30…優先機能選択部、
40,41…データ保持部。
DESCRIPTION OF SYMBOLS 1 ... Central processing unit, 2 ... Shared memory, 3 ... System bus, 4 ... Data control part, 5, 7 ...
Function processing unit 6, 8 ... function execution request signal, 20 ... data transfer unit, 30 ... priority function selection unit,
40, 41... Data holding unit.

Claims (6)

CPUと、
該CPUの主メモリと画像メモリとを共有する共有メモリと、
画像処理を実行する複数の機能処理部と、
前記CPUと前記共有メモリとが接続されたバスとを備えた画像処理装置において、
前記複数の機能処理部から要求された要求機能の優先度に応じて要求機能を選択する優先機能選択部と、
前記バスに接続され、前記優先機能選択部により選択された機能が必要とする前記共有メモリへのメモリアクセスを優先的に行うデータ転送部と、
機能を処理するためのデータを前記共有メモリと前記複数の機能処理部との間で保持する複数のデータ保持部と、
前記複数の機能処理部の各々は、前記データ保持部に対して独立にデータのやり取りを行い、要求機能を他の機能処理部とは独立して並列に処理し、
前記機能処理部は処理した処理結果を、処理対象の画像データが機能処理部に供給されるのと並列に接続されているデータ保持部に記憶することを特徴とする画像処理装置。
CPU,
A shared memory that shares the main memory and image memory of the CPU;
A plurality of function processing units for executing image processing;
In an image processing apparatus comprising a bus to which the CPU and the shared memory are connected,
A priority function selection unit that selects a requested function according to the priority of the requested function requested by the plurality of function processing units;
A data transfer unit that is connected to the bus and preferentially performs memory access to the shared memory required by the function selected by the priority function selection unit;
A plurality of data holding units for holding data for processing functions between the shared memory and the plurality of function processing units;
Each of the plurality of function processing units exchanges data independently with respect to the data holding unit, and processes the requested function in parallel independently of other function processing units,
The function processing unit stores the processed result in a data holding unit connected in parallel with the processing target image data supplied to the function processing unit.
CPUと、
該CPUの主メモリと画像メモリとを共有する共有メモリと、
画像処理を実行する複数の機能処理部と、
前記CPUと前記共有メモリとが接続されたバスを備えた画像処理装置において、
前記複数の機能処理部から要求された要求機能の優先度に応じて要求機能を選択する優先機能選択部と、
前記バスに接続され、前記優先機能選択部により選択された機能が必要とする前記共有メモリへのメモリアクセスを優先的に行うデータ転送部と、
機能を処理するためのデータを前記共有メモリと前記複数の機能処理部との間で保持する複数のデータ保持部と、
前記複数の機能処理部の各々は、前記データ保持部に対して独立にデータのやり取りを行い、要求機能を他の機能処理部とは独立して並列に処理し、
前記データ転送部は、使用しているメモリのビット幅に応じて、複数の画像データを同時にアクセスし、処理に必要な画像データだけを機能処理部に供給することを特徴とする画像処理装置。
CPU,
A shared memory that shares the main memory and image memory of the CPU;
A plurality of function processing units for executing image processing;
In an image processing apparatus including a bus to which the CPU and the shared memory are connected,
A priority function selection unit that selects a requested function according to the priority of the requested function requested by the plurality of function processing units;
A data transfer unit that is connected to the bus and preferentially performs memory access to the shared memory required by the function selected by the priority function selection unit;
A plurality of data holding units for holding data for processing functions between the shared memory and the plurality of function processing units;
Each of the plurality of function processing units exchanges data independently with respect to the data holding unit, and processes the requested function in parallel independently of other function processing units,
The data transfer unit is configured to simultaneously access a plurality of image data according to a bit width of a memory being used, and to supply only the image data necessary for processing to the function processing unit.
請求項1又は2記載の画像処理装置において、
前記データ転送部は、前記各機能処理部からの要求に基づいて、前記CPUと前記共有メモリとのバスの制御を一括して行う機能を備えたことを特徴とする画像処理装置。
The image processing apparatus according to claim 1 or 2,
The image processing apparatus according to claim 1, wherein the data transfer unit has a function of collectively controlling a bus between the CPU and the shared memory based on a request from each function processing unit.
請求項1又は2記載の画像処理装置において、
前記データ保持部は、CPUとメモリとのバスのビット幅と画像処理を行う機能処理部とのビット幅を変換するビット幅変換機能を備え、バスとのデータの転送時にはバスと同一の動作クロックに同期してデータを転送し、前記機能処理部とのデータの転送時には前記機能処理部と同一の動作クロックに同期してデータを転送することを特徴とする画像処理装置。
The image processing apparatus according to claim 1 or 2,
The data holding unit has a bit width conversion function for converting the bit width of the bus between the CPU and the memory and the bit width of the function processing unit that performs image processing, and the same operation clock as the bus when transferring data to the bus An image processing apparatus, wherein data is transferred in synchronization with the function processing unit, and data is transferred in synchronization with the same operation clock as the function processing unit when data is transferred to the function processing unit.
請求項1又は2記載の画像処理装置において、
前記データ転送部は、複数種類の画像データを順番にメモリから読み出し、それらの画像データを種類別に前記複数のデータ保持部に送信し、
前記複数のデータ保持部は、前記データ転送手段から送信された画像データを記憶し、各データ保持部に対応して接続されている機能処理部との間で、他の機能処理部の処理とは独立して並列に画像データを供給し画像処理を行うことを特徴とする画像処理装置。
The image processing apparatus according to claim 1 or 2,
The data transfer unit sequentially reads out a plurality of types of image data from the memory, transmits the image data to the plurality of data holding units according to types,
The plurality of data holding units store the image data transmitted from the data transfer unit, and perform processing of other function processing units between the function processing units connected to the data holding units. An image processing apparatus characterized by independently supplying image data in parallel and performing image processing.
請求項1又は2記載の画像処理装置において、
前記データ制御部と前記複数の機能処理部とは単一のシリコンチップ上に集約した集積回路上に構成したことを特徴とする画像処理装置。
The image processing apparatus according to claim 1 or 2,
An image processing apparatus, wherein the data control unit and the plurality of function processing units are configured on an integrated circuit integrated on a single silicon chip.
JP2007095991A 2007-04-02 2007-04-02 Image processing apparatus and image processing system Expired - Lifetime JP4292218B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007095991A JP4292218B2 (en) 2007-04-02 2007-04-02 Image processing apparatus and image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007095991A JP4292218B2 (en) 2007-04-02 2007-04-02 Image processing apparatus and image processing system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004152691A Division JP3959407B2 (en) 2004-05-24 2004-05-24 Image processing apparatus and image processing system

Publications (2)

Publication Number Publication Date
JP2007207269A true JP2007207269A (en) 2007-08-16
JP4292218B2 JP4292218B2 (en) 2009-07-08

Family

ID=38486613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007095991A Expired - Lifetime JP4292218B2 (en) 2007-04-02 2007-04-02 Image processing apparatus and image processing system

Country Status (1)

Country Link
JP (1) JP4292218B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014044668A (en) * 2012-08-28 2014-03-13 Juki Corp Image processor and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014044668A (en) * 2012-08-28 2014-03-13 Juki Corp Image processor and image processing method

Also Published As

Publication number Publication date
JP4292218B2 (en) 2009-07-08

Similar Documents

Publication Publication Date Title
JP3573614B2 (en) Image processing apparatus and image processing system
JP2021536051A (en) Acceleration control systems, chips and robots based on binarization algorithms
US8838862B2 (en) Data transfer device, method of transferring data, and image forming apparatus
TW201423403A (en) Efficient processing of access requests for a shared resource
US10649938B2 (en) Information processing apparatus and method of transferring data
JP4292218B2 (en) Image processing apparatus and image processing system
JP3959407B2 (en) Image processing apparatus and image processing system
US20050135402A1 (en) Data transfer apparatus
JP5360594B2 (en) DMA transfer apparatus and method
JP2006164070A (en) Data buffer circuit, interface circuit, and their control methods
US10540305B2 (en) Semiconductor device
JP5583563B2 (en) Data processing device
US10025730B2 (en) Register device and method for software programming
JP4190969B2 (en) Bus arbitration system in bus system and AMBA
JP5489871B2 (en) Image processing device
JP2007219925A (en) Bus controller, bus control program and recording medium
JP2009032085A (en) Data processing system
JPH1185673A (en) Method and device for controlling shared bus
JP2006024134A (en) Dma transfer device and dma transfer method
US20100153610A1 (en) Bus arbiter and bus system
JP2007310731A (en) Data transfer device and image forming device
JP6119997B2 (en) Data processing apparatus and data processing apparatus control method
JP2010033314A (en) Bus access circuit device and bus access method
JP6204313B2 (en) Electronics
JP2007272358A (en) Information processor

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090324

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090406

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120410

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120410

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130410

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130410

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140410

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term