JP2005031510A - Information processing device - Google Patents
Information processing device Download PDFInfo
- Publication number
- JP2005031510A JP2005031510A JP2003272332A JP2003272332A JP2005031510A JP 2005031510 A JP2005031510 A JP 2005031510A JP 2003272332 A JP2003272332 A JP 2003272332A JP 2003272332 A JP2003272332 A JP 2003272332A JP 2005031510 A JP2005031510 A JP 2005031510A
- Authority
- JP
- Japan
- Prior art keywords
- display
- image
- area
- moving image
- display area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
【課題】 動画像表示を行う情報処理装置において、ユーザの操作性及び利便性を向上させる。
【解決手段】 記憶装置に用意された画像データに基いて、オペレーティングシステムによるUI(ユーザインターフェース)用表示部品の描画処理とは独立して、表示画面の画像表示領域に動画像を表示する。UI用表示部品を表示させる際に、該表示部品の表示領域と動画像の画像表示領域とが互いに重なる場合に、動画像を構成する画像データのうち該表示部品の表示領域に相当する部分を除いた画像データを画像表示領域に描画する。これにより、動画像表示のための描画更新によって、UI用表示部品が消されないようにした。
【選択図】 図1
PROBLEM TO BE SOLVED: To improve user operability and convenience in an information processing apparatus for displaying a moving image.
Based on image data prepared in a storage device, a moving image is displayed in an image display area of a display screen independently of drawing processing of a UI (user interface) display component by an operating system. When displaying the UI display component, if the display region of the display component and the image display region of the moving image overlap with each other, a portion corresponding to the display region of the display component in the image data constituting the moving image is displayed. The removed image data is drawn in the image display area. This prevents the UI display component from being erased by the drawing update for moving image display.
[Selection] Figure 1
Description
本発明は、動画像の表示機能をもつ情報処理装置において、ユーザインターフェース用表示部品の表示領域と動画像の表示領域とが画面上で位置的に干渉する場合に、該表示部品の表示領域を回避して動画像表示を行えるようにするための技術に関する。 In the information processing apparatus having a moving image display function, the display area of the display component is displayed when the display area of the display component for user interface and the display area of the moving image interfere with each other on the screen. The present invention relates to a technique for avoiding moving image display.
コンピュータ機器に搭載されるオペレーティングシステム(以下、単に「OS」という。)は、アプリケーションの処理に必要な各種機能を提供するが、ユーザの操作性を高めたGUI(Graphical User Interface)の形態ではポインティングデバイス等で直感的にアイコン選択やメニュー操作等を行うことができる。 An operating system (hereinafter simply referred to as “OS”) installed in a computer device provides various functions necessary for application processing, but pointing in the form of a GUI (Graphical User Interface) that enhances user operability. Intuitive icon selection and menu operations can be performed on the device.
例えば、ユーザが動画表示を行うアプリケーションを起動して、所望の動画像データを表示領域全体に表示させている状態で、何らかの操作を行った場合にメニューやウィンドウ等のGUI部品が描画されると、その描画領域によって動画像の表示領域が部分的に隠されてしまうが、GUI部品が非表示の状態に戻るとそれまで隠されていた表示部分が元の状態に戻る。このような処理についてはOSの機能によりGUI部品の表示や非表示及び表示範囲が管理されており、GUI部品の描画領域と動画像の表示領域との間の重複範囲について再描画が行われる。 For example, when a user activates an application for displaying a moving image and displays a desired moving image data in the entire display area and performs some operation, a GUI component such as a menu or a window is rendered. The display area of the moving image is partially hidden by the drawing area, but when the GUI component returns to the non-display state, the display part that has been hidden until then returns to the original state. For such processing, the display and non-display of the GUI component and the display range are managed by the function of the OS, and redrawing is performed for the overlapping range between the drawing region of the GUI component and the display region of the moving image.
ところで、動画像の表示機能をそれ自身の機能として有していないOSが搭載された装置等において、OS下でGUI部品の描画と独立して動画像を表示させる場合には、例えば、GUI部品の表示領域が動画像の描画によって上書きされてしまうため、操作性に悪影響を及ぼす虞がある。 By the way, when displaying a moving image independently of drawing of a GUI component under an OS in an apparatus or the like equipped with an OS that does not have a moving image display function as its own function, for example, a GUI component Since the display area is overwritten by the drawing of the moving image, the operability may be adversely affected.
図5は、表示画面例を示したものであり、アプリケーションのメニューバー上に「Edit」、「File」の項目が示され、ユーザが「Edit」を選択した場合に表示されるプルダウンメニュー(Cut、Copy、Paste)の一部が、動画像の描画(画像表示領域「GA」参照。)によって見えなくなった状態を示している。 FIG. 5 shows an example of a display screen. “Edit” and “File” items are displayed on the menu bar of the application, and a pull-down menu (Cut) displayed when the user selects “Edit”. , Copy, Paste) shows a state in which a part of the image is not visible due to the drawing of the moving image (see the image display area “GA”).
OSによって描画されるメニュー等のGUI部品のうち、動画像の表示領域とオーバーラップする範囲については、動画像を表示するための画像の更新(新たな描画)によって書きかえられてしまうため、ポインティング操作に必要な範囲が背後に隠れてしまい、ユーザが操作し難くなる。そこで、そのような不都合が起きないようにするには、メニュー操作時に動画表示を一時停止させれば良いが、利便性を考えるとGUI部品が描画されても動画表示が中断されないようにすることが好ましい。また、表示範囲についてオーバーラップが生じないように互いの表示位置をずらすといった方法も挙げられるが、常にそのような処理が可能であるとは限らず、また処理が複雑になってしまう。 Of GUI parts such as menus drawn by the OS, the range that overlaps with the moving image display area is rewritten by image updating (new drawing) for displaying moving images. The range necessary for the operation is hidden behind, making it difficult for the user to operate. Therefore, in order to prevent such inconvenience, it is sufficient to pause the video display during menu operation. However, for convenience, the video display should not be interrupted even if GUI parts are drawn. Is preferred. In addition, there is a method of shifting the display positions so that the display range does not overlap, but such a process is not always possible and the process becomes complicated.
そこで、本発明は、動画像表示を行う情報処理装置において、ユーザの操作性及び利便性を向上させることを課題とする。 Therefore, an object of the present invention is to improve user operability and convenience in an information processing apparatus that displays moving images.
本発明は、上記した課題を解決するために、記憶装置に用意された画像データに基いて、オペレーティングシステムによるユーザインターフェース用表示部品の描画処理とは独立して、表示画面の画像表示領域に動画像を表示するとともに、該表示部品を表示させる際に、該表示部品の表示領域と動画像の画像表示領域とが互いに重なる場合(領域同士の干渉)において、動画像を構成する画像データのうち該表示部品の表示領域に相当する部分以外の画像データを画像表示領域に描画するように構成したものである。 In order to solve the above-described problem, the present invention is based on the image data prepared in the storage device, and the moving image is displayed in the image display area of the display screen independently of the drawing processing of the display component for the user interface by the operating system. When displaying the image and displaying the display component, when the display area of the display component and the image display area of the moving image overlap each other (interference between areas), Image data other than the portion corresponding to the display area of the display component is configured to be drawn in the image display area.
従って、本発明によれば、表示画面上にユーザインターフェース用表示部品(GUI部品等)が描画された表示状態では、該表示部品の表示範囲を除いた画像表示領域に動画像を表示させることができる。 Therefore, according to the present invention, in the display state in which the display component for user interface (GUI component or the like) is drawn on the display screen, the moving image can be displayed in the image display area excluding the display range of the display component. it can.
本発明によれば、表示画面上のユーザインターフェース用表示部品がその後に描画される画像によって書き潰されることがなく、また、動画像表示の停止等の対策を講じる必要がない。よって、ユーザの操作性及び利便性を向上させることができる。そして、OSが動画像の表示機能をそれ自身の機能として有していない場合でも、OSによるメニュー等の描画と独立して動画像の表示を支障なく行うことができる。 According to the present invention, the user interface display component on the display screen is not overwritten by an image drawn thereafter, and it is not necessary to take measures such as stopping the moving image display. Therefore, user operability and convenience can be improved. Even when the OS does not have a moving image display function as its own function, it is possible to display a moving image without any trouble independently of drawing of a menu or the like by the OS.
また、画像表示領域に対してその表示位置毎に画像データの表示及び非表示を規定するための設定データからなるマスク領域を設け、ユーザインターフェース用表示部品の表示領域に応じてマスク領域を更新することによって、該表示部品の表示領域を回避して動画像を描画することができる。 In addition, a mask area composed of setting data for defining display and non-display of image data is provided for each display position in the image display area, and the mask area is updated according to the display area of the display component for user interface. Thus, a moving image can be drawn while avoiding the display area of the display component.
そして、上記マスク領域の設定データに係るメモリアドレス及び複写元である画像データのアドレス及び複写先のアドレスを指定して該画像データをビデオメモリ領域に転送する装置を設けることにより、処理速度を高めたり、中央処理装置の処理負担を軽減することができる。あるいは、そのような装置を用いることなく、中央処理装置により実行されるプログラムによって上記マスク領域の設定データを参照しながら画像データをビデオメモリ領域に転送することにより、ハードウェア構成を変更せずにプログラム処理で対応することができる。 The processing speed is increased by providing a device for designating the memory address related to the setting data of the mask area, the address of the image data as the copy source, and the address of the copy destination and transferring the image data to the video memory area. Or the processing load on the central processing unit can be reduced. Alternatively, without using such an apparatus, the image data is transferred to the video memory area while referring to the setting data of the mask area by a program executed by the central processing unit without changing the hardware configuration. It can be handled by program processing.
本発明は、動画像表示が可能な情報処理装置において、ユーザインターフェース用表示部品の表示領域と動画像の表示領域との間で表示画面上の干渉が起き得る場合に、ユーザインターフェース用表示部品のうち両表示領域の重複範囲が動画像によって書き消されないようにすること及び該ユーザインターフェース用表示部品が正規に表示されたままの状態で動画像表示を続行できるようにすることを目的する。 In an information processing apparatus capable of displaying a moving image, the present invention provides a display device for a user interface when there is interference on the display screen between the display area of the user interface display component and the display area of the moving image. It is an object of the present invention to prevent the overlapping range of both display areas from being overwritten by a moving image and to continue moving image display while the user interface display component is normally displayed.
本発明の適用においては、ユーザインターフェース用の表示部品を表示装置の表示画面上に描画する機能をもつOSが搭載された情報処理装置であって、動画表示が可能であることが前提とされ、例えば、携帯型コンピュータやPDA(Personal Digital Assistance)、移動体通信端末装置、映像機器や撮像機器等に用いることができる。 In the application of the present invention, it is assumed that the information processing apparatus is equipped with an OS having a function of drawing a display component for a user interface on the display screen of the display apparatus and can display a moving image. For example, it can be used for a portable computer, a PDA (Personal Digital Assistance), a mobile communication terminal device, a video device, an imaging device, and the like.
動画像の画面表示において、記憶装置に用意された画像データに基いて、OSによるメニュー等の表示部品の描画処理とは独立して表示画面の画像表示領域に画像データを表示する場合には、該表示部品と動画像との間で表示範囲が重なり合う場合への対応が必要である。例えば、OSが動画像の表示機能をそれ自身の機能として有していない場合であって、動画像の表示中にユーザ操作によりメニュー等の表示部品が表示された場合には、動画像表示のための画像更新によって該表示部品が書き消されないないようにする必要がある(そうしないと、ユーザがメニュー操作等を行えなくなる虞が生じる。)。 In displaying a moving image, when displaying image data in an image display area of a display screen independently of drawing processing of a display component such as a menu by the OS based on image data prepared in a storage device, It is necessary to cope with the case where the display ranges overlap between the display component and the moving image. For example, when the OS does not have a moving image display function as its own function, and a display component such as a menu is displayed by a user operation during the moving image display, the moving image display Therefore, it is necessary to prevent the display component from being erased by updating the image (otherwise, the user may not be able to perform menu operations or the like).
本発明では、メニュー等の表示部品を表示させる際に、該表示部品の表示領域と動画像の画像表示領域とが互いに重なる場合に、表示部品の表示を優先し、動画像を構成する画像データのうち該表示部品の表示領域に相当する部分以外の画像データを画像表示領域に描画する手段を備えている。つまり、動画像に係る画像データについては、重複範囲であるメニュー等の表示部品の表示領域を除いた範囲において画像表示を行うことにより、該表示部品が動画像に係る画像表示領域にかかって表示された場合でも、それ以外の画像表示範囲において動画表示を続行することができる。 In the present invention, when displaying a display component such as a menu, if the display area of the display component and the image display area of the moving image overlap each other, the display data of the display component is given priority and image data constituting the moving image is displayed. And a means for drawing image data other than the portion corresponding to the display area of the display component in the image display area. That is, the image data related to the moving image is displayed in the image display area related to the moving image by displaying the image in the range excluding the display area of the display component such as the menu that is the overlapping range. Even in such a case, the moving image display can be continued in the other image display range.
図1は、本発明に係る画像処理例について説明するための図である。 FIG. 1 is a diagram for explaining an image processing example according to the present invention.
左端に示す画像は、動画像を構成する1つの画像「G」を示しており、例えば、MPEG(Moving Picture Experts Group)4のデコードデータ等が記憶装置に用意される。そして、転送対象とされる当該画像のデータは、例えば、ビデオメモリ領域(あるいはVRAM領域)に書き出された後、表示装置に転送されて画像表示される。 The image shown at the left end shows one image “G” constituting the moving image. For example, MPEG (Moving Picture Experts Group) 4 decode data and the like are prepared in the storage device. Then, the image data to be transferred is written to, for example, a video memory area (or VRAM area), and then transferred to a display device for image display.
図の中央に示す領域MA、MBはいずれもマスク領域を示している。両者のうち、上方に位置する領域MAは画像「G」の全領域を表示させるためのマスク領域を示し、下方に位置する領域MBは、画像「G」のうち一部を除いた領域を表示させるためのマスク領域を示している。 The areas MA and MB shown in the center of the figure both indicate mask areas. Of these, the upper area MA indicates a mask area for displaying the entire area of the image “G”, and the lower area MB indicates an area excluding a part of the image “G”. The mask area | region for making it show is shown.
マスク領域は、画像表示領域に対して、その表示位置毎に画像の表示及び非表示を規定するための設定データ(マスクデータ)から構成され、例えば、2値データを用いて「1」を表示と規定し、「0」を非表示と規定する場合に、8ピクセルを1バイトで表すことができる。 The mask area is composed of setting data (mask data) for defining display and non-display of an image for each display position with respect to the image display area. For example, “1” is displayed using binary data. When “0” is defined as non-display, 8 pixels can be represented by 1 byte.
マスク領域MA、MBにおいて梨地で示す部分が画素を表示すべき範囲を表しており、本例に示すマスク領域MAでは、そのマスクデータからなるパターン(マスクパターン)が矩形状をなし、MAを用いると右上図(A)に示すように、全領域に亘って画像Gのデータが表示される(図に格子縞で示す範囲はVRAMにおける非表示範囲を概念的に示す。)。 In the mask areas MA and MB, the parts shown in satin represent the range in which pixels are to be displayed. In the mask area MA shown in this example, the pattern (mask pattern) made of the mask data is rectangular and uses MA. As shown in the upper right figure (A), the data of the image G is displayed over the entire area (the range indicated by the checkered pattern in the figure conceptually indicates the non-display range in the VRAM).
また、マスク領域MBにおいては白地の矩形範囲「L」で示す部分(破線枠参照)が非表示とされ、この範囲を除いた梨地部分が画素を表示すべき範囲を表している。よって、この場合のマスクパターンは、一部分(本例では左上部分)が欠如した形状をなし、右下図(B)に示すように、当該部分に相当する画像Gの一部「K」が非表示となる。 In the mask area MB, a portion indicated by a white rectangular range “L” (see a broken line frame) is not displayed, and a satin portion excluding this range represents a range in which pixels are to be displayed. Therefore, the mask pattern in this case has a shape lacking a part (the upper left part in this example), and as shown in the lower right figure (B), a part “K” of the image G corresponding to the part is not displayed. It becomes.
このように、画像表示領域に対して、その表示位置毎に画像の表示及び非表示を規定するための設定データからなるマスク領域を設定することによって、画像Gについて全域又は一部領域の画像表示又は非表示の処理を行うことができる(例えば、画像データとマスクデータとの論理積演算等。)。 As described above, by setting a mask area composed of setting data for defining display and non-display of an image for each display position, an image display of the entire area or a partial area of the image G is performed. Alternatively, non-display processing can be performed (for example, logical product operation of image data and mask data).
上記の範囲「L」は、メニュー等の表示部品にかかる表示範囲に対応しており、よって非表示部「K」は該表示部品によって画面上では隠される領域である。このようなマスクパターンを用いて特定の表示範囲を除いた表示範囲に動画像を表示させる場合の手順は、概ね下記の通りである。 The range “L” corresponds to the display range of a display component such as a menu, and the non-display portion “K” is an area hidden on the screen by the display component. The procedure for displaying a moving image in a display range excluding a specific display range using such a mask pattern is generally as follows.
(1)メニュー等の表示部品を表示する際に、その表示領域を検出する
(2)メニュー等の表示領域と、動画像の画像表示領域との間に重なりが生じる場合には、マスク領域のうち該表示部品の表示領域に相当する部分(上記「L」参照。)を非表示域として処理することでマスク領域を更新する
(3)動画像に係る画像データのうち、(2)で更新されたマスク領域の設定データに従って表示すべき部分だけを表示画面に描画する。
(1) When displaying a display part such as a menu, the display area is detected. (2) If an overlap occurs between the display area of the menu and the image display area of the moving image, the mask area The mask area is updated by processing the portion corresponding to the display area of the display component (see “L” above) as a non-display area. (3) Of the image data related to the moving image, updated at (2) Only the portion to be displayed is drawn on the display screen according to the set data of the mask area.
このように、メニュー等の表示部品を表示する場合にマスク領域がその都度更新され、該マスク領域を用いて指定された範囲について動画表示を行うことができる。 In this way, when displaying a display component such as a menu, the mask area is updated each time, and a moving image can be displayed in a range designated using the mask area.
本発明に係る実施上の構成形態には、下記に示す例が挙げられる。 Examples of the configuration according to the present invention include the following examples.
(I)画像データに係るメモリ転送装置を用いた形態
(II)中央処理装置(CPU)によって画像データのメモリ転送を行う形態。
(I) A form using a memory transfer device related to image data (II) A form in which image data is transferred to a memory by a central processing unit (CPU).
先ず、形態(I)では、CPUに係る処理負担を軽減したり処理速度を高めるために、DMA(Direct Memory Access)転送の機能を備えた装置等が使用される。例えば、上記したマスク領域に対応する表示画面上の画像表示領域において画像データの描画処理を行う場合に、マスク領域の設定データに係るメモリアドレス及び複写元である画像データのアドレス及び複写先のアドレスを指定して該画像データを記憶装置のビデオメモリ領域に転送する装置を設けた構成形態が挙げられる。 First, in the form (I), an apparatus or the like having a DMA (Direct Memory Access) transfer function is used to reduce the processing load on the CPU and increase the processing speed. For example, when image data drawing processing is performed in the image display area on the display screen corresponding to the mask area, the memory address related to the setting data of the mask area, the address of the image data that is the copy source, and the address of the copy destination And an apparatus for transferring the image data to the video memory area of the storage device.
図2は、そのような情報処理装置1の基本構成例について要部を示したものであり、それ以外に装備される各種装置(カメラや音声処理装置等)の図示を一切省略している。
FIG. 2 shows a main part of such a basic configuration example of the
情報処理装置1は、CPU2、記憶装置(メモリ)3、表示装置4、入力装置(あるいは操作装置)5を備えている。
The
CPU2は、記憶装置3上にあるOSやアプリケーションプログラムを読み込んで逐次実行する。
The CPU 2 reads the OS and application programs on the
プログラムやデータを格納する記憶装置3には、アクセス時間が短いデバイス(SDRAM等の半導体メモリ)が使用される。
A device (semiconductor memory such as SDRAM) having a short access time is used for the
表示装置4は本例において液晶表示装置(LCD)が使用され、コントローラ(LCDコントローラ)4a及び画像表示部(LCDパネル)4bを有する。コントローラ4aは、記憶装置3上の特定のアドレスに割り当てられたビデオメモリ領域のデータを所定のタイミングで読み込み、画像表示部4bに転送する。転送されたデータは画像表示部4bに画像として表示される。
In this example, the
入力装置5としては、ペンタップ式装置やキーボード、ダイヤル式操作装置等が挙げられ、ユーザの操作指令をCPU2に伝えることができる。
Examples of the
上記したDMA転送機能を備えた装置6(以下、「グラフィックエンジン」という。)は、CPU2からの指示を受けて、記憶装置3上の特定アドレスから他のアドレスに画像データを矩形転送する機能を有する。但し、通常のDMAと異なり、水平方向に1ライン転送した後に、次ラインの描画位置の先頭まで転送先アドレスをスキップさせることができる。つまり、図1(A)図を例にすると、画像Gにおいて、N番目の水平ラインのスタート位置から1H分のライン転送を行った後に、そのエンド位置から次の水平ラインのスタート位置にジャンプしてそこから1水平ラインの転送を行うという具合に、矩形領域の画像データを転送することができる。また、矩形転送を行う際、マスクデータのアドレスを指定することができ、矩形領域の特定の部分をマスクして転送することができる機能を有する。尚、これは、図1(B)図で説明したように、画像Gのうち特定範囲だけを非表示とする場合に必要とされる。
The apparatus 6 (hereinafter referred to as “graphic engine”) having the DMA transfer function described above has a function of rectangularly transferring image data from a specific address on the
上記の装置は、例えば、GUI機能を持つOSの管理下におかれており、アプリケーションプログラムはOSのサービスルーチンをコールすることによりメニューやウィンドウ等のGUI部品(表示部品)を使用することができる。尚、上記したように、ビデオメモリ上の領域を特定のタイミングで書き換えれば表示画面上に動画像を表示させることができるが、以下では、装置搭載のOSがそれ自体の機能として動画像の表示機能を持っていないものとする。 The above apparatus is, for example, under the control of an OS having a GUI function, and an application program can use GUI parts (display parts) such as menus and windows by calling an OS service routine. . As described above, if the area on the video memory is rewritten at a specific timing, a moving image can be displayed on the display screen. However, in the following, the OS installed in the apparatus displays the moving image as its own function. Assume that it has no function.
図3はハードウェア層を下層として、その上にソフトウェア階層を例示した概念図である。 FIG. 3 is a conceptual diagram illustrating a software layer on a hardware layer as a lower layer.
ハードウェア層にはグラフィックエンジン6だけを示しており、その上にはデバイスドライバ7、OS8、アプリケーション(プログラム)9を順に示している。
Only the
尚、グラフィックエンジン6は前記したDMA転送の他に、カラースペースコンバージョン(色空間変換)やビデオスケーラ等の処理機能をもつが、本発明に関係するのはメモリデータの転送装置としての機能である。
The
以下では、動画像を表示するアプリケーション9が動作している場合を想定し、動画像の表示をサポートしていないOS8がメニュー等のGUI部品を表示させた時に、GUI部品の表示と動画像の表示との干渉により描画処理が競合しないための画面調停の動作について、図4を用いて説明する。尚、(A)図、(B)図に示す表示画面例において、(A)図はメニュー画面の操作が行われていない状態を示し、(B)図はユーザ操作によってプルダウンメニューが表示された状態を示している。 In the following, assuming that the application 9 for displaying a moving image is operating, when the OS 8 that does not support moving image display displays a GUI component such as a menu, the display of the GUI component and the moving image The screen mediation operation for rendering processing not competing due to interference with display will be described with reference to FIG. In the display screen examples shown in FIGS. (A) and (B), FIG. (A) shows the state where the menu screen is not operated, and (B) shows the pull-down menu displayed by the user operation. Indicates the state.
先ず、アプリケーション9の初期化時等において、適当なタイミングをもって、動画像の表示領域に対応するマスクデータを作成する。ここで作成されるマスク領域については、(A)図の領域「GA」で示すように、動画像を表示したい領域全体を指定しておく。そして、画像を表示したいタイミングでアプリケーション9からグラフィックエンジン6を逐次起動すると、メモリ上に用意された画像データのうち、その転送時に同時に指定されたマスクデータによって指示される範囲のデータが、ビデオメモリ上に矩形転送されて動画像が表示される。つまり、(A)図では、画像表示領域の全域に亘って動画像表示が行われ、アプリケーション9が通常のモードで動作している状態(プルダウンメニュー等による画像表示領域への干渉がない状態)を表している。
First, when the application 9 is initialized, mask data corresponding to a moving image display area is created at an appropriate timing. As for the mask area created here, the entire area where the moving image is to be displayed is designated as indicated by the area “GA” in FIG. When the
次に、アプリケーション9が動画像を表示している最中に、ユーザ(操作者)が入力装置5を用いて、例えば、メニュー操作を行うと、アプリケーション9はOS8のサービスルーチンをコールすることにより、メニュー処理をOS8に委ねる。OS8は通常、そのサービスルーチンを置き換える機能を有している(イベントハンドラの入れ替え等。)。予めメニューを表示するサービスルーチンにパッチ(追加的な処理部分)をあてておくと、メニューの処理が行われたときにこのパッチ部分が呼ばれる。メニューを描画するサービスルーチン内では、メニューを描画する位置およびサイズ等の情報を含んでおり、例えば、矩形状表示部品の場合、画面上の左上位置及び右下位置と縦方向及び横方向のサイズ(高さと横幅)の情報によって描画範囲が決まる。よって、このパッチ部分が呼び出された場合、当該部分の処理において、メニューが表示される領域とマスク領域とが重複する部分を算定してマスクデータを更新し(つまり、重複部分を非表示に設定し直す。)、オリジナル(パッチをあてる前)のOSのサービスルーチン(デフォルトのハンドラ)を呼ぶ。画面上にメニューが表示されているときでもマスクパターン全体から該メニューが表示される範囲を差し引いたものがマスクパターンとして更新されているので、(B)図に領域「GB」で示すように、動画像がメニューの表示領域を除いた領域に表示され、OSの描画領域(メニュー部分)と動画像の画像表示領域との間で画面調停が行われる。
Next, when the user (operator) performs, for example, a menu operation using the
また、操作者がメニューの選択を終了したときは、そのタイミングで呼ばれるOSのサービスルーチンが存在するので、予めそのサービスルーチンにパッチをあてておくことにより、メニューが消去されるタイミングをもって、マスク領域を初期状態(メニュー表示前の状態)に戻すことができる。この処理によってメニューが消去されると、再び全描画領域についてマスクデータが表示を意味する値(例えば、論理値「1」)として指定され、メニュー描画領域に対応する動画像領域のマスク処理が解除されて、(A)図のように動画像の全域が表示される。 Also, when the operator finishes selecting the menu, there is an OS service routine called at that timing. Therefore, by applying a patch to the service routine in advance, the mask area has a timing at which the menu is erased. Can be returned to the initial state (the state before the menu is displayed). When the menu is erased by this process, the mask data is again designated as a value indicating display (for example, logical value “1”) for all the drawing areas, and the masking process of the moving image area corresponding to the menu drawing area is canceled. Then, the whole area of the moving image is displayed as shown in FIG.
以上に説明した処理を箇条書きにして簡単にまとめると、以下のようになる。 The processing described above can be summarized as a bulleted list as follows.
(1)動画像の全体表示
(2)ユーザの操作(メニュー操作等)
(3)OSによるGUI部品の描画
(4)GUI部品の描画領域の検出(描画範囲の取得)
(5)GUI部品の描画領域に応じたマスク領域の更新
(6)マスク領域に応じた画像データの表示(動画像の部分的表示)
(7)ユーザの操作(メニュー操作等の終了)
(8)OSによるGUI部品の消去
(9)GUI部品の消去に応じたマスク領域の更新
(10)マスク領域に応じた画像データの表示((1)に戻る。)。
(1) Whole display of moving image (2) User operation (menu operation, etc.)
(3) Drawing of GUI parts by OS (4) Detection of drawing area of GUI parts (acquisition of drawing range)
(5) Update of mask area according to drawing area of GUI part (6) Display of image data according to mask area (partial display of moving image)
(7) User operation (end of menu operation, etc.)
(8) Deletion of GUI part by OS (9) Update of mask area according to deletion of GUI part (10) Display of image data according to mask area (return to (1)).
尚、上記(6)や(10)の処理をグラフィックエンジン6が担当し、これがCPU2により実行されるプログラム(アプリケーション9)によって起動されて、マスクデータ及び画像データに従って矩形転送を行い、ビデオメモリにデータが書き込まれることで画像表示が行われる。また、本例において、上記(5)、(9)の処理は、図3において、グラフィックエンジン6とOS8との間に位置するデバイスドライバ7が担当している。つまり、該ドライバは、動画像の表示領域に対してマスク領域を設定したり、OS8がGUI部品等を表示するタイミングにおいて、GUI部品の表示領域が動画像の表示領域と重複する場合にマスク領域を更新する機能を有する。これによって、GUI部品の表示領域が動画像の描画によって消されなくなる。
Note that the
図4では、説明を簡単化するために、GUI部品として1つのプルダウンメニューを例示したが、動画像の表示中におけるユーザ操作によって、このようなメニュー等が複数表示された場合であっても、各GUI部品の表示領域を検出してその総和をとって(論理和演算等)、マスク領域を更新すれば済むので処理が容易である(動画像の表示領域のうち、各GUI部品の表示領域を除いた領域に画像を表示できる。)。また、マスク領域のデータ更新において、非表示領域が矩形範囲に限られる訳ではないので、各種形状をしたGUI部品の表示領域を避けて動画像を表示させることができる。 In FIG. 4, for ease of explanation, one pull-down menu is illustrated as a GUI component. However, even when a plurality of such menus are displayed by a user operation while displaying a moving image, Processing is easy because the display area of each GUI component is detected and the sum is calculated (OR operation or the like) and the mask area is updated (the display area of each GUI part in the moving image display area). The image can be displayed in the area excluding. Further, in the data update of the mask area, the non-display area is not limited to the rectangular range, so that the moving image can be displayed while avoiding the display area of GUI parts having various shapes.
本発明の適用において上記のグラフィックエンジン6を必要としない場合、例えば、CPUの処理能力が高く、画像処理速度の低下等が問題にならない場合には、上記形態(II)のように、DMA転送に頼る必要はない。つまり、マスク領域に対応する画像表示領域に画像データの描画処理を行う場合において、CPUにより実行されるプログラムによって、マスク領域の設定データ(マスクデータ)を参照しながら画像データをビデオメモリ領域に転送すれば良い。
When the
上記に説明した構成によれば、例えば、下記に示す利点が得られる。 According to the configuration described above, for example, the following advantages can be obtained.
・動画像の表示機能をそれ自身の機能として持っていないOS上で、該OSによるGUI部品の描画とは独立して動画像の表示を行った場合に起こり得る弊害を防止できる。つまり、動画像を表示するための画像の更新(次データの描画)によって画面上のGUI部品が書き潰されてしまわないようにすることができる。しかも、GUI部品の表示によって動画像の表示を停止させたり、表示位置をずらす等の処理が不要である。 It is possible to prevent problems that may occur when a moving image is displayed on an OS that does not have a moving image display function as its own function, independently of GUI component drawing by the OS. That is, it is possible to prevent the GUI component on the screen from being overwritten by updating the image for displaying the moving image (drawing the next data). In addition, there is no need for processing such as stopping moving image display or shifting the display position by displaying GUI parts.
・OSのGUI表示と動画像表示とが重なり合う範囲について画面上での調停を可能にし、ユーザの操作性を損わないようにして操作上の統一感を保証することができる。 It is possible to perform arbitration on the screen for a range where the GUI display of the OS and the moving image display overlap, and to guarantee a sense of unity in operation without impairing user operability.
1…情報処理装置、2…中央処理装置、3…記憶装置、4…表示装置、6…ビデオメモリ領域への転送装置、8…オペレーティングシステム、MA、MB…マスク領域
DESCRIPTION OF
Claims (5)
上記記憶装置に用意された画像データに基いて、上記オペレーティングシステムによる上記表示部品の描画処理とは独立して上記表示画面の画像表示領域に動画像を表示するとともに、
上記表示部品を表示させる際に該表示部品の表示領域と上記画像表示領域とが互いに重なる場合には、動画像を構成する上記画像データのうち該表示部品の表示領域に相当する部分以外の画像データを上記画像表示領域に描画する
ことを特徴とする情報処理装置。 Information that includes a central processing unit that performs computations according to programs on the storage device and a display device that displays computation results, and is equipped with an operating system that has a function of drawing display components for user interfaces on the display screen of the display device In the processing device,
Based on the image data prepared in the storage device, the moving image is displayed in the image display area of the display screen independently of the drawing processing of the display component by the operating system,
If the display area of the display component and the image display area overlap each other when the display component is displayed, an image other than the portion corresponding to the display area of the display component in the image data constituting the moving image An information processing apparatus characterized by drawing data in the image display area.
上記オペレーティングシステムは動画像の表示機能をそれ自身の機能として有していない
ことを特徴とする情報処理装置。 The information processing apparatus according to claim 1,
The information processing apparatus, wherein the operating system does not have a moving image display function as its own function.
上記画像表示領域に対して、その表示位置毎に画像の表示及び非表示を規定するための設定データからなるマスク領域を設定するとともに、
上記表示部品を表示する際にその表示領域を検出し、該表示領域と上記画像表示領域とが重なる場合において上記マスク領域のうち該表示部品の表示領域に相当する部分を非表示域として処理することで該マスク領域を更新し、動画像を構成する画像データのうち、更新されたマスク領域に従って表示すべき部分だけを上記表示画面に描画する
ことを特徴とする情報処理装置。 The information processing apparatus according to claim 1,
For the image display area, a mask area consisting of setting data for defining display and non-display of an image is set for each display position, and
When displaying the display component, the display area is detected, and when the display area and the image display area overlap, a portion corresponding to the display area of the display component is processed as a non-display area in the mask area. The information processing apparatus, wherein the mask area is updated and only a portion to be displayed according to the updated mask area is drawn on the display screen among the image data constituting the moving image.
上記マスク領域に対応する画像表示領域に画像データの描画処理を行う場合に、上記マスク領域の設定データに係るメモリアドレス及び複写元である上記画像データのアドレス及び複写先のアドレスを指定して該画像データを上記記憶装置のビデオメモリ領域に転送する装置を設け、上記中央処理装置により実行されるプログラムによって該装置を起動させることで画像表示が行われる
ことを特徴とする情報処理装置。 The information processing apparatus according to claim 3.
When performing drawing processing of image data on the image display area corresponding to the mask area, the memory address related to the setting data of the mask area, the address of the image data that is the copy source, and the address of the copy destination are designated. An information processing apparatus comprising: a device that transfers image data to a video memory area of the storage device; and image display is performed by starting the device by a program executed by the central processing unit.
上記マスク領域に対応する画像表示領域に画像データの描画処理を行う場合に、上記中央処理装置により実行されるプログラムによって、上記マスク領域の設定データを参照しながら上記画像データを上記記憶装置のビデオメモリ領域に転送することで画像表示が行われる
ことを特徴とする情報処理装置。
The information processing apparatus according to claim 3.
When image data is drawn in an image display area corresponding to the mask area, the image data is stored in the video of the storage device while referring to the setting data of the mask area by a program executed by the central processing unit. An image processing apparatus that displays an image by transferring it to a memory area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003272332A JP2005031510A (en) | 2003-07-09 | 2003-07-09 | Information processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003272332A JP2005031510A (en) | 2003-07-09 | 2003-07-09 | Information processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2005031510A true JP2005031510A (en) | 2005-02-03 |
Family
ID=34209925
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003272332A Pending JP2005031510A (en) | 2003-07-09 | 2003-07-09 | Information processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2005031510A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009150998A1 (en) * | 2008-06-12 | 2009-12-17 | Canon Kabushiki Kaisha | Image processing apparatus and control method thereof |
| JP2014222299A (en) * | 2013-05-14 | 2014-11-27 | セイコーエプソン株式会社 | Image processing device, program, information storage medium, and production method of image processing device |
| JP2015129873A (en) * | 2014-01-08 | 2015-07-16 | 株式会社半導体エネルギー研究所 | Program and information processing apparatus |
| CN105339918A (en) * | 2013-06-28 | 2016-02-17 | 惠普发展公司,有限责任合伙企业 | attached computing device |
-
2003
- 2003-07-09 JP JP2003272332A patent/JP2005031510A/en active Pending
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009150998A1 (en) * | 2008-06-12 | 2009-12-17 | Canon Kabushiki Kaisha | Image processing apparatus and control method thereof |
| JP2009301293A (en) * | 2008-06-12 | 2009-12-24 | Canon Inc | Image processor and control method thereof |
| US9019304B2 (en) | 2008-06-12 | 2015-04-28 | Canon Kabushiki Kaisha | Image processing apparatus and control method thereof |
| JP2014222299A (en) * | 2013-05-14 | 2014-11-27 | セイコーエプソン株式会社 | Image processing device, program, information storage medium, and production method of image processing device |
| CN105339918A (en) * | 2013-06-28 | 2016-02-17 | 惠普发展公司,有限责任合伙企业 | attached computing device |
| JP2015129873A (en) * | 2014-01-08 | 2015-07-16 | 株式会社半導体エネルギー研究所 | Program and information processing apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10547778B2 (en) | Image display device for displaying an image in an image display area, and storage medium storing image display program for displaying an image in an image display area | |
| US6885377B2 (en) | Image data output controller using double buffering | |
| EP0885529B1 (en) | List controlled video operations | |
| JP4627308B2 (en) | Data transmission method, information terminal device, host device, program, recording medium | |
| US8171400B2 (en) | Image transmission apparatus for transmitting image to a plurality of image projection apparatuses and image display control method in image transmission apparatus | |
| JP2008117181A (en) | Portable terminal and its display control method | |
| EP2897032A1 (en) | Mobile terminal-based method for side-by-side input of information and mobile terminal | |
| US9251558B2 (en) | Frame drawing method, frame updating method and associated mobile electronic device | |
| US20070040788A1 (en) | Modular Graphics Stack With Video Support | |
| JP2005031510A (en) | Information processing device | |
| JP3715661B2 (en) | Communication apparatus and communication method | |
| JP4689037B2 (en) | Method and apparatus for representing an application on a digital television screen | |
| CN107273223A (en) | Layer is driven to the image data transfer method and device between application layer, terminal | |
| CN104731440B (en) | picture drawing method, picture updating method and related mobile electronic device | |
| JP3997231B2 (en) | Display control apparatus and display control method | |
| JP2006106983A (en) | Display device and display method | |
| JPH1049338A (en) | Command button control system | |
| JP2006048034A (en) | System and method for detecting memory writes to initiate image data transfer | |
| JP2005275028A (en) | Display system | |
| JPH06202606A (en) | Window screen display method | |
| US20250238293A1 (en) | Information display method, electronic device and storage medium | |
| JPH07334342A (en) | Image data display device | |
| JPS6035075B2 (en) | CRT display device | |
| JP4031421B2 (en) | Screen copy method | |
| JP5246819B2 (en) | Information processing apparatus, screen display control method, and program |