JP2005300974A - Device and method for image processing - Google Patents

Device and method for image processing Download PDF

Info

Publication number
JP2005300974A
JP2005300974A JP2004117897A JP2004117897A JP2005300974A JP 2005300974 A JP2005300974 A JP 2005300974A JP 2004117897 A JP2004117897 A JP 2004117897A JP 2004117897 A JP2004117897 A JP 2004117897A JP 2005300974 A JP2005300974 A JP 2005300974A
Authority
JP
Japan
Prior art keywords
sat
sprite
attribute information
stored
storage unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004117897A
Other languages
Japanese (ja)
Inventor
Katsuhiro Nozawa
勝広 野沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hudson Soft Co Ltd
Original Assignee
Hudson Soft Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hudson Soft Co Ltd filed Critical Hudson Soft Co Ltd
Priority to JP2004117897A priority Critical patent/JP2005300974A/en
Publication of JP2005300974A publication Critical patent/JP2005300974A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To lighten a load and to make display speed up by making efficient processing of referring to the information of a SAT, in processing of displaying a sprite on a display screen. <P>SOLUTION: An image display processor 100 which draws an image of the sprite stored in a main memory 12 in line buffers 107 and 108 to display the image on the display screen of a display device 15 transfers the SAT (sprite attribute table) stored in the main memory 12 to a SAT-RAM 102, and a rearrangement processing part 103 rearranges processing of sorting the SAT, according to Y coordinates of respective sprites. Consequently, in the processing of drawing the sprite, the sorted SAT only needs to be referred in order, where the processings are more efficient and faster than retrieving all the SATs. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、2D(2次元)画像を表示する画像表示処理装置、及び、この画像表示処理装置における画像表示処理方法に関する。   The present invention relates to an image display processing device that displays a 2D (two-dimensional) image, and an image display processing method in the image display processing device.

背景とスプライト(キャラクタ)とを用いて表示画面上に2D(2次元)画像を表示する場合、SAT(Sprite Attribute Table:スプライト属性テーブル)と呼ばれるテーブルに格納される情報に基づいて表示を行っていた。   When a 2D (two-dimensional) image is displayed on a display screen using a background and a sprite (character), the display is performed based on information stored in a table called a SAT (Sprite Attribute Table). It was.

通常、SATは特定のスプライトに対応づけられており、当該スプライトの表示位置、サイズ、形状等の情報を含む。
従来、画面にスプライトを描画する処理においては、その画面に表示されるスプライトに係る全てのSATを検索し、各SATに含まれるスプライトの表示位置、サイズ及び形状等の情報に基づいて、描画対象となるスプライトを特定していた。その後、描画対象のスプライトの画像データをメモリから取得して、描画エリア(バッファ)上に描画していた(例えば、特許文献1−2参照。)。
Normally, the SAT is associated with a specific sprite and includes information such as the display position, size, and shape of the sprite.
Conventionally, in the process of drawing a sprite on the screen, all SATs related to the sprite displayed on the screen are searched, and the drawing target is determined based on information such as the display position, size, and shape of the sprite included in each SAT. To identify the sprite. Thereafter, the image data of the sprite to be drawn is acquired from the memory and drawn on the drawing area (buffer) (see, for example, Patent Document 1-2).

特開昭60−211494号公報JP-A-60-21494 特開昭61−162084号公報JP 61-162084 A

ラインバッファを用いて画面を水平走査線毎に描画・表示する場合、水平走査線毎に、どのスプライトが表示されるのかを特定しなければならないので、全てのスプライトについて、その表示位置やサイズ等の情報を取得する必要がある。従って、スプライトを描画する処理においては、全てのSATを検索する処理が必須であった。   When drawing and displaying a screen for each horizontal scanning line using a line buffer, it is necessary to specify which sprite is displayed for each horizontal scanning line, so the display position, size, etc. for all sprites It is necessary to obtain information. Therefore, in the process of drawing a sprite, the process of searching all SATs is essential.

ところが、表示画面上に表示されるスプライトが多く、多数のSATが用いられる場合、全てのSATを検索すると多大な時間を要する上、処理の負荷が極めて大きいという問題があった。   However, when there are many sprites displayed on the display screen and a large number of SATs are used, it takes a lot of time to search all SATs, and there is a problem that the processing load is extremely large.

本発明の目的は、表示画面上にスプライトを表示する処理において、SATを検索・参照する処理を効率化することにより、負荷の軽減及び高速化を図ることにある。   An object of the present invention is to reduce the load and increase the speed by improving the efficiency of the process of searching and referring to the SAT in the process of displaying sprites on the display screen.

上記の目的を達成するために、本発明は、次のような特徴を備えている。なお、次に示す説明中、括弧書きにより実施の形態に対応する構成を一例として示す。符号や名称等は、後述する図面参照符号や図中の名称等である。   In order to achieve the above object, the present invention has the following features. In the following description, a configuration corresponding to the embodiment is shown as an example in parentheses. Reference numerals, names, and the like are reference numerals used in the drawings described later, names in the drawings, and the like.

本発明は、スプライトの表示位置を示す位置情報を含むスプライト属性情報(例えば、SAT−0,…)を複数格納する属性情報格納部(例えば、SAT−RAM102)と、前記属性情報格納部に格納された複数のスプライト属性情報について、各スプライト属性情報に含まれる位置情報に基づいて参照順序を決定する整列処理手段(例えば、並替処理部103)とを備え、前記属性情報格納部に格納されたスプライト属性情報を、前記整列処理手段により決定された参照順序に従って参照することにより、スプライトを描画することを特徴とする。   The present invention stores an attribute information storage unit (for example, SAT-RAM 102) that stores a plurality of sprite attribute information (for example, SAT-0,...) Including position information indicating the display position of the sprite, and the attribute information storage unit. The plurality of sprite attribute information is provided with alignment processing means (for example, rearrangement processing unit 103) that determines a reference order based on position information included in each sprite attribute information, and is stored in the attribute information storage unit. The sprite is rendered by referring to the sprite attribute information according to the reference order determined by the alignment processing means.

また、本発明において、前記属性情報格納部に、複数の前記スプライト属性情報と、各スプライト属性情報の次に参照されるべきスプライト属性情報を指定するインデックス情報(例えば、NEXT SAT-INDEX)とが対応づけて格納され、前記整列処理手段が、前記属性情報格納部に格納されたスプライト属性情報の参照順序を決定し、決定した参照順序に基づいて前記インデックス情報を設定または更新する構成としても良い。   In the present invention, the attribute information storage unit includes a plurality of the sprite attribute information and index information (for example, NEXT SAT-INDEX) that specifies sprite attribute information to be referred to next to each sprite attribute information. The arrangement processing means may be configured to determine the reference order of the sprite attribute information stored in the attribute information storage unit, and set or update the index information based on the determined reference order. .

また、本発明において、前記整列処理手段が、前記属性情報格納部に格納されたスプライト属性情報のうち、前記位置情報を含むスプライト属性情報についてのみ参照順序を決定し、決定した参照順序において末尾に位置するスプライト属性情報に対応する前記インデックス情報を、次に参照されるべきスプライト属性情報が存在しないことを示す内容(例えば、SAT−end)に設定する構成としても良い。   In the present invention, the alignment processing unit determines a reference order only for the sprite attribute information including the position information among the sprite attribute information stored in the attribute information storage unit, and ends with the determined reference order. The index information corresponding to the positioned sprite attribute information may be set to content (for example, SAT-end) indicating that there is no sprite attribute information to be referred to next.

また、本発明において、前記属性情報格納部には、複数の前記スプライト属性情報を参照する際に最初に参照すべきスプライト属性情報を指定する開始スプライト情報(例えば、START SAT番号)が格納され、前記整列処理手段が、前記属性情報格納部に格納された複数のスプライト属性情報について参照順序を決定した際に、前記開始スプライト情報を、決定した参照順序において先頭に位置するスプライトを示すよう設定し、スプライトを描画する処理において、参照する必要のないスプライト属性情報が検出された場合には、当該スプライト属性情報を以後の処理において参照しないよう前記開始スプライト情報を更新する構成としても良い。   In the present invention, the attribute information storage unit stores start sprite information (for example, a START SAT number) that specifies sprite attribute information to be referred to first when referring to the plurality of sprite attribute information. When the alignment processing unit determines the reference order for the plurality of sprite attribute information stored in the attribute information storage unit, the start sprite information is set to indicate the first sprite in the determined reference order. When sprite attribute information that does not need to be referenced is detected in the sprite rendering process, the start sprite information may be updated so that the sprite attribute information is not referred to in subsequent processes.

本発明によれば、スプライトの表示位置を示す位置情報を含むスプライト属性情報を属性情報格納部に複数格納し、属性情報格納部に格納された複数のスプライト属性情報について、整列処理手段によって、各スプライト属性情報に含まれる位置情報に基づいて参照順序を決定し、整列処理手段により決定された参照順序に従って属性情報格納部に格納されたスプライト属性情報を参照することによってスプライトを描画するので、描画すべきスプライトに関するスプライト属性情報を効率よく参照できる。例えば、水平走査線毎にスプライトを描画する場合、属性情報格納部に格納されたスプライト属性情報について、スプライトの垂直位置に基づいて参照順序が決定されていれば、描画対象の水平走査線上に位置するスプライトに関するスプライト属性情報のみを選び出して参照できる。これにより、属性情報格納部に格納された全てのスプライト属性情報を検索する等の処理を行わず、必要なスプライト属性情報のみを効率よく参照することで、スプライトを描画する処理の負荷を著しく軽減し、処理速度を大幅に高速化できる。   According to the present invention, a plurality of sprite attribute information including position information indicating the display position of the sprite is stored in the attribute information storage unit, and the plurality of sprite attribute information stored in the attribute information storage unit The sprite is drawn by determining the reference order based on the position information included in the sprite attribute information and referring to the sprite attribute information stored in the attribute information storage unit according to the reference order determined by the alignment processing means. It is possible to efficiently refer to sprite attribute information related to sprites to be used. For example, when drawing a sprite for each horizontal scanning line, if the reference order of the sprite attribute information stored in the attribute information storage unit is determined based on the vertical position of the sprite, it is positioned on the horizontal scanning line to be drawn. Only sprite attribute information related to the sprite to be selected can be selected and referenced. As a result, processing such as searching all sprite attribute information stored in the attribute information storage unit is not performed, and only necessary sprite attribute information is efficiently referred to, thereby significantly reducing the processing load of drawing sprites. The processing speed can be greatly increased.

また、本発明において、属性情報格納部に複数のスプライト属性情報と、各スプライト属性情報の次に参照されるべきスプライト属性情報を指定するインデックス情報とが対応づけて格納され、整列処理手段が、属性情報格納部に格納されたスプライト属性情報の参照順序を決定し、決定した参照順序に基づいてインデックス情報を設定または更新する構成とした場合、インデックス情報に従って順次スプライト属性情報を参照するだけで、効率よく高速にスプライト属性情報を参照できる。また、インデックス情報によって、属性情報格納部に格納されたスプライト属性情報の参照順序を示すことができるので、スプライト属性情報自体の配列順序等を変更する必要がない。インデックス情報は、次に参照されるべきスプライト属性情報を指定する情報を含んでいれば良いので、スプライト属性情報に比べて情報量が格段に少ない。従って、インデックス情報の処理は、スプライト属性情報自体の配列順序を変更する処理に比べて、非常に負荷が軽く、高速に実行可能である。また、スプライト属性情報の参照順序を変更する場合、インデックス情報を書き換えるだけで良い。これにより、スプライト属性情報の参照順序の決定および変更に要する処理が、少ないリソースで高速に実行できるようになる。   Further, in the present invention, the attribute information storage unit stores a plurality of sprite attribute information and index information for specifying sprite attribute information to be referred to next to each sprite attribute information in association with each other. When the reference order of the sprite attribute information stored in the attribute information storage unit is determined and the index information is set or updated based on the determined reference order, the sprite attribute information is simply referred to sequentially according to the index information. Sprite attribute information can be referenced efficiently and quickly. Further, since the index information can indicate the reference order of the sprite attribute information stored in the attribute information storage unit, it is not necessary to change the arrangement order of the sprite attribute information itself. Since the index information only needs to include information specifying the sprite attribute information to be referred to next, the amount of information is much smaller than the sprite attribute information. Therefore, the index information process is much lighter and can be executed at a higher speed than the process of changing the arrangement order of the sprite attribute information itself. Further, when changing the reference order of the sprite attribute information, it is only necessary to rewrite the index information. As a result, the processing required to determine and change the reference order of the sprite attribute information can be executed at high speed with few resources.

また、本発明において、整列処理手段が、属性情報格納部に格納されたスプライト属性情報のうち、位置情報を含むスプライト属性情報についてのみ参照順序を決定し、決定した参照順序において末尾に位置するスプライト属性情報に対応するインデックス情報を、次に参照されるべきスプライト属性情報が存在しないことを示す内容に設定する構成とした場合、位置情報を含むスプライト属性情報が全て参照された後に、速やかに処理を終了することができる。これにより、位置情報を含まず、実質的に意味を持たないスプライト属性情報を参照するという無駄な処理を省くことができるので、スプライトを描画する処理を極めて効率よく、高速に実行できる。   In the present invention, the alignment processing means determines the reference order only for the sprite attribute information including the position information among the sprite attribute information stored in the attribute information storage unit, and the sprite located at the end in the determined reference order When the index information corresponding to the attribute information is set to a content indicating that there is no sprite attribute information to be referred to next, the processing is promptly performed after all the sprite attribute information including the position information is referred to. Can be terminated. As a result, it is possible to omit a wasteful process of referring to sprite attribute information that does not include position information and has substantially no meaning, so that the process of drawing a sprite can be performed very efficiently and at high speed.

また、本発明において、属性情報格納部に、複数のスプライト属性情報を参照する際に最初に参照すべきスプライト属性情報を指定する開始スプライト情報が格納され、整列処理手段が、属性情報格納部に格納された複数のスプライト属性情報について参照順序を決定した際に、開始スプライト情報を、決定した参照順序において先頭に位置するスプライトを示すよう設定し、スプライトを描画する処理において、参照する必要のないスプライト属性情報が検出された場合に、当該スプライト属性情報を以後の処理において参照しないよう開始スプライト情報を更新する構成とした場合、開始スプライト情報に従ってスプライト属性情報を参照すれば、必要のないスプライト属性情報を無視して処理を実行することができる。これにより、無駄な処理を省き、スプライトを描画する処理の効率を向上させるとともに、高速化を図ることができる。   Further, in the present invention, the attribute information storage unit stores start sprite information for designating sprite attribute information to be referred to first when referring to a plurality of sprite attribute information, and the alignment processing means is stored in the attribute information storage unit. When the reference order is determined for a plurality of stored sprite attribute information, the start sprite information is set to indicate the first sprite in the determined reference order, and it is not necessary to refer to the sprite drawing process. When the sprite attribute information is detected and the start sprite information is updated so that the sprite attribute information is not referred to in the subsequent processing, if the sprite attribute information is referred to according to the start sprite information, the unnecessary sprite attributes Processing can be performed ignoring information. As a result, useless processing can be omitted, the efficiency of processing for drawing a sprite can be improved, and the speed can be increased.

以下、本発明の実施の形態を図面に基づき説明する。
図1は、本発明を適用した実施の形態における画像表示装置1の機能的構成を示すブロック図である。
図1に示すように、画像表示装置1は、画像表示装置1の各部を制御するCPU(Central Processing Unit)11、背景やスプライトの画像データ及びSAT等を含む各種データ及びプログラムを格納するメインメモリ12、各種機能部(図示略)間の処理を制御するシーケンス制御部14、表示装置15、及び、画像表示処理装置100を備えて構成される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a functional configuration of an image display apparatus 1 according to an embodiment to which the present invention is applied.
As shown in FIG. 1, an image display device 1 includes a CPU (Central Processing Unit) 11 that controls each unit of the image display device 1, a main memory that stores various data and programs including background and sprite image data, SAT, and the like. 12, a sequence control unit 14 that controls processing between various functional units (not shown), a display device 15, and an image display processing device 100.

画像表示処理装置100は、バスI/F13を介してCPU11及びメインメモリ12との間で各種データを送受信することにより、CPU11による制御に従って、メインメモリ12に格納されたSATを参照し、メインメモリ12に格納された画像データに基づく描画を実行する。また、画像表示処理装置100は、表示装置15に接続されており、描画した画像に基づく映像信号を表示装置15に出力し、表示装置15の画面上に画像を表示させる。   The image display processing device 100 transmits / receives various data to / from the CPU 11 and the main memory 12 via the bus I / F 13, and refers to the SAT stored in the main memory 12 according to control by the CPU 11. The drawing based on the image data stored in 12 is executed. The image display processing device 100 is connected to the display device 15, outputs a video signal based on the drawn image to the display device 15, and displays the image on the screen of the display device 15.

画像表示処理装置100は、SAT転送部101、SAT−RAM(SAT-Random Access Memory)102、並替処理部103、スプライト制御部104、背景制御部105、色彩加工描画制御部106、ラインバッファ107,108、及びビデオ出力部109の各部を備えて構成される。   The image display processing device 100 includes a SAT transfer unit 101, a SAT-RAM (SAT-Random Access Memory) 102, a rearrangement processing unit 103, a sprite control unit 104, a background control unit 105, a color processing drawing control unit 106, and a line buffer 107. , 108 and a video output unit 109.

SAT転送部101は、バスI/F13を介してメインメモリ12に接続され、メインメモリ12内のSATをSAT−RAM102に転送する。
SAT−RAM102は、SAT転送部101により転送されるSATを一時的に格納する。
並替処理部103は、SAT−RAM102に格納されたSATに対して、後述する並替処理(図4)を実行する。
The SAT transfer unit 101 is connected to the main memory 12 via the bus I / F 13 and transfers the SAT in the main memory 12 to the SAT-RAM 102.
The SAT-RAM 102 temporarily stores the SAT transferred by the SAT transfer unit 101.
The rearrangement processing unit 103 performs rearrangement processing (FIG. 4) described later on the SAT stored in the SAT-RAM 102.

スプライト制御部104は、CPU11による制御に従って、SAT−RAM102に格納されたSATを参照することにより、処理対象の水平走査線上に位置するスプライトを特定する。そして、スプライト制御部104は、処理対象の水平走査線上に位置するスプライトの画像データをメインメモリ12から読み出して、色彩加工描画制御部106に出力する。   The sprite control unit 104 specifies a sprite located on the horizontal scanning line to be processed by referring to the SAT stored in the SAT-RAM 102 according to the control by the CPU 11. Then, the sprite control unit 104 reads out image data of the sprite located on the horizontal scanning line to be processed from the main memory 12 and outputs it to the color processing drawing control unit 106.

背景制御部105は、CPU11による制御に従って、メインメモリ12に格納されたBAT(Background Attribute Table:背景属性テーブル)(図示略)を参照し、描画すべき背景を決定し、この背景の画像データをメインメモリ12から読み出して、色彩加工描画制御部106に出力する。   Under the control of the CPU 11, the background control unit 105 refers to a BAT (Background Attribute Table) (not shown) stored in the main memory 12, determines a background to be drawn, and stores image data of this background. Read from the main memory 12 and output to the color processing drawing control unit 106.

色彩加工描画制御部106は、スプライト制御部104から入力されるスプライトの画像データ、及び、背景制御部105から入力される背景の画像データに基づいて、ラインバッファ107又はラインバッファ108のいずれか一方に、背景及びスプライトを描画する。   Based on the sprite image data input from the sprite control unit 104 and the background image data input from the background control unit 105, the color processing / drawing control unit 106 is either the line buffer 107 or the line buffer 108. Draw a background and a sprite.

ラインバッファ107,108は、いずれも、1水平走査線分の画像を一時的に格納するバッファメモリであって、交互に切り換えて使用される。   Both of the line buffers 107 and 108 are buffer memories that temporarily store an image for one horizontal scanning line, and are used by switching alternately.

ビデオ出力部109は、ラインバッファ107又はラインバッファ108のいずれか一方にアクセスし、当該ラインバッファに描画された画像を読み出して映像信号を生成し、表示装置15に出力する。   The video output unit 109 accesses either the line buffer 107 or the line buffer 108, reads an image drawn in the line buffer, generates a video signal, and outputs the video signal to the display device 15.

表示装置15は、CRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)等の表示画面を備えた表示装置であり、ビデオ出力部109から入力される映像信号に基づいて各種画像を表示する。   The display device 15 is a display device having a display screen such as a CRT (Cathode Ray Tube) or an LCD (Liquid Crystal Display), and displays various images based on a video signal input from the video output unit 109.

ここで、画像表示処理装置100におけるラインバッファ107とラインバッファ108との切り換えについて説明する。
上記のように、ラインバッファ107,108は、いずれも、1水平走査線分の画像に係るデータを格納するものであって、描画と、画像の読み出しとを同時に行うことができない。例えば、色彩加工描画制御部106がラインバッファ107に画像を描画している間は、ラインバッファ107から色彩加工描画制御部106によって画像を読み出すことはできない。
Here, switching between the line buffer 107 and the line buffer 108 in the image display processing apparatus 100 will be described.
As described above, each of the line buffers 107 and 108 stores data relating to an image for one horizontal scanning line, and cannot perform drawing and image reading at the same time. For example, while the color processing / drawing control unit 106 is drawing an image in the line buffer 107, the color processing / drawing control unit 106 cannot read the image from the line buffer 107.

従って、画像表示処理装置100においては、色彩加工描画制御部106により描画される側と、ビデオ出力部109により画像が読み出される側とを交互に切り換えることにより、連続して画像の描画及び表示が行えるようにしている。
すなわち、色彩加工描画制御部106がラインバッファ107に描画している間、ビデオ出力部109は、ラインバッファ108から画像を読み出す処理を行う。その後、ラインバッファ107に対する描画及びラインバッファ108からの画像読み出しが終了すると、ラインバッファ107とラインバッファ108とが切り換えられる。続いて、色彩加工描画制御部106がラインバッファ108に対して描画を行い、ビデオ出力部109がラインバッファ107の画像を読み出す。
Therefore, in the image display processing device 100, by alternately switching between the drawing side by the color processing drawing control unit 106 and the side from which the image is read by the video output unit 109, the drawing and display of images are continuously performed. I can do it.
That is, while the color processing / drawing control unit 106 is drawing in the line buffer 107, the video output unit 109 performs a process of reading an image from the line buffer 108. Thereafter, when drawing to the line buffer 107 and image reading from the line buffer 108 are completed, the line buffer 107 and the line buffer 108 are switched. Subsequently, the color processing / drawing control unit 106 performs drawing on the line buffer 108, and the video output unit 109 reads the image in the line buffer 107.

なお、以下の説明においては、ラインバッファ107及びラインバッファ108のうち、ビデオ出力部109によって画像が読み出される側をラインバッファAとし、色彩加工描画制御部106によって描画される側をラインバッファBとする。従って、ある時点では、ラインバッファ107がラインバッファA、ラインバッファ108がラインバッファBとなり、ラインバッファの切り換えが行われると、ラインバッファ108がラインバッファAとなり、ラインバッファ107がラインバッファBとなる。   In the following description, of the line buffer 107 and the line buffer 108, the side from which an image is read by the video output unit 109 is referred to as a line buffer A, and the side to be drawn by the color processing drawing control unit 106 is referred to as a line buffer B. To do. Therefore, at a certain point, the line buffer 107 becomes the line buffer A, the line buffer 108 becomes the line buffer B, and when the line buffer is switched, the line buffer 108 becomes the line buffer A and the line buffer 107 becomes the line buffer B. .

図2は、画像表示処理装置100の動作を示すフローチャートである。この図2に従って、画像表示処理装置100の各部により実行される処理の概要を説明する。
まず、一画面の表示処理が開始されると(ステップS11)、SAT転送部101によって、メインメモリ12に格納されたSATがSAT−RAM102に転送される(ステップS12)。その後、並替処理部103により、SAT−RAM102に格納されたSATに対する並替処理が実行される(ステップS13)。
FIG. 2 is a flowchart showing the operation of the image display processing apparatus 100. An outline of processing executed by each unit of the image display processing apparatus 100 will be described with reference to FIG.
First, when display processing of one screen is started (step S11), the SAT stored in the main memory 12 is transferred to the SAT-RAM 102 by the SAT transfer unit 101 (step S12). Thereafter, the rearrangement processing unit 103 executes the rearrangement process for the SAT stored in the SAT-RAM 102 (step S13).

並替処理の後、SAT−RAM102に格納されたSTART SAT番号が初期化される(ステップS14)。START SAT番号とは、後述するステップS19の処理において、SAT−RAM102に格納されたSATを参照する場合に、最初に参照すべきSATを指定する情報である。   After the rearrangement process, the START SAT number stored in the SAT-RAM 102 is initialized (step S14). The START SAT number is information for designating the SAT to be referred to first when referring to the SAT stored in the SAT-RAM 102 in the process of step S19 described later.

続いて、ラインバッファ107,108の初期化が行われ(ステップS15)、表示装置15に表示画面にラスター画像を表示するラスター表示処理が開始される(ステップS16)。   Subsequently, the line buffers 107 and 108 are initialized (step S15), and a raster display process for displaying a raster image on the display screen on the display device 15 is started (step S16).

ラスター表示処理においては、ラインバッファ107,108のうちラインバッファAとなっている側に格納された画像がビデオ出力部109によって読み出され、表示装置15に表示される(ステップS17)。ここで、ラインバッファAにおいては、ビデオ出力部109により画像が読み出されたラスターは、その都度初期化される。   In the raster display process, an image stored on the line buffer A side of the line buffers 107 and 108 is read by the video output unit 109 and displayed on the display device 15 (step S17). Here, in the line buffer A, the raster from which the image is read by the video output unit 109 is initialized each time.

また、ステップS17の画像表示の実行中に、色彩加工描画制御部106によって、ラインバッファBに対して背景が描画され(ステップS18)、さらにスプライトが描画される(ステップS19)。   During the execution of the image display in step S17, the color processing / drawing control unit 106 draws the background on the line buffer B (step S18), and further draws the sprite (step S19).

ラインバッファBへの描画が完了し、ラインバッファAに格納された画像の表示が終了すると(ステップS20;Yes)、ラインバッファA,B(ラインバッファ107,108)の切り換えが行われる(ステップS21)。   When the drawing to the line buffer B is completed and the display of the image stored in the line buffer A is completed (step S20; Yes), the line buffers A and B (line buffers 107 and 108) are switched (step S21). ).

ここで、一画面全部の表示が完了した場合は(ステップS22;Yes)、ステップS11に戻って次の画面の表示が行われる。   Here, when the display of all the screens is completed (step S22; Yes), the process returns to step S11 to display the next screen.

また、一画面全部の表示が完了していなければ(ステップS22;No)、画像表示処理装置100の動作はステップS17に戻る。
そして、ステップS18〜S19において背景とスプライトが描画されたラインバッファBの画像が、ビデオ出力部109によって読み出され、表示装置15に表示される。また、次の水平走査線の画像がラインバッファAに描画される。
If the display of the entire screen has not been completed (step S22; No), the operation of the image display processing device 100 returns to step S17.
Then, the image of the line buffer B on which the background and sprites are drawn in steps S18 to S19 is read by the video output unit 109 and displayed on the display device 15. Further, the image of the next horizontal scanning line is drawn in the line buffer A.

なお、ステップS18〜S19において、ラインバッファBへの描画を行っている間に、ラインバッファAの画像の表示が終了した場合には、ラインバッファBへの描画を中止し、ステップS21に移行してラインバッファA,B(ラインバッファ107,108)を切り換えるようにしても良い。また、ラインバッファAの画像の表示が終了した後、ラインバッファBへの描画が終了してラインバッファA,Bが切り換えられるまでの間、信号を遅延させて、ラインバッファAの画像の描画時間を長くすることも可能である。   If the display of the image in the line buffer A is completed while drawing in the line buffer B in steps S18 to S19, the drawing in the line buffer B is stopped, and the process proceeds to step S21. The line buffers A and B (line buffers 107 and 108) may be switched. Further, after the display of the image in the line buffer A is completed, the signal is delayed until the drawing in the line buffer B is completed and the line buffers A and B are switched, and the drawing time of the image in the line buffer A is delayed. It is also possible to lengthen the length.

図3は、図2のステップS12において、メインメモリ12に格納されたSATをSAT−RAM102に転送する処理を詳細に示す図である。
メインメモリ12においては、複数のスプライトに対応するSATが、各々SAT番号(SAT−0,…)が付されて格納される。これらのSATは、それぞれ、対応するスプライトの位置を示す情報、スプライトのサイズを示す情報、及びその他の情報(図示略)を含む。
FIG. 3 is a diagram showing in detail the process of transferring the SAT stored in the main memory 12 to the SAT-RAM 102 in step S12 of FIG.
In the main memory 12, SATs corresponding to a plurality of sprites are stored with respective SAT numbers (SAT-0,...). Each of these SATs includes information indicating the position of the corresponding sprite, information indicating the size of the sprite, and other information (not shown).

本実施の形態では、表示装置15の表示画面上において左上隅を原点とし、水平方向をX軸、垂直方向をY軸とするX−Y座標系が設定された場合の、スプライトの左上端のX座標およびY座標によってスプライトの位置を示す。また、スプライトのサイズは横(X方向)及び縦(Y方向)のラスター数によって示す。例えば、図3に示すSAT−4は、(X,Y)=(50,30)の位置に表示され、サイズが縦横8×8ラスターのスプライトに関する情報である。
なお、図3の例において、SAT−5、及び、SAT−10以降のSATは未使用であり、対応するスプライトに関する情報を含まないものとする。
In the present embodiment, the upper left corner of the sprite is set on the display screen of the display device 15 when an XY coordinate system is set with the upper left corner as the origin, the horizontal direction as the X axis, and the vertical direction as the Y axis. The position of the sprite is indicated by the X coordinate and the Y coordinate. The size of the sprite is indicated by the number of rasters in the horizontal (X direction) and vertical (Y direction). For example, SAT-4 shown in FIG. 3 is information on a sprite displayed at a position of (X, Y) = (50, 30) and having a size of 8 × 8 rasters.
In the example of FIG. 3, it is assumed that SAT-5 and SAT-10 and subsequent SATs are unused and do not include information on the corresponding sprite.

SAT転送部101は、メインメモリ12に格納されたSATのうち、処理対象の画面に係るSATを、そのままSAT−RAM102に転送する。すなわち、SAT−RAM102には、メインメモリ12に格納されたSATが、メインメモリ12における配列順序と同じ順序で格納される。   The SAT transfer unit 101 transfers the SAT related to the screen to be processed among the SATs stored in the main memory 12 to the SAT-RAM 102 as it is. In other words, the SAT stored in the main memory 12 is stored in the SAT-RAM 102 in the same order as the arrangement order in the main memory 12.

また、SAT−RAM102にSATが転送される際には、各SATの参照順序を示すNEXT SAT-INDEXが生成され、各SATに対応づけられる。NEXT SAT-INDEXは、各SATを参照した場合に次に参照するSATを指定する情報である。例えば、図3のSAT−0に対応するNEXT SAT-INDEXはSAT−1となっているので、SAT−0が参照された場合は、次にSAT−1が参照される。また、SAT−9に対応するNEXT SAT-INDEXはSAT−endとなっている。これは、SAT−9を参照した後は参照すべきSATが無いことを示す。   Further, when the SAT is transferred to the SAT-RAM 102, the NEXT SAT-INDEX indicating the reference order of each SAT is generated and associated with each SAT. NEXT SAT-INDEX is information that specifies the SAT to be referred to next when each SAT is referenced. For example, since NEXT SAT-INDEX corresponding to SAT-0 in FIG. 3 is SAT-1, when SAT-0 is referred to, SAT-1 is referred to next. NEXT SAT-INDEX corresponding to SAT-9 is SAT-end. This indicates that there is no SAT to be referenced after referring to SAT-9.

さらに、SAT−RAM102には、SAT−RAM102に格納されたSATのうち、最初に参照するSATを指定するSTART SAT番号が格納される。図3に示す例では、START SAT番号はSAT−0となっている。   Further, the SAT-RAM 102 stores a START SAT number that designates the first SAT to be referred to among the SATs stored in the SAT-RAM 102. In the example shown in FIG. 3, the START SAT number is SAT-0.

図4は、図2のステップS13において、SAT−RAM102に格納されたSATを並べ替える並替処理を示す図である。
図4中左側に示す並替処理前の状態では、SAT−RAM102内のSATはメインメモリ12における順序と同じ順序で格納され、NEXT SAT-INDEX及びSTART SAT番号は、いずれも、メインメモリ12におけるSATの順序の通りに各SATを参照することを示す内容となっている。
FIG. 4 is a diagram showing a rearrangement process for rearranging the SATs stored in the SAT-RAM 102 in step S13 of FIG.
In the state before the rearrangement processing shown on the left side in FIG. 4, the SAT in the SAT-RAM 102 is stored in the same order as in the main memory 12, and the NEXT SAT-INDEX and the START SAT number are both in the main memory 12. The content indicates that each SAT is referred to in the SAT order.

並替処理部103は、SAT−RAM102に格納されたSATについて並替処理を実行し、スプライトの位置を示すY座標(垂直方向の位置)に基づく各SATの順序を決定する。この並替処理において、並替処理部103は、例えばバブルソート、シェルソート、ヒープソート、マージソート、クイックソート等の各種の整列アルゴリズムに基づく演算処理により実行可能である。なお、図4に示すSAT−5,10等のように未使用のSATは、並替処理においては無視(除外)される。   The rearrangement processing unit 103 performs rearrangement processing on the SAT stored in the SAT-RAM 102 and determines the order of each SAT based on the Y coordinate (vertical position) indicating the position of the sprite. In this rearrangement process, the rearrangement processing unit 103 can be executed by arithmetic processing based on various sort algorithms such as bubble sort, shell sort, heap sort, merge sort, and quick sort. Note that unused SATs such as SAT-5 and 10 shown in FIG. 4 are ignored (excluded) in the rearrangement process.

そして、各SATの順序を決定した後、並替処理部103は、決定した順序に基づいてSTART SAT番号及びNEXT SAT-INDEXを更新する。なお、並替処理部103は、SAT自体の配列順序は変更しない。   Then, after determining the order of each SAT, the rearrangement processing unit 103 updates the START SAT number and the NEXT SAT-INDEX based on the determined order. Note that the rearrangement processing unit 103 does not change the arrangement order of the SAT itself.

図4に示す例において、SAT−0〜10をY座標の順に並べると、Y座標の値が小さい方から順に、SAT−3,9,0,8,6,7,2,1,4の通りに並ぶ。なお、SAT−5,10は未使用であるから、この順序からは除外される。   In the example shown in FIG. 4, when SAT-0 to 10 are arranged in the order of the Y coordinate, the values of SAT-3, 9, 0, 8, 6, 7, 2, 1, 4 are in order from the smallest Y coordinate value. Line up on the street. Since SAT-5 and 10 are unused, they are excluded from this order.

そして、図4中の右側に示す並替処理後の状態では、START SAT番号は、Y座標が最も小さいSAT−3となっている。従って、スプライトを描画する処理においては、SAT−0〜10のうちSAT−3が最初に参照される。また、SAT−3に対応するNEXT SAT-INDEXはSAT−9を示しているので、SAT−3の次にはSAT−9が参照される。さらに、NEXT SAT-INDEXに従うと、SAT−9の後は、SAT−0,8,6,7,2,1,4の順にSATが参照される。なお、SAT−4に対応するNEXT SAT-INDEXはSAT−endとなっているので、SAT−4が参照された後は、SAT−RAM102内のSATの参照(検索)は終了される。   In the state after the rearrangement process shown on the right side in FIG. 4, the START SAT number is SAT-3 with the smallest Y coordinate. Accordingly, in the process of drawing the sprite, SAT-3 is first referred to among SAT-0 to SAT-10. Since NEXT SAT-INDEX corresponding to SAT-3 indicates SAT-9, SAT-9 is referred to after SAT-3. Further, according to NEXT SAT-INDEX, SAT is referred to in the order of SAT-0, 8, 6, 7, 2, 1, 4 after SAT-9. Since the NEXT SAT-INDEX corresponding to SAT-4 is SAT-end, the reference (search) of the SAT in the SAT-RAM 102 is ended after the SAT-4 is referred to.

このように、並替処理部103は、SAT−RAM102に格納されたSATについて並替処理を実行し、例えばY座標の値が小さい順に各SATの順序を決定し、決定した順序に従って各SATが参照されるよう、START SAT番号及びNEXT SAT-INDEXを更新する。   As described above, the rearrangement processing unit 103 performs the rearrangement process on the SAT stored in the SAT-RAM 102, determines the order of the SATs in the order of, for example, the smallest Y coordinate value, and each SAT is determined according to the determined order. Update START SAT number and NEXT SAT-INDEX for reference.

図5〜図9は、図2のステップS19においてSATが参照される処理を詳細に示す図である。なお、図5〜図9においては、未参照(参照されていない状態)のSATを通常の枠で示し、参照されたSATを二重枠で示し、参照された際に終了条件に合致すると判定され、処理されなかったSATを二重枠と斜線で示し、処理の対象外と判定されたSATを二重枠と網掛けで示す。   5 to 9 are diagrams showing in detail the process in which the SAT is referred to in step S19 of FIG. 5 to 9, unreferenced (unreferenced) SAT is indicated by a normal frame, referenced SAT is indicated by a double frame, and it is determined that the end condition is met when referenced. The SAT that has not been processed is indicated by a double frame and hatched lines, and the SAT that is determined not to be processed is indicated by a double frame and shaded area.

図5には、Y座標が0(Y=0)の水平走査線を描画する例を示す。
まず、START SAT番号に従ってSAT−3が参照される。ここで、SAT−3のY座標は10であるから、SAT−3はY=0の水平走査線に表示する対象ではない。従って、SAT−3が参照された時点で、終了条件に合致すると判定され、SATを参照する処理は終了となる。
FIG. 5 shows an example of drawing a horizontal scanning line whose Y coordinate is 0 (Y = 0).
First, SAT-3 is referenced according to the START SAT number. Here, since the Y coordinate of SAT-3 is 10, SAT-3 is not an object to be displayed on the horizontal scanning line of Y = 0. Therefore, when SAT-3 is referenced, it is determined that the termination condition is met, and the process of referring to SAT is terminated.

図6には、Y座標が10(Y=10)の水平走査線を描画する例を示す。
最初にSTART SAT番号に従ってSAT−3が参照される。SAT−3のY座標は10であり、スプライトのサイズは8×8であるから、SAT−3に対応するスプライトはY=10の水平走査線の表示対象であると判定され、当該水平走査線上に描画される。続いて、SAT−3に対応するNEXT SAT-INDEXに従って、SAT−9が参照される。ここで、SAT−9のY座標は14であるから、SAT−9に対応するスプライトはY=10の水平走査線に表示する対象ではない。従って、SAT−9が参照された時点で、終了条件に合致すると判定され、SATを参照する処理は終了となる。
FIG. 6 shows an example of drawing a horizontal scanning line with a Y coordinate of 10 (Y = 10).
First, SAT-3 is referenced according to the START SAT number. Since the Y coordinate of SAT-3 is 10 and the size of the sprite is 8 × 8, it is determined that the sprite corresponding to SAT-3 is the display target of the horizontal scanning line of Y = 10, and on the horizontal scanning line. Drawn on. Subsequently, SAT-9 is referred to according to NEXT SAT-INDEX corresponding to SAT-3. Here, since the Y coordinate of SAT-9 is 14, the sprite corresponding to SAT-9 is not an object to be displayed on the horizontal scanning line of Y = 10. Therefore, when SAT-9 is referenced, it is determined that the termination condition is met, and the process of referring to the SAT ends.

図7には、Y座標が18の水平走査線(Y=18)を表示する例を示す。
最初にSTART SAT番号に従ってSAT−3が参照される。ここで、SAT−3のY座標は10であり、SAT−3のスプライトのサイズは8×8であるから、SAT−3に対応するスプライトは、Y=10の水平走査線からY=17の水平走査線に表示されるものであり、Y=18の水平走査線には表示されない。従って、SAT−3は、Y=18の水平走査線の表示対象外として判定される。
続いて、SAT−3に対応するNEXT SAT-INDEXに従って、SAT−9が参照される。SAT−9のY座標は14であり、スプライトのサイズは8×8であるから、SAT−9に対応するスプライトは、Y=18の水平走査線の表示対象であると判定され、当該水平走査線上に描画される。
次に、SAT−9に対応するNEXT SAT-INDEXに従って、SAT−0が参照される。SAT−0のY座標は18であり、スプライトのサイズは8×8であるから、SAT−0に対応するスプライトは、Y=18の水平走査線の表示対象であると判定され、当該水平走査線上に描画される。
続いて、SAT−0に対応するNEXT SAT-INDEXに従って、SAT−8が参照される。SAT−8のY座標は20であるから、SAT−8に対応するスプライトはY=18の水平走査線に表示する対象ではない。従って、SAT−8が参照された時点で、終了条件に合致すると判定され、SATを参照する処理が終了される。
FIG. 7 shows an example in which a horizontal scanning line (Y = 18) having a Y coordinate of 18 is displayed.
First, SAT-3 is referenced according to the START SAT number. Here, since the Y coordinate of SAT-3 is 10, and the size of the sprite of SAT-3 is 8 × 8, the sprite corresponding to SAT-3 is Y = 17 from the horizontal scanning line of Y = 10. It is displayed on the horizontal scanning line and is not displayed on the horizontal scanning line of Y = 18. Accordingly, SAT-3 is determined not to be displayed on the horizontal scanning line of Y = 18.
Subsequently, SAT-9 is referred to according to NEXT SAT-INDEX corresponding to SAT-3. Since the Y coordinate of SAT-9 is 14 and the size of the sprite is 8 × 8, it is determined that the sprite corresponding to SAT-9 is the display target of the horizontal scanning line of Y = 18, and the horizontal scanning is performed. It is drawn on the line.
Next, SAT-0 is referenced according to the NEXT SAT-INDEX corresponding to SAT-9. Since the Y coordinate of SAT-0 is 18 and the size of the sprite is 8 × 8, it is determined that the sprite corresponding to SAT-0 is the display target of the horizontal scanning line of Y = 18, and the horizontal scanning is performed. It is drawn on the line.
Subsequently, SAT-8 is referred to according to NEXT SAT-INDEX corresponding to SAT-0. Since the Y coordinate of SAT-8 is 20, the sprite corresponding to SAT-8 is not a target to be displayed on the horizontal scanning line of Y = 18. Therefore, when SAT-8 is referenced, it is determined that the termination condition is met, and the process of referring to SAT is terminated.

なお、Y=18の水平走査線を描画する処理において、SAT−3は表示対象外であると判定されたため、Y=19以降の水平走査線を描画する処理において、SAT−3を参照する必要はない。そこで、SAT−3が表示対象外であると判定された後、START SAT番号が、SAT−3の次以降に参照されるSATで、かつ、表示対象外でないSAT、すなわちSAT−9に設定される。   In the process of drawing the horizontal scanning line with Y = 18, it is determined that SAT-3 is not a display target, so it is necessary to refer to SAT-3 in the process of drawing the horizontal scanning line after Y = 19. There is no. Therefore, after it is determined that SAT-3 is not subject to display, the START SAT number is set to SAT that is referenced after SAT-3 and that is not subject to display, that is, SAT-9. The

図8には、Y座標が21(Y=21)の水平走査線を描画する例を示す。
最初にSTART SAT番号に従ってSAT−9が参照される。SAT−9のY座標は14であり、スプライトのサイズは8×8であるから、SAT−9に対応するスプライトはY=14の水平走査線からY=21の水平走査線に表示されるものである。従って、SAT−9に対応するスプライトは、Y=21の水平走査線の表示対象であると判定され、当該水平走査線上に描画される。
次に、SAT−9に対応するNEXT SAT-INDEXに従って、SAT−0が参照される。SAT−0のY座標は18であり、スプライトのサイズは8×8であるから、SAT−0に対応するスプライトはY=21の水平走査線の表示対象であると判定され、当該水平走査線上に描画される。
続いて、SAT−0に対応するNEXT SAT-INDEXに従って、SAT−8が参照される。SAT−8のY座標は20であり、スプライトのサイズは8×8であるから、SAT−8に対応するスプライトはY=21の水平走査線の表示対象であると判定され、当該水平走査線上に描画される。
次に、SAT−8に対応するNEXT SAT-INDEXに従って、SAT−6が参照される。SAT−6のY座標は21であり、スプライトのサイズは8×8であるから、SAT−6に対応するスプライトはY=21の水平走査線の表示対象であると判定され、当該水平走査線上に描画される。
続いて、SAT−6に対応するNEXT SAT-INDEXに従って、SAT−7が参照される。SAT−7のY座標は22であるから、SAT−7に対応するスプライトは、Y=21の水平走査線に表示する対象ではない。従って、SAT−7が参照された時点で、終了条件に合致すると判定され、SATを参照する処理は終了となる。
FIG. 8 shows an example of drawing a horizontal scanning line with a Y coordinate of 21 (Y = 21).
First, SAT-9 is referenced according to the START SAT number. Since the SAT-9 has a Y coordinate of 14 and a sprite size of 8 × 8, the sprite corresponding to the SAT-9 is displayed from the Y = 14 horizontal scanning line to the Y = 21 horizontal scanning line. It is. Therefore, the sprite corresponding to SAT-9 is determined to be the display target of the horizontal scanning line of Y = 21, and is drawn on the horizontal scanning line.
Next, SAT-0 is referenced according to the NEXT SAT-INDEX corresponding to SAT-9. Since the Y coordinate of SAT-0 is 18 and the size of the sprite is 8 × 8, the sprite corresponding to SAT-0 is determined to be the display target of the horizontal scanning line of Y = 21, and on the horizontal scanning line. Drawn on.
Subsequently, SAT-8 is referred to according to NEXT SAT-INDEX corresponding to SAT-0. Since the Y coordinate of SAT-8 is 20 and the size of the sprite is 8 × 8, it is determined that the sprite corresponding to SAT-8 is the display target of the horizontal scanning line of Y = 21. Drawn on.
Next, SAT-6 is referenced according to the NEXT SAT-INDEX corresponding to SAT-8. Since the Y coordinate of SAT-6 is 21 and the size of the sprite is 8 × 8, it is determined that the sprite corresponding to SAT-6 is the display target of the horizontal scanning line of Y = 21, and on the horizontal scanning line. Drawn on.
Subsequently, SAT-7 is referred to according to NEXT SAT-INDEX corresponding to SAT-6. Since the Y coordinate of SAT-7 is 22, the sprite corresponding to SAT-7 is not an object to be displayed on the horizontal scanning line of Y = 21. Therefore, when SAT-7 is referenced, it is determined that the termination condition is met, and the process of referring to SAT is terminated.

図9には、Y座標が22の水平走査線(Y=22)を表示する例を示す。
最初にSTART SAT番号に従ってSAT−9が参照される。ここで、SAT−9のY座標は14であり、SAT−9のスプライトのサイズは8×8であるから、SAT−9に対応するスプライトは、Y=14の水平走査線からY=21の水平走査線に表示されるものであり、Y=22の水平走査線には表示されない。従って、SAT−9は、表示対象外として判定され、次に、SAT−9に対応するNEXT SAT-INDEXに従って、SAT−0が参照される。SAT−0のY座標は18であり、スプライトのサイズは8×8であるから、Y=22の水平走査線上に、SAT−0に基づいてスプライトが描画される。
続いて、SAT−0に対応するNEXT SAT-INDEXに従って、SAT−8が参照される。SAT−8のY座標は20であり、スプライトのサイズは8×8であるから、Y=22の水平走査線上に、SAT−8に基づいてスプライトが描画される。
さらに、SAT−8に対応するNEXT SAT-INDEXに従って、SAT−6が参照される。SAT−6のY座標は21であり、スプライトのサイズは8×8であるから、Y=22の水平走査線上に、SAT−6に基づいてスプライトが描画される。
次に、SAT−6に対応するNEXT SAT-INDEXに従って、SAT−7が参照される。SAT−7のY座標は22であり、スプライトのサイズは8×8であるから、Y=22の水平走査線上に、SAT−7に基づいてスプライトが描画される。
さらに、SAT−7に対応するNEXT SAT-INDEXに従って、SAT−2が参照される。ここで、SAT−2のY座標は24であるから、Y=22の水平走査線に表示する対象ではない。従って、SAT−2が参照された時点で、終了条件に合致すると判定され、SATを参照する処理が終了される。
FIG. 9 shows an example in which a horizontal scanning line (Y = 22) having a Y coordinate of 22 is displayed.
First, SAT-9 is referenced according to the START SAT number. Here, since the Y coordinate of SAT-9 is 14, and the size of the sprite of SAT-9 is 8 × 8, the sprite corresponding to SAT-9 is Y = 21 from the horizontal scanning line of Y = 14. It is displayed on the horizontal scanning line and is not displayed on the horizontal scanning line of Y = 22. Therefore, SAT-9 is determined not to be displayed, and SAT-0 is then referenced according to the NEXT SAT-INDEX corresponding to SAT-9. Since the Y coordinate of SAT-0 is 18 and the size of the sprite is 8 × 8, the sprite is drawn on the horizontal scanning line of Y = 22 based on SAT-0.
Subsequently, SAT-8 is referred to according to NEXT SAT-INDEX corresponding to SAT-0. Since the Y coordinate of SAT-8 is 20 and the size of the sprite is 8 × 8, the sprite is drawn on the horizontal scanning line of Y = 22 based on SAT-8.
Furthermore, SAT-6 is referred to according to NEXT SAT-INDEX corresponding to SAT-8. Since the Y coordinate of SAT-6 is 21 and the size of the sprite is 8 × 8, the sprite is drawn on the horizontal scanning line of Y = 22 based on SAT-6.
Next, SAT-7 is referred to according to the NEXT SAT-INDEX corresponding to SAT-6. Since the Y coordinate of SAT-7 is 22 and the size of the sprite is 8 × 8, the sprite is drawn on the horizontal scanning line of Y = 22 based on SAT-7.
Furthermore, SAT-2 is referred to according to NEXT SAT-INDEX corresponding to SAT-7. Here, since the Y coordinate of SAT-2 is 24, it is not an object to be displayed on the horizontal scanning line of Y = 22. Therefore, when SAT-2 is referenced, it is determined that the termination condition is met, and the process of referring to SAT is terminated.

なお、図9に示すY=22の水平走査線を描画する処理においては、SAT−9が対象外であると判定される。従って、Y=23以降の水平走査線を描画する処理において、SAT−9を参照する必要が無いので、START SAT番号がSAT−0に更新される。   In the process of drawing the horizontal scanning line of Y = 22 shown in FIG. 9, it is determined that SAT-9 is not the target. Accordingly, in the process of drawing the horizontal scanning lines after Y = 23, it is not necessary to refer to SAT-9, so the START SAT number is updated to SAT-0.

図10は、SAT−RAM102内のSATを検索した場合の検索回数を示す図表である。
図10に示す図表において、左端の項目「Y座標」は検索対象の水平走査線のY座標を示し、項目「終了判定」は、SAT−RAM102のSATを参照する処理において終了条件に合致したSATの有無を示し、項目「START SAT更新」は、START SAT番号の更新が行われたか否かを示す。また、項目「検索回数」は、「未使用」でないSATについて、各SATを検索(参照)した回数を示す。また、図10の図表においては、各SATの番号を項目として、各SATが参照された回数を示す。
FIG. 10 is a chart showing the number of searches when the SAT in the SAT-RAM 102 is searched.
In the chart shown in FIG. 10, the leftmost item “Y coordinate” indicates the Y coordinate of the horizontal scanning line to be searched, and the item “end determination” indicates the SAT that matches the end condition in the process of referring to the SAT in the SAT-RAM 102. The item “START SAT update” indicates whether or not the START SAT number has been updated. The item “number of searches” indicates the number of times each SAT is searched (referenced) for SATs that are not “unused”. In the chart of FIG. 10, the number of times each SAT is referred to is shown with each SAT number as an item.

なお、図10においては、SAT−RAM102内のSATの中から特定のSATを探して参照する処理を、1回の検索を行ったものとカウントする。また、一つのSATを参照し、そのSATが終了条件に合致した場合、当該SATは未処理となるのでSATの参照回数は「0」とカウントされるが、SAT−RAM102において当該SATを検索しているので、「検索回数」は「1」とカウントされる。
例えば、Y=1の水平走査線を描画する処理においては、図5を参照して説明したように、最初に参照されるSAT−3に対応するスプライトは当該水平走査線上に描画されない。従って、SAT−3が終了条件に合致するとの判定のみが行われるので、図10の図表においては、SAT−3以下の全てのSATについて参照回数は「0」となり、検索回数としては「1」がカウントされる。
In FIG. 10, the process of searching for and referring to a specific SAT from the SATs in the SAT-RAM 102 is counted as a single search. If one SAT is referenced and the SAT matches the termination condition, the SAT is unprocessed and the SAT reference count is counted as “0”, but the SAT-RAM 102 searches for the SAT. Therefore, “number of searches” is counted as “1”.
For example, in the process of drawing the horizontal scanning line with Y = 1, as described with reference to FIG. 5, the sprite corresponding to SAT-3 referred to first is not drawn on the horizontal scanning line. Therefore, since only the determination that SAT-3 meets the termination condition is performed, in the chart of FIG. 10, the reference count is “0” for all SAT-3 and below, and the search count is “1”. Is counted.

また、例えば、Y=18の水平走査線を描画する処理においては、図7を参照して説明したように、SAT−9及びSAT−0に対応するスプライトが表示対象と判定されるので、SAT−9及びSAT−0について参照回数が「1」となる。さらに、SAT−3が対象外であるとの判定、及び、SAT−8が終了条件に合致するとの判定が行われており、これらの判定は検索回数にカウントされるので、検索回数の合計は「4」となる。また、SAT−3が対象外であったためにSTART SAT番号を更新する処理を行っているので、「START SAT更新」は「1」となる。   Further, for example, in the process of drawing a horizontal scanning line with Y = 18, as described with reference to FIG. 7, since sprites corresponding to SAT-9 and SAT-0 are determined to be displayed, SAT The reference count is “1” for −9 and SAT-0. Further, it is determined that SAT-3 is not the target and that SAT-8 matches the termination condition. Since these determinations are counted as the number of searches, the total number of searches is “4”. In addition, since the SAT-3 is not the target, the process of updating the START SAT number is performed, so “START SAT update” is “1”.

図10に示すように、Y=0の水平走査線からY=38の水平走査線まで、各水平走査線を描画する処理を行うと、検索回数は合計で111回となる。この回数は、従来の方法により、全ての水平走査線を描画する処理において、SAT−RAM102に格納された全てのSATを検索する場合に比べると、極めて少ない回数である。   As shown in FIG. 10, when the process of drawing each horizontal scanning line from the horizontal scanning line of Y = 0 to the horizontal scanning line of Y = 38 is performed, the total number of searches is 111 times. This number of times is extremely small compared to the case of searching all SATs stored in the SAT-RAM 102 in the process of drawing all horizontal scanning lines by the conventional method.

さらに、Y=38の水平走査線を描画する処理においては、SAT−4に対応するスプライトが、対象外であると判定される。これは、SAT−4のY座標が30であり、スプライトのサイズが8×8だからである。すると、START SAT番号が更新されるが、図5〜9に示すように、SAT−4に対応するNEXT SAT-INDEXはSAT−endとなっている。つまり、SAT−4の後に参照すべきSATは無いので、START SAT番号はSAT−endに更新される。   Further, in the process of drawing the horizontal scanning line of Y = 38, it is determined that the sprite corresponding to SAT-4 is not the target. This is because the Y coordinate of SAT-4 is 30, and the size of the sprite is 8 × 8. Then, the START SAT number is updated, but as shown in FIGS. 5 to 9, the NEXT SAT-INDEX corresponding to SAT-4 is SAT-end. That is, since there is no SAT to be referenced after SAT-4, the START SAT number is updated to SAT-end.

これにより、Y=39以降の水平走査線を描画する処理においては、START SAT番号がSAT−endとなっているので、表示対象のスプライトが無い。従って、SAT−RAM102内のSATを検索・参照するまでもなく、処理が終了される。この場合、START SAT番号が参照されるだけであるから、検索回数は0となる。   Thereby, in the process of drawing the horizontal scanning lines after Y = 39, since the START SAT number is SAT-end, there is no sprite to be displayed. Therefore, the process is terminated without searching for and referring to the SAT in the SAT-RAM 102. In this case, since only the START SAT number is referenced, the number of searches is zero.

図3〜9に示す例においては、SAT−RAM102に格納されたSATのうち、SAT−0〜4,6〜9の9個のみが、対応するスプライトの位置情報等を含んでおり、SAT−5及びSAT−10以降のSATは未使用であった。
ここで、SAT−RAM102において、SAT−0〜255の256個のSATが格納され、SAT−5及びSAT−10〜255が未使用となっている場合を考えると、上述のように、Y=39以降の水平走査線を描画する処理においては、検索回数は「0」となる。つまり、256個ものSATがSAT−RAM102に格納されていても、検索回数は111回のみとなる。
なお、未使用のSATは、並替処理部103によって並替処理が行われる際に無視されるため、SAT−RAM102における容量を消費するのみで、処理の負荷を増大させる要因としては殆ど無視できる。
In the example shown in FIGS. 3 to 9, only nine SATs 0 to 4 and 6 to 9 among the SATs stored in the SAT-RAM 102 include the position information of the corresponding sprites. SAT after 5 and SAT-10 were unused.
Here, in the case where 256 SATs of SAT-0 to 255 are stored in the SAT-RAM 102 and SAT-5 and SAT-10 to 255 are unused, as described above, Y = In the process of drawing horizontal scanning lines after 39, the number of searches is “0”. That is, even if 256 SATs are stored in the SAT-RAM 102, the number of searches is only 111 times.
Note that unused SAT is ignored when the reordering process is performed by the reordering unit 103. Therefore, only the capacity in the SAT-RAM 102 is consumed, and can be almost ignored as a factor that increases the processing load. .

ところで、上記の場合、すなわち、SAT−RAM102において、SAT−0〜255の256個のSATが格納され、SAT−5及びSAT−10〜255が未使用となっている場合において、従来の技術と同様に、SAT−RAM102内の全てのSATを検索するケースを想定する。このケースにおいて、例えば1画面中の水平走査線(垂直方向のラスター)の数が240であった場合、1画面を表示する処理においてSATを検索する回数は、下記式(1)に示す計算により、61440回と求められる。
256×240=61440回…(1)
By the way, in the above case, that is, in the case where 256 SATs of SAT-0 to 255 are stored in the SAT-RAM 102 and SAT-5 and SAT-10 to 255 are unused, Similarly, a case is assumed where all SATs in the SAT-RAM 102 are searched. In this case, for example, when the number of horizontal scanning lines (vertical rasters) in one screen is 240, the number of times of searching for SAT in the process of displaying one screen is calculated by the following equation (1). , 61440 times.
256 × 240 = 61440 times (1)

つまり、画像表示処理装置100においては、従来の技術によりSATを検索・参照する場合に比べ、SATを検索する回数が極めて少ない。これにより、スプライトを表示する際の処理の負荷を大幅に軽減し、処理速度を著しく高速化できる。   That is, in the image display processing apparatus 100, the number of times of searching for the SAT is extremely small compared to the case of searching and referring to the SAT by the conventional technique. As a result, the processing load when displaying sprites can be greatly reduced, and the processing speed can be significantly increased.

以上のように、本発明を適用した実施の形態における画像表示処理装置100によれば、SAT転送部101によってメインメモリ12からSAT−RAM102にSATを転送し、SAT−RAM102内のSATについて、並替処理部103によって並替処理を実行するので、スプライトを描画する処理においては、整列されたSATを順次参照すれば良い。従って、SAT−RAM102内のSATを必要か否かにかかわらず全て検索するといった場合に比べて、SATの検索回数・参照回数を必要最小限の回数まで減らすことができ、スプライトの描画に係る処理を非常に効率よく、高速に実行できる。   As described above, according to the image display processing apparatus 100 in the embodiment to which the present invention is applied, the SAT transfer unit 101 transfers the SAT from the main memory 12 to the SAT-RAM 102, and the SAT in the SAT-RAM 102 is parallel. Since the rearrangement processing is executed by the replacement processing unit 103, in the process of drawing the sprite, the aligned SATs may be referred to sequentially. Therefore, compared to the case where all the SATs in the SAT-RAM 102 are searched regardless of whether or not they are required, the number of SAT searches / references can be reduced to the minimum necessary number, and the processing related to the sprite drawing can be performed. Can be executed very efficiently and at high speed.

また、並替処理部103は、並替処理において、各SATに含まれるY座標に基づいてSATの順序を決定し、決定した順序に基づいてNEXT SAT-INDEX及びSTART SAT番号を更新し、SAT自体を並べ替える処理は行わない。NEXT SAT-INDEXは、次に参照されるべきSATを指定する情報であるから、SAT自体に比べて情報量が非常に少ない。このため、並替処理部103は、SATの順序を決定する並替処理を、少ない負荷で高速に実行できる。さらに、並替処理部103は、未使用のSATを無視して並替処理を実行するので、実質的に意味を持たないSATを参照するという無駄な処理を省くことができ、スプライトを描画する処理を極めて効率よく高速に実行できる。   Further, the rearrangement processing unit 103 determines the SAT order based on the Y coordinate included in each SAT in the rearrangement process, updates the NEXT SAT-INDEX and the START SAT number based on the determined order, The process of rearranging itself is not performed. Since NEXT SAT-INDEX is information specifying the SAT to be referred to next, the amount of information is very small compared to the SAT itself. For this reason, the rearrangement processing unit 103 can execute the rearrangement process for determining the SAT order at a high speed with a small load. Furthermore, the rearrangement processing unit 103 ignores unused SATs and executes rearrangement processing. Therefore, it is possible to omit a wasteful process of referring to a SAT that has no meaning and to draw a sprite. Processing can be executed extremely efficiently and at high speed.

そして、スプライトを描画する場合には、START SAT番号及びNEXT SAT-INDEXに従ってSAT−RAM102内のSATを参照することにより、各SATが対応するスプライトが表示対象であるか否かを速やかに判定することが可能となる。
また、SATを参照する際に、あるSATが対象外のSATであると判定された場合に、当該SATを以降の処理で参照しないようSTART SAT番号が更新されるので、無駄な処理を省き、処理効率の向上及び高速化を図ることができる。
When drawing a sprite, the SAT in the SAT-RAM 102 is referred to according to the START SAT number and the NEXT SAT-INDEX to quickly determine whether the sprite corresponding to each SAT is a display target. It becomes possible.
Also, when referring to the SAT, if it is determined that a certain SAT is a non-target SAT, the START SAT number is updated so that the SAT is not referred to in the subsequent processing, so unnecessary processing is omitted, The processing efficiency can be improved and the speed can be increased.

なお、上記実施の形態においては、メインメモリ12及びSAT−RAM102に格納される各SATは、各々1のスプライトに対応するものとして説明したが、本発明はこれに限定されるものではなく、1つのスプライトを画面上における複数箇所に表示する場合等、1のスプライトに対して複数のSATを対応させる場合もあり、そのような場合においても、上記実施の形態と同様に、本発明を適用することが可能である。
また、上記実施の形態において、並替処理部103が実行する演算処理は、上述したバブルソート、シェルソート、ヒープソート、マージソート、及びクイックソートの整列アルゴリズムに従うものに限定されず、その他の演算処理を用いることも勿論可能である。
また、上記実施の形態においては、ある水平走査線に表示するスプライトを特定するため、SAT−RAM102内の各SATに含まれるY座標およびスプライトのサイズに基づいて、当該SATに対応するスプライトが表示対象であるか否かを判定する場合について説明したが、本発明はこれに限定されるものではなく、例えば、SATに含まれるY座標と、スプライトのサイズと、スプライトの形状を示す情報とに基づいて上記判定を行うことも可能であり、また、SATのX座標に基づいて上記判定を行うことも可能である。
さらに、画像表示装置1の具体的な実装方法については任意であり、画像表示処理装置100を構成する各機能部を各々別個に実現しても良いし、複数の機能部を1のハードウェアにより実現しても良く、専用のハードウェアによって実現するか、ハードウェアとソフトウェアとの協働により実現するかについても任意に変更可能である。その他の具体的な細部構成についても、適宜変更可能であることは勿論である。
In the above embodiment, each SAT stored in the main memory 12 and the SAT-RAM 102 has been described as corresponding to one sprite. However, the present invention is not limited to this. When one sprite is displayed at a plurality of locations on the screen, a plurality of SATs may be associated with one sprite. In such a case, the present invention is applied as in the above embodiment. It is possible.
In the above embodiment, the arithmetic processing executed by the rearrangement processing unit 103 is not limited to those according to the above-described bubble sort, shell sort, heap sort, merge sort, and quick sort alignment algorithms. Of course, it is also possible to use.
Further, in the above embodiment, in order to specify a sprite to be displayed on a certain horizontal scanning line, the sprite corresponding to the SAT is displayed based on the Y coordinate included in each SAT in the SAT-RAM 102 and the size of the sprite. Although the case where it is determined whether or not it is a target has been described, the present invention is not limited to this. For example, the Y coordinate included in the SAT, the size of the sprite, and information indicating the shape of the sprite are included. It is also possible to make the above determination based on this, and it is also possible to make the above determination based on the SAT X coordinate.
Furthermore, the specific mounting method of the image display device 1 is arbitrary, and each functional unit constituting the image display processing device 100 may be realized separately, or a plurality of functional units may be implemented by one piece of hardware. It may be realized, and it can be arbitrarily changed whether it is realized by dedicated hardware or by cooperation of hardware and software. Of course, other specific details can be changed as appropriate.

本発明の実施の形態における画像表示装置1の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the image display apparatus 1 in embodiment of this invention. 図1に示す画像表示処理装置100の動作を示すフローチャートである。3 is a flowchart showing an operation of the image display processing device 100 shown in FIG. 1. 図2のステップS12において、メインメモリ12に格納されたSATをSAT−RAM102に転送する処理を詳細に示す図である。FIG. 3 is a diagram showing in detail a process of transferring the SAT stored in the main memory 12 to the SAT-RAM 102 in step S12 of FIG. 図2のステップS13において、SAT−RAM102に格納されたSATを並べ替える並替処理を詳細に示す図である。It is a figure which shows in detail the rearrangement process which rearranges SAT stored in SAT-RAM102 in step S13 of FIG. 図2のステップS19における処理を詳細に示す図である。It is a figure which shows the process in step S19 of FIG. 2 in detail. 図2のステップS19における処理を詳細に示す図である。It is a figure which shows the process in step S19 of FIG. 2 in detail. 図2のステップS19における処理を詳細に示す図である。It is a figure which shows the process in step S19 of FIG. 2 in detail. 図2のステップS19における処理を詳細に示す図である。It is a figure which shows the process in step S19 of FIG. 2 in detail. 図2のステップS19における処理を詳細に示す図である。It is a figure which shows the process in step S19 of FIG. 2 in detail. 図2のステップS19の処理におけるSATの検索回数を示す図表である。3 is a chart showing the number of SAT searches in the process of step S19 of FIG.

符号の説明Explanation of symbols

1 画像表示装置
11 CPU
12 メインメモリ
13 バスI/F
14 シーケンス制御部
15 表示装置
100 画像表示処理装置
101 SAT転送部
102 SAT−RAM
103 並替処理部
104 スプライト制御部
105 背景制御部
106 色彩加工描画制御部
107,108 ラインバッファ
109 ビデオ出力部
1 Image display device 11 CPU
12 Main memory 13 Bus I / F
14 Sequence Control Unit 15 Display Device 100 Image Display Processing Device 101 SAT Transfer Unit 102 SAT-RAM
103 rearrangement processing unit 104 sprite control unit 105 background control unit 106 color processing drawing control unit 107, 108 line buffer 109 video output unit

Claims (5)

スプライトの表示位置を示す位置情報を含むスプライト属性情報を複数格納する属性情報格納部と、
前記属性情報格納部に格納された複数のスプライト属性情報について、各スプライト属性情報に含まれる位置情報に基づいて参照順序を決定する整列処理手段とを備え、
前記属性情報格納部に格納されたスプライト属性情報を、前記整列処理手段により決定された参照順序に従って参照することにより、スプライトを描画すること、
を特徴とする画像表示処理装置。
An attribute information storage unit for storing a plurality of sprite attribute information including position information indicating a display position of the sprite;
For a plurality of sprite attribute information stored in the attribute information storage unit, an alignment processing unit that determines a reference order based on position information included in each sprite attribute information,
Drawing the sprite by referring to the sprite attribute information stored in the attribute information storage unit according to the reference order determined by the alignment processing means;
An image display processing device characterized by the above.
前記属性情報格納部には、複数の前記スプライト属性情報と、各スプライト属性情報の次に参照されるべきスプライト属性情報を指定するインデックス情報とが対応づけて格納され、
前記整列処理手段は、前記属性情報格納部に格納されたスプライト属性情報の参照順序を決定し、決定した参照順序に基づいて前記インデックス情報を設定または更新すること、
を特徴とする請求項1記載の画像表示処理装置。
In the attribute information storage unit, a plurality of the sprite attribute information and index information specifying sprite attribute information to be referred to next to each sprite attribute information are stored in association with each other.
The alignment processing means determines a reference order of the sprite attribute information stored in the attribute information storage unit, and sets or updates the index information based on the determined reference order;
The image display processing device according to claim 1.
前記整列処理手段は、前記属性情報格納部に格納されたスプライト属性情報のうち、前記位置情報を含むスプライト属性情報についてのみ参照順序を決定し、決定した参照順序において末尾に位置するスプライト属性情報に対応する前記インデックス情報を、次に参照されるべきスプライト属性情報が存在しないことを示す内容に設定すること、を特徴とする請求項2記載の画像表示処理装置。   The alignment processing unit determines a reference order only for the sprite attribute information including the position information among the sprite attribute information stored in the attribute information storage unit, and sets the sprite attribute information positioned at the end in the determined reference order. 3. The image display processing apparatus according to claim 2, wherein the corresponding index information is set to content indicating that there is no sprite attribute information to be referred to next. 前記属性情報格納部には、複数の前記スプライト属性情報を参照する際に最初に参照すべきスプライト属性情報を指定する開始スプライト情報が格納され、
前記整列処理手段は、前記属性情報格納部に格納された複数のスプライト属性情報について参照順序を決定した際に、前記開始スプライト情報を、決定した参照順序において先頭に位置するスプライトを示すよう設定し、
スプライトを描画する処理において、参照する必要のないスプライト属性情報が検出された場合には、当該スプライト属性情報を以後の処理において参照しないよう前記開始スプライト情報を更新すること、
を特徴とする請求項1から3のいずれかに記載の画像表示処理装置。
The attribute information storage unit stores start sprite information that specifies sprite attribute information to be referred to first when referring to the plurality of sprite attribute information,
The alignment processing means sets the start sprite information to indicate the first sprite in the determined reference order when the reference order is determined for the plurality of sprite attribute information stored in the attribute information storage unit. ,
In the process of drawing a sprite, when sprite attribute information that does not need to be referred to is detected, updating the start sprite information so that the sprite attribute information is not referred to in subsequent processes;
The image display processing device according to claim 1, wherein:
スプライトの表示位置を示す位置情報を含むスプライト属性情報を属性情報格納部に複数格納し、
前記属性情報格納部に格納された複数のスプライト属性情報について、各スプライト属性情報に含まれる位置情報に基づいて参照順序を決定し、
前記属性情報格納部に格納されたスプライト属性情報を、決定された前記参照順序に従って参照することにより、スプライトを描画すること、
を特徴とする画像表示処理方法。
A plurality of sprite attribute information including position information indicating the display position of the sprite is stored in the attribute information storage unit,
For a plurality of sprite attribute information stored in the attribute information storage unit, determine a reference order based on position information included in each sprite attribute information,
Drawing sprites by referring to the sprite attribute information stored in the attribute information storage unit according to the determined reference order;
An image display processing method characterized by the above.
JP2004117897A 2004-04-13 2004-04-13 Device and method for image processing Pending JP2005300974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004117897A JP2005300974A (en) 2004-04-13 2004-04-13 Device and method for image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004117897A JP2005300974A (en) 2004-04-13 2004-04-13 Device and method for image processing

Publications (1)

Publication Number Publication Date
JP2005300974A true JP2005300974A (en) 2005-10-27

Family

ID=35332573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004117897A Pending JP2005300974A (en) 2004-04-13 2004-04-13 Device and method for image processing

Country Status (1)

Country Link
JP (1) JP2005300974A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014039885A (en) * 2013-12-03 2014-03-06 Fujishoji Co Ltd Game machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014039885A (en) * 2013-12-03 2014-03-06 Fujishoji Co Ltd Game machine

Similar Documents

Publication Publication Date Title
US7928990B2 (en) Graphics processing unit with unified vertex cache and shader register file
JPH11167378A (en) Method of scaling image
US20060277437A1 (en) Command execution controlling apparatus, command execution instructing apparatus and command execution controlling method
US6900813B1 (en) Method and apparatus for improved graphics rendering performance
JPH09282470A (en) Graphic processing system
JP2013186624A (en) Image processor and operation method for image processor
US6911985B1 (en) Method and apparatus for reducing frame buffer size in graphics systems
JP5318202B2 (en) Image generating apparatus, image generating method, and integrated circuit
JP2978519B2 (en) Document data display method and system
US7266643B2 (en) Information processing device
CN1236401C (en) Data processing system and method, computer program, and recorded medium
CN110209447A (en) A kind of list page data display method and list page data presentation device
TWI474280B (en) System and method for improving throughput of a graphics processing unit
JP2005300974A (en) Device and method for image processing
JP3786017B2 (en) Display device and display device cache control method
JP4690723B2 (en) Image data processing method and apparatus using image fragment and circular addressing arrangement
US20100182331A1 (en) Method and apparatus for drawing image
JP2003131651A (en) Display device and buffer control method for the same
CN101996390B (en) Image copying method and device
US20200250790A1 (en) Graphics processing method and related apparatus, and device
CN115049529A (en) Image gradient determination method, device, equipment and storage medium
JPS6384259A (en) Picture retrieving device
JPH10171766A (en) Graphic accelerator
JP2001331303A (en) Plotting processor, its method and storage medium with stored plotting processing program
JP3826942B2 (en) Image transfer using drawing command hook