JP2014191432A - Image processing system and image data processing method - Google Patents
Image processing system and image data processing method Download PDFInfo
- Publication number
- JP2014191432A JP2014191432A JP2013064234A JP2013064234A JP2014191432A JP 2014191432 A JP2014191432 A JP 2014191432A JP 2013064234 A JP2013064234 A JP 2013064234A JP 2013064234 A JP2013064234 A JP 2013064234A JP 2014191432 A JP2014191432 A JP 2014191432A
- Authority
- JP
- Japan
- Prior art keywords
- speed memory
- display
- stored
- low
- control unit
- 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
Links
Images
Abstract
Description
本発明は、画像処理システム及び画像データ処理方法に関し、特に、表示部に表示される画像を構成する複数の素材に係るデータが格納される低速メモリと、低速メモリよりも読出し動作が高速で小容量の高速メモリとを有する画像処理システムと、そのシステムにおける画像データ処理方法に関する。 The present invention relates to an image processing system and an image data processing method, and in particular, a low-speed memory storing data related to a plurality of materials constituting an image displayed on a display unit, and a reading operation faster and smaller than a low-speed memory. The present invention relates to an image processing system having a high-speed memory and a method for processing image data in the system.
ゲーム機やパチンコ機等の遊技機においては、画像、特に動画像、の表示は欠かすことのできない機能となっており、それらの画像は予め読出し専用メモリに格納され、必要に応じて読み出し、必要な画像処理を行ったのち、液晶等の表示部に表示するようになっている。特に最近では、それらの画像情報の大容量化に伴って、大容量で低価格のメモリが好んで使用される傾向にある。かかるメモリとして典型的なものが、NAND型フラッシュメモリである。 In game machines such as game machines and pachinko machines, the display of images, especially moving images, is an indispensable function, and these images are stored in a read-only memory in advance and read out as necessary. After image processing is performed, the image is displayed on a display unit such as a liquid crystal display. In particular, recently, with the increase in the capacity of such image information, a large-capacity and low-priced memory tends to be used favorably. A typical example of such a memory is a NAND flash memory.
しかしながら、そのNAND型フラッシュメモリは、例えばNOR型フラッシュメモリやDRAM(Dynamic Random Access Memory)等と比較して、処理速度の点では劣っている。特に、メモリに対して局所的にランダムにアクセスし、繰り返して画像データを読み出してくるような場合、上述のような速度の遅いNAND型フラッシュメモリでは、処理時間が無意味にかかり効率的ではない。かかる場合、NAND型フラッシュメモリのような低速メモリから一度読み出した画像データについては、再度低速メモリから読み込むのではなく、一度読み出した画像データを再利用できる仕組みがあれば便利である。 However, the NAND flash memory is inferior in processing speed as compared with, for example, a NOR flash memory and a DRAM (Dynamic Random Access Memory). In particular, when the memory is randomly accessed locally and image data is repeatedly read out, the NAND flash memory with a slow speed as described above is meaningless and inefficient. . In such a case, it is convenient if there is a mechanism that allows image data read once from a low-speed memory such as a NAND flash memory to be reused instead of reading from the low-speed memory again.
かかる仕組みを実現する方策としては、画像データが原始的に格納される読出し専用の低速メモリに加えて、書換え可能な高速メモリを追加的に設け、低速メモリから初期的に読み出して表示する際に、併せて高速メモリに転送しておき、再度表示する際には、高速メモリから読み出して表示処理を行うという方策がある。この方策は、特に局所的にランダムアクセスが生ずる場合に有用である。図6(a)は、かかる従来における技術を説明するための図である。同図に示した従来の画像処理システムは、CPU100と、画像プロセッサ200と、低速メモリ3と、高速メモリ4と、表示部5とを概して備えている。
As a measure to realize such a mechanism, in addition to a read-only low-speed memory in which image data is originally stored, an additional rewritable high-speed memory is provided, and when initially reading from the low-speed memory and displaying it. In addition, there is a measure of transferring the data to the high-speed memory and displaying it again after reading from the high-speed memory. This measure is particularly useful when random access occurs locally. FIG. 6A is a diagram for explaining such a conventional technique. The conventional image processing system shown in FIG. 1 generally includes a
しかしながら、図6(a)に示したように、高速メモリ4を追加したシステムでは、低速メモリ3と高速メモリ4のうちのいずれのメモリに表示対象となる画像データが格納されているか否かの管理はCPU100が自ら行わなければならなかった。言い換えれば、CPU100のプログラマーが、低速メモリ3及び高速メモリ4に対するメモリ管理を含めたプログラムを作成しなければならなかった。
However, as shown in FIG. 6A, in the system to which the high-
図6(b)は、そのような従来におけるCPU100の処理の手順(プログラマーが書く手順)を示す図である。同図は、素材nを表示させようとする場合の例である。すなわち、CPU100は、まず、自己の作成に係るメモリ管理情報を参照して、現時点で、素材nが高速メモリ4に格納されているか否かを判定する(ステップS101)。ここで、素材nが高速メモリ4に格納されていない場合には、CPU100は、自身により、又は画像プロセッサ200に指示して、素材nを低速メモリ3から高速メモリ4に転送し(ステップS102)、素材nは高速メモリ4に格納されているということを示すようにメモリ管理情報を更新する(ステップS103)。そして、CPU100は、素材nを高速メモリ4から読み出して表示せよ、というディスプレイリストDLを画像プロセッサ200に転送する(ステップS104)。一方、ステップS101において、素材nが高速メモリ4に格納されている場合には、直接ステップS104に移行する。このようにCPU100側、すなわちプログラマーの負担が大きいという課題があった。加えて、個々のプログラマーの技量に影響されるので、必ずしも最適にメモリ管理が行えるとは限らなかった。
FIG. 6B is a diagram showing such a conventional processing procedure of the CPU 100 (a procedure written by a programmer). The figure shows an example in which the material n is to be displayed. That is, the
なお、低速メモリに対してキャッシュメモリを設け効率的に画像データの読み出しを行う技術については、特許文献1に開示されている。 A technique for efficiently reading image data by providing a cache memory for a low-speed memory is disclosed in Patent Document 1.
本発明は上述のような事情から為されたものであり、本発明の目的は、上位指令制御部の負荷軽減を図ると共に、その上位指令制御部に係るプログラマーの技量に拘わらず最適に低速メモリ及び高速メモリを管理することができる画像処理システム及び画像データ処理方法を提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to reduce the load on the host command control unit and to optimally reduce the low-speed memory regardless of the skill of the programmer related to the host command control unit. And an image processing system and an image data processing method capable of managing a high-speed memory.
上記目的を達成するため、本発明の画像処理システムは、表示部に表示される画像を構成する複数の素材に係るデータが格納される低速メモリと、低速メモリよりも読出し動作が高速で小容量の高速メモリと、所望の素材を前記表示部に表示させるように指令制御する上位指令制御部と、事前転送制御部及び描画部を有し、前記上位指令制御部による指令制御により前記表示部に前記所望の素材を表示する画像プロセッサと、を備える画像処理システムであって、前記事前転送制御部は、前記上位指令制御部から発行された、前記低速メモリから前記所望の素材を読み出して前記表示部に表示せよ、というコマンドを少なくとも含むディスプレイリストを受けると、前記所望の素材が前記高速メモリに格納されていないと判定すると、前記低速メモリに格納された前記所望の素材を前記高速メモリに転送すると共に、前記ディスプレイリストを、前記高速メモリから前記所望の素材を読み出して前記表示部に表示せよ、と書き換えて前記高速メモリに格納し、前記描画部は、前記上位指令制御部からの指令に基づき、前記高速メモリに格納された書き換えられたディスプレイリストを読み出してきて実行することにより、前記所望の素材を前記高速メモリから読み出してきて前記表示部に表示することを要旨とする。 In order to achieve the above object, an image processing system according to the present invention includes a low-speed memory in which data relating to a plurality of materials constituting an image displayed on a display unit is stored, a read operation faster than a low-speed memory, and a small capacity A high-speed memory, a high-level command control unit that controls the display so that a desired material is displayed on the display unit, a pre-transfer control unit, and a drawing unit. An image processor for displaying the desired material, wherein the advance transfer control unit reads the desired material from the low-speed memory issued from the higher-order command control unit, and When a display list including at least a command to display on the display unit is received, if it is determined that the desired material is not stored in the high speed memory, the low list is displayed. The desired material stored in the memory is transferred to the high-speed memory, and the display list is rewritten and stored in the high-speed memory so that the desired material is read from the high-speed memory and displayed on the display unit. The drawing unit reads the desired material from the high-speed memory by reading and executing the rewritten display list stored in the high-speed memory based on a command from the host command control unit. The gist is to display on the display unit.
そのとき特別に、前記事前転送制御部は、前記所望の素材を含む、前記低速メモリに係る所定領域範囲のデータを前記低速メモリから読み出して前記高速メモリに転送することが好適である。 At that time, it is particularly preferable that the advance transfer control unit reads data in a predetermined area range related to the low-speed memory including the desired material from the low-speed memory and transfers the data to the high-speed memory.
上述の場合、前記低速メモリにデータが格納される前記複数の素材は、連続的に表示される可能性が高い素材同士ほど近接して格納されていれば、なお効果的である。 In the above-described case, it is more effective if the plurality of materials for which data is stored in the low-speed memory are stored closer to each other as the materials that are likely to be displayed continuously.
また、典型的には、前記所定領域範囲は、前記低速メモリにおけるページ単位である。 Also, typically, the predetermined area range is a page unit in the low-speed memory.
一方、前記事前転送制御部は、前記所望の素材が前記高速メモリに格納されていると判定すると、前記高速メモリから前記所望の素材を読み出して前記表示部に表示せよ、と書き換えられた前記ディスプレイリストが前記高速メモリに格納されていない場合、当該書き換えられたディスプレイリストを前記高速メモリに格納することを特徴とする。 On the other hand, when determining that the desired material is stored in the high-speed memory, the advance transfer control unit reads the desired material from the high-speed memory and displays it on the display unit. When the display list is not stored in the high-speed memory, the rewritten display list is stored in the high-speed memory.
また、前記事前転送制御部は、前記いずれの素材が前記高速メモリに格納されているかの情報と、いずれの素材に係る、書き換えられたディスプレイリストが前記高速メモリに格納されているかの情報を管理することを特徴とする。 Further, the advance transfer control unit obtains information about which material is stored in the high-speed memory and information about which material is rewritten and the display list is stored in the high-speed memory. It is characterized by management.
また、前記高速メモリは論理的に複数のメモリで構成されていてもよい。 The high speed memory may be logically composed of a plurality of memories.
また、典型的には、前記低速メモリはNAND型フラッシュメモリであり、前記高速メモリはDRAMである。 Also, typically, the low-speed memory is a NAND flash memory, and the high-speed memory is a DRAM.
また、上記目的を達成するため、本発明の画像データ処理方法は、表示部に表示される画像を構成する複数の素材に係るデータが格納される低速メモリと、低速メモリよりも読出し動作が高速で小容量の高速メモリと、所望の素材を前記表示部に表示させるように指令制御する上位指令制御部と、事前転送制御部及び描画部を有し、前記上位指令制御部による指令制御により前記表示部に前記所望の素材を表示する画像プロセッサと、を備える画像処理システムにおける画像データ処理方法であって、前記上位指令制御部は、前記所望の素材を前記表示部に表示させるとき、前記低速メモリから、前記所望の素材を読み出せ、というコマンドを少なくとも含むディスプレイリストを前記画像プロセッサに発行し、前記ディスプレイリストを受けた前記画像プロセッサは、前記所望の素材が前記高速メモリに格納されていないと判定すると、前記低速メモリに格納された前記所望の素材を前記高速メモリに転送すると共に、前記ディスプレイリストを、前記高速メモリから前記所望の素材を読み出して前記表示部に表示せよ、と書き換えて前記高速メモリに格納し、前記上位指令制御部は、前記画像プロセッサに対し、前記高速メモリに格納された書き換えられたディスプレイリストを読み出してきて実行するように指令し、前記画像プロセッサは、当該指令を受けると、その実行により、前記所望の素材を前記高速メモリから読み出してきて前記表示部に表示することを要旨とする。 In order to achieve the above object, the image data processing method of the present invention has a low-speed memory storing data related to a plurality of materials constituting an image displayed on the display unit, and a reading operation faster than the low-speed memory. A small-capacity high-speed memory, a high-order command control unit that performs command control so that a desired material is displayed on the display unit, a pre-transfer control unit, and a drawing unit. An image data processing method in an image processing system comprising: an image processor for displaying the desired material on a display unit, wherein the upper command control unit displays the desired material on the display unit when the low speed A display list including at least a command to read the desired material from the memory is issued to the image processor, and the display list is received. If the image processor determines that the desired material is not stored in the high-speed memory, the image processor transfers the desired material stored in the low-speed memory to the high-speed memory, and the display list is transferred to the high-speed memory. The desired material is read from the memory and displayed on the display unit and rewritten and stored in the high-speed memory, and the high-order command control unit transmits the rewritten display stored in the high-speed memory to the image processor. The gist is to read and execute a list, and when the image processor receives the command, the image processor reads the desired material from the high-speed memory and displays it on the display unit. .
本発明によれば、上位指令制御部側の負荷が軽減され、また上位指令制御部のプログラマーの技量に拘わらず最適に低速メモリ及び高速メモリを管理できる。また、所望の素材に加えて、所定領域範囲、例えばページ単位、で読み込んで高速メモリに転送しておけば、上位指令制御部からみて、見かけ上、好適に高速読出し処理が行える。 According to the present invention, the load on the host command control unit is reduced, and the low-speed memory and the high-speed memory can be optimally managed regardless of the skill of the programmer of the host command control unit. In addition to a desired material, if a predetermined area range, for example, a page unit is read and transferred to a high-speed memory, a high-speed read process can be suitably performed apparently from the viewpoint of the upper command control unit.
以下、図面を参照して、本発明の実施の形態について詳細に説明する。
図1は、本発明の画像処理システムの一実施形態の概略構成ブロック図である。同図に示す画像処理システムは、画像表示の制御を行う画像プロセッサ2と、その画像プロセッサ2に対して画像の表示等を指令するCPU(Central Processing Unit)1と、画像プロセッサ2に接続され、画像が表示される表示部5と、その表示部5に画像を表示すべく、複数の素材の情報が格納される低速メモリ3と、それらの素材の情報が一時的に格納される高速メモリ4と、を備えている。ここで、低速メモリ3は、動作が低速であるものの低価格であり比較的大容量のメモリである。典型的にはNAND型フラッシュメモリであり、読出し専用メモリとして構成してよい。一方、高速メモリ4は、動作が高速であるものの比較的高価格であるため比較的小容量で構成するメモリである。ここでは書換え可能なメモリであり、例えばDDR SDRAM(Double-Data-Rate Synchronous
Dynamic Random Access Memory)である。なお、この高速メモリ4は、物理的には、画像プロセッサ2の内部に搭載されていてもよい。かかるメモリとしては、エンベッディドDRAMがある。また、高速メモリ4は、論理的に複数設けられていてもよい。素材には、圧縮符号化された画像や、3Dの頂点ストリームの情報等がある。なお、低速メモリ3に格納される複数の素材は、それぞれ連続して読み出される可能性が高いもの同士は近接して格納しておくのが好適である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a schematic block diagram of an image processing system according to an embodiment of the present invention. The image processing system shown in FIG. 1 is connected to an image processor 2 that controls image display, a CPU (Central Processing Unit) 1 that instructs the image processor 2 to display an image, and the like, and the image processor 2. A display unit 5 for displaying images, a low-
Dynamic Random Access Memory). The
画像プロセッサ2は、少なくとも、事前転送制御部21と、描画部22と、デコード部23とを備えており、典型的には、それらはハードウェアで構成される。更に、事前転送制御部21は、転送処理部211と、DL(ディスプレイリスト)書換部212と、メモリ管理部213とを備えている。ここで、メモリ管理部213は、逐次更新されるメモリ管理情報MMDを備えている。メモリ管理情報MMDには、高速メモリ4に格納されている各素材の情報とそれらの格納アドレスや書き換えられた各ディスプレイリストDLの情報とそれらの格納アドレスが含まれている。
The image processor 2 includes at least a
CPU1は、「素材nを低速メモリ3から読み出して表示部5に表示せよ」というそれぞれのコマンド群を含むディスプレイリストDLを発行し、画像プロセッサ2からの返答の後、描画部22に対して、高速メモリ4に格納された書き換えられたディスプレイリストDLを読み出してきて実行しなさい、という指令を与える。
The CPU 1 issues a display list DL including each command group “read out the material n from the low-
画像プロセッサ2内の事前転送制御部21は、「素材nを低速メモリ3から読み出して表示部5に表示せよ」というディスプレイリストDLを受けたとき、素材nが高速メモリ4に格納されていないと判定した場合には、素材nを含む、低速メモリ3に係る1ページ分のデータを低速メモリ3から読み出して高速メモリ4に転送すると共に、当該ディスプレイリストDLを「素材nを高速メモリ4から読み出して表示部5に表示せよ」と書き換えて高速メモリ4に格納する。一方、素材nが高速メモリ4に格納されていると判定した場合には、次に、素材nに係る書き換えられたディスプレイリストDLが高速メモリ4に格納されているか否かを判定し、格納されていないと判定した場合には、当該ディスプレイリストDLを「素材nを高速メモリ4から読み出して表示部5に表示せよ」と書き換えて高速メモリ4に格納する。
When the advance
画像プロセッサ2内の描画部22は、CPU1から、高速メモリ4に格納された書き換えられたディスプレイリストDLを読み出してきて実行しなさい、という指令を受けると、当該ディスプレイリストDLを読み出してきて実行し、素材nを表示部5に表示する。
When the
次に、図2乃至図5を参照して、本発明の画像データ処理方法の一実施形態の処理手順について説明する。図2は、CPU1の処理手順を示すフローチャートである。図3は、画像プロセッサ2内の事前転送制御部21の処理手順を示すフローチャートである。図4は、画像プロセッサ2内の描画部22の処理手順を示すフローチャートである。図5は、低速メモリ3から高速メモリ4への素材の転送を説明するための図である。
Next, the processing procedure of an embodiment of the image data processing method of the present invention will be described with reference to FIGS. FIG. 2 is a flowchart showing the processing procedure of the CPU 1. FIG. 3 is a flowchart showing a processing procedure of the advance
そこで、まず、CPU1が画像プロセッサ2に発行するディスプレイリストDLについて説明する。ディスプレイリストDLとは、一般的に、画像プロセッサ2(特に、その内部の描画エンジン)が解釈可能なコマンド(命令)が複数時系列に記述されたものであり、例えば1フレーム分のディスプレイリストDLにより一画面の表示が行われる。コマンドとしては、各種があり、一般的に、転送命令、描画命令がある。 First, the display list DL issued by the CPU 1 to the image processor 2 will be described. The display list DL is generally a description in which a plurality of commands (instructions) that can be interpreted by the image processor 2 (particularly, an internal drawing engine) are described in a time series. For example, the display list DL for one frame is displayed. A single screen is displayed by. There are various types of commands, and generally there are a transfer command and a drawing command.
特に、本発明においては、素材をメモリから読み出して表示するためのコマンド群に関し、CPU1は、例えば、「素材kを低速メモリ3から読み出して表示部5に表示せよ」というコマンド群や、「素材k+1を高速メモリ4から読み出して表示部5に表示せよ」というコマンド群を含むディスプレイリストDLを発行するのであるが、画像プロセッサ2の事前転送制御部21が、送られてくるディスプレイリストDLを解析し、「素材kを低速メモリ3から読み出して表示部5に表示せよ」というような低速メモリ3から読み出すコマンド群(ディスプレイリストDL)を初めて受け取った段階で、当該素材kを低速メモリ3から高速メモリ4に転送すると共に、そのディスプレイリストDLを「素材kを高速メモリ4から読み出して表示部5に表示せよ」というディスプレイリストDLに書き換えて、それも高速メモリ4に格納しておく。そして、事前転送制御部21における一連のディスプレイリストDLの解析・書換え後、CPU1は、描画部22に対して、高速メモリ4に格納された書き換えられたディスプレイリストDLを読み出してきて実行しなさい、という指令を与え、描画部22は、その書き換えられたディスプレイリストDLに従って、素材を低速メモリ3からではなく高速メモリ4から読み出して描画等の処理を行う。要するに、CPU1は、所望の素材がいずれのメモリに格納されているか否かは認識していない状態でディスプレイリストDLを発行するのであるが、画像プロセッサ2の事前転送制御部21の機能により、必ず高速メモリ4から読み出されて描画等を行うという処理が保証される。
In particular, in the present invention, regarding the command group for reading out the material from the memory and displaying it, the CPU 1, for example, the command group “Read out the material k from the low-
このように、CPU1の処理としては、「素材1,・・k,・・を低速メモリ3から読み出して表示部5に表示せよ」というそれぞれのコマンド群を含む一連のディスプレイリストDLを画像プロセッサ2に発行するのであるが、以下の説明では、便宜上、図2に示しように、「素材n(=1,・・k,・・)を低速メモリ3から読み出して表示部5に表示せよ」というコマンド群(以下、これをディスプレイリストDLと称す)を画像プロセッサ2に転送する(ステップS11)とする。
As described above, as the processing of the CPU 1, a series of display lists DL including respective command groups “read out the materials 1,..., K,... However, in the following description, for the sake of convenience, as shown in FIG. 2, “read material n (= 1,... K,...) From low-
図3を参照し、画像プロセッサ2内の事前転送制御部21は、一連の解析処理の流れのなかで、CPU1から、素材nに係るデータを低速メモリ3から読み出して表示部5に表示せよ、というディスプレイリストDLを受けたか否かを判定するのであるが(ステップS21)、前述のように、CPU1が「素材nを低速メモリ3から読み出して表示部5に表示せよ」というディスプレイリストDLをプロセッサ2に転送すると、ここでの判定は肯定判定となり、次に、事前転送制御部21は、メモリ管理部213が備えているメモリ管理情報MMDを参照し、素材nに係るデータが高速メモリ4に格納されているか否かを判定する(ステップS22)。
Referring to FIG. 3, the advance
ステップS22において、素材nに係るデータが高速メモリ4に格納されていないと判定した場合(否定判定)には、事前転送制御部21内の転送処理部211は、低速メモリ3に格納さえている素材nを含む1ページ分(メモリにおける1ページ分:例えば16kバイト)のデータを高速メモリ4に転送する(ステップS23)。ここで、1ページ分を一括して転送してしまう理由としては、低速メモリ3が特にNAND型フラッシュメモリである場合には、読み出す処理ごとに、読出しのための初期動作処理時間がかかり、1ページ分であれば一回分の初期動作処理時間で済むため効率的であり、この段階で1ページ分読み込んでしまえば高速メモリ4を利用したキャッシュの機能としても更に効果的になるからである。
If it is determined in step S22 that the data related to the material n is not stored in the high-speed memory 4 (No determination), the
次に、事前転送制御部21内のDL書換部212が、当該「素材nを低速メモリ3から読み出して表示部5に表示せよ」というディスプレイリストDLを、「素材nを高速メモリ4から読み出して表示部5に表示せよ」というディスプレイリストDLに書き換えて、その書き換えたディスプレイリストDLを高速メモリ4に格納する(ステップS24)。そして、事前転送制御部21内のメモリ管理部213は、メモリ管理情報MMDを更新する(ステップS25)。
Next, the
一方、ステップS22において、メモリ管理情報MMDに基づき、素材nに係るデータが高速メモリ4に格納されていると判定した場合(肯定判定)には、次に、事前転送制御部21は、メモリ管理情報MMDを参照し、素材nに係る書き換えられたディスプレイリストDLが高速メモリ4に格納されているか否かを判定する(ステップS26)。ここで、素材nに係る書き換えられたディスプレイリストDLが高速メモリ4に格納されていないと判定された場合、すなわち、素材nに係るデータは高速メモリ4に格納されているものの、それを読み出すためのディスプレイリストDLが高速メモリ4に格納されていない場合、ステップS24に移行し、ディスプレイリストDLを書き換えて高速メモリ4に格納し、ステップS25でメモリ管理情報MMDを更新する。一方、ステップS26において、素材nに係る書き換えられたディスプレイリストDLが高速メモリ4に格納されていると判定された場合、事前転送制御部21はそのまま無処理で終了する。
On the other hand, if it is determined in step S22 that the data related to the material n is stored in the
ここで、例を挙げて説明すると、CPU1から「素材kを低速メモリ3から読み出して表示部5に表示せよ」というディスプレイリストDLを画像プロセッサ2が受けて、事前転送制御部21が、ステップS22において、素材kに係るデータが高速メモリ4に格納されていないと判定した場合には、事前転送制御部21内の転送処理部211は、図5に示すように、低速メモリ3に格納さえている素材kを含む1ページ分のデータを高速メモリ4に転送する。なお、図5の例の場合、素材kが含まれるページには、素材k−1、素材k+1、及び素材k−2の一部が含まれている。そして、ステップS25が終了した時点では、メモリ管理情報MMDには、素材については、k−1、k、k+1、及びk−2の一部、ディスプレイリストDLについては、素材kについて書き換えられたディスプレイリストDLが、高速メモリ4に格納されているということを示すように更新されている。
Here, to explain with an example, the image processor 2 receives the display list DL from the CPU 1 "Read the material k from the low-
そして、その状態で次に、CPU1から「素材k+1を低速メモリ3から読み出して表示部5に表示せよ」というディスプレイリストDLを画像プロセッサ2が受けた場合、素材k+1は既に高速メモリ4に格納されているので、ステップS22においては肯定判定となってステップS26に移行する。ここで、素材k+1については、素材そのものは高速メモリ4に格納されているものの、それを転送してくるための書き換えられたディスプレイリストDLはまだ高速メモリ4に格納されていないので、ステップS26においては否定判定となり、ステップS24に移行する。そして当該ステップにおいて、「素材k+1を低速メモリ3から読み出して表示部5に表示せよ」というディスプレイリストDLを、「素材k+1を高速メモリ4から読み出して表示部5に表示せよ」というディスプレイリストDLに書き換えて高速メモリ4に格納し、ステップS25において、その旨の更新を行う。
In this state, when the image processor 2 receives a display list DL from the CPU 1 that reads “read the material k + 1 from the low-
そして、その状態で次に、CPU1から再度「素材k+1を低速メモリ3から読み出して表示部5に表示せよ」というディスプレイリストDLを画像プロセッサ2が受けた場合、素材k+1は既に高速メモリ4に格納されており、かつ、「素材k+1を高速メモリ4から読み出して表示部5に表示せよ」という書き換えられたディスプレイリストDLも高速メモリ4に格納されているので、ステップS22及びステップS26においてともに肯定判定となり、無処理で終了する。
In this state, next, when the image processor 2 receives the display list DL “read the material k + 1 from the low-
図2に戻り、「素材nを低速メモリ3から読み出して表示部5に表示せよ」というディスプレイリストDLをプロセッサ2に転送した後、それについての処理が終了した旨(格納アドレスを含む)が画像プロセッサ2から帰ってくると、次に、CPU1は、「素材nに係る書き換えられたディスプレイリストDLを高速メモリ4から読み出してきて実行せよ」という指令を画像プロセッサ2内の描画部22に与える(ステップS12)。なお、この指令は、高速メモリ4内の格納アドレスを少なくとも含む簡易な指令である。
Returning to FIG. 2, after the display list DL “Read the material n from the low-
図4を参照し、描画部22は、「素材nに係る書き換えられたディスプレイリストDLを高速メモリ4から読み出してきて実行せよ」という指令を受けたか否かを判定し(ステップS31)、受けた場合には、素材nに係る書き換えられたディスプレイリストDLを高速メモリ4から読み出し(ステップS32)、その読み出したディスプレイリストDLを実行し、必要に応じてデコード部23により伸長処理を行い、素材nを表示部5に表示する(ステップS33)。
Referring to FIG. 4, the
なお、ステップS23において、読み出そうとする素材nが2つのページに跨る場合には、跨る2ページ分を読み出してくるようにすればよい。 In step S23, when the material n to be read straddles two pages, the two straddling pages may be read.
以上のように、上述の一実施形態によれば、CPU1側の負荷が軽減され、またCPU1のプログラマーの技量に拘わらず最適に低速メモリ3及び高速メモリ4を管理できる。また、低速メモリ3に格納される複数の素材は、それぞれ連続して読みだされる可能性が高いもの同士は近接して格納されているので、上述のように例えば1ページ分読み込んで高速メモリ4に転送しておけば、CPU1からみて、見かけ上、好適に高速読出し処理が行える。
As described above, according to the above-described embodiment, the load on the CPU 1 side is reduced, and the low-
本発明の画像処理システム及び画像データ処理方法は、安価で大容量の低速メモリに、表示部に連続的に表示されるべき複数の素材を格納して利用するような場合に有用である。 The image processing system and the image data processing method of the present invention are useful when a plurality of materials to be continuously displayed on the display unit are stored and used in an inexpensive and large-capacity low-speed memory.
1,100 CPU
2,200 画像プロセッサ
21 事前転送制御部
211 転送処理部
212 DL書換部
213 メモリ管理部
22 描画部
23 デコード部
3 低速メモリ
4 高速メモリ
5 表示部
MMD メモリ管理情報
DL ディスプレイリスト
1,100 CPU
2,200
Claims (9)
低速メモリよりも読出し動作が高速で小容量の高速メモリと、
所望の素材を前記表示部に表示させるように指令制御する上位指令制御部と、
事前転送制御部及び描画部を有し、前記上位指令制御部による指令制御により前記表示部に前記所望の素材を表示する画像プロセッサと、
を備える画像処理システムであって、
前記事前転送制御部は、前記上位指令制御部から発行された、前記低速メモリから前記所望の素材を読み出して前記表示部に表示せよ、というコマンドを少なくとも含むディスプレイリストを受けると、前記所望の素材が前記高速メモリに格納されていないと判定すると、前記低速メモリに格納された前記所望の素材を前記高速メモリに転送すると共に、前記ディスプレイリストを、前記高速メモリから前記所望の素材を読み出して前記表示部に表示せよ、と書き換えて前記高速メモリに格納し、
前記描画部は、前記上位指令制御部からの指令に基づき、前記高速メモリに格納された書き換えられたディスプレイリストを読み出してきて実行することにより、前記所望の素材を前記高速メモリから読み出してきて前記表示部に表示することを特徴とする画像処理システム。 A low-speed memory in which data relating to a plurality of materials constituting an image displayed on the display unit is stored;
A high-speed memory with a smaller read capacity and faster read speed than a low-speed memory,
An upper command control unit that performs command control to display a desired material on the display unit;
An image processor having a pre-transfer control unit and a drawing unit, and displaying the desired material on the display unit by command control by the host command control unit;
An image processing system comprising:
When the pre-transfer control unit receives a display list including at least a command issued from the high-order command control unit to read out the desired material from the low-speed memory and display it on the display unit, the desired transfer control unit If it is determined that no material is stored in the high speed memory, the desired material stored in the low speed memory is transferred to the high speed memory, and the display list is read from the high speed memory. Rewrite to display on the display unit, store in the high-speed memory,
The drawing unit reads the desired material from the high-speed memory by reading and executing the rewritten display list stored in the high-speed memory based on a command from the host command control unit. An image processing system characterized by displaying on a display unit.
前記上位指令制御部は、前記所望の素材を前記表示部に表示させるとき、前記低速メモリから、前記所望の素材を読み出せ、というコマンドを少なくとも含むディスプレイリストを前記画像プロセッサに発行し、
前記ディスプレイリストを受けた前記画像プロセッサは、前記所望の素材が前記高速メモリに格納されていないと判定すると、前記低速メモリに格納された前記所望の素材を前記高速メモリに転送すると共に、前記ディスプレイリストを、前記高速メモリから前記所望の素材を読み出して前記表示部に表示せよ、と書き換えて前記高速メモリに格納し、
前記上位指令制御部は、前記画像プロセッサに対し、前記高速メモリに格納された書き換えられたディスプレイリストを読み出してきて実行するように指令し、
前記画像プロセッサは、当該指令を受けると、その実行により、前記所望の素材を前記高速メモリから読み出してきて前記表示部に表示することを特徴とする画像データ処理方法。
A low-speed memory in which data relating to a plurality of materials constituting an image displayed on the display unit is stored, a high-speed memory having a lower reading speed and a smaller capacity than the low-speed memory, and a desired material are displayed on the display unit. An image processor comprising: an upper command control unit that performs command control, and an image processor that has a pre-transfer control unit and a drawing unit, and displays the desired material on the display unit by command control by the upper command control unit An image data processing method in a system,
The upper command control unit, when displaying the desired material on the display unit, issues a display list including at least a command to read the desired material from the low-speed memory to the image processor,
When the image processor that has received the display list determines that the desired material is not stored in the high-speed memory, the image processor transfers the desired material stored in the low-speed memory to the high-speed memory and also displays the display Read the list from the high-speed memory and display the desired material on the display unit, rewrite and store the list in the high-speed memory,
The upper command control unit instructs the image processor to read and execute the rewritten display list stored in the high-speed memory,
When the image processor receives the instruction, the image processor reads the desired material from the high-speed memory and displays it on the display unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013064234A JP5824749B2 (en) | 2013-03-26 | 2013-03-26 | Image processing system and image data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013064234A JP5824749B2 (en) | 2013-03-26 | 2013-03-26 | Image processing system and image data processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014191432A true JP2014191432A (en) | 2014-10-06 |
JP5824749B2 JP5824749B2 (en) | 2015-11-25 |
Family
ID=51837665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013064234A Active JP5824749B2 (en) | 2013-03-26 | 2013-03-26 | Image processing system and image data processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5824749B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009294990A (en) * | 2008-06-06 | 2009-12-17 | Akuseru:Kk | Image processing system |
JP2010282429A (en) * | 2009-06-04 | 2010-12-16 | Canon Inc | Image processing device and control method thereof |
-
2013
- 2013-03-26 JP JP2013064234A patent/JP5824749B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009294990A (en) * | 2008-06-06 | 2009-12-17 | Akuseru:Kk | Image processing system |
JP2010282429A (en) * | 2009-06-04 | 2010-12-16 | Canon Inc | Image processing device and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
JP5824749B2 (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190339869A1 (en) | Techniques to configure a solid state drive to operate in a storage mode or a memory mode | |
JP2008242944A (en) | Integrated memory management device and method | |
JP2006092169A (en) | Memory controller, memory device and control method for memory controller | |
JP2014194682A (en) | Information processing device and processing method thereof | |
US20180349058A1 (en) | Buffer-based update of state data | |
ES2357308T3 (en) | STORAGE IN CACHÉ MEMORY IN DATA PROCESSING. | |
JP2013029879A (en) | Flash memory control device | |
JP2009282920A (en) | Cache memory device | |
JP5824749B2 (en) | Image processing system and image data processing method | |
US20150262696A1 (en) | Memory system and control method of memory system | |
JP2010146084A (en) | Data processor including cache memory control section | |
JP2012221333A (en) | Memory management device, memory management method and control program | |
JP2006202233A (en) | Controller and program for same | |
JP5338528B2 (en) | Programmable controller and application program update method | |
CN103605462A (en) | Map image displaying method and controller | |
JP2015076065A (en) | Power apparatus control device, control system, control method and control program | |
JPWO2012077604A1 (en) | Processing apparatus, program update method, and program | |
JP2012123498A (en) | Information processing apparatus and method for storing time-series data | |
JP4869301B2 (en) | Image processing device | |
JP2015141648A (en) | programmable controller | |
JP2007206924A (en) | Arithmetic processing system | |
JP5816987B2 (en) | Memory storage information reading method and memory interface | |
JP2011232804A (en) | Bios system and pac with the same bios system | |
JP5407590B2 (en) | Image display device | |
JP2013109404A (en) | Information processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150331 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20150331 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20150526 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150616 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150817 |
|
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: 20150908 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150917 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5824749 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |