JP2006058668A - Image transfer using drawing command hook - Google Patents
Image transfer using drawing command hook Download PDFInfo
- Publication number
- JP2006058668A JP2006058668A JP2004241214A JP2004241214A JP2006058668A JP 2006058668 A JP2006058668 A JP 2006058668A JP 2004241214 A JP2004241214 A JP 2004241214A JP 2004241214 A JP2004241214 A JP 2004241214A JP 2006058668 A JP2006058668 A JP 2006058668A
- Authority
- JP
- Japan
- Prior art keywords
- image
- area
- drawing command
- processing module
- transfer
- 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
- 238000012546 transfer Methods 0.000 title claims abstract description 132
- 238000012545 processing Methods 0.000 claims abstract description 147
- 238000000034 method Methods 0.000 claims abstract description 48
- 230000008859 change Effects 0.000 claims description 198
- 230000006870 function Effects 0.000 claims description 61
- 230000008569 process Effects 0.000 claims description 32
- 230000004044 response Effects 0.000 claims description 6
- 238000009877 rendering Methods 0.000 claims 4
- 238000013500 data storage Methods 0.000 abstract description 21
- 238000010586 diagram Methods 0.000 description 9
- 239000008186 active pharmaceutical agent Substances 0.000 description 7
- 230000000052 comparative effect Effects 0.000 description 7
- 230000004048 modification Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 7
- 238000005457 optimization Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000000284 extract Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Digital Computer Display Output (AREA)
- Storing Facsimile Image Data (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
【課題】 ネットワークを介して画像表示装置に画像を転送する際の転送スピードを向上させる技術を提供する。
【解決手段】 フック処理モジュール400は、アプリケーションプログラム122によって発行される特定の描画命令をフックして先取りし、取得した描画命令に従ってRAM106内の画像データ格納領域106bに画像を描画する。フック処理モジュール400では描画されておらず、かつ、通常の描画モジュール124,126,128で描画されている領域の画像部分に関しては、VRAM114からその画像部分を取得して画像データ格納領域106bに書き込む。VNCサーバ130は、画像データ格納領域106bから画像を取得するとともに、取得した画像をネットワークを介してプロジェクタに転送する。
【選択図】 図6
PROBLEM TO BE SOLVED: To provide a technique for improving the transfer speed when transferring an image to an image display device via a network.
A hook processing module 400 hooks a specific drawing command issued by an application program 122 in advance and draws an image in an image data storage area 106b in a RAM 106 according to the acquired drawing command. For the image portion of the area that is not drawn by the hook processing module 400 and drawn by the normal drawing modules 124, 126, and 128, the image portion is acquired from the VRAM 114 and written to the image data storage area 106b. . The VNC server 130 acquires an image from the image data storage area 106b and transfers the acquired image to the projector via the network.
[Selection] Figure 6
Description
本発明は、ネットワークを介して接続された画像供給装置と画像表示装置とを含む画像表示システムに関する。 The present invention relates to an image display system including an image supply device and an image display device connected via a network.
画像を投写表示するプロジェクタの一種として、ネットワークを介してパーソナルコンピュータから供給された画像を投写表示することができるプロジェクタ(以下、「ネットワークプロジェクタ」とも呼ぶ)が提案されている(例えば特許文献1)。また、このようなネットワークプロジェクタに、ネットワークを介してパーソナルコンピュータから画像を供給するために、VNC(Virtual Network Computing)とよばれる技術が利用されている。 As a kind of projector for projecting and displaying an image, a projector capable of projecting and displaying an image supplied from a personal computer via a network (hereinafter also referred to as “network projector”) has been proposed (for example, Patent Document 1). . In addition, a technique called VNC (Virtual Network Computing) is used to supply such a network projector with an image from a personal computer via a network.
しかしながら、VNCを利用する場合には、コンピュータ内のVRAM(フレームメモリ)からRAM(システムメモリ)に画像を一旦転送し、その後、RAMから画像を取得してネットワークを介してプロジェクタに転送している。VRAMからRAMへの画像データの転送にはかなりの時間が掛かるため、全体として十分な転送速度が得られない場合があった。このような問題は、ネットワークプロジェクタシステムに限らず、一般に、ネットワークを介して画像供給装置から画像表示装置に画像を供給して表示させるシステムに共通する問題であった。 However, when using VNC, an image is temporarily transferred from a VRAM (frame memory) in the computer to a RAM (system memory), and then the image is acquired from the RAM and transferred to the projector via the network. . Since transfer of image data from the VRAM to the RAM takes a considerable time, there is a case where a sufficient transfer speed cannot be obtained as a whole. Such a problem is not limited to a network projector system, and is generally a problem common to systems that supply and display images from an image supply apparatus to an image display apparatus via a network.
本発明は、ネットワークを介して画像表示装置に画像を転送する際の転送スピードを向上させる技術を提供することを目的とする。 An object of the present invention is to provide a technique for improving the transfer speed when transferring an image to an image display device via a network.
上記した目的の少なくとも一部を達成するために、本発明による第1の画像供給装置は、ネットワークを介して画像表示装置に画像を供給して表示させるための画像供給装置であって、
画像の描画命令を発行可能なアプリケーションプログラムと、
前記アプリケーションプログラムによって発行される描画命令を処理するための描画モジュールと、
前記アプリケーションプログラムによって発行される特定の描画命令をフックして先取りし、取得した描画命令に従って汎用メモリ内の特定の転送用画像格納領域に画像を描画するフック処理モジュールと、
前記転送用画像格納領域から画像を取得するとともに、取得した画像を前記ネットワークを介して前記画像表示装置に転送する画像転送処理モジュールと、
を備え、
前記フック処理モジュールは、前記転送用画像格納領域の中で前記特定の描画命令に応じて画像が描画される領域である第1の変化領域を示す第1の変化領域情報を前記汎用メモリ内に書き込む機能と、前記特定の描画命令を処理した後に当該描画命令を前記描画モジュールに供給する機能とを有し、
前記描画モジュールは、前記アプリケーションプログラム又は前記フック処理モジュールから受けた描画命令に従ってフレームメモリ内に画像を描画する機能と、前記フレームメモリの中で前記描画命令に応じて画像が描画される領域である第2の変化領域を示す第2の変化領域情報を前記汎用メモリ内に書き込む機能とを有し、
前記画像転送処理モジュールは、
(i)前記汎用メモリ内に格納されている前記第1と第2の変化領域情報を参照して、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得し、
(ii)前記第1の変化領域に相当する画像部分を前記フレームメモリから取得することなく前記転送用画像格納領域から取得し、
(iii)取得した画像部分を、前記第1と第2の変化領域の和である画面更新領域を示す画面更新領域情報とともに前記ネットワークを介して前記画像表示装置に転送することを特徴とする。
In order to achieve at least a part of the above object, a first image supply device according to the present invention is an image supply device for supplying an image to an image display device via a network for display.
An application program capable of issuing image drawing commands;
A drawing module for processing a drawing command issued by the application program;
A hook processing module that hooks a specific drawing command issued by the application program in advance and draws an image in a specific transfer image storage area in the general-purpose memory according to the acquired drawing command;
An image transfer processing module that acquires an image from the transfer image storage area and transfers the acquired image to the image display device via the network;
With
The hook processing module stores, in the general-purpose memory, first change area information indicating a first change area that is an area in which an image is drawn in response to the specific drawing command in the transfer image storage area. A function of writing, and a function of supplying the drawing command to the drawing module after processing the specific drawing command;
The drawing module has a function of drawing an image in a frame memory in accordance with a drawing command received from the application program or the hook processing module, and an area in the frame memory in which an image is drawn according to the drawing command. Having a function of writing second change area information indicating a second change area in the general-purpose memory;
The image transfer processing module
(I) Referring to the first and second change area information stored in the general-purpose memory, the second change area corresponds to an area not included in the first change area. Obtaining an image portion from the frame memory;
(Ii) obtaining an image portion corresponding to the first change area from the transfer image storage area without obtaining from the frame memory;
(Iii) The acquired image portion is transferred to the image display device via the network together with screen update area information indicating a screen update area that is a sum of the first and second change areas.
この第1の画像供給装置によれば、特定の描画命令が発行された場合には、描画モジュールの代わりにフック処理モジュールがその描画命令をフックして取得し、汎用メモリ内の画像を描画するので、従来のように、転送対象となる画像の全体をVRAMからRAM(汎用メモリ)に転送する場合に比べて転送処理全体のスピードを向上させることができる。また、第2の変化領域のうちで第1の変化領域に含まれない領域はフック処理モジュールでは描画されていない領域であるが、この領域の画像はフレームメモリから取得するので、欠落無しに画像を転送することが可能である。 According to the first image supply device, when a specific drawing command is issued, the hook processing module hooks and acquires the drawing command instead of the drawing module, and draws the image in the general-purpose memory. Therefore, the speed of the entire transfer process can be improved as compared with the conventional case where the entire image to be transferred is transferred from the VRAM to the RAM (general purpose memory). Of the second change area, the area not included in the first change area is an area that is not drawn by the hook processing module. Since the image of this area is acquired from the frame memory, the image is not lost. Can be transferred.
本発明による第2の画像供給装置は、ネットワークを介して画像表示装置に画像を供給して表示させるための画像供給装置であって、
画像の描画命令を発行可能なアプリケーションプログラムと、
前記アプリケーションプログラムによって発行される描画命令を処理するための描画モジュールと、
前記アプリケーションプログラムによって発行される特定の描画命令をフックして先取りし、取得した描画命令に従って汎用メモリ内の特定の転送用画像格納領域に画像を描画するフック処理モジュールと、
前記転送用画像格納領域から画像を取得するとともに、取得した画像を前記ネットワークを介して前記画像表示装置に転送する画像転送処理モジュールと、
を備え、
前記フック処理モジュールは、前記転送用画像格納領域の中で前記特定の描画命令に応じて画像が描画される領域である第1の変化領域を示す第1の変化領域情報を前記汎用メモリ内に書き込む機能と、前記特定の描画命令を処理した後に当該描画命令を前記描画モジュールに供給する機能とを有し、
前記描画モジュールは、前記アプリケーションプログラム又は前記フック処理モジュールから受けた描画命令に従ってフレームメモリ内に画像を描画する機能と、前記フレームメモリの中で前記描画命令に応じて画像が描画される領域である第2の変化領域を示す第2の変化領域情報を前記汎用メモリ内に書き込む機能とを有し、
前記画像転送処理モジュールは、
(i)前記汎用メモリ内に格納されている前記第1と第2の変化領域情報を参照して、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得し、
(ii)前記第2の変化領域のうちで前記第1の変化領域にも含まれる領域に相当する画像部分を前記フレームメモリから取得することなく前記転送用画像格納領域から取得し、
(iii)取得した画像部分を、前記第2の変化領域と同一である画面更新領域を示す画面更新領域情報とともに前記ネットワークを介して前記画像表示装置に転送することを特徴とする。
A second image supply device according to the present invention is an image supply device for supplying and displaying an image on an image display device via a network,
An application program capable of issuing image drawing commands;
A drawing module for processing a drawing command issued by the application program;
A hook processing module that hooks a specific drawing command issued by the application program in advance and draws an image in a specific transfer image storage area in the general-purpose memory according to the acquired drawing command;
An image transfer processing module that acquires an image from the transfer image storage area and transfers the acquired image to the image display device via the network;
With
The hook processing module stores, in the general-purpose memory, first change area information indicating a first change area that is an area in which an image is drawn in response to the specific drawing command in the transfer image storage area. A function of writing, and a function of supplying the drawing command to the drawing module after processing the specific drawing command;
The drawing module has a function of drawing an image in a frame memory in accordance with a drawing command received from the application program or the hook processing module, and an area in the frame memory in which an image is drawn according to the drawing command. Having a function of writing second change area information indicating a second change area in the general-purpose memory;
The image transfer processing module
(I) Referring to the first and second change area information stored in the general-purpose memory, the second change area corresponds to an area not included in the first change area. Obtaining an image portion from the frame memory;
(Ii) An image portion corresponding to an area included in the first change area among the second change areas is acquired from the transfer image storage area without acquiring from the frame memory;
(Iii) The acquired image portion is transferred to the image display device via the network together with screen update area information indicating a screen update area that is the same as the second change area.
この第2の画像供給装置においても、特定の描画命令が発行された場合には、描画モジュールの代わりにフック処理モジュールがその描画命令をフックして取得し、汎用メモリ内の画像を描画するので、従来のように、転送対象となる画像の全体をVRAMからRAM(汎用メモリ)に転送する場合に比べて転送処理全体のスピードを向上させることができる。また、第2の変化領域のうちで第1の変化領域に含まれない領域はフック処理モジュールでは描画されていない領域であるが、この領域の画像はフレームメモリから取得するので、欠落無しに画像を転送することが可能である。 Even in the second image supply device, when a specific drawing command is issued, the hook processing module hooks and acquires the drawing command instead of the drawing module, and draws the image in the general-purpose memory. Thus, compared to the conventional case where the entire image to be transferred is transferred from the VRAM to the RAM (general purpose memory), the speed of the entire transfer process can be improved. Of the second change area, the area not included in the first change area is an area that is not drawn by the hook processing module. Since the image of this area is acquired from the frame memory, the image is not lost. Can be transferred.
なお、前記画像転送処理モジュールは、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得して前記転送用画像格納領域に書き込んだ後に、前記画面更新領域に相当する画像部分を前記転送用画像格納領域から取得するようにしてもよい。 The image transfer processing module obtains an image portion corresponding to an area that is not included in the first change area in the second change area from the frame memory, and writes it in the transfer image storage area. Thereafter, an image portion corresponding to the screen update area may be acquired from the transfer image storage area.
この構成によれば、ネットワークを介して最終的に画像を転送する際に、画像を1つの転送用画像格納領域から取得できるので、処理が単純になる。 According to this configuration, when the image is finally transferred via the network, the image can be acquired from one transfer image storage area, so that the processing is simplified.
なお、前記画像転送処理モジュールは、
前記画像転送処理モジュールの起動時に前記フック処理モジュールを前記アプリケーションプログラムにロードし、前記画像転送処理モジュールの実行終了時に前記フック処理モジュールを前記アプリケーションプログラムからアンロードするように構成されていてもよい。
The image transfer processing module is
The hook processing module may be loaded into the application program when the image transfer processing module is activated, and the hook processing module may be unloaded from the application program when the execution of the image transfer processing module is completed.
この構成によれば、画像転送処理が行われる場合にのみフック処理モジュールが働くので、フック処理が不要な場合にフック処理モジュールが望ましくフック処理を実行してしまうことを防止することができる。 According to this configuration, since the hook processing module works only when the image transfer process is performed, it is possible to prevent the hook processing module from desirably executing the hook process when the hook process is unnecessary.
なお、本発明は種々の形態で実現することが可能であり、例えば、画像表示システム、画像表示システムを構成する画像供給装置及び画像表示装置、画像供給装置に利用されるフック処理モジュール及び画像転送処理モジュール、画像供給方法、それら方法又は装置を実現するためのコンピュータプログラム、それらのコンピュータプログラムを記録した記録媒体などの種々の態様で実現することが可能である。 The present invention can be realized in various forms, for example, an image display system, an image supply device and an image display device that constitute the image display system, a hook processing module and an image transfer used in the image supply device. The present invention can be realized in various modes such as a processing module, an image supply method, a computer program for realizing the method or apparatus, and a recording medium on which the computer program is recorded.
以下、本発明の実施の形態を以下の順序で説明する。
A.第1実施例:
B.第2実施例:
C.変形例:
Hereinafter, embodiments of the present invention will be described in the following order.
A. First embodiment:
B. Second embodiment:
C. Variations:
A.第1実施例:
図1は本発明の一実施例として画像表示システムの構成を示す説明図である。本実施例の画像表示システム10は、画像供給装置としてのパーソナルコンピュータ100と、画像表示装置としてのプロジェクタ200と、コンピュータ100とプロジェクタ200とをつなぐネットワーク300と、を備えている。コンピュータ100は、ネットワーク300を介して画像をプロジェクタ200供給して、プロジェクタ200に画像を投写させて投写表示画面70に表示させる機能を有している。
A. First embodiment:
FIG. 1 is an explanatory diagram showing the configuration of an image display system as an embodiment of the present invention. The
図2は、コンピュータ100とプロジェクタ200の内部構成を示すブロック図である。コンピュータ100は、CPU102と、ROM104と、汎用メモリ(「システムメモリ」とも呼ぶ)としてのRAM106と、ハードディスクドライブ108と、キーボードやポインティングデバイスなどで構成される入力部110と、ネットワークインタフェース部112と、フレームメモリとしてのVRAM114と、グラフィックコントローラ116と、液晶ディスプレイなどの表示デバイス118と、これら各要素を接続するバス120と、を備えている。
FIG. 2 is a block diagram showing the internal configuration of the
RAM106には、アプリケーションプログラム122と、グラフィカルデバイスインタフェース(GDI:Graphics Device Interface)124と、ディスプレイドライバ126と、プロジェクタドライバ128と、画像転送処理モジュールとしてのVNCサーバ130と、を含む各種コンピュータプログラムが格納されている。なお、GDI124と、ディスプレイドライバ126と、プロジェクタドライバ128は、オペレーティングシステムの一部として機能する。なお、本実施例においては、オペレーティングシステムとして、マイクロソフト社によって提供されるWindows(登録商標)を想定している。このような各種コンピュータプログラムは、フレキシブルディスクやCD−ROM等の、コンピュータ読み取り可能な記録媒体に記録された形態で提供される。
The
プロジェクタ200は、CPU202と、ROM204と、RAM206と、各種の操作ボタンを含む入力部210と、ネットワークインタフェース部212と、画像処理部214と、光源ランプと液晶パネルと投写光学系を含む投写部216と、これら各要素を接続するバス218と、を備えている。ROM204には、画像処理ドライバ228と、VNCクライアント230とを含む各種コンピュータプログラムが格納されている。
The
以下ではまず、実施例におけるコンピュータ100の機能を説明する前に、比較例として、VNCサーバを用いた従来のコンピュータの機能を説明する。
Hereinafter, before describing the function of the
図3は、比較例におけるコンピュータのソフトウェアとハードウェアの階層構造を示す説明図である。アプリケーションプログラム122とVNCサーバ130は、アプリケーションプログラム層(「ユーザアプリケーションプログラム層」とも呼ぶ)に属する。GDI124とディスプレイドライバ126とプロジェクタドライバ128は、カーネル層に属する。また、汎用メモリとしてのRAM106と、ネットワークインタフェース部112と、VRAM114と、グラフィックコントローラ116と、表示デバイス118は、ハードウェア層に属する。
FIG. 3 is an explanatory diagram showing a hierarchical structure of computer software and hardware in a comparative example. The
第1実施例では、アプリケーションプログラム122としてプレゼンテーションプログラム(例えばマイクロソフト社のPowerPoint)を使用した場合について説明する。
In the first embodiment, a case where a presentation program (for example, Microsoft PowerPoint) is used as the
アプリケーションプログラム122は、GDI124に対して各種の描画要求を発行する。GDI124は、表示装置(コンピュータ100の表示デバイス118やプロジェクタ200)や印刷装置(図示せず)などへの描画を統一的に管理しているコンピュータプログラムである。良く知られているように、GDI124は、「GDI関数」と呼ばれる描画に関するアプリケーションプログラムインタフェース(API:Application Program Interface)を各種のアプリケーションプログラムに対して提供している。なお、APIとは、一般に、アプリケーションプログラムがオペレーティングシステムの持つ様々な機能を利用するための手続きの集まりを言う。
The
アプリケーションプログラム122は、GDI124に対して、例えばプレゼンテーションファイルに含まれているプレゼンテーションシートの画像の描画要求を発行する。通常は、描画要求には、画像の出力先に関する情報(即ち、画像を表示装置に出力するか、印刷装置に出力するかを指定する情報)も含まれている。
For example, the
なお、GDI124の代わりに、他の汎用の描画用APIを使用することも可能である。「汎用の描画用API」とは、多数のアプリケーションプログラムに対して共通に使用されるAPIを意味している。
Note that other general-purpose drawing APIs may be used instead of the
GDI124と、ディスプレイドライバ126と、プロジェクタドライバ128の全体は、描画命令に従って描画処理を実行する描画モジュールとして機能する。具体的には、GDI124は、アプリケーションプログラム122から出された描画要求を受け取り、その描画要求に基づいて画像の出力先をチェックし、その出力先が表示装置であれば、ディスプレイドライバ126とプロジェクタドライバ128のそれぞれに対して描画要求を渡す。
The
ディスプレイドライバ126は、受け取った描画要求に従ってVRAM114内に画像データを描画する。なお、よく知られているように、描画要求としては、画面の全体を描画するものに限らず、画面の一部を描画するものも多用される。画面の一部を描画する描画命令を受けた場合には、ディスプレイドライバ126は、VRAM114内で描画対象となっている領域(「変化領域」とも呼ぶ)の画像部分のみを描画する。グラフィックコントローラ116は、VRAM114内に描画された画像データ(即ち、ビットマップデータ)に基づいて、表示デバイス118に画像を表示する。一方、プロジェクタドライバ128は、GDI124から受け取った描画要求に従って、VRAM114内の描画対象領域(すなわち変化領域)の位置及びサイズを表す変化領域情報106aをRAM106内に書き込む。
The
図4(A),(B)は、RAM106内の変化領域情報106aと画像データ格納領域106bの例を示す説明図である。ここでは、プロジェクタで投写表示されるべき画像が図4(A)から図4(B)のように変化する例を想定する。後述するように、画像データ格納領域106bには、VNCサーバ130によってVRAM114から転送された画像データが格納される。画像データ格納領域106bは、VRAM114(フレームメモリ)と同じデータ容量を有することが好ましい。
4A and 4B are explanatory diagrams showing examples of the
変化領域Raは、図4(A)から図4(B)に画像を変更する際の描画命令によって描画される画像部分の領域である。この変化領域Raに関する変化領域情報106aは、変化領域Raの基準点(通常は左上点)のx座標Xa及びy座標Yaと、変化領域Raの幅Wa及び高さHaとを含んでいる。なお、基準点の座標(Xa,Ya)は、変化領域Raの位置を示すデータであり、幅Waと高さHaは変化領域Raのサイズを示すデータである。
The change area Ra is an area of an image portion drawn by a drawing command when changing the image from FIG. 4 (A) to FIG. 4 (B). The
VNCサーバ130は、RAM106内の変化領域情報106aを参照して、変化領域Raの画像データを、VRAM114からRAM106内の画像データ格納領域106bに転送する。この画像データ格納領域106bは、例えばコンピュータ100又はプロジェクタ200の表示解像度に等しいサイズのメモリ領域である。VNCサーバ130は、さらに、画像データ格納領域106bから変化領域Raの画像データを読み出して、変化領域Raの変化領域情報106aと画像データとを含む画面更新メッセージを作成する。
The
図5は、画面更新メッセージの構造を示す説明図である。この画面更新メッセージは、VNCプロトコルに規定されているフレームバッファアップデート「FramebufferUpdate」の構造に準じている。画面更新メッセージは、メッセージの種類を示すメッセージヘッダ部と、メッセージのパラメータを示すパラメータ部とを有している。 FIG. 5 is an explanatory diagram showing the structure of the screen update message. This screen update message conforms to the structure of the frame buffer update “FramebufferUpdate” defined in the VNC protocol. The screen update message has a message header portion indicating a message type and a parameter portion indicating a message parameter.
メッセージヘッダ部には、メッセージの種類を示すメッセージタイプ(1バイト)と、変化領域の数を示す変化領域数(2バイト)とが含まれる。画面更新メッセージを示すメッセージタイプのデータ値は「0」である。変化領域数のデータ値は通常は「1」に設定される。但し、RAM106内に複数の変化領域に関する変化領域情報106aが未処理で残っている場合には、画面更新メッセージがそれらの複数の変化領域に関する情報(変化領域情報及び画像データ)を含むように画面更新メッセージを構成することも可能である。画面更新メッセージに含まれる変化領域情報を「画面更新領域情報」とも呼ぶ。なお、メッセージタイプデータと変化領域数データとは1バイトのパディングを介して区分されている。
The message header part includes a message type (1 byte) indicating the type of message and a change area number (2 bytes) indicating the number of change areas. The data value of the message type indicating the screen update message is “0”. The data value of the number of change areas is normally set to “1”. However, when the
パラメータ部には、変化領域の基準点のx座標(2バイト)及びy座標(2バイト)と、変化領域の幅(2バイト)及び高さ(2バイト)と、変化領域の画像データの転送時のエンコーディング形式(4バイト)と、変化領域の画像データ(nバイト)と、が含まれている。エンコーディング形式としては、JPEG形式(データ値「7」)等の予め定められた形式が使用される。 In the parameter section, the x coordinate (2 bytes) and y coordinate (2 bytes) of the reference point of the change area, the width (2 bytes) and height (2 bytes) of the change area, and the transfer of the image data of the change area Time encoding format (4 bytes) and change area image data (n bytes) are included. A predetermined format such as a JPEG format (data value “7”) is used as the encoding format.
VNCサーバ130は、こうして作成した画面更新メッセージをネットワークインタフェース部112を介してプロジェクタ200に転送する。
The
このように、図3に示す比較例では、一旦VRAM114に格納された画像データを汎用メモリであるRAM106に転送した後で、RAM106内にある画像データをプロジェクタ200に転送している。このため、VRAM114からRAM106に転送するためにかなりの時間を要してしまい、十分な転送速度が得られない場合があった。
As described above, in the comparative example shown in FIG. 3, the image data once stored in the
図6は、第1実施例におけるコンピュータのソフトウェアとハードウェアの階層構造を示す説明図である。図3に示した比較例との違いは、アプリケーションプログラム122とGDI124との間に、フック処理モジュール400が追加されている点と、RAM106内に2種類の変化領域情報106a1,106a2(以下、「変化領域情報A1,A2」と呼ぶ)が格納されている点であり、他の構成は図3と同じである。フック処理モジュール400は、アプリケーションプログラム122が発行する特定の描画命令をフックして先取りし、後述する処理を実行する。他の描画命令は通常通りGDI124によって処理される。なお、フック処理モジュール400は、アプリケーションプログラム122に応じた適切な特定の描画命令のみをフックするように、各アプリケーションプログラム専用に構成されることが好ましい。
FIG. 6 is an explanatory diagram showing a hierarchical structure of computer software and hardware in the first embodiment. 3 is different from the comparative example shown in FIG. 3 in that a
なお、フック処理モジュール400も一種の描画用APIと考えることも可能であるが、GDI124のような汎用の描画用APIとは区別される。すなわち、フック処理モジュール400は、典型的には特定の描画命令のみを処理するように構成されているのに対して、GDI124はすべての描画命令を処理するように構成されている点で相違する。
The
フック処理モジュール400は、例えばDLL(ダイナミックリンクライブラリ)としてアプリケーションプログラム122にロード(インストール)される。一般に、アプリケーションプログラムは「プロセス」という単位で動作している。また、アプリケーションプログラムの実行中は、そのプロセス内に複数のモジュール(GDI32.DLLやKernel32.DLLなど)がロードされており、アプリケーションプログラムはそれらのモジュール内の関数を利用することによって各種の動作を行っている。フック処理モジュール400の「ロード」とは、アプリケーションプログラム122のプロセス内に、フックプロシージャが実装されているモジュール400を組み込むすることを意味している。
The
フック処理モジュール400がロードされる際には、アプリケーションプログラム122から発行される特定の描画命令の関数アドレスが、フック処理モジュール400内に実装されている独自機能を実行するための別の関数のアドレスに差し替えられる。この独自機能の関数内では、変化情報と画像データのRAMへの書き込み処理(後述する)が実行され、その後、通常のGDI関数が実行される。フック処理モジュール400をアンロードする際には、ロード時に差し替えられていた関数アドレスを元に戻した後に、プロセス内にロードされていたフック処理モジュール400がアンロードされる。
When the
なお、フック処理モジュール400は、必要に応じていつでもアプリケーションプログラム122にロードしたり、アンロードしたりすることが可能である。但し、VNCサーバ130が起動する際に、動作中の特定のアプリケーションプログラム122(本実施例ではプレゼンテーションプログラム)にフック処理モジュール400をロードし、また、VNCサーバ130を終了するときにフック処理モジュール400をアンロードするように、VNCサーバ130を構成することが好ましい。こうすれば、VNCサーバ130が実行中の期間にのみフック処理モジュール400を動作させることができるので、コンピュータ100上でVNCサーバ130が実行されていない(起動していない)ときに描画命令をフックしてしまい、望ましくない結果が生じることを回避することができる。なお、本明細書において、「コンピュータ100上でVNCサーバ130が実行されている」という文言は、VNCサーバ130のプロセスが起動されていることを意味している。
The
図7は、第1実施例におけるフック処理モジュール400とVNCサーバ130の動作を示すフローチャートである。ステップS10〜S16はフック処理モジュール400によって実行され、ステップS20〜S26はVNCサーバ130によって定期的に実行される。
FIG. 7 is a flowchart showing operations of the
フック処理モジュール400は、アプリケーションプログラム122から特定の描画命令が発行されたときに、ステップS10においてその描画命令をフックして、GDI124の代わりにその描画命令を取得する。なお、フック処理モジュール400がフックする描画命令は、すべての描画命令ではなく、限られた特定の描画命令のみに限定することが好ましい。この理由は、アプリケーションプログラム122が発行する描画命令には多数のものがあるので、そのすべてをフックするようにすると、却って処理速度を低下させたり、所望の描画を行えなかったりする可能性があるからである。
When a specific drawing command is issued from the
ステップS12では、取得した描画命令に応じて変化領域情報を登録する処理が実行される。具体的には、フック処理モジュール400が、描画命令に従って描画が行われる領域(図4(B)の変化領域Ra)の位置とサイズを取得し、その変化領域を表す変化領域情報A1をRAM106に直接書き込む処理を実行する。
In step S12, a process of registering the change area information is executed according to the acquired drawing command. Specifically, the
ステップS14では、変化領域Raの画像データの書込処理が実行される。具体的には、フック処理モジュール400が、描画命令に従って変化領域Ra内の画像データを展開して、その画像データをRAM106内の画像データ格納領域106bに直接書き込む処理を実行する。
In step S14, the writing process of the image data of the change area Ra is executed. Specifically, the
ステップS16では、フック処理モジュール400が、ステップS10で取得した描画命令に従って通常のGDI関数を呼び出して描画処理を実行させる。なお、ディスプレイドライバ126とプロジェクタドライバ128(図6)は、図3に示した比較例と同様に、GDI124から受け取った描画命令に従ってそれぞれの処理を実行する。すなわち、ディスプレイドライバ126がVRAM114内に画像を描画し、プロジェクタドライバ128がその描画領域を示す変化領域情報A2をRAM106内に書き込む。
In step S16, the
一方、VNCサーバ130は、ステップS20において、プロジェクタ200に転送すべき画像データの領域(「画面更新領域」と呼ぶ)を決定する。図8は、ステップS20の詳細手順を示すフローチャートである。ステップS30,S32では、第1と第2の変化領域情報A1,A2が取得される。前述したように、第1の変化領域情報A1は、フック処理モジュール400によってRAM106内の画像データ格納領域106bに描画された領域を表す情報であり、フック処理モジュール400によってRAM106内に書き込まれたものである。一方、第2の変化領域情報A2は、ディスプレイドライバ126によってVRAM114内に描画された領域を表している情報であり、プロジェクタドライバ128によってRAM106内に書き込まれたものである。
On the other hand, in step S20, the
図9(A)は、2つの変化領域情報A1,A2で表される2つの変化領域RA1,RA2の一例を示している。ここでは、2つの変化領域RA1,RA2を、同一の画面領域SCA内に配置している。ここで、「画面領域SCA」とは、VRAM114に格納される画像の全体の領域を意味しており、これは、画像データ格納領域106b全体の領域と等しい。厳密に言えば、第1の変化領域RA1は画像データ格納領域106b内のアドレスで定義された領域であり、第2の変化領域RA2はVRAM114内のアドレスで定義された領域であるが、これらは同じ画面領域SCAで表現することができる。
FIG. 9A shows an example of two change areas RA1 and RA2 represented by two change area information A1 and A2. Here, the two change areas RA1 and RA2 are arranged in the same screen area SCA. Here, the “screen area SCA” means the entire area of the image stored in the
なお、図9(A)の例では、2つの変化領域RA1,RA2は部分的に重なっているが、2つの変化領域RA1,RA2はこれ以外の種々の関係を取る場合がある。例えば、2つの変化領域RA1,RA2が全く重なり合わない場合も存在し、両者が完全に重なり合う場合も存在する。例えば、フック処理モジュール400が特定の描画命令に従って描画を行い、その後、通常の描画モジュール124,126,128が同じ描画命令に従って同じ領域の描画を行った場合には、2つの変化領域RA1,RA2は同一となる。但し、同じ描画命令を実行したときにも、各モジュールの設定によっては、2つの変化領域RA1,RA2に若干の差異が生じる場合もあり得る。
In the example of FIG. 9A, the two change regions RA1 and RA2 partially overlap, but the two change regions RA1 and RA2 may take various other relationships. For example, there are cases where the two change regions RA1 and RA2 do not overlap at all, and there are also cases where the two change regions RA1 and RA2 completely overlap. For example, when the
図9(B)は、VNCサーバ130が画像転送時にRAM106から画像を直接取得する領域TG1を示しており、図9(C)はVRAM114から画像を取得する領域TG2を示している。これらの領域TG1,TG2を「転送領域」とも呼ぶ。この例から理解できるように、第1の変化領域RA1(=TG1)の画像は、RAM106内から直接取得される。一方、第2の変化領域RA2のうちで第1の変化領域RA1に含まれない部分の領域TG2の画像は、VRAM114から取得される。このように区別する理由は、VRAM114から取得する画像を可能な限り少なくして、その取得に要する時間を少なくするためである。例えば、2つの変化領域RA1,RA2が完全に重なる場合には、VRAM114から画像を取得する必要が無くなるので、転送処理を高速に行うことができる。図9(D)は、VNCサーバ130によって転送される領域全体(画面更新領域TTG)を示している。この画面更新領域TTGは、第1と第2の変化領域RA1,RA2の和領域に相当する。
FIG. 9B shows an area TG1 where the
なお、第1の変化領域情報A1に複数の描画命令に対応する複数の情報が含まれている場合がある。この場合には、これらの複数の描画命令の描画領域の和領域が第1の変化領域RA1となる。第2の変化領域RA2についても同様である。 The first change area information A1 may include a plurality of information corresponding to a plurality of drawing commands. In this case, the sum area of the drawing areas of the plurality of drawing commands becomes the first change area RA1. The same applies to the second change region RA2.
図8のステップS34では、2種類の変化領域情報A1,A2で表される変化領域RA1,RA2の差分を計算する。具体的には、第2の変化領域RA2の中で、第1の変化領域RA1に含まれない領域TG2(図9(C))が算出される。ステップS36では、画面更新領域TTG(図9(D))の最適化処理が実行される。 In step S34 in FIG. 8, the difference between the change areas RA1 and RA2 represented by the two types of change area information A1 and A2 is calculated. Specifically, a region TG2 (FIG. 9C) that is not included in the first change region RA1 in the second change region RA2 is calculated. In step S36, the optimization process of the screen update area TTG (FIG. 9D) is executed.
図10は、画面更新領域の最適化処理の内容を示す説明図である。図10(A)は、図9(D)と同じ画面更新領域TTGを示している。最適化処理では、図10(B)に示すように、画面更新領域TTGを互いに重ならない隣接する矩形領域R11〜R13に分割する。そして、これらの矩形領域R11〜R13が、最適化後の画面更新領域として採用される。個々の画面更新領域R11〜R13は矩形なので、最適化前の画面更新領域TTGを包含するような矩形形状の画像を転送する場合に比べて、転送される画像データ量を削減することが可能である。 FIG. 10 is an explanatory diagram showing the contents of the optimization process of the screen update area. FIG. 10A shows the same screen update area TTG as FIG. 9D. In the optimization process, as shown in FIG. 10B, the screen update area TTG is divided into adjacent rectangular areas R11 to R13 that do not overlap each other. And these rectangular area | regions R11-R13 are employ | adopted as a screen update area | region after optimization. Since each of the screen update areas R11 to R13 is rectangular, it is possible to reduce the amount of image data to be transferred compared to the case of transferring a rectangular image including the screen update area TTG before optimization. is there.
図7のステップS22では、画面更新領域に相当する画像部分の画像データが取得される。図11は、ステップS22の詳細手順を示すフローチャートである。ステップS40では、第2の転送領域TG2(図9(C))が空である否かが調べられる。第2の変化領域情報A2が存在しない場合、及び、第2の変化領域A2が第1の変化領域A1に完全に包含されている場合には、第2の転送領域TG2は空である。第2の転送領域TG2が空である場合には、後述するステップS44に移行する。一方、第2の転送領域TG2が空でない場合には、ステップS42が実行される。ステップS42では、VNCサーバ130が第2の転送領域TG2の画像データをVRAM114から取得してRAM106内の画像データ格納領域106bに書き込む。この結果、画像データ格納領域106bには、図9(D)に示す画面更新領域TTG内の画像がすべて格納された状態になる。ステップS44では、VNCサーバ130が画面更新領域TTGの画像データをRAM106の画像データ格納領域106bから取得する。なお、実際に取得されるのは、最適化処理後の個々の画面更新領域R11〜R13(図10(B))の画像データである。
In step S22 of FIG. 7, image data of the image portion corresponding to the screen update area is acquired. FIG. 11 is a flowchart showing the detailed procedure of step S22. In step S40, it is checked whether or not the second transfer area TG2 (FIG. 9C) is empty. When the second change area information A2 does not exist and when the second change area A2 is completely included in the first change area A1, the second transfer area TG2 is empty. If the second transfer area TG2 is empty, the process proceeds to step S44 described later. On the other hand, if the second transfer area TG2 is not empty, step S42 is executed. In step S42, the
図7のステップS24では、予め設定されているエンコーディング形式に従って画像データが変換される。ステップS26では、こうして変換された画像データと変化領域情報とを含む画面更新メッセージ(図5)が作成され、ネットワークインタフェース部112を介してプロジェクタ200に転送される。
In step S24 of FIG. 7, the image data is converted in accordance with a preset encoding format. In step S <b> 26, a screen update message (FIG. 5) including the image data thus converted and the change area information is created and transferred to the
プロジェクタ200のネットワークインタフェース部212(図2)は、ネットワーク300を介して供給された通信データを受信すると、この通信データに含まれている画面更新メッセージを取り出して、VNCクライアント230に渡す。VNCクライアント230は、画面更新メッセージに含まれる画像データを画像処理ドライバ228に渡す。画像処理ドライバ228は、この画像データに従って画像処理部214を制御し、画像処理部214によって画像処理部214内の表示メモリ(図示せず)に画像データを展開させる。この結果、プロジェクタ200は、図1に示すように、投写表示画面70に画像を表示することができる。
When the network interface unit 212 (FIG. 2) of the
このように、第1実施例では、フック処理モジュール400が、特定の描画命令をフックして先取りし、変化領域の画像データをRAM106に直接書き込む処理を実行するようにしている。この結果、図3に示した比較例においてVRAM114からRAM106への画像データの転送に要していた時間を節約することができる。この結果、プロジェクタ200に画像データを転送する場合の転送速度を十分に速くすることができるという利点がある。
As described above, in the first embodiment, the
なお、一般に使用されているパーソナルコンピュータでは、RAM106からVRAM114へのデータ転送は非常に高速に実行できるのに対して、VRAM114からRAM106へのデータ転送はその数倍低速でしか実行できないアーキテクチャとなっていることが多い。第1実施例では、低速なVRAMからRAMへのデータ転送を削減できるので、プロジェクタ200に画像データを転送するために要する時間を大幅に削減することが可能である。
In a general personal computer, data transfer from the
また、上記第1実施例では、フック処理モジュール400によって描画されていない領域TG2(図9(C))の画像部分に関しては、VRAM114から取得してプロジェクタ200に転送している。この結果、通常の描画モジュール124,126,128で描画された画像についても欠落無しにプロジェクタ200に転送することが可能である。
In the first embodiment, the image portion of the area TG2 (FIG. 9C) not drawn by the
B.第2実施例:
図12は、第2実施例における変化領域と画面更新領域との関係を示す説明図であり、第1実施例の図9に対応するものである。第2実施例は、装置構成や処理フローの全体は第1実施例と同じであるが、転送対象となる領域が第1実施例と異なっている。具体的には、第2実施例では、RAM106から画像が直接取得される第1の転送領域TG1(図12(B))は、第1と第2の変化領域RA1,RA2が重なり合っている部分に設定される。換言すれば、第1の転送領域TG1は、第2の変化領域RA2のうちで第1の変化領域RA1にも含まれている領域に設定される。一方、VRAM114から画像が取得される第2の転送領域TG2(図12(C))は、第1実施例と同様に、第2の変化領域RA2のうちで第1の変化領域RA1に含まれていない部分に設定される。従って、転送対象となる領域の全体である画面更新領域TTG(図12(D))は、第2の変化領域RA2と同一である。
B. Second embodiment:
FIG. 12 is an explanatory diagram showing the relationship between the change area and the screen update area in the second embodiment, and corresponds to FIG. 9 in the first embodiment. In the second embodiment, the overall apparatus configuration and processing flow are the same as those in the first embodiment, but the area to be transferred is different from that in the first embodiment. Specifically, in the second embodiment, the first transfer region TG1 (FIG. 12B) in which an image is directly acquired from the
このように、第2実施例では、GDI124及びディスプレイドライバ126によってVRAM114内に描画される領域である第2の変化領域RA2内の画像がVNCサーバ130によって転送されることになる。このように処理を行う理由は、以下の通りである。すなわち、フック処理モジュール400によってフック処理された描画命令も、その後、GDI124及びディスプレイドライバ126によって再度実行されるので、基本的にすべての描画命令がGDI124及びディスプレイドライバ126によって実行される。従って、第2の変化領域RA2の画像を転送すれば、プロジェクタ200に正しい画像を表示させることが可能である。但し、この際にすべての画像データをVRAM114から取得すると、データ転送にかなりの時間を要するという問題を生じてしまう。そこで、第2実施例では、第2の変化領域RA2の中で、第1の変化領域RA1に含まれている部分についてはRAM106から画像データを直接取得することによって、データ取得に要する時間を短縮している。また、第2実施例では、転送される画像データ量が第1実施例よりも更に少ない点で第1実施例よりも好ましい。
Thus, in the second embodiment, the image in the second change area RA2, which is an area drawn in the
なお、多くの場合には、フック処理モジュール400によって描画される領域(第1の変化領域RA1)と、GDI124及びディスプレイドライバ126で描画される領域(第2の変化領域RA2)とは一致している。従って、第2実施例のように、第1の変化領域RA1のうちで第2の変化領域RA2に含まれない部分の画像転送を省略しても、プロジェクタ400に表示される画像に違和感が生じる可能性は無視できる程度である。これに対して、上述した第1実施例では、第1の変化領域RA1のうちで第2の変化領域RA2に重ならない部分も画像を転送するので、仮に、第1と第2の変化領域RA1,RA2がかなり大幅に異なっている場合にも、より完全な画像を転送できるという利点がある。
In many cases, the area drawn by the hook processing module 400 (first change area RA1) and the area drawn by the
なお、VNCサーバ130は、第1実施例の転送処理(「第1の転送モード」とも呼ぶ)と第2実施例の転送処理(「第2の転送モード」とも呼ぶ)を含む複数の転送モードの中から1つを選択して実行できるように構成されていても良い。転送モードの選択は、ユーザが行うようにしてもよく、あるいは、コンピュータ100(一般には画像供給装置)の処理能力(CPUの処理速度やバスの転送速度など)に応じてVNCサーバ130が自動的に転送モードの選択を行うようにしてもよい。こうすれば、適切な転送速度で好ましい画像を転送できる転送モードを選択することが可能である。
The
C.変形例:
なお、本発明は上記した実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様にて実施することが可能であり、例えば以下のような変形が可能である。
C. Variations:
The present invention is not limited to the above-described examples and embodiments, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.
C1.変形例1:
コンピュータ100からプロジェクタ200に供給される画面更新メッセージとしては、上記実施例で使用したもの以外の種々のものを使用することが可能である。例えば、画面更新メッセージとして、少なくとも画像データを含むものを使用することができる。具体的には、例えば、画面全体の画像データを転送する場合には、変化領域情報を転送する必要は無い。
C1. Modification 1:
As the screen update message supplied from the
また、画面更新メッセージとしては、変化領域(画面更新領域)の位置及びサイズを示す情報と、変化領域内の画像データとを少なくとも含むことが好ましい。この理由は、変化領域に関するデータ(変化領域情報及びその画像データ)のみを転送すれば、転送すべきデータ量が少なくなるからである。 The screen update message preferably includes at least information indicating the position and size of the change area (screen update area) and image data in the change area. This is because the amount of data to be transferred is reduced if only the data relating to the change area (change area information and its image data) is transferred.
C2.変形例2:
上記実施例では、第2の転送領域TG2(図9(C),図12(C))の画像部分をVRAM114から取得して一旦RAM106内の画像データ格納領域106b内に書き込んだ後で、RAM106から画面更新領域TTGの画像を取得してネットワークを介して転送することとしていたが、画像データ格納領域106bに書き込む処理を省略することも可能である。但し、上記実施例の手順によれば、ネットワークを介して最終的に画像を転送する際に、画像を1つの画像データ格納領域106bから取得できるので、処理が単純になるという利点がある。
C2. Modification 2:
In the above embodiment, the image portion of the second transfer area TG2 (FIG. 9C, FIG. 12C) is acquired from the
C3.変形例3:
上記実施例では、描画モジュールがGDI124とディスプレイドライバ126とプロジェクタドライバ128の3つのモジュールに分かれていたが、モジュールの区分は任意であり、これらの機能を1つのモジュールにまとめることも可能である。また、ディスプレイドライバ126とプロジェクタドライバ128の機能を1つのモジュールにまとめることも可能である。
C3. Modification 3:
In the above embodiment, the drawing module is divided into three modules, the
C4.変形例4:
上記実施例においては、画像供給装置としてパーソナルコンピュータを用いていたが、この代わりに、他の種類のコンピュータ(モバイルコンピュータ、ハンドヘルドコンピュータ、ワークステーションなど)を用いるようにしても良い。また、これらコンピュータの他に、ネットワークに接続可能であって、コンピュータと同様な機能を有する機器を用いるようにしても良い。そのような機器には、例えば、情報携帯端末や、携帯電話機や、メール端末や、ゲーム機や、セットトップボックスなどが含まれる。また、画像表示装置としては、プロジェクタ以外の種々の表示装置を使用することが可能である。
C4. Modification 4:
In the above embodiment, a personal computer is used as the image supply device, but other types of computers (mobile computer, handheld computer, workstation, etc.) may be used instead. In addition to these computers, devices that can be connected to a network and have the same functions as the computer may be used. Such devices include, for example, information mobile terminals, mobile phones, mail terminals, game machines, set top boxes, and the like. As the image display device, various display devices other than the projector can be used.
C5.変形例5:
ネットワークとしては、ローカルエリアネットワーク(LAN)の他、ワイドエリアネットワーク(WAN)や、インターネットや、イントラネットなど、各種ネットワークを適用することができる。また、ネットワークは、有線で構成されていても良く、あるいは無線で構成されていても良い。
C5. Modification 5:
As the network, in addition to a local area network (LAN), various networks such as a wide area network (WAN), the Internet, and an intranet can be applied. The network may be configured by wire or may be configured by radio.
C6.変形例6:
上記実施例においてソフトウェアで実現されている機能の一部をハードウェアで実現してもよく、あるいは、ハードウェアで実現されている機能の一部をソフトウェアで実現してもよい。
C6. Modification 6:
In the above embodiment, a part of the functions realized by software may be realized by hardware, or a part of the functions realized by hardware may be realized by software.
10…画像表示システム
60…表示画面
70…投写表示画面
100…コンピュータ
102…CPU
104…ROM
106…RAM
106a…変化領域情報
106b…画像データ格納領域
108…ハードディスクドライブ
110…入力部
112…ネットワークインタフェース部
114…VRAM
116…グラフィックコントローラ
118…表示デバイス
120…バス
122…アプリケーションプログラム
124…GDI(グラフィックスデバイスインタフェイス)
126…ディスプレイドライバ
128…プロジェクタドライバ
130…VNCサーバ
200…プロジェクタ
202…CPU
204…ROM
206…RAM
210…入力部
212…ネットワークインタフェース部
214…画像処理部
216…投写部
218…バス
228…画像処理ドライバ
230…VNCクライアント
300…ネットワーク
400…フック処理モジュール
DESCRIPTION OF
104 ... ROM
106 ... RAM
106a ...
116:
126 ...
204 ... ROM
206 ... RAM
210: Input unit 212 ...
Claims (10)
画像の描画命令を発行可能なアプリケーションプログラムと、
前記アプリケーションプログラムによって発行される描画命令を処理するための描画モジュールと、
前記アプリケーションプログラムによって発行される特定の描画命令をフックして先取りし、取得した描画命令に従って汎用メモリ内の特定の転送用画像格納領域に画像を描画するフック処理モジュールと、
前記転送用画像格納領域から画像を取得するとともに、取得した画像を前記ネットワークを介して前記画像表示装置に転送する画像転送処理モジュールと、
を備え、
前記フック処理モジュールは、前記転送用画像格納領域の中で前記特定の描画命令に応じて画像が描画される領域である第1の変化領域を示す第1の変化領域情報を前記汎用メモリ内に書き込む機能と、前記特定の描画命令を処理した後に当該描画命令を前記描画モジュールに供給する機能とを有し、
前記描画モジュールは、前記アプリケーションプログラム又は前記フック処理モジュールから受けた描画命令に従ってフレームメモリ内に画像を描画する機能と、前記フレームメモリの中で前記描画命令に応じて画像が描画される領域である第2の変化領域を示す第2の変化領域情報を前記汎用メモリ内に書き込む機能とを有し、
前記画像転送処理モジュールは、
(i)前記汎用メモリ内に格納されている前記第1と第2の変化領域情報を参照して、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得し、
(ii)前記第1の変化領域に相当する画像部分を前記フレームメモリから取得することなく前記転送用画像格納領域から取得し、
(iii)取得した画像部分を、前記第1と第2の変化領域の和である画面更新領域を示す画面更新領域情報とともに前記ネットワークを介して前記画像表示装置に転送することを特徴とする画像供給装置。 An image supply device for supplying and displaying an image on an image display device via a network,
An application program capable of issuing image drawing commands;
A drawing module for processing a drawing command issued by the application program;
A hook processing module that hooks a specific drawing command issued by the application program in advance and draws an image in a specific transfer image storage area in the general-purpose memory according to the acquired drawing command;
An image transfer processing module that acquires an image from the transfer image storage area and transfers the acquired image to the image display device via the network;
With
The hook processing module stores, in the general-purpose memory, first change area information indicating a first change area that is an area in which an image is drawn in response to the specific drawing command in the transfer image storage area. A function of writing, and a function of supplying the drawing command to the drawing module after processing the specific drawing command;
The drawing module has a function of drawing an image in a frame memory in accordance with a drawing command received from the application program or the hook processing module, and an area in the frame memory in which an image is drawn according to the drawing command. Having a function of writing second change area information indicating a second change area in the general-purpose memory;
The image transfer processing module
(I) Referring to the first and second change area information stored in the general-purpose memory, the second change area corresponds to an area not included in the first change area. Obtaining an image portion from the frame memory;
(Ii) obtaining an image portion corresponding to the first change area from the transfer image storage area without obtaining from the frame memory;
(Iii) The acquired image portion is transferred to the image display device via the network together with screen update area information indicating a screen update area that is a sum of the first and second change areas. Feeding device.
画像の描画命令を発行可能なアプリケーションプログラムと、
前記アプリケーションプログラムによって発行される描画命令を処理するための描画モジュールと、
前記アプリケーションプログラムによって発行される特定の描画命令をフックして先取りし、取得した描画命令に従って汎用メモリ内の特定の転送用画像格納領域に画像を描画するフック処理モジュールと、
前記転送用画像格納領域から画像を取得するとともに、取得した画像を前記ネットワークを介して前記画像表示装置に転送する画像転送処理モジュールと、
を備え、
前記フック処理モジュールは、前記転送用画像格納領域の中で前記特定の描画命令に応じて画像が描画される領域である第1の変化領域を示す第1の変化領域情報を前記汎用メモリ内に書き込む機能と、前記特定の描画命令を処理した後に当該描画命令を前記描画モジュールに供給する機能とを有し、
前記描画モジュールは、前記アプリケーションプログラム又は前記フック処理モジュールから受けた描画命令に従ってフレームメモリ内に画像を描画する機能と、前記フレームメモリの中で前記描画命令に応じて画像が描画される領域である第2の変化領域を示す第2の変化領域情報を前記汎用メモリ内に書き込む機能とを有し、
前記画像転送処理モジュールは、
(i)前記汎用メモリ内に格納されている前記第1と第2の変化領域情報を参照して、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得し、
(ii)前記第2の変化領域のうちで前記第1の変化領域にも含まれる領域に相当する画像部分を前記フレームメモリから取得することなく前記転送用画像格納領域から取得し、
(iii)取得した画像部分を、前記第2の変化領域と同一である画面更新領域を示す画面更新領域情報とともに前記ネットワークを介して前記画像表示装置に転送することを特徴とする画像供給装置。 An image supply device for supplying and displaying an image on an image display device via a network,
An application program capable of issuing image drawing commands;
A drawing module for processing a drawing command issued by the application program;
A hook processing module that hooks a specific drawing command issued by the application program in advance and draws an image in a specific transfer image storage area in the general-purpose memory according to the acquired drawing command;
An image transfer processing module that acquires an image from the transfer image storage area and transfers the acquired image to the image display device via the network;
With
The hook processing module stores, in the general-purpose memory, first change area information indicating a first change area that is an area in which an image is drawn in response to the specific drawing command in the transfer image storage area. A function of writing, and a function of supplying the drawing command to the drawing module after processing the specific drawing command;
The drawing module has a function of drawing an image in a frame memory in accordance with a drawing command received from the application program or the hook processing module, and an area in the frame memory in which an image is drawn according to the drawing command. Having a function of writing second change area information indicating a second change area in the general-purpose memory;
The image transfer processing module
(I) Referring to the first and second change area information stored in the general-purpose memory, the second change area corresponds to an area not included in the first change area. Obtaining an image portion from the frame memory;
(Ii) An image portion corresponding to an area included in the first change area among the second change areas is acquired from the transfer image storage area without acquiring from the frame memory;
(Iii) The obtained image portion is transferred to the image display device via the network together with screen update area information indicating a screen update area that is the same as the second change area.
前記画像転送処理モジュールは、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得して前記転送用画像格納領域に書き込んだ後に、前記画面更新領域に相当する画像部分を前記転送用画像格納領域から取得する、画像供給装置。 The image supply device according to claim 1, wherein:
The image transfer processing module obtains an image portion corresponding to an area not included in the first change area in the second change area from the frame memory and writes the image portion in the transfer image storage area. An image supply device that acquires an image portion corresponding to the screen update area from the transfer image storage area.
前記画像転送処理モジュールは、
前記画像転送処理モジュールの起動時に前記フック処理モジュールを前記アプリケーションプログラムにロードし、前記画像転送処理モジュールの実行終了時に前記フック処理モジュールを前記アプリケーションプログラムからアンロードするように構成されている、画像供給装置。 The image supply device according to any one of claims 1 to 3,
The image transfer processing module
An image supply configured to load the hook processing module into the application program when the image transfer processing module is activated and unload the hook processing module from the application program when the execution of the image transfer processing module is completed. apparatus.
前記画像供給装置は、画像の描画命令を発行可能なアプリケーションプログラムと、前記アプリケーションプログラムによって発行される描画命令を処理するための描画モジュールと、前記アプリケーションプログラムによって発行される特定の描画命令をフックして先取りし、取得した描画命令に従って汎用メモリ内の特定の転送用画像格納領域に画像を描画するフック処理モジュールと、を備えており、
前記画像転送処理モジュールは、前記転送用画像格納領域から画像を取得するとともに、取得した画像を前記ネットワークを介して前記画像表示装置に転送する機能を有しており、
前記フック処理モジュールは、前記フックによって取得した描画命令に従って前記転送用画像格納領域に画像を描画する機能と、前記転送用画像格納領域の中で前記特定の描画命令に応じて画像が描画される領域である第1の変化領域を示す第1の変化領域情報を前記汎用メモリ内に書き込む機能と、前記特定の描画命令を処理した後に当該描画命令を前記描画モジュールに供給する機能とを有し、
前記描画モジュールは、前記アプリケーションプログラム又は前記フック処理モジュールから受けた描画命令に従ってフレームメモリ内に画像を描画する機能と、前記フレームメモリの中で前記描画命令に応じて画像が描画される領域である第2の変化領域を示す第2の変化領域情報を前記汎用メモリ内に書き込む機能とを有し、
前記画像転送処理モジュールは、
(i)前記汎用メモリ内に格納されている前記第1と第2の変化領域情報を参照して、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得し、
(ii)前記第1の変化領域に相当する画像部分を前記フレームメモリから取得することなく前記転送用画像格納領域から取得し、
(iii)取得した画像部分を、前記第1と第2の変化領域の和である画面更新領域を示す画面更新領域情報とともに前記ネットワークを介して前記画像表示装置に転送することを特徴とする画像転送処理モジュール。 An image transfer processing module used in an image supply device for supplying and displaying an image on an image display device via a network,
The image supply device hooks an application program capable of issuing an image drawing command, a drawing module for processing a drawing command issued by the application program, and a specific drawing command issued by the application program. And a hook processing module for drawing an image in a specific transfer image storage area in the general-purpose memory in accordance with the acquired drawing command.
The image transfer processing module has a function of acquiring an image from the transfer image storage area and transferring the acquired image to the image display device via the network;
The hook processing module has a function of drawing an image in the transfer image storage area in accordance with a drawing command acquired by the hook, and an image is drawn in the transfer image storage area in accordance with the specific drawing command. A function of writing first change area information indicating a first change area, which is an area, into the general-purpose memory; and a function of supplying the drawing command to the drawing module after processing the specific drawing command ,
The drawing module has a function of drawing an image in a frame memory in accordance with a drawing command received from the application program or the hook processing module, and an area in the frame memory in which an image is drawn according to the drawing command. Having a function of writing second change area information indicating a second change area in the general-purpose memory;
The image transfer processing module
(I) Referring to the first and second change area information stored in the general-purpose memory, the second change area corresponds to an area not included in the first change area. Obtaining an image portion from the frame memory;
(Ii) obtaining an image portion corresponding to the first change area from the transfer image storage area without obtaining from the frame memory;
(Iii) The acquired image portion is transferred to the image display device via the network together with screen update area information indicating a screen update area that is a sum of the first and second change areas. Transfer processing module.
前記画像供給装置は、画像の描画命令を発行可能なアプリケーションプログラムと、前記アプリケーションプログラムによって発行される描画命令を処理するための描画モジュールと、前記アプリケーションプログラムによって発行される特定の描画命令をフックして先取りし、取得した描画命令に従って汎用メモリ内の特定の転送用画像格納領域に画像を描画するフック処理モジュールと、を備えており、
前記画像転送処理モジュールは、前記転送用画像格納領域から画像を取得するとともに、取得した画像を前記ネットワークを介して前記画像表示装置に転送する機能を有しており、
前記フック処理モジュールは、前記フックによって取得した描画命令に従って前記転送用画像格納領域に画像を描画する機能と、前記転送用画像格納領域の中で前記特定の描画命令に応じて画像が描画される領域である第1の変化領域を示す第1の変化領域情報を前記汎用メモリ内に書き込む機能と、前記特定の描画命令を処理した後に当該描画命令を前記描画モジュールに供給する機能とを有し、
前記描画モジュールは、前記アプリケーションプログラム又は前記フック処理モジュールから受けた描画命令に従ってフレームメモリ内に画像を描画する機能と、前記フレームメモリの中で前記描画命令に応じて画像が描画される領域である第2の変化領域を示す第2の変化領域情報を前記汎用メモリ内に書き込む機能とを有し、
前記画像転送処理モジュールは、
(i)前記汎用メモリ内に格納されている前記第1と第2の変化領域情報を参照して、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得し、
(ii)前記第2の変化領域のうちで前記第1の変化領域にも含まれる領域に相当する画像部分を前記フレームメモリから取得することなく前記転送用画像格納領域から取得し、
(iii)取得した画像部分を、前記第2の変化領域と同一である画面更新領域を示す画面更新領域情報とともに前記ネットワークを介して前記画像表示装置に転送することを特徴とする画像転送処理モジュール。 An image transfer processing module used in an image supply device for supplying and displaying an image on an image display device via a network,
The image supply device hooks an application program capable of issuing an image drawing command, a drawing module for processing a drawing command issued by the application program, and a specific drawing command issued by the application program. And a hook processing module for drawing an image in a specific transfer image storage area in the general-purpose memory in accordance with the acquired drawing command.
The image transfer processing module has a function of acquiring an image from the transfer image storage area and transferring the acquired image to the image display device via the network;
The hook processing module has a function of drawing an image in the transfer image storage area in accordance with a drawing command acquired by the hook, and an image is drawn in the transfer image storage area in accordance with the specific drawing command. A function of writing first change area information indicating a first change area, which is an area, into the general-purpose memory; and a function of supplying the drawing command to the drawing module after processing the specific drawing command ,
The drawing module has a function of drawing an image in a frame memory in accordance with a drawing command received from the application program or the hook processing module, and an area in the frame memory in which an image is drawn according to the drawing command. Having a function of writing second change area information indicating a second change area in the general-purpose memory;
The image transfer processing module
(I) Referring to the first and second change area information stored in the general-purpose memory, the second change area corresponds to an area not included in the first change area. Obtaining an image portion from the frame memory;
(Ii) An image portion corresponding to an area included in the first change area among the second change areas is acquired from the transfer image storage area without acquiring from the frame memory;
(Iii) An image transfer processing module that transfers the acquired image portion to the image display device via the network together with screen update area information indicating a screen update area that is the same as the second change area. .
(a)アプリケーションプログラムによって発行される描画命令を処理するための描画モジュールと、前記アプリケーションプログラムによって発行される特定の描画命令をフックして先取りし、取得した描画命令に従って汎用メモリ内の特定の転送用画像格納領域に画像を描画するフック処理モジュールと、を準備する工程と、
(b)前記フック処理モジュールが、前記アプリケーションプログラムによって発行された特定の描画命令に応じて、前記汎用メモリ内の特定の転送用画像格納領域に画像を描画する工程と、
(c)前記フック処理モジュールが、前記転送用画像格納領域の中で前記特定の描画命令に応じて画像が描画される領域である第1の変化領域を示す第1の変化領域情報を前記汎用メモリ内に書き込む工程と、
(d)前記フック処理モジュールが、前記特定の描画命令を処理した後に当該描画命令を前記描画モジュールに供給する工程と、
(e)前記描画モジュールが、前記アプリケーションプログラム又は前記フック処理モジュールから受けた描画命令に従ってフレームメモリ内に画像を描画する工程と、
(f)前記描画モジュールが、前記フレームメモリの中で前記描画命令に応じて画像が描画される領域である第2の変化領域を示す第2の変化領域情報を前記汎用メモリ内に書き込む工程と、
(g)前記汎用メモリ内に格納されている前記第1と第2の変化領域情報を参照し、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得する工程と、
(h)前記第1の変化領域に相当する画像部分を前記フレームメモリから取得することなく前記転送用画像格納領域から取得する工程と、
(i)取得した画像部分を、前記第1と第2の変化領域の和である画面更新領域を示す画面更新領域情報とともに前記ネットワークを介して前記画像表示装置に転送する工程と、
を備えることを特徴とする画像供給方法。 A method of supplying and displaying an image on an image display device via a network,
(A) A drawing module for processing a drawing command issued by an application program and a specific drawing command issued by the application program are hooked in advance, and a specific transfer in the general-purpose memory is performed according to the acquired drawing command. Preparing a hook processing module for drawing an image in the image storage area,
(B) the hook processing module rendering an image in a specific transfer image storage area in the general-purpose memory in response to a specific rendering command issued by the application program;
(C) The hook processing module uses the first change area information indicating the first change area, which is an area in which an image is drawn in accordance with the specific drawing command, in the transfer image storage area. Writing into the memory;
(D) the hook processing module supplying the drawing command to the drawing module after processing the specific drawing command;
(E) the drawing module drawing an image in a frame memory in accordance with a drawing command received from the application program or the hook processing module;
(F) the drawing module writing second change area information indicating a second change area, which is an area in which an image is drawn in the frame memory, in accordance with the drawing command, into the general-purpose memory; ,
(G) An image corresponding to an area of the second change area that is not included in the first change area with reference to the first and second change area information stored in the general-purpose memory. Obtaining a portion from the frame memory;
(H) obtaining an image portion corresponding to the first change area from the transfer image storage area without obtaining from the frame memory;
(I) transferring the acquired image portion to the image display device via the network together with screen update area information indicating a screen update area that is a sum of the first and second change areas;
An image supply method comprising:
(a)アプリケーションプログラムによって発行される描画命令を処理するための描画モジュールと、前記アプリケーションプログラムによって発行される特定の描画命令をフックして先取りし、取得した描画命令に従って汎用メモリ内の特定の転送用画像格納領域に画像を描画するフック処理モジュールと、を準備する工程と、
(b)前記フック処理モジュールが、前記アプリケーションプログラムによって発行された特定の描画命令に応じて、前記汎用メモリ内の特定の転送用画像格納領域に画像を描画する工程と、
(c)前記フック処理モジュールが、前記転送用画像格納領域の中で前記特定の描画命令に応じて画像が描画される領域である第1の変化領域を示す第1の変化領域情報を前記汎用メモリ内に書き込む工程と、
(d)前記フック処理モジュールが、前記特定の描画命令を処理した後に当該描画命令を前記描画モジュールに供給する工程と、
(e)前記描画モジュールが、前記アプリケーションプログラム又は前記フック処理モジュールから受けた描画命令に従ってフレームメモリ内に画像を描画する工程と、
(f)前記描画モジュールが、前記フレームメモリの中で前記描画命令に応じて画像が描画される領域である第2の変化領域を示す第2の変化領域情報を前記汎用メモリ内に書き込む工程と、
(g)前記汎用メモリ内に格納されている前記第1と第2の変化領域情報を参照し、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得する工程と、
(h)前記第2の変化領域のうちで前記第1の変化領域にも含まれる領域に相当する画像部分を前記フレームメモリから取得することなく前記転送用画像格納領域から取得する工程と、
(i)取得した画像部分を、前記第2の変化領域と同一である画面更新領域を示す画面更新領域情報とともに前記ネットワークを介して前記画像表示装置に転送する工程と、
を備えることを特徴とする画像供給方法。 A method of supplying and displaying an image on an image display device via a network,
(A) A drawing module for processing a drawing command issued by an application program and a specific drawing command issued by the application program are hooked in advance, and a specific transfer in the general-purpose memory is performed according to the acquired drawing command. Preparing a hook processing module for drawing an image in the image storage area,
(B) the hook processing module rendering an image in a specific transfer image storage area in the general-purpose memory in response to a specific rendering command issued by the application program;
(C) The hook processing module uses the first change area information indicating the first change area, which is an area in which an image is drawn in accordance with the specific drawing command, in the transfer image storage area. Writing into the memory;
(D) the hook processing module supplying the drawing command to the drawing module after processing the specific drawing command;
(E) the drawing module drawing an image in a frame memory in accordance with a drawing command received from the application program or the hook processing module;
(F) the drawing module writing second change area information indicating a second change area, which is an area in which an image is drawn in the frame memory, in accordance with the drawing command, into the general-purpose memory; ,
(G) An image corresponding to an area of the second change area that is not included in the first change area with reference to the first and second change area information stored in the general-purpose memory. Obtaining a portion from the frame memory;
(H) obtaining an image portion corresponding to an area included in the first change area in the second change area from the transfer image storage area without obtaining from the frame memory;
(I) transferring the acquired image portion to the image display device via the network together with screen update area information indicating a screen update area that is the same as the second change area;
An image supply method comprising:
前記画像供給装置は、画像の描画命令を発行可能なアプリケーションプログラムと、前記アプリケーションプログラムによって発行される描画命令を処理するための描画モジュールと、前記アプリケーションプログラムによって発行される特定の描画命令をフックして先取りし、取得した描画命令に従って汎用メモリ内の特定の転送用画像格納領域に画像を描画するフック処理モジュールと、を備えており、
前記画像転送処理モジュールは、前記転送用画像格納領域から画像を取得するとともに、取得した画像を前記ネットワークを介して前記画像表示装置に転送する処理をコンピュータに実現させるものであり、
前記フック処理モジュールは、前記フックによって取得した描画命令に従って前記転送用画像格納領域に画像を描画する機能と、前記転送用画像格納領域の中で前記特定の描画命令に応じて画像が描画される領域である第1の変化領域を示す第1の変化領域情報を前記汎用メモリ内に書き込む機能と、前記特定の描画命令を処理した後に当該描画命令を前記描画モジュールに供給する機能とを有し、
前記描画モジュールは、前記アプリケーションプログラム又は前記フック処理モジュールから受けた描画命令に従ってフレームメモリ内に画像を描画する機能と、前記フレームメモリの中で前記描画命令に応じて画像が描画される領域である第2の変化領域を示す第2の変化領域情報を前記汎用メモリ内に書き込む機能とを有し、
前記画像転送処理モジュールは、
(i)前記汎用メモリ内に格納されている前記第1と第2の変化領域情報を参照して、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得し、
(ii)前記第1の変化領域に相当する画像部分を前記フレームメモリから取得することなく前記転送用画像格納領域から取得し、
(iii)取得した画像部分を、前記第1と第2の変化領域の和である画面更新領域を示す画面更新領域情報とともに前記ネットワークを介して前記画像表示装置に転送する機能を有することを特徴とする記録媒体。 A computer-readable recording medium recording an image transfer processing module used in an image supply device for supplying an image to an image display device via a network for display.
The image supply device hooks an application program capable of issuing an image drawing command, a drawing module for processing a drawing command issued by the application program, and a specific drawing command issued by the application program. And a hook processing module for drawing an image in a specific transfer image storage area in the general-purpose memory in accordance with the acquired drawing command.
The image transfer processing module obtains an image from the transfer image storage area, and causes a computer to execute a process of transferring the acquired image to the image display device via the network.
The hook processing module has a function of drawing an image in the transfer image storage area in accordance with a drawing command acquired by the hook, and an image is drawn in the transfer image storage area in accordance with the specific drawing command. A function of writing first change area information indicating a first change area, which is an area, into the general-purpose memory; and a function of supplying the drawing command to the drawing module after processing the specific drawing command ,
The drawing module has a function of drawing an image in a frame memory in accordance with a drawing command received from the application program or the hook processing module, and an area in the frame memory in which an image is drawn according to the drawing command. Having a function of writing second change area information indicating a second change area in the general-purpose memory;
The image transfer processing module
(I) Referring to the first and second change area information stored in the general-purpose memory, the second change area corresponds to an area not included in the first change area. Obtaining an image portion from the frame memory;
(Ii) obtaining an image portion corresponding to the first change area from the transfer image storage area without obtaining from the frame memory;
(Iii) A function of transferring the acquired image portion to the image display device via the network together with screen update area information indicating a screen update area that is a sum of the first and second change areas. A recording medium.
前記画像供給装置は、画像の描画命令を発行可能なアプリケーションプログラムと、前記アプリケーションプログラムによって発行される描画命令を処理するための描画モジュールと、前記アプリケーションプログラムによって発行される特定の描画命令をフックして先取りし、取得した描画命令に従って汎用メモリ内の特定の転送用画像格納領域に画像を描画するフック処理モジュールと、を備えており、
前記画像転送処理モジュールは、前記転送用画像格納領域から画像を取得するとともに、取得した画像を前記ネットワークを介して前記画像表示装置に転送する処理をコンピュータに実現させるものであり、
前記フック処理モジュールは、前記フックによって取得した描画命令に従って前記転送用画像格納領域に画像を描画する機能と、前記転送用画像格納領域の中で前記特定の描画命令に応じて画像が描画される領域である第1の変化領域を示す第1の変化領域情報を前記汎用メモリ内に書き込む機能と、前記特定の描画命令を処理した後に当該描画命令を前記描画モジュールに供給する機能とを有し、
前記描画モジュールは、前記アプリケーションプログラム又は前記フック処理モジュールから受けた描画命令に従ってフレームメモリ内に画像を描画する機能と、前記フレームメモリの中で前記描画命令に応じて画像が描画される領域である第2の変化領域を示す第2の変化領域情報を前記汎用メモリ内に書き込む機能とを有し、
前記画像転送処理モジュールは、
(i)前記汎用メモリ内に格納されている前記第1と第2の変化領域情報を参照して、前記第2の変化領域のうちで前記第1の変化領域に含まれない領域に相当する画像部分を前記フレームメモリから取得し、
(ii)前記第2の変化領域のうちで前記第1の変化領域にも含まれる領域に相当する画像部分を前記フレームメモリから取得することなく前記転送用画像格納領域から取得し、
(iii)取得した画像部分を、前記第2の変化領域と同一である画面更新領域を示す画面更新領域情報とともに前記ネットワークを介して前記画像表示装置に転送する機能を有することを特徴とする記録媒体。 A computer-readable recording medium recording an image transfer processing module used in an image supply device for supplying an image to an image display device via a network for display.
The image supply device hooks an application program capable of issuing an image drawing command, a drawing module for processing a drawing command issued by the application program, and a specific drawing command issued by the application program. And a hook processing module for drawing an image in a specific transfer image storage area in the general-purpose memory in accordance with the acquired drawing command.
The image transfer processing module obtains an image from the transfer image storage area, and causes a computer to execute a process of transferring the acquired image to the image display device via the network.
The hook processing module has a function of drawing an image in the transfer image storage area in accordance with a drawing command acquired by the hook, and an image is drawn in the transfer image storage area in accordance with the specific drawing command. A function of writing first change area information indicating a first change area, which is an area, into the general-purpose memory; and a function of supplying the drawing command to the drawing module after processing the specific drawing command ,
The drawing module has a function of drawing an image in a frame memory in accordance with a drawing command received from the application program or the hook processing module, and an area in the frame memory in which an image is drawn according to the drawing command. Having a function of writing second change area information indicating a second change area in the general-purpose memory;
The image transfer processing module
(I) Referring to the first and second change area information stored in the general-purpose memory, the second change area corresponds to an area not included in the first change area. Obtaining an image portion from the frame memory;
(Ii) An image portion corresponding to an area included in the first change area among the second change areas is acquired from the transfer image storage area without acquiring from the frame memory;
(Iii) Recording having a function of transferring the acquired image portion to the image display device via the network together with screen update area information indicating a screen update area that is the same as the second change area Medium.
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004241214A JP3797371B2 (en) | 2004-08-20 | 2004-08-20 | Image transfer using drawing command hook |
| US11/136,528 US7817156B2 (en) | 2004-06-11 | 2005-05-25 | Image transfer using drawing command hooking |
| TW094117095A TWI267022B (en) | 2004-06-11 | 2005-05-25 | Image transfer using drawing command hooking |
| EP05012331A EP1605346A3 (en) | 2004-06-11 | 2005-06-08 | Image transfer using drawing command hooking |
| KR1020050050084A KR100645006B1 (en) | 2004-06-11 | 2005-06-10 | Image transfer using drawing command hooking |
| US12/923,251 US8416249B2 (en) | 2004-06-11 | 2010-09-10 | Image transfer using drawing command hooking |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004241214A JP3797371B2 (en) | 2004-08-20 | 2004-08-20 | Image transfer using drawing command hook |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2006058668A true JP2006058668A (en) | 2006-03-02 |
| JP3797371B2 JP3797371B2 (en) | 2006-07-19 |
Family
ID=36106167
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004241214A Expired - Fee Related JP3797371B2 (en) | 2004-06-11 | 2004-08-20 | Image transfer using drawing command hook |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3797371B2 (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008102307A (en) * | 2006-10-19 | 2008-05-01 | Seiko Epson Corp | Display device, projector, display system, program, and information storage medium |
| JP2009122590A (en) * | 2007-11-19 | 2009-06-04 | Seiko Epson Corp | Image display device |
| JP2009258447A (en) * | 2008-04-17 | 2009-11-05 | Seiko Epson Corp | Image transmission device, display system, image transmission program and recording medium |
| JP2012033194A (en) * | 2011-10-28 | 2012-02-16 | Seiko Epson Corp | Projection system, projector, and control method |
| JP2013167881A (en) * | 2013-03-18 | 2013-08-29 | Seiko Epson Corp | Image display unit and control method of image display unit |
| CN110036434A (en) * | 2016-12-08 | 2019-07-19 | 夏普株式会社 | Display device |
| JP2021152836A (en) * | 2020-03-25 | 2021-09-30 | 日本電気株式会社 | Image processing device, image processing method and program |
-
2004
- 2004-08-20 JP JP2004241214A patent/JP3797371B2/en not_active Expired - Fee Related
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008102307A (en) * | 2006-10-19 | 2008-05-01 | Seiko Epson Corp | Display device, projector, display system, program, and information storage medium |
| JP2009122590A (en) * | 2007-11-19 | 2009-06-04 | Seiko Epson Corp | Image display device |
| JP2009258447A (en) * | 2008-04-17 | 2009-11-05 | Seiko Epson Corp | Image transmission device, display system, image transmission program and recording medium |
| JP2012033194A (en) * | 2011-10-28 | 2012-02-16 | Seiko Epson Corp | Projection system, projector, and control method |
| JP2013167881A (en) * | 2013-03-18 | 2013-08-29 | Seiko Epson Corp | Image display unit and control method of image display unit |
| CN110036434A (en) * | 2016-12-08 | 2019-07-19 | 夏普株式会社 | Display device |
| CN110036434B (en) * | 2016-12-08 | 2022-06-14 | 夏普株式会社 | Display device |
| JP2021152836A (en) * | 2020-03-25 | 2021-09-30 | 日本電気株式会社 | Image processing device, image processing method and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3797371B2 (en) | 2006-07-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100555210C (en) | Communication between image supply device and the image display device | |
| US8416249B2 (en) | Image transfer using drawing command hooking | |
| JP3797372B2 (en) | Image transfer using drawing command hook | |
| JP4810548B2 (en) | Server apparatus, updated image detection method and program | |
| JP4571437B2 (en) | System, method and program for displaying a plurality of windows having different resolutions | |
| JP3797371B2 (en) | Image transfer using drawing command hook | |
| US9424814B2 (en) | Buffer display techniques | |
| JP3826941B2 (en) | Image transfer using drawing command hook | |
| JP2000187571A (en) | Printing based upon event | |
| JP3826942B2 (en) | Image transfer using drawing command hook | |
| JP5619473B2 (en) | Projector, control method, display method and computer program | |
| JP3797373B2 (en) | Image transfer using drawing command hook | |
| US7050060B1 (en) | Data transferring apparatus and its method | |
| JP2013167881A (en) | Image display unit and control method of image display unit | |
| JP2010146055A (en) | Image processing apparatus, method and program | |
| JP2006285901A (en) | Transfer images using a transparent window | |
| JP2013164598A (en) | Image display unit | |
| JP3881630B2 (en) | Computer system | |
| JP4031421B2 (en) | Screen copy method | |
| JP2006031160A (en) | Graphic object processing method | |
| CN119179543A (en) | Layer synthesis method, device, vehicle and storage medium | |
| CN116977153A (en) | Drawing processing method and electronic equipment | |
| CN110515868A (en) | Method and device for displaying images | |
| JPH05189559A (en) | Method and device for image processing | |
| JPH06259214A (en) | Window redraw method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051215 |
|
| 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: 20060328 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060410 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 3797371 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090428 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100428 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110428 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110428 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120428 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130428 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130428 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140428 Year of fee payment: 8 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |