JP2000032334A - Image processing apparatus and information recording medium - Google Patents
Image processing apparatus and information recording mediumInfo
- Publication number
- JP2000032334A JP2000032334A JP10196215A JP19621598A JP2000032334A JP 2000032334 A JP2000032334 A JP 2000032334A JP 10196215 A JP10196215 A JP 10196215A JP 19621598 A JP19621598 A JP 19621598A JP 2000032334 A JP2000032334 A JP 2000032334A
- Authority
- JP
- Japan
- Prior art keywords
- image
- processing
- overwriting
- data
- display
- 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.)
- Withdrawn
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
- Processing Or Creating Images (AREA)
- Studio Circuits (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
(57)【要約】
【課題】上書き処理を行う際のCPU等の負荷を減少さ
せること。また、マスク処理を効率的に行うこと。さら
に、回路構成を複雑にせず、しかも高価格化しないよう
にして塗りつぶし処理をすること。
【解決手段】この画像処理装置では、画像表示処理を行
う表示処理手段によって、複数の画像を重ね合わせて表
示用データを生成している。そして、所定ブロック毎に
上書きが必要か否かの検出を行う上書き検出部71を設
け、上書きが不要なときは、上書き処理を行わず次のブ
ロックの処理を行うようにしたり、マスク領域を設定す
るマスク設定手段を設け、マスク領域を、所定のマスク
パターンをタイルのように複数繰り返して敷き詰めて形
成している。また、張りつけモードに加え、特定領域を
色レジスタ78内の所定の単色で塗りつぶす塗りつぶし
モードを、張りつけモードの処理を行う回路と同一の回
路によって行うようにしている
(57) [Summary] [PROBLEMS] To reduce the load on a CPU or the like when performing overwrite processing. In addition, efficient mask processing is required. Furthermore, the filling process must be performed without complicating the circuit configuration and increasing the price. In this image processing device, display data is generated by superimposing a plurality of images by a display processing unit that performs an image display process. Then, an overwrite detection unit 71 for detecting whether or not overwriting is necessary for each predetermined block is provided. When overwriting is unnecessary, processing of the next block is performed without performing overwriting processing, or a mask area is set. The mask area is formed by repeatedly arranging a plurality of predetermined mask patterns like tiles. Further, in addition to the pasting mode, a painting mode in which a specific area is painted with a predetermined single color in the color register 78 is performed by the same circuit as the circuit that performs the pasting mode processing.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、スプライトまたは
キャストと呼ばれる画像をシナリオに沿って動作させる
アニメーションに使用して好適な画像処理装置および情
報記録媒体に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and an information recording medium suitable for use in an animation called sprite or cast in accordance with a scenario.
【0002】[0002]
【従来の技術】従来、アニメーションを表示させる方法
としては、フレームベースのアニメーションとスプライ
トベースのアニメーションとが存在している。フレーム
ベースのアニメーションは、いわゆる紙芝居のように一
枚一枚の絵を順に表示していくものであり、一枚一枚の
絵の作成に手間がかかるものの表示させる際は、フレー
ムを順番に表示するだけであり、再生時の負荷は軽いも
のとなっている。2. Description of the Related Art Conventionally, as a method of displaying an animation, there are a frame-based animation and a sprite-based animation. Frame-based animation is a method of displaying pictures one by one like a so-called picture-story show. When creating each picture takes time and effort, the frames are displayed in order. And the load during playback is light.
【0003】一方、スプライトベースのアニメーション
は、一枚の絵(フレーム)を複数のスプライト(キャス
ト)、例えば、主人公キャラクタ、雲、自動車などの動
く出演者に分け、各スプライトを所定のシナリオに沿っ
て動作させるものである。このスプライトベースのアニ
メーションは、各フレームを作成するのが簡単となると
共に複数のフレーム画像がスプライトを共有するため全
体的にメモリサイズが小さくなるメリットがあり、最近
では多くのアニメーションに採用されている。しかし、
このスプライトベースのアニメーションは、再生時に各
スプライトをシナリオに沿って動かす必要があり、描画
処理およびスプライトの組み合わせ処理を実行する中央
演算処理装置(以下CPUという)に多大な負荷がかか
るものとなっている。[0003] On the other hand, in sprite-based animation, one picture (frame) is divided into a plurality of sprites (casts), for example, a moving character such as a hero character, a cloud, and a car, and each sprite is divided according to a predetermined scenario. To operate. This sprite-based animation has the advantage of simplifying the creation of each frame and reducing the overall memory size because multiple frame images share a sprite, and has recently been adopted for many animations. . But,
In the sprite-based animation, it is necessary to move each sprite according to a scenario at the time of reproduction, and a heavy load is imposed on a central processing unit (hereinafter referred to as a CPU) that executes a drawing process and a sprite combination process. I have.
【0004】また、従来のスプライトベースのアニメー
ションでは、描画画像の一部にマスクをかけて表示しな
いようにしたマスク処理と呼ばれるものが知られてい
る。さらに、下絵にスプライトを張りつけるための上書
き処理を行う際、そのスプライトの一部を透明にし、下
絵をそのまま表示させる透明色処理を行うものも知られ
ている。また、下絵とスプライトの両者の色を所定の比
率でブレンドするブレンド処理も知られている。さらに
は、画面の初期化等において、所定の領域を任意の色で
塗りつぶす塗りつぶし処理も知られている。[0004] In a conventional sprite-based animation, a so-called mask process in which a part of a drawn image is masked so as not to be displayed is known. Further, when performing an overwriting process for attaching a sprite to a sketch, there is also known a device that performs a transparent color process for making a part of the sprite transparent and displaying the sketch as it is. Also known is a blending process for blending the colors of both the sketch and the sprite at a predetermined ratio. Further, there is also known a filling process for filling a predetermined area with an arbitrary color at the time of initializing a screen or the like.
【0005】これらのマスク処理、透明色処理、ブレン
ド処理および塗りつぶし処理は、他の処理、例えば、拡
大・縮小処理と共に行われることが多い。また、これら
の各処理は、CPUに多大な負荷がかかり、処理速度が
遅くなりがちとなる。なお、上書き処理は、このような
処理の基本となっており、この処理にもっと多くの時間
を要している。[0005] These mask processing, transparent color processing, blending processing and filling processing are often performed together with other processing such as enlargement / reduction processing. Further, each of these processes imposes a heavy load on the CPU, and the processing speed tends to be slow. The overwriting process is the basis of such a process, and this process requires more time.
【0006】一方、上書きや透明色関連の技術として、
特開平4−190465のように、透明が定義されたマ
スクパターンを重ねる際の演算等を工夫して、描画プロ
グラムを簡略化し、描画速度を速くする技術が知られて
いる。さらに、CPUパワーに負荷をかけずに高速処理
する画像処理装置として、特開平8−63609号公報
の技術が知られている。この技術は所定のパターンで塗
りつぶして形成された図形を、下絵が格納されている記
憶装置の所定の画素位置に上書きするようにしたもので
ある。On the other hand, as overwriting and transparent color related technologies,
As disclosed in Japanese Patent Laid-Open No. 190465/1992, there is known a technique for simplifying a drawing program and increasing a drawing speed by devising a calculation or the like when overlapping a mask pattern with transparency defined. Further, as an image processing apparatus that performs high-speed processing without imposing a load on CPU power, a technique disclosed in Japanese Patent Application Laid-Open No. 8-63609 is known. In this technique, a figure formed by painting in a predetermined pattern is overwritten on a predetermined pixel position of a storage device in which a sketch is stored.
【0007】[0007]
【発明が解決しようとする課題】従来のスプライトベー
スのアニメーションを再生する画像処理装置は、画像処
理の際の負荷に対しては、CPUパワーや搭載メモリを
多くすることによって対応したり、特開平8−6360
9号公報の技術のように上書き方式によって対応してい
る。しかしながら、CPUパワーの増大によって対処さ
せる場合、アニメーションが極めて複雑、例えば、立体
画像になったり、各種の複雑な処理をさせると、非常に
高価なCPUや高容量のメモリが必要となり、装置が極
めて高価となってしまう。また、特開平8−63609
号公報の技術のみでは、各種の複雑な処理への高速対応
が困難となる。A conventional image processing apparatus for playing back sprite-based animations can cope with the load of image processing by increasing the CPU power and the mounted memory. 8-6360
This is supported by an overwriting method as in the technology of Japanese Patent Application Laid-Open No. 9-90. However, when coping with an increase in CPU power, the animation becomes extremely complicated, for example, when a three-dimensional image is formed, or when various complicated processes are performed, a very expensive CPU or a high-capacity memory is required, and the device becomes extremely difficult. It will be expensive. Also, JP-A-8-63609
It is difficult to cope with various complicated processes at high speed only by using the technology disclosed in Japanese Patent Application Laid-Open Publication No. H11-163,036.
【0008】一方、最近では、ネットワークディスプレ
イと呼ばれる製品のように、携帯性を有し、いわゆる素
人が扱う表示装置がコンビニエンスストア等に採用され
始めている。この種の、操作が簡単で、多くの人が利用
する携帯性のある装置では、その価格を抑えることが要
求される。一方、価格は抑えられるものの、その表示速
度は通常と同様またはより速くすることが要求される。On the other hand, recently, display devices which are portable and are handled by so-called amateurs, such as products called network displays, have begun to be adopted in convenience stores and the like. This kind of portable device which is easy to operate and is used by many people is required to keep its price down. On the other hand, although the price is kept low, the display speed is required to be equal to or higher than usual.
【0009】なお、従来のスプライトベースのアニメシ
ョンの上書き処理では、スプライトやフレームの一部の
みが上書き処理が必要なときでも、画像全体を上書き処
理し、必要な部分をVRAMへ転送している。このた
め、画像全体として1,000×1,000ドットの場
合において、上書き処理に必要な部分が10×10ドッ
トの時でも、1,000×1,000ドットの画像部分
について上書き処理している。このため、CPUに負荷
のかかる上書き処理が一層重いものとなっている。In the conventional sprite-based animation overwriting process, even when only a part of a sprite or a frame requires overwriting, the entire image is overwritten and the necessary part is transferred to the VRAM. . For this reason, in the case where the entire image is 1,000 × 1,000 dots, even when the portion required for the overwriting process is 10 × 10 dots, the image portion of 1,000 × 1,000 dots is overwritten. . For this reason, the overwriting process that places a load on the CPU becomes even heavier.
【0010】本発明は、以上のような問題点を解決する
ためになされたものであり、上書き処理を行う際のCP
U等の負荷を減少させ得る画像処理装置およびコンピュ
ータ読み取り可能な情報記録媒体を提供することを目的
とする。また、他の発明は、マスク処理を効率的に行い
得る画像処理装置および情報記録媒体を提供することを
目的とする。さらに他の発明は、塗りつぶし処理を行う
に当たり、回路構成を複雑にせず、しかも高価格化しな
いようにできる画像処理装置およびコンピュータ読み取
り可能な情報記録媒体を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and has been made in consideration of a CP in performing an overwriting process.
It is an object of the present invention to provide an image processing apparatus and a computer-readable information recording medium capable of reducing the load on U and the like. Another object of the present invention is to provide an image processing apparatus and an information recording medium that can efficiently perform a mask process. Still another object of the present invention is to provide an image processing apparatus and a computer-readable information recording medium that can prevent the circuit configuration from becoming complicated and expensive when performing the filling process.
【0011】[0011]
【課題を解決するための手段】かかる目的を達成するた
め、請求項1記載の画像処理装置では、画像表示処理を
行う表示処理手段によって、複数の画像を重ね合わせて
表示用データを生成する画像処理装置において、所定ブ
ロック毎に上書きが必要か否かの検出を行う上書き要否
判断部を設け、上書きが不要なときは、上書き処理を行
わず次のブロックの処理を行うようにしている。In order to achieve the above object, in the image processing apparatus according to the first aspect of the present invention, a display processing means for performing an image display process is used to superimpose a plurality of images to generate display data. The processing device is provided with an overwriting necessity determination unit for detecting whether or not overwriting is necessary for each predetermined block, and when overwriting is unnecessary, processing of the next block is performed without performing overwriting processing.
【0012】このように、すべての部分を上書き処理を
せず、上書きが必要な所定ブロックのみ当該処理を行う
ようにしているので、CPU等の負荷が小さくなり、高
速描画が可能となる。なお、上書の変形であるブレンド
処理に関しても、同様な考えを適用することができる。As described above, since the entire block is not overwritten and only the predetermined block which needs overwriting is processed, the load on the CPU and the like is reduced, and high-speed drawing can be performed. Note that the same idea can be applied to the blending process which is a modification of the above description.
【0013】また、請求項2記載の発明では、請求項1
記載の画像処理装置において、上書き要否判断部は、上
書きの要否を検出する上書き検出部と、その検出された
信号を所定量保存する上書き制御バッファと、処理画素
数を検出する処理画素数検出部と、上書き不要部分にバ
イトマスク信号を与えるライトマスク検出部とを有して
いる。Further, according to the invention described in claim 2, according to claim 1,
In the image processing apparatus described above, the overwriting necessity determining unit includes an overwriting detecting unit that detects the necessity of overwriting, an overwriting control buffer that stores a predetermined amount of the detected signal, and a processing pixel number that detects the number of processing pixels. It has a detection unit and a write mask detection unit that supplies a byte mask signal to an overwriting unnecessary portion.
【0014】このように、上書きとなる信号を検出し、
上書き不要部分にバイトマスク信号を与えているので、
上書きやブレンド処理を行うに際し、上書き不要部分は
確実に検出され、上書きやブレンド処理がなされないよ
うになる。As described above, a signal to be overwritten is detected,
Since the byte mask signal is given to the overwriting unnecessary part,
When performing the overwriting or blending process, the unnecessary portion is reliably detected, so that the overwriting or blending process is not performed.
【0015】さらに、請求項3記載の発明では、請求項
2記載の画像処理装置において、上書き制御バッファ
は、16画素分保存できる容量とし、この16画素を単
位として、次の処理部に転送するようにしている。According to a third aspect of the present invention, in the image processing apparatus according to the second aspect, the overwriting control buffer has a capacity capable of storing 16 pixels, and transfers the 16-pixel unit to the next processing unit. Like that.
【0016】このように、上書き制御バッファを16画
素分としているので、メモリ容量が大きくならず、しか
も、効率的なメモリアクセスが可能となる。なお、ホス
トやローカルのメモリの処理単位を32ビット(=1ワ
ード)とすると、1画素16ビットの場合、8ワード分
となり、8ワード転送が実現される。As described above, since the overwrite control buffer is provided for 16 pixels, the memory capacity does not increase, and the memory can be accessed efficiently. If the processing unit of the host or the local memory is 32 bits (= 1 word), in the case of 16 bits per pixel, it is equivalent to 8 words, and 8-word transfer is realized.
【0017】加えて、請求項4記載の発明では、請求項
1、2または3記載の画像処理装置において、上書き要
否判断部は、8画素を1つのブロックとして上書き要否
の判断を行うようにしている。In addition, in the invention according to claim 4, in the image processing apparatus according to claim 1, 2, or 3, the overwriting necessity judging section judges the necessity of overwriting with eight pixels as one block. I have to.
【0018】上書き要否の判断を、8画素を単位として
行っているので、上書きやブレンド処理をしないことと
なるスキップ処理が効率よく行われる。なお、この値を
大きくしすぎると、ほとんどスキップ処理がなされなく
なり、従来のものと同様な効率となってしまう。一方、
小さな値とすると、バックグランドイメージのデータを
取り込む回数が増加し、処理速度が落ちてしまうことと
なる。Since the necessity of overwriting is determined in units of eight pixels, skip processing that does not perform overwriting or blending processing is performed efficiently. If this value is set too large, skip processing is hardly performed, and the efficiency is the same as that of the related art. on the other hand,
If the value is set to a small value, the number of times of capturing the background image data increases, and the processing speed decreases.
【0019】また、請求項5記載の発明では、請求項
1、2、3または4記載の画像処理装置において、所定
ブロックの中の画素の1つでも上書き必要な場合は、そ
のブロック全体として上書き処理を行い、所定のブロッ
ク中のすべての画素について上書き不要なときは、上書
き処理を行わないようにしている。According to a fifth aspect of the present invention, in the image processing apparatus of the first, second, third or fourth aspect, if even one of the pixels in a predetermined block needs to be overwritten, the entire block is overwritten. When the processing is performed and all pixels in a predetermined block do not need to be overwritten, the overwriting processing is not performed.
【0020】このように、上書き要否の判断に当たっ
て、所定ブロック中の画素の1つでも上書きが必要なと
きは、上書き処理をするので、上書きが必要な部分に確
実に上書きがなされる。As described above, when it is determined whether or not overwriting is necessary, even if at least one of the pixels in the predetermined block needs to be overwritten, the overwriting process is performed, so that the portion requiring overwriting is reliably overwritten.
【0021】さらに、請求項6記載の発明では、画像表
示処理を行う表示処理手段によって所定の画像を処理
し、表示用データを生成する画像処理装置において、表
示部に表示するための画像にマスクを分けるマスク領域
を設定するマスク設定手段を設け、マスク領域を、所定
のマスクパターンをタイルのように複数繰り返して敷き
詰めて形成している。Further, according to the present invention, in an image processing apparatus for processing a predetermined image by a display processing means for performing image display processing and generating display data, an image to be displayed on a display unit is masked. A mask setting means for setting a mask region for dividing the mask is provided, and the mask region is formed by repeatedly laying a plurality of predetermined mask patterns like tiles.
【0022】このように、画像をマスクするためのマス
ク領域を、小単位のマスクパターンを利用して設定して
いるので、マスク設定が効率的に行える。しかも、マス
クパターンを多数用意してもメモリ容量は大きくならな
い。このため、多数のマスクパターンを用意でき、画像
表示の選択範囲を広げることができる。As described above, since the mask area for masking the image is set by using the small unit mask pattern, the mask setting can be performed efficiently. Moreover, even if a large number of mask patterns are prepared, the memory capacity does not increase. For this reason, many mask patterns can be prepared, and the selection range of image display can be expanded.
【0023】また、請求項7記載の発明では、画像表示
処理を行う表示処理手段によって複数の画像を重ね合わ
せて表示用データを生成する画像処理装置において、画
像形成用スプライトを所定領域に張りつける張りつけモ
ードに加え、特定領域を所定の単色で塗りつぶす塗りつ
ぶしモードを、張りつけモードの処理を行う回路と同一
の回路によって行うようにしている。According to a seventh aspect of the present invention, there is provided an image processing apparatus for generating display data by superimposing a plurality of images by a display processing means for performing an image display process. In addition to the mode, a painting mode for painting a specific area with a predetermined single color is performed by the same circuit as the circuit that performs the sticking mode processing.
【0024】ブレンド処理や上書き処理は、画像形成用
スプライトを所定領域に張りつける張り付けモードで行
われる。一方、画面の初期化時や直線の描画処理等に
は、所定の領域を塗りつぶす塗りつぶしモードが採用さ
れる。この2種類のモードを同一の回路によって実行で
きるので、回路の低コスト化が可能になると共に装置の
小型化が可能となる。The blending process and the overwriting process are performed in a pasting mode in which an image forming sprite is pasted on a predetermined area. On the other hand, at the time of initializing the screen, drawing a straight line, and the like, a filling mode for filling a predetermined area is employed. Since these two modes can be executed by the same circuit, the cost of the circuit can be reduced and the device can be downsized.
【0025】さらに、請求項8記載の発明では、請求項
7記載の画像処理装置において、張りつけモードでは、
上書き処理と、ブレンド処理と、透明色処理とを少なく
とも行うようにしている。このように、画像処理に際
し、最も基本的な処理を少なくとも行うようにしている
ので、画像の見映えが十分なものとなる。Further, according to the invention of claim 8, in the image processing apparatus of claim 7, in the sticking mode,
At least an overwriting process, a blending process, and a transparent color process are performed. As described above, at least the most basic processing is performed at the time of image processing, so that the appearance of the image is sufficient.
【0026】加えて、請求項9記載の発明では、請求項
7または8記載の画像処理装置において、特定領域を矩
形領域としている。このように、塗りつぶしの領域を矩
形領域としたので、塗りつぶし作業が効率的に行われ
る。In addition, in the ninth aspect of the present invention, in the image processing apparatus of the seventh or eighth aspect, the specific area is a rectangular area. As described above, since the area to be painted is a rectangular area, the painting operation is performed efficiently.
【0027】さらに、請求項10記載の発明では、請求
項7、8または9記載の画像処理装置において、各画像
を自然画像としている。扱う画像が画自然画像となるた
め、張りつけモードも塗りつぶしモードも共にきれいな
画像となる。また、扱う画像が大サイズとなる自然画像
のため、同一回路使用による両モード実行の効果が一層
顕著となる。Further, in the invention according to claim 10, in the image processing apparatus according to claim 7, 8, or 9, each image is a natural image. Since the image to be handled is a natural image, both the pasting mode and the filling mode are beautiful images. Further, since the image to be handled is a natural image having a large size, the effect of executing both modes by using the same circuit becomes more remarkable.
【0028】また、請求項11記載の情報記録媒体で
は、所定ブロック毎に上書きが必要か否かの検出を行う
上書き判断ステップと、上書きが不要なときは上書き処
理を行わず、次のブロックの処理を行うステップと、表
示処理手段によって各ブロック毎の画像を処理し表示用
データを生成するステップとを実行するためのプログラ
ムを記録している。In the information recording medium according to the eleventh aspect, an overwrite judging step for detecting whether or not overwriting is necessary for each predetermined block; A program for executing a step of performing processing and a step of processing an image for each block by a display processing unit and generating display data is recorded.
【0029】この情報記録媒体のプログラムをコンピュ
ータで読み取り実行させると、すべての部分を上書き処
理せず、上書き処理が必要な所定ブロックのみ当該処理
を行うようになる。このため、CPU等への負荷が小さ
くなり、高速描画が可能となる。When the computer reads and executes the program on the information recording medium, all parts are not overwritten, and the processing is performed only on predetermined blocks that require overwriting. Therefore, the load on the CPU and the like is reduced, and high-speed drawing can be performed.
【0030】さらに、請求項12記載の情報記録媒体で
は、表示部に表示するための画像にマスクをかけるマス
ク領域を設定するステップと、マスク領域を、所定マス
クパターンをタイルのように複数繰り返して敷き詰めて
形成するステップと、表示処理手段によってマスク領域
を含む画像を処理し、表示用データを生成するステップ
とを実行するためのプログラムを記録している。Further, in the information recording medium according to the present invention, the step of setting a mask area for masking an image to be displayed on the display unit and the step of repeating the mask area by repeating a predetermined mask pattern like a tile. A program is recorded for executing the steps of laying out and forming, and processing the image including the mask area by the display processing means and generating display data.
【0031】この情報記録媒体のプログラムをコンピュ
ータで読み取り実行させると、画像のためのマスク領域
を小単位のマスクパターンを利用して設定することとな
る。この結果、マスク設定が効率的に行える。しかも、
マスクパターンを多数用意しても、プログラム容量は大
きくならない。このため、多数のマスクパターンを用意
でき、画像表示の選択範囲を広げることができる。When the program on the information recording medium is read and executed by a computer, a mask area for an image is set using a small unit mask pattern. As a result, mask setting can be performed efficiently. Moreover,
Even if a large number of mask patterns are prepared, the program capacity does not increase. For this reason, many mask patterns can be prepared, and the selection range of image display can be expanded.
【0032】加えて、請求項13記載の情報記録媒体で
は、画像形成用スプライトを所定領域に張りつけるモー
ドと、特定領域を所定の単色で塗りつぶすモードとを二
者択一的に選択できるステップと、表示処理手段によっ
て選択されたモードで画像を処理し表示用データを生成
するステップとを実行するためのプログラムを記録して
いる。In addition, in the information recording medium according to the thirteenth aspect, a step of alternatively selecting a mode in which an image forming sprite is pasted on a predetermined area and a mode in which a specific area is painted with a predetermined single color; Processing the image in the mode selected by the display processing means and generating display data.
【0033】この情報記録媒体のプログラムをコンピュ
ータで読み取り実行させると、ブレンド処理や上書き処
理等は、画像形成用スプライトを所定領域に張りつける
張り付けモードで行われる。一方、画面の初期化時や直
線等の描画処理等には、所定の領域を塗りつぶす塗りつ
ぶしモードが採用される。この2種類のモードが同一の
プログラムによって行うことができるので、プログラム
を動作させる回路を低コスト化ができると共に装置の小
型化が可能となる。When the computer reads and executes the program on the information recording medium, the blending process, the overwriting process, and the like are performed in a pasting mode in which an image forming sprite is pasted to a predetermined area. On the other hand, at the time of initializing the screen or drawing processing of a straight line or the like, a filling mode for filling a predetermined area is employed. Since these two modes can be performed by the same program, the cost of the circuit for operating the program can be reduced and the size of the device can be reduced.
【0034】[0034]
【発明の実施の形態】以下、本発明の実施の形態の例を
図1から図21に基づき説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS.
【0035】この実施の形態の画像処理装置は、ローカ
ルエリアネットワークであるLAN3を介してネットワ
ークとなるインターネット2に接続されるネットワーク
ディスプレイ1に組み込まれるものとなっている。この
ネットワークディスプレイ1は、LAN3、外部への接
続のためのホストとなるパーソナルコンピュータ(以下
パソコンという)4、デジタル公衆回線網であるISD
N5、プロバイダのホストコンピュータ(以下WWWサ
ーバという)6を介してインターネット2と接続され
る。The image processing apparatus according to the present embodiment is incorporated in a network display 1 connected to the Internet 2 serving as a network via a LAN 3 serving as a local area network. The network display 1 includes a LAN 3, a personal computer (hereinafter referred to as a personal computer) 4 serving as a host for connection to the outside, and an ISD which is a digital public line network.
N5, connected to the Internet 2 via a provider host computer (hereinafter referred to as WWW server) 6.
【0036】このWWWサーバ6は、URL(Uniform
Resource Locator)で特定されるが、通常はhttp
(Hyper-Text Transfer Protocol)を使用してアクセス
されるため、「http」の表示がなされる。このた
め、HTTPサーバともなる。また、このネットワーク
ディスプレイ1は、テレビ局8からのテレビ放送を受信
できるテレビモニターともなっている。The WWW server 6 has a URL (Uniform
Resource Locator), but usually http
(Http) is displayed using (Hyper-Text Transfer Protocol). For this reason, it also functions as an HTTP server. The network display 1 also serves as a television monitor that can receive television broadcasts from the television station 8.
【0037】インターネット2には、他のWWWサーバ
6a,6bが接続される。また、WWWサーバ6には、
他のLAN3a等を介してサーバとなるサーバコンピュ
ータ7やパソコン4a等が接続され、サーバコンピュー
タ7にはディスプレイ7aが接続されている。なお、L
AN3には、他のネットワークディスプレイ1a,1b
やパソコン4b等が接続されている。Other WWW servers 6a and 6b are connected to the Internet 2. Also, the WWW server 6 has:
A server computer 7 serving as a server, a personal computer 4a, and the like are connected via another LAN 3a and the like, and a display 7a is connected to the server computer 7. Note that L
AN3 has other network displays 1a, 1b.
And a personal computer 4b are connected.
【0038】ここで、画像処理装置が組み込まれる装置
としては、表示手段の一部を兼ねるネットワークディス
プレイ1,1a,1bの他に、パソコン4,4a,4b
やサーバコンピュータ7とディスプレイ7a等を適用し
ても良い。また、ISDN5とパソコン4との接続、I
SDN5とLAN3aとの接続等には、DSU(デジタ
ルサービスユニット)、ターミナルアダプタ、モデム、
IPルータ等のネットワークへの接続手段が用いられ
る。Here, as the device into which the image processing device is incorporated, in addition to the network displays 1, 1a, 1b also serving as a part of the display means, the personal computers 4, 4a, 4b
Alternatively, the server computer 7 and the display 7a may be applied. Also, the connection between the ISDN 5 and the personal computer 4,
For connection between the SDN 5 and the LAN 3a, a DSU (Digital Service Unit), a terminal adapter, a modem,
A means for connecting to a network such as an IP router is used.
【0039】ネットワークディスプレイ1,1a,1b
(以下、これらを代表してネットワークディスプレイ1
について説明する)は、図2に示すように、中央の液晶
からなる表示部11と、表示部11の周辺に配置される
操作部12と、音を出力するスピーカ部13と、特定の
ウエブページにアクセスできる磁気カードが挿入されそ
のアドレスを読み取ったり、その他の磁気カードを読み
取る磁気カードリーダ部14と、電源ラインやホストと
なるパソコン4に接続される接続部15とから主に構成
されている。Network display 1, 1a, 1b
(Hereafter, network display 1
2), as shown in FIG. 2, a display unit 11 made of a liquid crystal at the center, an operation unit 12 arranged around the display unit 11, a speaker unit 13 for outputting sound, a specific web page. It is mainly composed of a magnetic card reader unit 14 for reading a magnetic card that can be accessed to read the address and reading other magnetic cards, and a connection unit 15 connected to a power supply line or the personal computer 4 as a host. .
【0040】表示部11の左右の操作部12は、1〜1
0の10種類のメニュー釦12があり、この各釦12a
に近接した表示部11に、対応する操作メニューの表示
がなされる。例えば、パソコン4内に保管されている各
種のアニメーションをその番号によって選択するように
する。すなわち、1番のメニュー釦12aを押すと、1
番のアニメーションが再生されるようにする。また、表
示部11の下側には、インターネット上のホームページ
にアクセスしたときの各種の操作釦部12bが配置され
ている。また、磁気カードリーダ部14の近傍に、画面
の操作矢印を上下左右に動かすための指示操作部12c
が設けられている。The left and right operation units 12 of the display unit 11
0, there are ten types of menu buttons 12, and each of these buttons 12a
The corresponding operation menu is displayed on the display unit 11 close to. For example, various animations stored in the personal computer 4 are selected by their numbers. That is, when the first menu button 12a is pressed, 1
Make the number animation play. Various operation buttons 12b for accessing a homepage on the Internet are arranged below the display unit 11. An instruction operation unit 12c for moving the operation arrow on the screen up, down, left and right near the magnetic card reader unit 14.
Is provided.
【0041】このようなネットワークディスプレイ1の
回路構成は次のとおりとなっている。すなわち、ネット
ワークディスプレイ1は、図3に示すように、LCD
(液晶)からなる表示部11と、演算処理手段となるC
PU(=中央演算処理装置)21と、表示処理手段とな
る専用グラフィックスLSI22と、スプライトのデー
タやシナリオデータ等を記憶するためのROMやRAM
等からなるメモリ23と、パソコン4等の外部情報源2
4からの指示を受けCPU21に伝えたり、CPU21
からの指示をパソコン4に伝えるデータ受送信回路25
と、専用グラフィックスLSI22に接続されるVRA
M(ビデオラム)26と、外部のアンプやスピーカ部1
3に音を供給するサウンド回路27と、表示部11を駆
動制御する表示制御部28と、周辺機器制御部29とか
ら主に構成される。The circuit configuration of such a network display 1 is as follows. That is, as shown in FIG.
(Liquid crystal) display unit 11 and C serving as arithmetic processing means
PU (= central processing unit) 21, dedicated graphics LSI 22 as display processing means, ROM and RAM for storing sprite data, scenario data, and the like
And external information source 2 such as personal computer 4
4 to the CPU 21 or the CPU 21
Data transmission / reception circuit 25 for transmitting instructions from PC to personal computer 4
And the VRA connected to the dedicated graphics LSI 22
M (video ram) 26, external amplifier and speaker unit 1
3 mainly includes a sound circuit 27 for supplying a sound to the display unit 3, a display control unit 28 for driving and controlling the display unit 11, and a peripheral device control unit 29.
【0042】なお、CPU21と、専用グラフィックス
LSI22と、メモリ23と、データ送受信回路25
と、周辺機器制御部29とは、高速なホストバス30に
よって接続されている。また、サウンド回路27には、
マイク入力端子31が接続され、外部音の入力が可能と
なっている。表示制御部28は、MIM型の液晶を駆動
するための第1駆動制御部28aと、アナログ処理され
たRGB値をTFT型の液晶で表示するための第2駆動
制御部28bと、デジタル処理されたRGB値をTFT
型の液晶で表示するための第3駆動制御部28cと、C
RTを駆動するための第4駆動制御部28dとを有し、
複数の表示体に対応できるようになっている。この実施
の形態では、第3駆動制御部28cを利用している。The CPU 21, the dedicated graphics LSI 22, the memory 23, and the data transmitting / receiving circuit 25
And the peripheral device control unit 29 are connected by a high-speed host bus 30. Also, in the sound circuit 27,
A microphone input terminal 31 is connected, and external sound can be input. The display control unit 28 includes a first drive control unit 28a for driving the MIM-type liquid crystal, a second drive control unit 28b for displaying the analog-processed RGB values on the TFT-type liquid crystal, and digitally processed data. RGB value to TFT
Drive control unit 28c for displaying with a liquid crystal of the
A fourth drive control unit 28d for driving the RT,
It can correspond to a plurality of display objects. In this embodiment, the third drive control unit 28c is used.
【0043】周辺機器制御部29には、操作部12と、
磁気カードリーダ部14とが接続され、それらから入力
されてくるデータを受け付けるようになっている。さら
に、周辺機器制御部29には、ネットワークディスプレ
イ1に設けられるLED表示部16,例えば電源のO
N、OFF表示(POWER表示)、準備状態か否かの表示
(READY表示)、処理が混んでいるか否かの表示(BUSY
表示)が接続され、各表示が可能となっている。また、
EEPROMからなるフラッシュメモリ17等が接続可
能となっている。また、このネットワークディスプレイ
1には、必要により適宜、画像・音声復号部18が組み
込み可能となっており、所定の背景画像やアニメーショ
ンが入った後付けメモリ19のデータを再生できるもの
となっている。The peripheral device control unit 29 includes the operation unit 12,
A magnetic card reader unit 14 is connected to receive data input therefrom. Further, the peripheral device control unit 29 includes an LED display unit 16 provided in the network display 1, for example, a power supply O.
N, OFF display (POWER display), display of ready state (READY display), display of busy processing (BUSY
Display) is connected, and each display is possible. Also,
A flash memory 17 composed of an EEPROM or the like can be connected. An image / sound decoding unit 18 can be appropriately incorporated in the network display 1 as necessary, and can reproduce data in a retrofit memory 19 containing a predetermined background image or animation.
【0044】なお、外部情報源24は、ネットワークデ
ィスプレイ1の外部にあって、ネットワークディスプレ
イ1の表示内容を大極的に制御するものとなっている。
また、メモリ23には、CPU21がウエブプラウザや
表示用プログラムから特定のデータを取り込み、表示の
制御をするためのプログラムと、外部情報源24からの
指令を受け取り、表示の流れを切り替えたり、指示され
た特定の画像を指定された特定の位置へ表示する処理を
行うためのプログラムとが格納されている。The external information source 24 is located outside the network display 1 and controls the display contents of the network display 1 on a large scale.
In the memory 23, the CPU 21 fetches specific data from a web browser or a display program, receives a program for controlling display, and receives a command from the external information source 24, and switches a display flow or issues an instruction. And a program for performing a process of displaying the specified specific image at the specified specific position.
【0045】ここで、専用グラフィックスLSI22
は、CPU21によって各画面間のシーケンスの制御を
受ける一方、各画面内での一連の画像やスプライトの表
示については、メモリ23中のシナリオやデータを見に
行ってそのシナリオやデータに基づいて、そのスプライ
ト等の一連の動きを制御するようになっている。さら
に、VRAM26は、2画面分または4画面分を取り込
めるものとなっている。このように2画面または4画面
としたのは、1画面または2画面分を表示用として、も
う1画面または2画面を書き込み用とすることができる
ためである。この2画面または4画面方式により書き込
み途中のちらつきをなくし、画質を向上させている。ま
た、サウンド回路27は、16ビット、44.1KH
z、1チャンネルのものとなっているが、他の値のもの
を適宜採用できる。Here, the dedicated graphics LSI 22
Is controlled by the CPU 21 to control the sequence between the screens. On the other hand, the display of a series of images and sprites in each screen is performed by looking at the scenarios and data in the memory 23 and based on the scenarios and data. A series of movements of the sprite and the like are controlled. Further, the VRAM 26 can take in two or four screens. The reason why two screens or four screens are used is that one screen or two screens can be used for display and the other screen or two screens can be used for writing. This two-screen or four-screen method eliminates flicker during writing and improves image quality. The sound circuit 27 is a 16-bit, 44.1KH
z, one channel, but other values can be used as appropriate.
【0046】このネットワークディスプレイ1のメモリ
23またはハードディスク(図示省略)上に、スプライ
トのデータやシナリオデータをインストールするか、も
しくはそれらのデータを入れた後付けメモリ19を生成
し、このネットワークディスプレイ1に取り付ける。イ
ンストールする際は、インターネット2や他のネットワ
ークを利用して通信による配信、配送によって行うこと
となる。なお、ネットワークディスプレイ1にCD−R
OM読み取り機構等の情報記憶媒体読み取り部を設ける
ようにすれば、CD−ROM等の情報記憶媒体を利用し
てデータをインストールしても良い。The sprite data and the scenario data are installed on the memory 23 of the network display 1 or a hard disk (not shown), or the retrofit memory 19 containing the data is generated and attached to the network display 1. . At the time of installation, distribution is performed by communication using the Internet 2 or another network. Note that the network display 1 has a CD-R
If an information storage medium reading unit such as an OM reading mechanism is provided, data may be installed using an information storage medium such as a CD-ROM.
【0047】専用グラフィックスLSI22の構造は、
図4に示すとおりとなっている。すなわち、ホストバス
30に接続されるホストインターフェイス32と、VR
AM26に接続されるVRAMインターフェイス33と
の間に内部ホストバス34および内部VRAMバス35
が設けられている。そして、復号部36と画像処理部3
7とが両バス34,35にそれぞれ接続されている。内
部ホストバス34にはオーディオインターフェイス38
が接続され、内部VRAMバス35には、液晶表示部イ
ンターフェイス39が接続されている。The structure of the dedicated graphics LSI 22 is as follows.
It is as shown in FIG. That is, the host interface 32 connected to the host bus 30 and the VR
An internal host bus 34 and an internal VRAM bus 35 between the VRAM interface 33 connected to the AM 26;
Is provided. Then, the decoding unit 36 and the image processing unit 3
7 are connected to both buses 34 and 35, respectively. The internal host bus 34 has an audio interface 38
, And a liquid crystal display interface 39 is connected to the internal VRAM bus 35.
【0048】復号部36は、自然画像の復号機能部と、
インデックス画像の復号機能部と、インデックス画像用
のパレットRAMとを有している。また、画像処理部3
7は、後述する上書き処理等を行うものとなっている。
また、オーディオインターフェイス38は、オーディオ
の制御と、オーディオのミキシングと、サンプリングレ
ートの変更等の各機能を有している。ミキシングはホス
トバス30経由の2チャンネルと、外部のマイクからの
入力との最大3チャンネルのミキシングが可能となって
いる。The decoding unit 36 includes a natural image decoding function unit,
An index image decoding function unit and a palette RAM for index images are provided. The image processing unit 3
Reference numeral 7 is for performing overwrite processing and the like described later.
The audio interface 38 has various functions such as audio control, audio mixing, and sampling rate change. For mixing, up to three channels of two channels via the host bus 30 and input from an external microphone can be mixed.
【0049】液晶表示部インターフェイス39は、表示
制御と、後付けメモリ19を使用したときの重ね書き制
御と、表示部上のカーソル表示をハード的に行う機能
(以下ハードウェアカーソルという)とを有している。
ハードウェアカーソルは、メモリ23上にカーソルデー
タを区分して保持させ、他のデータと組み合わせ処理す
ることによってソフトウェアカーソルの問題点を解消し
ているものである。ソフトウェアカーソルでは、カーソ
ル表示を所定部分に表示させる際、そのカーソルを張り
つける前にカーソルの場所の元の画像を記憶させてお
き、カーソルが動いたら元の画像を書き戻すという処理
が必要となる。この処理は、CPU21に負荷のかかる
ものとなる。ハードウェアカーソルは、このような問題
が解消される。なお、この液晶表示部インターフェイス
39は、表示制御部28の機能と略同一であり、この液
晶表示部インターフェイス39の標準機能で対応可能な
表示体を取り付けた場合、表示制御部28はほとんど動
作せずフリーパスとなる。The liquid crystal display interface 39 has a display control, an overwrite control when the post-installation memory 19 is used, and a function of hardware-displaying a cursor on the display (hereinafter referred to as a hardware cursor). ing.
The hardware cursor solves the problem of the software cursor by storing the cursor data in the memory 23 in a divided manner and combining the cursor data with other data. With a software cursor, when displaying a cursor display in a predetermined portion, it is necessary to store the original image at the position of the cursor before attaching the cursor, and to rewrite the original image when the cursor moves. This process imposes a load on the CPU 21. The hardware cursor solves such a problem. The liquid crystal display interface 39 has substantially the same function as that of the display control unit 28. When a display body compatible with the standard function of the liquid crystal display interface 39 is mounted, the display control unit 28 almost does not operate. Free pass.
【0050】なお、メモリ23には、図5に示すよう
に、各フレーム20の時間軸方向の制御を行うデータが
書き込まれている。各フレーム20の持続時間は、通常
1秒で25枚現れる速度で切り替わって行くが、この実
施の形態では、1/10〜80秒の範囲で変更可能とな
っている。メモリ23には、さらに、1つのフレーム2
0内のスプライト(詳細は後述)の表示位置を制御する
プログラム等が書き込まれている。As shown in FIG. 5, data for controlling each frame 20 in the time axis direction is written in the memory 23. The duration of each frame 20 normally switches at a speed of appearing 25 frames per second, but in this embodiment, it can be changed within a range of 1/10 to 80 seconds. The memory 23 further stores one frame 2
A program for controlling a display position of a sprite (details will be described later) in 0 is written.
【0051】専用グラフィックスLSI22の画像処理
部37は、基本的に上書き処理するものとなっている。
例えば、スプライトが「A」「B」「C」の文字である
とすると、まず、「A」を表示するためのプログラムを
実行する。この実行は、「A」を表示するための各種パ
ラメータをセットした後、VRAM26に「A」の伸長
された圧縮画像データをダウンロードすることにより行
われる。同様にして文字「B」、文字「C」の画像用デ
ータがVRAM26へダウンロードされ、図6に示すよ
うに、重ね書き(上書き)されていく。The image processing section 37 of the dedicated graphics LSI 22 basically performs an overwriting process.
For example, assuming that the sprite is the characters "A", "B", and "C", first, a program for displaying "A" is executed. This execution is performed by setting various parameters for displaying “A” and then downloading the compressed image data obtained by expanding “A” to the VRAM 26. Similarly, the image data of the characters “B” and “C” is downloaded to the VRAM 26 and overwritten (overwritten) as shown in FIG.
【0052】画像処理部37は、図7に示すように、後
述する各バッファブロックからの要求を調整するメモリ
制御部41と、原描画イメージバッファブロック42
と、透明色データバッファブロック43と、マスクデー
タバッファブロック44と、バックグランドイメージバ
ッファブロック45と、最終描画イメージバッファブロ
ック46と、データ加工部47と、メモリアクセス最適
化処理部48とから構成される。ここで4つのバッファ
ブロック42,43,44,45は、CPU21,メモ
リ23等からデータを取り込み(=リード)、ブロック
46はVRAM26にデータをはき出す(=ライト)も
のとなっている。As shown in FIG. 7, the image processing unit 37 includes a memory control unit 41 for adjusting a request from each buffer block described later, and an original drawing image buffer block 42.
, A transparent data buffer block 43, a mask data buffer block 44, a background image buffer block 45, a final drawing image buffer block 46, a data processing unit 47, and a memory access optimization processing unit 48. You. Here, the four buffer blocks 42, 43, 44, and 45 take in data (= read) from the CPU 21, the memory 23, and the like, and the block 46 reads out data from the VRAM 26 (= write).
【0053】メモリ制御部41は、各バッファブロック
42,43,44,45,46からの要求を所定の優先
付けに基づき調整し、ホスト側のメモリ23やローカル
メモリとなるVRAM26との接続を可能にするもので
ある。この際のアクセスは、並列処理が可能となってい
る。たとえば、原描画イメージバッファブロック42か
らメモリ23にアクセスすると同時に、最終描画イメー
ジバッファブロック46がVRAM26にアクセスする
ことが可能となっている。The memory control unit 41 adjusts requests from the buffer blocks 42, 43, 44, 45, and 46 based on a predetermined priority and can connect to the host-side memory 23 and the VRAM 26 serving as a local memory. It is to be. Access at this time can be performed in parallel. For example, the final drawing image buffer block 46 can access the VRAM 26 at the same time when the memory 23 is accessed from the original drawing image buffer block 42.
【0054】原描画イメージバッファブロック42は、
後述する原描画イメージデータ(Source Image)を一旦
溜めておく記憶部で、メモリ制御部41にアクセスする
と共に取り込んだデータをデータ加工部47へはき出す
ようになっている。透明色データバッファブロック43
は、後述する透明色データ(Trans.Data)を、マスクデ
ータバッファブロック44は、後述するマスクデータ
(Mask Data)を、それぞれ一旦溜めておく記憶部で、
メモリ制御部41とアクセスすると共に取り込んだデー
タをデータ加工部47へはき出すようになっている。The original drawing image buffer block 42
A storage unit for temporarily storing original drawing image data (Source Image) to be described later. The storage unit accesses the memory control unit 41 and exports the fetched data to the data processing unit 47. Transparent color data buffer block 43
Is a storage unit for temporarily storing transparent color data (Trans.Data) described later, and the mask data buffer block 44 is a storage unit for temporarily storing mask data (Mask Data) described later.
It accesses the memory control section 41 and outputs the fetched data to the data processing section 47.
【0055】バックグランドイメージバッファブロック
45は、バックグランドデータ(BGData)を一旦溜めて
おく記憶部で、メモリ制御部41へアクセスすると共に
データ加工部47へ取り込んだデータをはき出す。ま
た、メモリアクセス最適化処理部48から上書き要否の
信号等を受け取る。最終描画イメージバッファブロック
46は、データ加工部47から受け取ることとなる、後
述する最終描画イメージ(Draw Image)を一旦溜めてお
く記憶部で、メモり制御部41とアクセスすると共にメ
モりアクセス最適化処理部48から上書き要否関係のデ
ータを受け取る。The background image buffer block 45 is a storage unit for temporarily storing the background data (BGData), and accesses the memory control unit 41 and at the same time, extracts the data taken into the data processing unit 47. Further, it receives a signal indicating whether or not overwriting is necessary from the memory access optimization processing section 48. The final drawing image buffer block 46 is a storage unit for temporarily storing a later-described final drawing image (Draw Image) to be received from the data processing unit 47, and accesses the memory control unit 41 and optimizes memory access. The data regarding the necessity of overwriting is received from the processing unit 48.
【0056】ここで、メモリ制御部41がCPU21、
メモリ23およびVRAM26との間でやり取りする信
号は、計5つの信号から構成されている。すなわち、メ
モリ制御部信号であるチップセレクト信号(CS)と、ア
ウトプットを許可するアウトプットイネーブル信号(O
E)と、ライト信号(WR)と、アドレス信号(AD)と、
データバス信号(DB)とから構成されている。なお、図
7等において、各信号の頭に付される「H」はホスト側
の信号を意味し、「V」はVRAM26側の信号である
ことを意味する。Here, the memory control unit 41 is the CPU 21,
Signals exchanged between the memory 23 and the VRAM 26 are composed of a total of five signals. That is, a chip select signal (CS) which is a memory control unit signal and an output enable signal (O
E), a write signal (WR), an address signal (AD),
And a data bus signal (DB). In FIG. 7 and the like, “H” added to the head of each signal means a signal on the host side, and “V” means a signal on the VRAM 26 side.
【0057】また、各バッファブロック42,43,4
4,45,46からは、選択されたアドレスを示すアド
レス信号(ADRS)、データの連続長を示すバースト信号
(BURST)、リード(=読み取り)要求を示すリードリク
エスト信号(RDReg)、フラッグ信号(FLAG)がメモり制
御部41へ出力される。各信号の最後に付される「S」
「T」「M」「B」「D」はそれぞれ扱うデータの種類
を示し、「S」は原描画イメージ(Source Image)、
「T」は透明データ(trans.Data)、「M」はマスクデ
ータ(Mask Data)、「B」はバックグランドイメージ(B
ackgroud Data)、「D」は最終描画イメージ(Draw Ima
ge)を現している。なお、今後、説明する信号も同様の
考え方で表ししている。また、最終描画イメージバッフ
ァブロック46からは、バイトマスク信号(MASKD)も出
力される。Each of the buffer blocks 42, 43, 4
From 4, 45 and 46, an address signal (ADRS) indicating the selected address, a burst signal indicating the continuous data length
(BURST), a read request signal (RDReg) indicating a read (= read) request, and a flag signal (FLAG) are output to the memory control unit 41. "S" added at the end of each signal
“T”, “M”, “B”, and “D” indicate types of data to be handled, respectively, “S” indicates an original drawing image (Source Image),
"T" is transparent data (trans.Data), "M" is mask data (Mask Data), "B" is background image (B
ackgroud Data), “D” is the final drawing image (Draw Ima
ge). In the following, signals to be described will be expressed in the same way. The final drawing image buffer block 46 also outputs a byte mask signal (MASKD).
【0058】一方、メモリ制御部41からは、リード要
求受理通知であるリードリクエストアクノリッジ信号(R
DRACK)、リードデータ送信通知であるリードデータア
クノリッジ信号(RDDACK)と、メモリ23やVRAM2
6等からのデータ(DATAOUT)とが各バッファブロック4
2,43,44,45へ出力される。また、メモリ制御
部41から最終描画イメージバッファブロック46へ
は、ライト(書き込み)要求受理通知であるライトリク
エストアクノリッジ信号(WRRACK)と、ライトデータ受
信通知であるライトデータアクノリッジ信号(WRDACK)
とが出力され、VRAM26に書き込まれるデータが逆
方向に出力される。書き込みデータを「DATAD」として
示す。On the other hand, from the memory control unit 41, a read request acknowledge signal (R
DRACK), a read data acknowledge signal (RDDACK), which is a read data transmission notification, and the memory 23 or VRAM 2
Data (DATAOUT) from 6 etc. are in each buffer block 4
2, 43, 44, and 45. The memory control unit 41 sends a write request acknowledge signal (WRRACK) as a write (request) request reception notice and a write data acknowledge signal (WRDACK) as a write data reception notice to the final drawing image buffer block 46.
Is output, and the data written to the VRAM 26 is output in the reverse direction. The write data is indicated as “DATAD”.
【0059】データ加工部47からメモりアクセス最適
化処理部48へは、上書きの要否の検出信号(Det)が
出力される。メモリアクセス最適化処理部48からバッ
クグランドイメージバッファブロック45および最終描
画イメージバッファブロック46へは、動作状態にする
信号(Active)と、イメージを表示させずスキップさせ
る信号(Skip)と、データの連続長を示すバースト信号
(BURST)と、バースト信号と同種の信号(ProcLen)と
か出力される。ここで、各信号の頭に付される「BG」
「B」は、バックグランドイメージに関する信号である
ことを示し、「DI」「D」は、最終描画イメージ(ド
ローイメージ)に関する信号であることを示す。なお、
最終描画イメージバッファブロック46へは、後述する
バイトマスク信号を形成するためのマスク信号(MASK)
も出力される。A detection signal (Det) indicating the necessity of overwriting is output from the data processing unit 47 to the memory access optimization processing unit 48. From the memory access optimization processing unit 48 to the background image buffer block 45 and the final drawing image buffer block 46, a signal for setting an operation state (Active), a signal for skipping without displaying an image (Skip), A burst signal (BURST) indicating the length and a signal (ProcLen) of the same type as the burst signal are output. Here, "BG" attached to the head of each signal
“B” indicates a signal related to a background image, and “DI” and “D” indicate signals related to a final drawing image (draw image). In addition,
A mask signal (MASK) for forming a byte mask signal described later is sent to the final drawing image buffer block 46.
Is also output.
【0060】メモリ制御部41は、図8に示すように、
アクセス調停部51と、ホスト側のメモリインターフェ
ース部52と、VRAM26側のメモリインターフェー
ス部53と、マルチプレクサ回路54とから構成されて
いる。ホスト側のメモリインターフェース部52は、優
先権制御部55と、メモリタイミング生成部56とで構
成され、VRAM26側のメモリインターフェース部5
3も、優先権制御部57とメモリタイミング生成部58
とで構成されている。ホスト側のメモリインターフェー
ス部52と、VRAM26側のメモリインターフェース
部53とは、全く同一の構成となっている。このため、
メモリ制御部41は、各バッファブロック42,43,
44,45,46のリクエストを並列的に処理すること
が可能となる。As shown in FIG. 8, the memory control unit 41
It comprises an access arbitration unit 51, a memory interface unit 52 on the host side, a memory interface unit 53 on the VRAM 26 side, and a multiplexer circuit 54. The memory interface unit 52 on the host side includes a priority control unit 55 and a memory timing generation unit 56, and the memory interface unit 5 on the VRAM 26 side.
3 also has a priority control unit 57 and a memory timing generation unit 58
It is composed of The memory interface unit 52 on the host side and the memory interface unit 53 on the VRAM 26 have exactly the same configuration. For this reason,
The memory control unit 41 includes the buffer blocks 42, 43,
44, 45, and 46 requests can be processed in parallel.
【0061】アクセス調停部51は、CPU21やメモ
リ23に繋がるホストバス30へ行くのか、VRAM2
6に繋がるバスに行くのかを振り分ける。アクセス調停
部51には、5つのリクエスト信号RDReqS,RD
ReqT,RDReqM,RDReqDと、5つのフラ
グ信号FLAGS,FLAGT,FLAGM,FLAG
B,FLAGDが入力する。この各フラグ信号は、ホス
ト側なのか、VRAM23側へ行くかの制御信号とな
り、「0」,「1」で区分される。たとえば、「0」は
ホスト側、「1」はVRAN26側を指示するようにす
る。この状態を見て、アクセス調停部51は、ホスト側
のメモリインターフェース部52またはVRAM26側
のメモリインターフェース部53の一方へリクエスト信
号を出力する。The access arbitration unit 51 determines whether to go to the host bus 30 connected to the CPU 21 or the memory 23,
Sort if you are going to the bus that leads to 6. The access arbitration unit 51 has five request signals RDReqS, RD
ReqT, RDReqM, RDReqD and five flag signals FLAGS, FLAGT, FLAGM, FLAG
B and FLAGD are input. Each of these flag signals is a control signal for determining whether to go to the host or to the VRAM 23, and is classified into "0" and "1". For example, “0” indicates the host side, and “1” indicates the VRAN 26 side. Upon seeing this state, the access arbitration unit 51 outputs a request signal to one of the memory interface unit 52 on the host side and the memory interface unit 53 on the VRAM 26 side.
【0062】各リクエスト信号は、それぞれ優先権制御
部55,57のいずれか一方に入力される。この優先権
制御部55,57は、複数のリクエスト信号が独立して
入力される。そして、この優先権制御部55,57は、
各バッファブロック42,43,44,45,46から
のリクエスト信号を所定の優先権に基づいて受け取るよ
うにしている。この実施の形態では、最終描画イメージ
バッファブロック46からのリクエスト信号を第1優先
にし、バックグランドイメージバッファブロック45を
第2順位とし、原描画イメージバッファブロック42を
第3順位とし、マスクデータバッファブロック44を第
4順位とし、透明データバッファブロック43を最も低
い優先順位としている。Each request signal is input to one of the priority control units 55 and 57, respectively. The priority control sections 55 and 57 receive a plurality of request signals independently. Then, the priority control units 55 and 57
Request signals from the buffer blocks 42, 43, 44, 45, and 46 are received based on a predetermined priority. In this embodiment, the request signal from the final drawing image buffer block 46 has the first priority, the background image buffer block 45 has the second priority, the original drawing image buffer block 42 has the third priority, and the mask data buffer block has the third priority. 44 is the fourth priority, and the transparent data buffer block 43 is the lowest priority.
【0063】最終描画イメージバッファ46を第1優先
としているのは、このバッファブロック46が満杯にな
ると、新たな画像を取り込めなくなるためである。第2
順位と第3順位については、画像の種類によってどちら
を優先させるべきか異なると共にその差異は大きくない
ので、順位を入れ替えても良い。ただし、描画する際
は、バックグランド画像が必要となるので、この実施の
形態の方が好ましい。マスクデータと透明色データは、
各1ビットであり、容量的に問題が生じにくく、それら
のデータに対して十分な容量を確保しやすいので、優先
順位を低くしている。また、このマスクデータと透明色
データの順位は、逆転させても問題はない。なお、この
両データのための容量が極端に小さい場合は、優先順位
を上げる必要がある。The final drawing image buffer 46 is given the first priority because a new image cannot be captured when the buffer block 46 is full. Second
Regarding the order and the third order, which one should be prioritized depends on the type of the image, and the difference is not large, so the order may be changed. However, when rendering, a background image is required, so this embodiment is more preferable. Mask data and transparent color data are
Since each bit is 1 bit, a problem does not easily occur in terms of capacity, and it is easy to secure a sufficient capacity for the data. There is no problem even if the order of the mask data and the transparent color data is reversed. If the capacity for both data is extremely small, it is necessary to raise the priority.
【0064】なお、この優先順位は、固定ではなく、動
的に変化させるようにしても良い。たとえば、各バッフ
ァブロック42,43,44,45,46の現容量を監
視し、各バッファブロック42,43,44,45,4
6が満杯または空きになるまでの時間を算出するように
する。この算出は、1サイクルの扱いデータ量に基づい
て満杯になるまでまたは空になるまでのサイクル数を計
算し、その数値からおおよその時間を求めることができ
る。この時間によって優先順位を変化させることで動的
対応が可能となる。Note that the priority may be dynamically changed instead of being fixed. For example, the current capacity of each buffer block 42, 43, 44, 45, 46 is monitored, and each buffer block 42, 43, 44, 45, 4 is monitored.
The time until 6 becomes full or empty is calculated. In this calculation, the number of cycles to be full or empty is calculated based on the amount of data handled in one cycle, and an approximate time can be obtained from the numerical value. By changing the priority according to this time, dynamic response is possible.
【0065】各優先権制御部55,57からは優先順位
を決める優先選択信号(PriSel)が出力される。その信号
に基づいて、メモリタイミング生成部56,58は、入
力されてきた信号のうち所定のアドレス信号等を受け取
り、所定のタイミングでCPU21、メモリ23、VR
AM26へアクセスする。このメモリタイミング生成部
56,58は、さらに上位の調停部との整合性を取るた
めに、各種の制御信号を送出する。これらの信号は、制
御対象がSRAMの場合と同種となっている。Each of the priority control sections 55 and 57 outputs a priority selection signal (PriSel) for determining a priority. Based on the signal, the memory timing generators 56 and 58 receive a predetermined address signal or the like among the input signals, and at a predetermined timing, the CPU 21, the memory 23, and the VR.
Access to AM26. The memory timing generators 56 and 58 send out various control signals in order to ensure consistency with the higher-order arbitration unit. These signals are of the same type as when the control target is an SRAM.
【0066】メモリ23やVRAM26等からメモり制
御部41へ入力されてきたデータは、メモリタイミング
生成部56,58からマルチプレクサ回路54へ出力さ
れる。そして、アクセス調停部51からのバス選択信号
(BusSel)によって振り分けられ、リード要求を出した
バッファブロックへ出力される。なお、アクセス調停部
51からは、リードリクエスト信号(RDReq)に対してリ
ード要求受理通知の信号(RDRACK)を出力し、データ出
力に先立ち、リードデータ送信通知の信号(RDDACK)を
各バッファブロック42,43,44,45へ出力す
る。Data input from the memory 23 or the VRAM 26 to the memory control unit 41 is output from the memory timing generation units 56 and 58 to the multiplexer circuit 54. Then, a bus selection signal from the access arbitration unit 51
(BusSel) and output to the buffer block that issued the read request. The access arbitration unit 51 outputs a read request reception notification signal (RDRACK) in response to the read request signal (RDReq), and outputs a read data transmission notification signal (RDDACK) to each buffer block 42 prior to data output. , 43, 44, 45.
【0067】なお、ライトのときのみ、バイトマスク信
号(MASKD)を使用している。このバイトマスク信号は、
メモリ23やVRAM26に書き込むときに使用するマ
スク制御信号で、先に示したマスクデータ(MASK Data)
とは異なるものである。この実施の形態における信号構
成に基づいて、このバイトマスク信号の機能と説明す
る。図9に示すように、1ワード(W)が4バイト
(B)構成で、その1ワード中、0〜15ビット部分に
ついては元のデータをそのまま生かし、16〜31ビッ
トの部分を上書きしたい場合が生ずる。このような場
合、図9(C)に示すようなマスク制御信号“110
0”とすることで、目的を達成できる。このように、こ
の実施の形態では、マスク制御信号を利用することによ
って、1バイトずつ書き込み制御が可能となっている。Note that the byte mask signal (MASKD) is used only for writing. This byte mask signal is
A mask control signal used when writing to the memory 23 or the VRAM 26. The mask data (MASK Data)
Is different from The function of this byte mask signal will be described based on the signal configuration in this embodiment. As shown in FIG. 9, one word (W) is 4 bytes
In the structure (B), there is a case where it is desired to overwrite a 16-bit to 31-bit portion by using the original data as it is for the 0-15 bit portion in one word. In such a case, the mask control signal “110” as shown in FIG.
The object can be achieved by setting it to 0 ". As described above, in this embodiment, writing control can be performed byte by byte by using the mask control signal.
【0068】このように、1ビットのバイトマスク信号
(MASKD)を使用して所定の領域のみを上書きできるこ
ととなる。このバイトマスク信号を使用しない場合、元
のものを残したい場合、元のデータをすべて一旦メモリ
に記憶させる必要が生ずる。そして、加工処理後、その
記憶したデータを戻す処理が必要となる。As described above, only a predetermined area can be overwritten by using the 1-bit byte mask signal (MASKD). When this byte mask signal is not used, and when it is desired to keep the original data, it is necessary to temporarily store all the original data in the memory. Then, after the processing, a process of returning the stored data is required.
【0069】また、書き込むためのデータは、この実施
の形態では、最終描画イメージバッファブロック46か
らのデータ(=DATAD)のみであるが、複数のデータも
取り扱い可能となっている。In this embodiment, the data to be written is only the data (= DATAD) from the final drawing image buffer block 46, but a plurality of data can be handled.
【0070】原描画イメージバッファブロック42の内
部は、図10に示すようになっている。なお、他のバッ
ファブロック43,44,45も同様になっている。ま
た、最終描画イメージバッファブロック46の内部は、
図11に示すようになっている。なお、図11において
は、メモリアクセス最適化処理部48からの信号を省略
している。The inside of the original drawing image buffer block 42 is as shown in FIG. The other buffer blocks 43, 44, and 45 have the same configuration. The inside of the final drawing image buffer block 46 is
As shown in FIG. In FIG. 11, signals from the memory access optimization processing unit 48 are omitted.
【0071】読み込みを行う各バッファブロック42,
43,44,45は、それぞれバッファ制御部61と、
2つのバッファ62,63と、マルチプレクサ回路64
とから構成されている。書き込みを行う最終描画イメー
ジバッファブロック46は、バッファ制御部65と、2
つのバッファ66,67と、マルチプレクサ回路68と
から構成されている。ここで、バッファ62,63とマ
ルチプレクサ回路64とでダブルバッファ回路69を構
成し、バッファ66,67とマルチプレクサ回路68と
でダブルバッファ回路70を構成している。Each of the buffer blocks 42 to be read,
43, 44, 45 are respectively a buffer control unit 61,
Two buffers 62 and 63 and a multiplexer circuit 64
It is composed of The final drawing image buffer block 46 for writing includes a buffer control unit 65 and 2
It is composed of two buffers 66 and 67 and a multiplexer circuit 68. Here, the buffers 62 and 63 and the multiplexer circuit 64 constitute a double buffer circuit 69, and the buffers 66 and 67 and the multiplexer circuit 68 constitute a double buffer circuit 70.
【0072】このように各バッファブロック42,4
3,44,45,46は、読み込みのものと書き込みの
もので、バッファの容量が異なるものの、同じ方式のダ
ブルバッファとなっている。このダブルバッファ方式
は、空いているスペースに次から次へと順に書き込んで
いくと共に先に書き込まれたデータから順に使用してい
く従来のリングバッファに比べると、制御が簡単とな
る。ダブルバッファ方式では、一方を書き込みで、他方
を処理中(データ移動)として使用できる。書き込みに
よって一方のバッファが満杯になると、処理作業へ移行
する。具体的には、第1のバッファのステータスと第2
のバッファのステータスを制御する制御部(図示省略)
があり、空になるとバッファへの書き込み開始する。満
杯になると、そのデータをはき出し、空となる。As described above, each of the buffer blocks 42, 4
Reference numerals 3, 44, 45, and 46 are for reading and writing, and have different buffer capacities, but are double buffers of the same system. In the double buffer system, control is simpler than in a conventional ring buffer in which data is sequentially written into a vacant space one after another, and data written first is used in order. In the double buffer system, one can be used for writing and the other for processing (data movement). When one of the buffers becomes full by writing, the process proceeds to processing. Specifically, the status of the first buffer and the second
Control unit (not shown) that controls the status of each buffer
When it becomes empty, writing to the buffer starts. When full, the data is flushed and emptied.
【0073】はき出しに時間がかかり、他方のバッファ
も満杯になってしまうと、バッファへの書き込みが不可
能となり、はき出し作業が終了するまで待つこととな
る。一方、はき出しが終了したときに、他方がまだ満杯
になっていないと、はき出し作業が不可能となり、満杯
になるまで待つこととなる。専用グラフィックスLSI
22の演算能力を最大限に生かすには、一方のバッファ
がはき出し作業をしている間に、他方のバッファが満杯
になるようにするのが好ましい。このためには、容量や
処理ビット数等を適切に設定しておく必要がある。これ
によって、専用グラフィックスLSI22は、次から次
へと演算処理等をすると共にバッファの待ち時間が少な
くなる。なお、満杯になる前に必要なデータの取り込み
が終了してしまう場合、余分な(=無駄な)データを読
み込むようにしたり、データ量をカウントし、所定量の
データが取り込まれると、満杯になっていなくても満杯
の信号を出し、はき出し作業を開始させるようにしたり
することができる。この実施の形態では、後者を採用し
ている。When the ejection takes time and the other buffer becomes full, writing into the buffer becomes impossible, and the user must wait until the ejection operation is completed. On the other hand, when the ejection is completed, if the other is not yet full, the ejection operation becomes impossible, and the user has to wait until it is full. Dedicated graphics LSI
To take full advantage of the computational power of 22, it is preferred that one buffer be full while the other is flushing. For this purpose, it is necessary to appropriately set the capacity, the number of processing bits, and the like. As a result, the dedicated graphics LSI 22 performs arithmetic processing and the like one after another and reduces the waiting time of the buffer. If the necessary data has been fetched before the data becomes full, extra (= wasteful) data is read or the data amount is counted, and when a predetermined amount of data is fetched, the data becomes full. Even if it is not, a full signal can be output to start the stripping operation. In this embodiment, the latter is adopted.
【0074】また、図10および図11において、「Bu
fWrAD」は、2つのバッファ62,63のアドレスを示
す信号である。また、「BufWrEn」は、バッファブロッ
ク42等ではリードデータ送信通知「RDDACK」に基づい
て形成され、バッファブロック46では、後述する「DI
DATAEn」に基づいて形成され、共に当該アドレスへデー
タを読み込み可能にする信号である。さらに、図10中
の「BufRdAD」は、どちらのバッファのどのデータを読
み出してデータ加工部47へ送出するかを指示する信号
となっている。原描画イメージのデータ(=Source Ime
ge)は、データそのものとなる「SIDATA」の信号と、当
該データを有効にする「SIDATAEn」の信号とから成り立
っている。In FIG. 10 and FIG.
“fWrAD” is a signal indicating the addresses of the two buffers 62 and 63. Further, “BufWrEn” is formed in the buffer block 42 and the like based on the read data transmission notification “RDDACK”, and in the buffer block 46, “DI
These are signals that are formed based on "DATAEn" and enable data to be read into the corresponding address. Further, “BufRdAD” in FIG. 10 is a signal for instructing which data of which buffer is to be read and transmitted to the data processing unit 47. Original drawing image data (= Source Ime
ge) is composed of a signal of “SIDATA” as data itself and a signal of “SIDATAEn” for validating the data.
【0075】また、図11中の「BufRdAD」は、どちら
のバッファデータのどのアドレスから読み出してメモリ
制御部41へ送出するかを指示する信号である。また、
データ加工部47から送られてくるデータ(=Draw Ima
ge)は、データそのものとなる「DIDATA」の信号と、当
該データを有効にする「DIDATAEm」の信号とから成り立
っている。“BufRdAD” in FIG. 11 is a signal for instructing which address of which buffer data is to be read and transmitted to the memory controller 41. Also,
Data sent from the data processing unit 47 (= Draw Ima
ge) is composed of a signal of “DIDATA” as the data itself and a signal of “DIDATAEm” for validating the data.
【0076】この実施の形態では、1ワードを32ビッ
トとして、バッファ62,63,66,67では、それ
ぞれ8ワード(8×32ビット)分の容量をもつものと
している。バッファ62,63,66,67としては、
2ワード分や16ワード分等の他の数値としても良い。
ただし、大きすぎると、他のバッファブロックが待ち続
ける時間が多くなり、好ましくないのと、そのメモリ容
量が大きくなり、コスト的にも厳しくなる。一方、小さ
すぎると、上書き回数が多くなりすぎる。このため、4
〜16ワードが好ましく、8ワードが最も好ましい。な
お、この実施の形態では、扱う画像を1画素2バイトで
表しているため、8ワードで16画素分の処理となる。In this embodiment, one word is 32 bits, and the buffers 62, 63, 66, and 67 each have a capacity of 8 words (8 × 32 bits). As the buffers 62, 63, 66, and 67,
Other numerical values such as 2 words and 16 words may be used.
However, if the size is too large, the time for which other buffer blocks continue to wait increases, which is unfavorable, the memory capacity increases, and the cost becomes severe. On the other hand, if it is too small, the number of overwrites will be too large. Therefore, 4
Preferably ~ 16 words, most preferably 8 words. In this embodiment, since the image to be handled is represented by 2 bytes per pixel, processing for 16 pixels with 8 words is performed.
【0077】データ加工部47には、透明色データから
透明色を検出して、その信号「TDet」を出力する機能
と、後述するクリップ処理を示す信号「CDet」を出力す
る機能と、マスクデータからマスク処理を行う旨の信号
「MDet」を出力する機能の3つの機能を有すると共に、
これらの信号を入力して上書きの要否を検出する上書き
検出部71を有する。この上書き検出部71は、3つの
信号「TDet」「CDet」「MDet」のいずれかがオンになる
と、アクティブとなるようになっている。The data processing unit 47 has a function of detecting a transparent color from the transparent color data and outputting a signal “TDet”, a function of outputting a signal “CDet” indicating clip processing described later, Has a function of outputting a signal "MDet" indicating that mask processing is performed from
An overwrite detection unit 71 that receives these signals and detects whether or not overwrite is necessary is provided. The overwrite detecting section 71 is activated when any of the three signals “TDet”, “CDet”, and “MDet” is turned on.
【0078】データ加工部47には、さらに後述するブ
レンド処理を行う機能をもたせている。なお、この実施
の形態では、ブレンド処理によって生成される最終画像
を効率的に生成し描画するため、上書き検出部71によ
って検出された上書き要否の信号「Det」を入力して合
成用の各種の信号を生成するメモリアクセス最適化処理
部48を設けている。このメモリアクセス最適化処理部
48は、必ずしも設ける必要はない。なお、信号「De
t」は、1画素単位で上書きするがしないかを示すもの
をなっている。また、この上書き検出部71とメモリア
クセス最適化処理部48は、上書き要否判断部となって
いる。The data processing section 47 further has a function of performing a blending process described later. In this embodiment, in order to efficiently generate and draw the final image generated by the blending process, a signal “Det” indicating the necessity of overwriting detected by the overwriting detection unit 71 is input and various signals for synthesis are input. Is provided. This memory access optimization processing unit 48 does not necessarily need to be provided. The signal "De
"t" indicates whether or not overwriting is performed on a pixel-by-pixel basis. The overwrite detecting section 71 and the memory access optimizing section 48 constitute an overwriting necessity judging section.
【0079】メモリアクセス最適化処理部48は、上書
き制御部バッファ72と、処理画素数検出部73と、ラ
イトマスク検出部74と、アクセス要求制御部75とか
ら構成される。The memory access optimization processing unit 48 includes an overwrite control unit buffer 72, a processing pixel number detection unit 73, a write mask detection unit 74, and an access request control unit 75.
【0080】上書き制御バッファ72は、この実施の形
態では、バッファブロック42〜46が8ワード(32
×8ビット)分の容量のバッファを有し、16画素分の
データを一度で扱うことができるため、上書きを制御す
る信号「Det」も16画素分溜めることとなる。すなわ
ち、先のダブルバッファの中の1個のバッファと同じ容
量としている。このとき、この実施の形態では、信号
「Det」は、1画素1ビットで表しているので、2バイ
ト分のバッファとなる。これによって8ワード転送を実
現している。この上書き制御バッファ72は、ブレンド
モードのとき、この内部に溜まるデータ「Det」の中身
を見て、ブレンド処理するか否かを決めている。すなわ
ち、8ワードの中のすべての画素が上書き禁止である
と、上書きしない(=スキップする)。具体的には、8
ワード分を4ワードずつ2つに区切って、4ワード中に
上書き要の信号があれば、上書き処理、すなわち、バッ
クグランドデータを読みに行き、取り込み、原描画イメ
ージを重ね合わせる。4ワード分すべてが上書き禁止と
なると、その4ワード分の処理はせず、次の4ワード分
について処理する。この4ワードも上書き禁止であれ
ば、ブレンドモードのときはブレンド処理をスキップ
し、次の8ワードの処理に移行する。ブレンドがオフさ
れているときは、その4ワードが上書き必要であれば即
上書きし、次の4ワードについてチェックし処理する。In this embodiment, in the overwrite control buffer 72, the buffer blocks 42 to 46 have eight words (32 words).
Since a buffer having a capacity of (.times.8 bits) is provided and data for 16 pixels can be handled at a time, a signal "Det" for controlling overwriting is also accumulated for 16 pixels. That is, the capacity is the same as that of one buffer in the double buffer. At this time, in this embodiment, since the signal “Det” is represented by one bit per pixel, the signal “Det” becomes a buffer for two bytes. Thereby, 8-word transfer is realized. In the blend mode, the overwriting control buffer 72 determines whether or not to perform a blending process by checking the contents of the data “Det” stored in the inside. That is, if all the pixels in the eight words are prohibited from being overwritten, no overwriting is performed (= skipped). Specifically, 8
The word is divided into two words of four words, and if there is a signal requiring overwriting in four words, the overwriting process, that is, the background data is read, fetched, and the original drawing image is superimposed. When all four words are prohibited from being overwritten, the processing for the next four words is not performed but the processing for the next four words is performed. If the four words are not overwritten, the blending process is skipped in the blend mode, and the process proceeds to the next eight words. When the blending is off, if the four words need to be overwritten, they are immediately overwritten, and the next four words are checked and processed.
【0081】このように4ワードに区切って、上書きす
るか、スキップするかを決めることによって、かつ8ワ
ード転送することによって処理効率を上げることができ
る。As described above, the processing efficiency can be improved by dividing the data into four words and determining whether to overwrite or skip, and by transferring eight words.
【0082】上書き制御バッファ72から8ワード分の
データが処理画素数検出部73へ送られる。この処理画
素数検出部73は、処理する画素数が4ワードか8ワー
ドかのバースト信号(BGBURST)をバックグランドイメ
ージバッファブロック45へ、同様のバースト信号(DI
BURST)を最終描画イメージバッファブロック46へ送
る。この両信号(BGBURST,DIBURST)は、メモリ制御部
41を介してメモり23やVRAM26へ送られる。一
方、この両信号と同性質の信号であるバックグランドプ
ロシジャーレングス(=DProcLen)は、バッファ制御部
61,65を制御するために使用されると共に、アクセ
ス要求制御部75へ入力され、後述するアクティブ信号
やスキップ信号の生成のために使用される。The data for eight words is sent from the overwriting control buffer 72 to the number-of-pixels-to-be-processed detection section 73. The processing pixel number detection unit 73 sends a burst signal (BGBURST) indicating whether the number of pixels to be processed is 4 words or 8 words to the background image buffer block 45 and outputs a similar burst signal (DI
BURST) to the final drawing image buffer block 46. These two signals (BGBURST, DIBURST) are sent to the memory 23 and the VRAM 26 via the memory control unit 41. On the other hand, a background procedure length (= DProcLen), which is a signal having the same properties as these signals, is used to control the buffer control units 61 and 65, and is also input to the access request control unit 75 to be described later. Used for generating signals and skip signals.
【0083】ライトマスク検出部74は、スキップ処理
をしない場合、すなわち上書きやブレンド処理をする場
合に、所定の画素部分だけ透明色処理やクリップ処理や
マスク処理を施すためのバイトマスク信号(MASK)を得
るために使用される。このバイトマスク信号は、最終描
画イメージバッファブロック46へ出力される。これに
より、メモリ23やVRAM26への書き込みが禁止さ
れる。When skip processing is not performed, that is, when overwriting or blending processing is performed, the write mask detecting section 74 performs a byte mask signal (MASK) for performing transparent color processing, clip processing, or mask processing only on predetermined pixel portions. Used to get. This byte mask signal is output to the final drawing image buffer block 46. As a result, writing to the memory 23 and the VRAM 26 is prohibited.
【0084】アクセス要求制御部75からはバックグラ
ンドイメージバッファブロック45へバックグランドイ
メージデータを取り込むためのアクティブ信号「BGActi
ve」と、当該データを取り込まずスキップするためのス
キップ信号「BGSkip」とが出力される。また、最終描画
イメージバッファブロック46へは、同様なアクティブ
信号「DIActive」と、スキップ信号「DISkip」とが出力
される。An active signal “BGActi” for taking in the background image data from the access request control unit 75 to the background image buffer block 45 is provided.
ve "and a skip signal" BGSkip "for skipping without taking in the data. The same active signal “DIActive” and a skip signal “DISkip” are output to the final drawing image buffer block 46.
【0085】次に、このように構成される画像処理装置
1の読み出し動作について、図13に基づいて説明す
る。なお、図13は、VRAM26等への読み取り(リ
ード)時の標準化されたアクセス手順を示している。ま
た、図13は、優先権制御部55,57によって各バッ
ファブロック42,43,44,45のいずれか1つと
のやり取りが優先された場合でかつVRAM26へアク
セスする場合を示している。ホスト側のメモリ23やC
PU21からの取り込みも同様となっているので、その
説明は省略する。Next, a read operation of the image processing apparatus 1 having the above-described configuration will be described with reference to FIG. FIG. 13 shows a standardized access procedure when reading (reading) the VRAM 26 or the like. FIG. 13 shows a case where the priority control units 55 and 57 give priority to the exchange with any one of the buffer blocks 42, 43, 44 and 45 and access the VRAM 26. Host side memory 23 or C
The loading from the PU 21 is the same, so the description is omitted.
【0086】ここで、「CLK」は各信号の同期をとるた
めのクロック信号で、HIGHがVDD(電源電圧)で、LOWが
VGND(グランド電圧)となっている。まず、リード要求
「RDREQn」がHIGHとなり、それと同時にアクセス調停部
51は、アドレス信号「ADRSn」と転送ワード数を示す
バースト信号「BURSTn」を各バッファブロック42,4
3,44,45から受け取る。受理できるタイミングで
あると、リード要求受理信号「RDRACKn」を返す。な
お、符号「n」は、各バッファブロック42,43,4
4,45のいずれか1つからのものであることを示す。
以下の説明において同様となっている。Here, “CLK” is a clock signal for synchronizing each signal, HIGH is VDD (power supply voltage), and LOW is
VGND (ground voltage). First, the read request “RDREQn” becomes HIGH, and at the same time, the access arbitration unit 51 sends the address signal “ADRSn” and the burst signal “BURSTn” indicating the number of transfer words to each of the buffer blocks 42 and 4.
Receive from 3,44,45. If the timing is acceptable, a read request acceptance signal “RDRACKn” is returned. The symbol “n” is used for each of the buffer blocks 42, 43, 4
4 and 45.
This is the same in the following description.
【0087】このリード要求受理通知「RDRACKn」は、
必ずしも必要ないが、この信号をリード要求してきたバ
ッファブロックに伝えることにより、リード要求をして
きたバッファブロックに、リード要求「RDREQn」をLOW
にすることを促すことができる。これによって、メモリ
制御部41は、次のリード要求や次のライト要求を受け
付けることが可能となり、他のバッファブロックまたは
同じバッファブロックからの信号要求を受理することが
可能となる。つまり、メモリインターフェース部56,
58がリード処理を継続しつつ、アクセス調停部51
は、他の要求を受け付けることが可能となる。これによ
っていわば並行処理的作業が可能となる。すなわち、V
RAM26の能力を100%使い切ることが可能とな
る。The read request acceptance notification “RDRACKn”
Although not necessary, this signal is transmitted to the buffer block that has issued the read request, so that the read request “RDREQn” is set to LOW to the buffer block that has issued the read request.
Can be encouraged. As a result, the memory control unit 41 can receive the next read request or the next write request, and can receive a signal request from another buffer block or the same buffer block. That is, the memory interface unit 56,
58, the access arbitration unit 51
Can accept other requests. This enables a so-called parallel processing operation. That is, V
It is possible to fully use the capacity of the RAM 26.
【0088】リード要求受理通知「RDRACKn」が出力さ
れると共に、リード要求「RDREQn」は優先権制御部57
によって先に示した優先順位にしたがって選択される。
選択された信号に基づいて、メモリタイミイング生成部
58は、VRAM26にメモリ信号制御信号VCS,VOE等
を出力し、VRAM26は、動作状態となる。The read request acceptance notification “RDRACKn” is output, and the read request “RDREQn” is transmitted to the priority control unit 57.
Are selected according to the priorities shown above.
Based on the selected signal, the memory timing generation unit 58 outputs memory signal control signals VCS, VOE, and the like to the VRAM 26, and the VRAM 26 enters an operation state.
【0089】VRAM26との接続用バスを経由して、
この例では4つのアドレスがVRAM26に伝えられ、
該当するアドレスから読み取り(リード)が4回行われ
る。そして、4つのデータData0〜Data3がV
RAM26側のメモリインターフェース部53に伝えら
れる。その後、リードデータ「DATAOUT」としてメモリ
インターフェース部53を経由して所定のバッファブロ
ックに取り込まれる。このとき、リードデータ送信通知
「RDDACKn」がアクセス調停部51からそのバッファブ
ロックに伝えられ、上述の取り込みがオンとなる。Via a connection bus to the VRAM 26,
In this example, four addresses are transmitted to the VRAM 26,
Reading (reading) is performed four times from the corresponding address. The four data Data0 to Data3 are V
The information is transmitted to the memory interface unit 53 on the RAM 26 side. Thereafter, the data is fetched into a predetermined buffer block via the memory interface unit 53 as read data “DATAOUT”. At this time, the read data transmission notification “RDDACKn” is transmitted from the access arbitration unit 51 to the buffer block, and the above-described capture is turned on.
【0090】なお、メモリ制御部41は、メモリ23や
VRAM26内の状態を把握しており、リード要求受理
通知「RDRACKn」やリードデータ送信通知「RDDACKn」を
メモリ23やVRAM26の処理の段階に合わせて発信
するようにしている。例えば、VRAM26の都合によ
り、要求されたアドレスのデータがすぐに返ってこない
ようなとき、このリード要求受理通知「RDRACKn」やリ
ードデータ送信通知「RDDACKn」を発信しないことよ
り、各バッファブロック42,43,44,45の次の
処理を待たせることができ、メモリ23、VRAM26
および各バッファブロック42,43,44,45の互
いの切り口を簡単に揃えることができる。また、このリ
ード要求受理通知「RDRACKn」によって先行受付が可能
となる。これによって、いわゆるパイプライン処理が可
能となる。The memory control unit 41 knows the state in the memory 23 and the VRAM 26, and adjusts the read request reception notification “RDRACKn” and the read data transmission notification “RDDACKn” in accordance with the processing stages of the memory 23 and the VRAM 26. I try to send. For example, when the data of the requested address is not immediately returned due to the VRAM 26, the read request acceptance notification “RDRACKn” and the read data transmission notification “RDDACKn” are not transmitted, so that each buffer block 42, The next processing of 43, 44, 45 can be made to wait, and the memory 23, the VRAM 26
Also, the cut edges of the buffer blocks 42, 43, 44, and 45 can be easily aligned. The read request acceptance notification “RDRACKn” enables advance acceptance. This enables so-called pipeline processing.
【0091】このリード要求受理通知「RDRACKn」の信
号が仮に無いとすると、リード要求「RDREQn」がHIGHの
ままとなり、リードデータ「DATAOUT」が所定のバッフ
ァブロックに入った段階で初めてLOWとなることとな
る。このため、この間は他のバッファブロックからの信
号処理が行えなくなってしまう。なお、各バッファブロ
ック42,43,44,45のリード要求に対しての優
先順位は、先に示したようにバックグランドバッファブ
ロック45を最も高くしている。ただし、後述する最終
描画イメージバッファブロック46からの書き込み要求
が出ているときは、その要求を第1優先順位としてい
る。Assuming that there is no signal of the read request acceptance notification “RDRACKn”, the read request “RDREQn” remains HIGH and goes low only when the read data “DATAOUT” enters a predetermined buffer block. Becomes For this reason, signal processing from another buffer block cannot be performed during this time. The priority of the buffer blocks 42, 43, 44, and 45 with respect to the read request is highest in the background buffer block 45 as described above. However, when a write request is issued from the final drawing image buffer block 46 to be described later, the request is given the first priority.
【0092】各バッファブロック42,43,44,4
5,46からの各要求に対しては、上述したように固定
順位や動的対応が考えられる。動的対応としては、バッ
ファの容量を把握するものの他、どのバッファブロック
42,43,44,45,46の要求を受け付けたかを
算出し、受け付けられた回数が多いものの優先順位を低
くする方法がある。また、トークンリングのようにいわ
ゆる切符のようなものを1つ用意して、その切符をくる
くるまわして、切符を受け付けたときに要求を受け付け
るようにすることもできる。Each of the buffer blocks 42, 43, 44, 4
For each of the requests from Nos. 5 and 46, a fixed order or a dynamic response can be considered as described above. As the dynamic response, a method of calculating which buffer block 42, 43, 44, 45, or 46 a request has been received in addition to grasping the buffer capacity, and lowering the priority of a request having a larger number of times of reception has been adopted. is there. It is also possible to prepare one such as a so-called ticket, such as a token ring, to rotate the ticket, and to accept a request when the ticket is accepted.
【0093】次に、画像処理装置1の書き込み動作を図
14に基づいて説明する。なお、図14は、VRAM2
6やメモリ23への書き込み(ライト)時の標準化され
たアクセス手順を示している。また、この実施の形態で
は、ライト動作は、最終描画イメージバッファブロック
46のみであるが、他のバッファブロックを付加した場
合も、このアクセス手順によって書き込み動作を行うこ
ととなる。なお、図14中で斜線で示される部分は、図
13と同様、不定を意味している。また、図14では、
VRAM26へ書き込む場合も示すが、メモリ23へ書
き込む場合も同様となる。Next, the writing operation of the image processing apparatus 1 will be described with reference to FIG. FIG. 14 shows the VRAM2
6 shows a standardized access procedure at the time of writing (writing) to the memory 23. In this embodiment, the write operation is performed only on the final drawing image buffer block 46. However, even when another buffer block is added, the write operation is performed by this access procedure. The hatched portions in FIG. 14 mean indefinite as in FIG. In FIG. 14,
Although the case of writing to the VRAM 26 is shown, the same applies to the case of writing to the memory 23.
【0094】信号[CLK」は、リード時と同様の役割を
持つものである。まず、ライト要求「WRREQn」がHIG
Hとなり、その要求をアクセス調停部51が検出する。
これと同時に、VRAM26への書き込みアドレス「AD
RSn」と転送ワード数を示すバースト信号「BURSTn」
と、書き込むデータ「DATAn」と、書き込みたくない場
所を指示するバイトマスク信号「MASKn」とを最終描画
イメージバッファブロック46から受け取る。The signal [CLK] has the same role as in the read operation. First, the write request “WRREQn” is set to HIG.
H, the request is detected by the access arbitration unit 51.
At the same time, the write address “AD
RSn "and burst signal" BURSTn "indicating the number of words to be transferred
And the data "DATAn" to be written and the byte mask signal "MASKn" indicating a place where writing is not desired are received from the final drawing image buffer block 46.
【0095】なお、バイトマスク信号とは、先に示した
マスク制御信号(=MASKD)であり、上述したように、
一回の書き込み処理で書き込まれるデータを1バイト
(=8ビット)単位に区切って考えたとき、各バイトを
書き込むか否かを指定するものである。書き込むか否か
を1ビットで表示すると、一回に書き込まれるデータが
4バイト(=32ビット)の場合は、バイトマスク信号
は4ビットとなる。つまり、バイトマスク信号の各ビッ
トが、書き込みデータの対応する各バイトを書き込むか
どうかを指定する。バイトマスク信号により書き込まな
いように指定されたバイトは、既にVRAM26が記憶
している値がそのまま保持させることになる。なお、一
回の書き込み処理で書き込まれるデータは、4バイトに
限定されるものではなく、他のビットまたは他のバイト
でも良い。また、書き込みデータをマスクする機能を使
用しない場合、バイトマスク信号およびそれに付随する
回路すべてを省略しても良い。さらに、書き込むか否か
の信号を1ビットでなく、2ビットで現すようにしても
良い。Note that the byte mask signal is the mask control signal (= MASKD) shown above, and as described above,
When data to be written in one write process is considered in units of 1 byte (= 8 bits), this specifies whether or not to write each byte. If the data to be written is indicated by 1 bit, and the data to be written at a time is 4 bytes (= 32 bits), the byte mask signal is 4 bits. That is, each bit of the byte mask signal specifies whether to write each corresponding byte of the write data. For a byte specified not to be written by the byte mask signal, the value already stored in the VRAM 26 is held as it is. The data written in one write process is not limited to 4 bytes, but may be another bit or another byte. When the function of masking the write data is not used, the byte mask signal and all the circuits associated therewith may be omitted. Further, the signal for writing or not may be represented by 2 bits instead of 1 bit.
【0096】ライト要求受理通知「WRRACKn」は、先の
リード要求受理通知「RDRACKn」と同様の機能を有する
ものである。この信号によってパイプライン処理が可能
となり、VRAM26の機能を100%使い切ることが
可能となる。また、バイトマスク信号「MASKn」が不要
なときは、常時、4バイト書き込みの定義を行うことに
より、この機能を使わないようにすることができる。こ
のような使用、不使用の選択は、他の信号も同様となっ
ている。The write request acknowledgment "WRRACKn" has the same function as the previous read request acknowledgment "RDRACKn". With this signal, pipeline processing becomes possible, and the function of the VRAM 26 can be used up 100%. When the byte mask signal “MASKn” is unnecessary, this function can be prevented from being used by always defining 4-byte writing. Such selection of use or non-use is the same for other signals.
【0097】ライト要求受理通知「WRRACKn」は、最終
描画イメージバッファブロック46のライト要求信号
「WRREQn」をHIGHからLOWにすることを要求し、
それによってメモリ制御部41は、他の要求信号も受け
付けることが可能となる。一方、アドレス「ADRSn」の
信号等に基づいて、メモリ制御部41からメモリ信号制
御信号 CS,OE,WR,AD,DBが出力され、VRAM26
は動作状態となる。これにより、4つのデータData0〜
3が、またバイトマスク信号として4つのマスク制御信
号Mask0〜3が、それぞれVRAM26に伝えられ書き
込まれる。The write request acceptance notification “WRRACKn” requests that the write request signal “WRREQn” of the final drawing image buffer block 46 be changed from HIGH to LOW,
Thereby, the memory control unit 41 can receive another request signal. On the other hand, memory signal control signals CS, OE, WR, AD, and DB are output from the memory control unit 41 based on the signal at the address “ADRSn” and the like.
Is in the operating state. As a result, the four data Data0
3 and four mask control signals Mask0 to Mask3 as byte mask signals are transmitted to the VRAM 26 and written.
【0098】なお、ライト要求「WRREQn」と同時にライ
トデータ「DATAn」とバイトマスク信号「MASKn」を出す
ようにせず、ライト要求受理通知「WRRACKn」が出力さ
れてからライトデータ「DATAn」とバイトマスク信号「M
ASKn」を出力するようにしても良い。しかし、同時に出
力した方が処理速度の面で有利になる。すなわち、デー
タの先行受け付けが可能となる。Note that the write data “DATAn” and the byte mask signal “MASKn” are not output simultaneously with the write request “WRREQn”, and the write data “DATAn” and the byte mask are output after the write request acknowledgment “WRRACKn” is output. The signal `` M
ASKn ”may be output. However, outputting at the same time is advantageous in terms of processing speed. That is, it is possible to receive data in advance.
【0099】メモリ制御部41が1つ目の書き込みデー
タData0とバイトマスク信号Mask0を最終描画イメージ
バッファブロック46から受け取ると、ライトデータ受
信通知「WRDACKn」がメモリ制御部41から該バッファ
ブロック46に出力される。最終描画イメージバッファ
ブロック46は、1つ目のライトデータ受信通知「WRDA
CKn」を受け取ると、次の書き込みデータData1とバイ
トマスク信号Mask1を出力する。このようにして次々と
データとバイトマスク信号が送られる。When the memory control unit 41 receives the first write data Data0 and the byte mask signal Mask0 from the final drawing image buffer block 46, a write data reception notification “WRDACKn” is output from the memory control unit 41 to the buffer block 46. Is done. The final drawing image buffer block 46 receives the first write data reception notification “WRDA
When receiving "CKn", it outputs the next write data Data1 and byte mask signal Mask1. In this way, data and byte mask signals are sent one after another.
【0100】図14の例では、ライトデータ受信通知
「WRDACKn」は2つ連続して出力された後、少し時間を
おいてさらに2つ連続して出力されている。なお、VR
AM26の使用やメモりタイミング生成部58のタイミ
ングによっては、4つ連続したり、断続的にライトデー
タ受信通知「WRDACKn」が送出される場合もある。最終
描画イメージバッファブロック46から送られてきた書
き込みデータ「DATAn」とバイトマスク信号「MASKn」
は、上述したように、順次、VRAM26に書き込まれ
ていく。In the example of FIG. 14, two write data reception notices “WRDACKn” are continuously output, and then two more are output after a short time. Note that VR
Depending on the use of the AM 26 or the timing of the memory timing generation unit 58, four consecutive or intermittent write data reception notifications “WRDACKn” may be transmitted. Write data “DATAn” and byte mask signal “MASKn” sent from the final drawing image buffer block 46
Are sequentially written to the VRAM 26 as described above.
【0101】次に、専用グラフィックススLSI22の
画像処理部37の処理フローについて説明する。Next, the processing flow of the image processing section 37 of the dedicated graphics LSI 22 will be described.
【0102】画像処理部37の処理フローは、図15に
示すとおりとなっている。すなわち、復号部36から送
られてきた復号された画像(以下原描画イメージとい
う)に対して透明色抜き取り処理(ステップS101)
を行う。次に、透明色の部分に、透明色のRGB値を与
える透明色置換処理(ステップS102)を行う。その
後、拡大・縮小処理(ステップS103)を行い、透明
色を検出した(ステップS104)後、元の画像に上書
きする部分を上書き検出部41で検出する。The processing flow of the image processing section 37 is as shown in FIG. That is, a transparent image extracting process (step S101) is performed on the decoded image (hereinafter referred to as an original drawing image) transmitted from the decoding unit 36.
I do. Next, a transparent color replacement process (step S102) for giving the RGB values of the transparent color to the transparent color portion is performed. After that, an enlargement / reduction process (step S103) is performed, and after a transparent color is detected (step S104), a portion to be overwritten on the original image is detected by the overwrite detection unit 41.
【0103】上書き検出部71には、クリップ処理(ス
テップS105)やマスク処理(ステップS106)の
ためのデータが入力し、それらの処理が行われた後、ブ
レンド処理(ステップS107)がなされる。なお、拡
大・縮小処理S103、クリップ処理S105、ブレン
ド処理S107等の処理は、その処理が指定されていな
ければ行われない。拡大・縮小処理されたデータは、マ
ルチプレクサ77に入力し、クリップ処理S105等の
データとドッキングされ、必要によりブレンド処理S1
07がされる。なお、塗りつぶし機能(詳細は後述)が
オンのときは、色レジスタ78からのデータを利用して
塗りつぶし処理がなされる。その場合のデータも、その
後にブレンド処理S107がなされ、最終描画イメージ
として液晶表示部インターフェイス39に送られる。The data for clip processing (step S105) and mask processing (step S106) are input to the overwrite detecting section 71, and after these processings are performed, blend processing (step S107) is performed. The processing such as the enlargement / reduction processing S103, the clip processing S105, and the blending processing S107 is not performed unless the processing is specified. The data subjected to the enlargement / reduction processing is input to the multiplexer 77 and docked with the data of the clip processing S105 and the like, and if necessary, the blend processing S1
07 is performed. When the painting function (details will be described later) is on, the painting process is performed using the data from the color register 78. The data in that case is also subjected to a blending process S107 after that, and sent to the liquid crystal display interface 39 as a final drawing image.
【0104】次に、このネットワークディスプレイ1の
表示機能について説明する。なお、今後使用する「スプ
ライト」なる語句は、アニメーションの1つのフレーム
20内の画像の構成要素を指し、それぞれは後述する理
由によって矩形で現される。例えば、[A」「B」
「C」等の文字、リンゴや柿等の絵、三角や四角等の幾
何学図形等がスプライトに相当する。また、「スプライ
ト画面」とは、そのような「スプライト」を表示する画
面のことを言う。Next, the display function of the network display 1 will be described. Note that the phrase “sprite” used hereinafter refers to a component of an image in one frame 20 of the animation, and each is represented by a rectangle for the reason described later. For example, [A] [B]
Characters such as "C", pictures such as apples and persimmons, and geometric figures such as triangles and squares correspond to sprites. The “sprite screen” refers to a screen that displays such a “sprite”.
【0105】一般的に、アニメーションにおける各画面
となる各フレーム20は、複数のスプライト画面より構
成される。各スプライトは、1画素16ビット(R:
G:B=5ビット:6ビット:5ビット)のRGB形式
となる自然画的な画像であり、自然画像スプライトとな
っている。各スプライトは、CPU21と、専用グラフ
ィックススLSI22と、メモリ23等が協力して描画
される。In general, each frame 20 which becomes each screen in the animation is composed of a plurality of sprite screens. Each sprite has 16 bits per pixel (R:
G: B = 5 bits: 6 bits: 5 bits) is a natural image in RGB format and is a natural image sprite. Each sprite is rendered in cooperation with the CPU 21, the dedicated graphics LSI 22, the memory 23, and the like.
【0106】この実施の形態のアニメーション画面は、
これらの各スプライトが重なった場合、最も前面にきた
スプライトが優先表示されるようになっている。ただ
し、特定の2色については、透明色としているので、そ
の「透明」を利用して、後側の画面の色が出せるように
なっている。The animation screen of this embodiment is
When these sprites overlap, the sprite that comes to the foreground is preferentially displayed. However, since the two specific colors are transparent, the color of the screen on the rear side can be displayed using the “transparency”.
【0107】表示部11となるスクリーンは、アニメー
ションムービーを表示するエリアであり、表示スクリー
ンとなる。このネットワークディスプレイ1は、図16
に示すように、320×240ピクセルのディスプレイ
サイズとなる表示スクリーン80を有している。また、
最小サイズで幅1ピクセル(pixel)×高さ1ピクセル
(pixel)から、最大サイズで幅1023ピクセル×高
さ511ピクセルのムービースクリーン81をサポート
できるようになっている。アニメーションムービーのス
クリーン(ムービースクリーン51)の原点(左上端)
が表示スクリーン80の原点(左上端)Pとなるように
なっている。なお、ネットワークディスプレイ1の表示
スクリーン80を、320×240ピクセル以外に、5
12×240ピクセルとしたり、640×480ピクセ
ルとしても良い。The screen serving as the display unit 11 is an area for displaying an animation movie and serves as a display screen. This network display 1 is shown in FIG.
Has a display screen 80 with a display size of 320 × 240 pixels. Also,
A movie screen 81 having a maximum size of 1023 pixels in width and 511 pixels in height from a minimum size of 1 pixel (pixel) × 1 pixel in height (pixel) can be supported. The origin (upper left) of the animation movie screen (movie screen 51)
Is the origin (upper left end) P of the display screen 80. In addition, the display screen 80 of the network display 1 is set to 5
It may be 12 × 240 pixels or 640 × 480 pixels.
【0108】ここで、ムービースクリーン81(詳細後
述)のサイズが表示スクリーン80より大きい場合は、
ムービースクリーン81の一部分が表示されることにな
る。逆に、ムービースクリーン81のサイズが表示スク
リーン80より小さい場合は、表示スクリーン80の右
端あるいは下端に余白部分が生じる。余白部分は、表示
スクリーン80の背景色で表示される。表示スクリーン
80の背景色は、16bit/ピクセルのRGB値で指定さ
れる。Here, if the size of the movie screen 81 (described later in detail) is larger than the display screen 80,
A part of the movie screen 81 will be displayed. Conversely, when the size of the movie screen 81 is smaller than the display screen 80, a blank portion is generated at the right end or lower end of the display screen 80. The margin is displayed with the background color of the display screen 80. The background color of the display screen 80 is specified by an RGB value of 16 bits / pixel.
【0109】アニメーションのフレームを描画するため
の空間(図16参照)をムービースクリーン空間82と
呼ぶ。この空間82は、一種の仮想空間で、仮想RAM
とも言えるものである。この空間82は、幅方向(水平
方向)で、−1024ピクセルから1023ピクセル、
高さ方向(垂直方向)で、−512ピクセルから511
ピクセルの広がりをもつが、実際に画像が描画されるの
はこの空間82の中の一部の領域となる。この実際に描
画される領域をムービースクリーン81と呼ぶ。ムービ
ースクリーン81は、常に原点P(0,0)を基点とす
る。そのサイズはムービー毎に異なる。最大で原点P
(0,0)と(1023,511)を対角とする矩形領
域(境界を含む)がムービースクリーン81になる。A space for drawing frames of the animation (see FIG. 16) is called a movie screen space 82. This space 82 is a kind of virtual space and has a virtual RAM.
It can be said that. This space 82 has a width (horizontal) of -1024 pixels to 1023 pixels,
In the height direction (vertical direction), from -512 pixels to 511
Although it has a spread of pixels, it is a partial area in the space 82 that the image is actually drawn. This actually drawn area is called a movie screen 81. The movie screen 81 always has the origin P (0, 0) as a base point. Its size varies from movie to movie. Origin P at maximum
A rectangular area (including a boundary) having (0, 0) and (1023, 511) as diagonals becomes the movie screen 81.
【0110】個々のアニメーションムービーは、上述の
とおり、最小サイズで幅1ピクセル×高さ1ピクセルか
ら、最大サイズで幅1023ピクセル×高さ511ピク
セルのムービースクリーン81を持つことができる。ム
ービースクリーン空間82に描画されるスプライトは、
ムービースクリーン81に含まれる部分だけが実際に描
画される。ムービースクリーン81の外の部分は、描画
されないようになっている。このムービースクリーン8
1の所定部分に転送先画像(描画画像)83が描画され
る。As described above, each animation movie can have a movie screen 81 with a minimum size of 1 pixel wide × 1 pixel high and a maximum size of 1023 pixels wide × 511 pixels high. The sprite drawn in the movie screen space 82 is
Only the part included in the movie screen 81 is actually drawn. The portion outside the movie screen 81 is not drawn. This movie screen 8
A transfer destination image (drawing image) 83 is drawn on a predetermined portion of the image data.
【0111】ムービースクリーン81に描画される画像
は、原描画イメージではなく、実際は原描画イメージと
透明色データとなる透明マスク画像86をドッキングし
たものである。原描画イメージは、図16に示すよう
な、転送矩形画像85が圧縮されてメモリ23に保存さ
れた後、伸長されたものである。透明色データも透明マ
スク画像となり透明矩形画像86が圧縮されてメモリ2
3に保存されたものが伸長されて形成される。各画像5
5,56は、最大サイズで幅1023ピクセル×高さ5
11ピクセルとなると共に同一の大きさとなっている。The image drawn on the movie screen 81 is not an original drawing image, but is actually an original drawing image and a transparent mask image 86 which becomes transparent color data. The original drawing image is an image obtained by compressing the transfer rectangular image 85 as shown in FIG. The transparent color data also becomes a transparent mask image, and the transparent rectangular image 86 is compressed and stored in the memory 2.
3 is expanded and formed. Each image 5
5, 56 is the maximum size, width 1023 pixels × height 5
It is 11 pixels and the same size.
【0112】このように、透明矩形画像86を形成する
のは、自然画像中の特定の色を透明色として割り当てて
いるため、転送矩形画像85のみでは非可逆的に画像圧
縮した場合に、その透明色を保存することができないた
めである。また、このように、画像データと透明色デー
タを分離して圧縮すると、処理が簡単となり圧縮効率も
良くなる。透明矩形画像86は、その中の透明色部分に
「1」または「0」のビットを割り当て、不透明部分に
「0」または「1」のビットを割り当てるだけの簡単な
ビットマップ画像となっている。As described above, the transparent rectangular image 86 is formed because a specific color in a natural image is assigned as a transparent color. This is because a transparent color cannot be preserved. When the image data and the transparent color data are separated and compressed in this manner, the processing is simplified and the compression efficiency is improved. The transparent rectangular image 86 is a simple bitmap image in which “1” or “0” bits are assigned to a transparent color portion therein, and “0” or “1” bits are assigned to an opaque portion. .
【0113】復号された転送矩形画像85中の透明とな
るべきでない部分に、透明色として定義される色が生ず
る場合がある。このため、まず最初に、上述のように、
透明色抜き取り処理S101を行う。次に、透明矩形画
像86の透明データがドッキングされる。このとき、ド
ッキングされた原描画イメージの透明となる部分に、所
定の透明色を割り当てる透明色置換処理S102を行
う。この実施の形態では、RGB値が(31,62,3
1)と(31,63,31)となる色を透明色としてい
る。A color defined as a transparent color may occur in a portion of the decoded transfer rectangular image 85 that should not be transparent. For this reason, first of all, as mentioned above,
A transparent color extracting process S101 is performed. Next, the transparent data of the transparent rectangular image 86 is docked. At this time, a transparent color replacement process S102 for assigning a predetermined transparent color to a transparent portion of the docked original drawing image is performed. In this embodiment, the RGB values are (31, 62, 3).
The colors 1) and (31, 63, 31) are transparent.
【0114】拡大・縮小処理S103は、その画像であ
る転送矩形画像85の幅と高さのデータを入力し、所定
の大きさに拡大したり縮小したりする。このとき、既に
透明色処理を施しているので、透明矩形画像85の幅と
高さのデータは必要とされない。ただし、入力させるよ
うにしても良い。拡大・縮小されたデータは、上書きの
ために透明色検出処理S104がなされる。なお、この
処理以前または処理以後にクリップ処理S105やマス
ク処理S106のためのデータ作成がなされる場合があ
る。この処理順としては、マスク処理、クリップ処理の
順で処理するのが好ましい。In the enlargement / reduction processing S103, data of the width and height of the transfer rectangular image 85, which is the image, is input, and the data is enlarged or reduced to a predetermined size. At this time, since the transparent color processing has already been performed, the data of the width and height of the transparent rectangular image 85 is not required. However, you may make it input. The enlarged / reduced data is subjected to transparent color detection processing S104 for overwriting. Before or after this processing, data may be created for clip processing S105 or mask processing S106. It is preferable that the processing is performed in the order of the mask processing and the clip processing.
【0115】クリップ処理S105は、図17に示すよ
うに、描画画像83に対して、クリップウインドウ91
をかけることにより、描画画像83の所定部分を切り取
るものである。このクリップウインドウ91の最大サイ
ズは、幅が1023ピクセルで、高さが511ピクセル
となる。なお、クリップウインドウ91の配置は、ムー
ビースクリーン空間82内で自由に配置される。As shown in FIG. 17, the clip processing S105 is performed on the drawing image 83 with respect to the clip window 91.
, A predetermined portion of the drawing image 83 is cut out. The maximum size of the clip window 91 is 1023 pixels in width and 511 pixels in height. The clip window 91 can be freely arranged in the movie screen space 82.
【0116】クリップ処理S105は、2つの種類に分
かれる。1つは、図18(A)に示すように、クリップ
ウインドウ91内の画像を描画するもので(斜線部が描
画領域)、他の1つは、図18(B)に示すように、ク
リップウインドウ91内の画像を描画せずに、有効表示
領域となる表示スクリーン80中で、かつクリップウイ
ンドウ91の外に位置する部分(斜線部)を描画するも
のである。このクリップ処理S105に当たっては、ク
リップウインドウ91のオフセット値とサイズが入力さ
れる。オフセット値は、ムービースクリーン空間82の
中心であり、描画画面の基点Pとなる位置、すなわちX
Yが(0,0)の位置からのずれを示す。The clip processing S105 is divided into two types. One is for drawing an image in the clip window 91 as shown in FIG. 18A (the shaded area is a drawing area), and the other is for drawing a clip as shown in FIG. Instead of drawing the image in the window 91, a portion (hatched portion) located outside the clip window 91 in the display screen 80 serving as an effective display area is drawn. In the clip processing S105, an offset value and a size of the clip window 91 are input. The offset value is located at the center of the movie screen space 82 and becomes a base point P of the drawing screen, that is, X
Y indicates a deviation from the position of (0, 0).
【0117】このように、クリップ処理S105では、
クリップウインドウ91用のレジスタで指定される任意
サイズのクリップウインドウ91を、任意のウインドウ
開始位置に指定して、クリッピング処理を行うことがで
きる。なお、クリップウインドウモードの指定により、
クリップウインドウ91の処理方法を図18(A)また
は図18(B)のいずれかとすることができる。As described above, in the clip processing S105,
The clipping process can be performed by designating the clip window 91 of an arbitrary size specified by the register for the clip window 91 as an arbitrary window start position. In addition, by specifying the clip window mode,
The processing method of the clip window 91 can be any of FIG. 18A or FIG. 18B.
【0118】マスク処理S106は、図19に示すよう
に、描画画像83にマスク92をかけるもので、一種の
目隠しを施すものである。マスク92が施された部分が
表示されないようになる。この実施の形態では、マスク
92の形成に当たってタイリング方式を採用している。
すなわち、幅と高さにより指定される任意サイズのマス
クパターン93をマスク92となるタイリング矩形領域
に敷き詰めてマスク処理S106を実現する。なお、マ
スク92の幅、高さ、開始位置は任意に指定できる。As shown in FIG. 19, the mask processing S106 applies a mask 92 to the drawing image 83, and performs a type of blindfolding. The portion where the mask 92 is applied is not displayed. In this embodiment, a tiling method is used for forming the mask 92.
That is, the mask processing S106 is realized by laying the mask pattern 93 of an arbitrary size specified by the width and the height on the tiling rectangular area serving as the mask 92. Note that the width, height, and start position of the mask 92 can be arbitrarily specified.
【0119】拡大・縮小されたデータは、その位置デー
タと共にマルチプレクサ回路77に入力する。このと
き、2つのモードを切り替えるBDモード信号によっ
て、通常の処理を行うか、次の塗りつぶし処理を行うか
を切り換えている。BDモード信号は、拡大・縮小後に
通常の張りつけの作業を行うときは、“0”(または
“1”)となり、塗りつぶし処理のときは“1”(また
は“0”)となる。塗りつぶしのときは、色レジスタ7
8からの色で塗りつぶし処理が行われる。この矩形の塗
りつぶし機能は、本来このネットワークディスプレイ1
の機能が張り付けなのに対し、少し異なった機能のもの
となっている。所定の矩形領域94(図20参照)を色
レジスタ78で指定した任意の色で塗りつぶす処理にな
る。この機能は、画面の初期化、矩形・直線の描画処理
に適用される。The enlarged / reduced data is input to the multiplexer circuit 77 together with the position data. At this time, the normal mode or the next filling process is switched according to the BD mode signal for switching the two modes. The BD mode signal is “0” (or “1”) when performing normal pasting work after enlarging / reducing, and becomes “1” (or “0”) during filling processing. When filling, color register 7
The painting process is performed with the color from 8 onward. The function for filling the rectangle is originally intended for this network display 1
The function is a little different, while the function is attached. This is processing for painting a predetermined rectangular area 94 (see FIG. 20) with an arbitrary color designated by the color register 78. This function is applied to screen initialization and rectangular / straight line drawing processing.
【0120】この矩形の塗りつぶし機能は、最大102
3×511ピクセルのサイズの矩形領域94を単一色で
塗りつぶす機能となっている。また、この塗りつぶし領
域94の指定は、水平(−1024〜1023ピクセ
ル)、垂直(−512〜511ピクセル)方向ともに任
意の位置に指定できる。矩形描画の色の指定を色レジス
タ43で、幅と高さの指定を幅高さ指定レジスタ(図示
省略)で、描画開始位置の指定を描画オフセットレジス
タ(図示省略)によりそれぞれ行うようになっている。This rectangle filling function has a maximum of 102 functions.
The function is to fill a rectangular area 94 having a size of 3 × 511 pixels with a single color. The specification of the filled area 94 can be made at any position in both the horizontal (−1024 to 1023 pixels) and vertical (−512 to 511 pixels) directions. The color of the rectangle drawing is specified by the color register 43, the width and the height are specified by the width and height specifying register (not shown), and the drawing start position is specified by the drawing offset register (not shown). I have.
【0121】以上のような各種の処理がなされた後、最
後にブレンド処理S107がなされる。After the various processes as described above are performed, finally, a blend process S107 is performed.
【0122】ブレンド処理S107は、図21に示すよ
うに、転送矩形画像85と透明矩形画像86で構成され
る転送元画像95を所定の描画方法で描画する際、自身
の不透明画素の色と下絵となる描画ページ96の背景色
(バックグランド画像)98とを指定されたブレンド比
率で混合し、転送画像97とする処理である。ブレンド
比率は、0から100%の値の範囲内、この実施の形態
では32段階で指定される。値が100%の場合は、自
身の不透明画素の色が下絵に対し完全に上書きされる。
値が50%の場合は、自身の不透明画素の色と下絵の画
素の色がそれぞれ1/2づつ混合される。値が0%の場
合は、下絵の色がそのまま保存される。In the blending process S107, as shown in FIG. 21, when the transfer source image 95 composed of the transfer rectangular image 85 and the transparent rectangular image 86 is drawn by a predetermined drawing method, the color of its own opaque pixel and the background image are drawn. This is a process of mixing a background color (background image) 98 of the drawing page 96 with a specified blend ratio to obtain a transfer image 97. The blend ratio is specified in a range of 0 to 100%, in this embodiment, in 32 levels. When the value is 100%, the color of the own opaque pixel is completely overwritten on the sketch.
When the value is 50%, the color of its own opaque pixel and the color of the underlying pixel are mixed by 1/2 each. When the value is 0%, the color of the sketch is stored as it is.
【0123】ブレンド比率は、転送元画像95の属性で
あり、後述するシナリオデータの一部として指定され
る。転送元画像95の描画方法に従って透明画素と不透
明画素が決定された後、不透明画素に対してブレンド処
理が実行される。The blend ratio is an attribute of the transfer source image 95 and is specified as a part of scenario data described later. After the transparent pixels and the opaque pixels are determined according to the drawing method of the transfer source image 95, the blending process is performed on the opaque pixels.
【0124】このブレンド処理は、具体的には、図21
に示すように、描画ページ96に既に書き込まれたバッ
クグランド画像98と転送元画像95と混合させ、転送
先画像位置のレジスタ(図示省略)で指定された矩形領
域にブレンディングされた画像を描画するものである。
ブレンディング係数は、転送元画像95とバックグラン
ド画像98に対して、それぞれ所定のレジスタにより
0.0〜1.0まで1/32単位で任意に指定できる。
また、ブレンド処理により、RGBの各色成分の値が6
ビット“63”を超えた場合は“63”にクリップされ
るようになっている。This blending process is specifically described in FIG.
As shown in (1), the background image 98 already written on the drawing page 96 is mixed with the transfer source image 95, and the blended image is drawn in the rectangular area specified by the register (not shown) of the transfer destination image position. Things.
The blending coefficient can be arbitrarily specified for each of the transfer source image 95 and the background image 98 by a predetermined register from 0.0 to 1.0 in units of 1/32.
The value of each color component of RGB is set to 6 by the blending process.
If the bit exceeds “63”, it is clipped to “63”.
【0125】ブレンド処理S107が終了すると、VR
AM26に描画され、その後、液晶表示部インターフェ
イス39は、VRAM26から描画された最終イメージ
を読み込み、液晶ディスプレイ等の表示部11に出力す
る。When the blending process S107 is completed, VR
After being drawn on the AM 26, the liquid crystal display interface 39 reads the drawn final image from the VRAM 26 and outputs it to the display unit 11 such as a liquid crystal display.
【0126】なお、ネットワークディスプレイ1に画像
全体ではなく、画像の一部分のみを表示するようにする
と、画像全体をデコードする必要がなくなり、表示用メ
モリを小さくできる。また、各ネットワークディスプレ
イ1によって、その表示用メモリと表示用パネルの大き
さを変えるようにしても良い。例えば、あるネットワー
クディスプレイ1は、「ABCD」を表示できるように
し、他のネットワークディスプレイ1は、「AB」を表
示できるようにし、さらに他のネットワークディスプレ
イ1は、「A」のみを表示できるような大きさとしても
良い。If only a part of the image is displayed on the network display 1 instead of the entire image, it is not necessary to decode the entire image, and the display memory can be reduced. The size of the display memory and the size of the display panel may be changed depending on each network display 1. For example, one network display 1 can display “ABCD”, another network display 1 can display “AB”, and another network display 1 can display only “A”. It may be large.
【0127】以上の実施の形態では、クリップ処理S1
05やマスク処理S106がされた画素は、ブレンド処
理S107しないようにしているので、CPU21や専
用グラフィックススLSI22等の計算量が減り高速描
画が可能となる。また、ブレンド処理を最後の処理とし
ているので、不必要な色が残るという不都合が生じな
い。In the above embodiment, the clip processing S1
Since the blend processing S107 is not performed on the pixel subjected to the mask processing 05 or the mask processing S106, the calculation amount of the CPU 21, the dedicated graphics LSI 22, and the like is reduced, and high-speed drawing can be performed. Further, since the blending process is the last process, there is no disadvantage that unnecessary colors remain.
【0128】なお、上述の実施の形態は、本発明の好適
な実施の形態の例であるが、これに限定されるものでは
なく、本発明の要旨を逸脱しない範囲において、種々変
形実施可能である。例えば、各バッファブロック42,
43,44,45,46のアクセス順位を、CPU21
とメモリ23にアクセスする場合と、VRAM26にア
クセスする場合とで、異なるようにしても良い。さら
に、リングバッファの例として、ダブルバッファを示し
たが、先入れ先出しの通常のリングバッファとしても良
い。Although the above-described embodiment is an example of a preferred embodiment of the present invention, the present invention is not limited to this, and various modifications can be made without departing from the gist of the present invention. is there. For example, each buffer block 42,
The access order of 43, 44, 45, 46 is determined by the CPU 21.
And access to the memory 23 and access to the VRAM 26 may be different. Furthermore, although a double buffer is shown as an example of the ring buffer, a normal first-in first-out ring buffer may be used.
【0129】また、上述の実施の形態では、各バッファ
ブロック42,43,44,45の各2つのバッファを
すべて同一としたが、1対となる2つのバッファ同士を
同一とし、他の対となるバッファとは異なる大きさとし
ても良い。また、各バッファブロック42,43,4
4,45,46の各2つのバッファをすべて同一として
も良い。In the above-described embodiment, all the two buffers in each of the buffer blocks 42, 43, 44, and 45 are the same. However, one pair of the two buffers is the same, and the other pair is the same. The buffer may have a different size. Each of the buffer blocks 42, 43, 4
All two buffers of 4, 45 and 46 may be the same.
【0130】この実施の形態では、RGB値が(31,
62,31)と(31,63,31)となる2色を透明
色としているが、1色のみを透明色として割り当てた
り、3色以上を透明色としても良い。また、透明色とし
ては、上述のように白色が好ましいが、他の色としても
良い。In this embodiment, the RGB values are (31,
Although two colors, 62, 31) and (31, 63, 31), are transparent, only one color may be assigned as a transparent color, or three or more colors may be made transparent. The transparent color is preferably white as described above, but may be another color.
【0131】また、ブレンド処理S107やクリップ処
理S105等の他に、スプライトの自動移動処理等他の
処理も行うようにすることができる。また、ブレンド処
理S107を行った後、再度透明色として定義された色
を他の色に置き換えるようにしても良い。これはブレン
ド処理S107した画像を再利用する際に好適となるFurther, in addition to the blending process S107 and the clipping process S105, other processes such as a sprite automatic moving process can be performed. After performing the blending process S107, the color defined as the transparent color may be replaced with another color. This is suitable when reusing the image subjected to the blending process S107.
【0132】。[0132]
【0134】また、ネットワークディスプレイ1のよう
にサーバを有するものではなく、サーバを有さず、単に
アニメーションや画像を再生する装置にも本発明を適用
できる。また、上述した処理のステップをプログラム化
し、コンピュータで読取り可能な情報記録媒体に記録す
るようにしても良い。その場合、CD−ROMやフロー
ピーディスク等の媒体の他に、ホストサーバの中のハー
ドディスク等をその媒体としても良い。ホストサーバの
ハードディスク等へ記録する場合は、インターネット等
の通信ネットやテレビ放送等の無線を利用して、そのプ
ログラムを送信することができる。The present invention can be applied to a device that does not have a server like the network display 1 and does not have a server but simply reproduces animations and images. Further, the above-described processing steps may be programmed and recorded on a computer-readable information recording medium. In this case, a hard disk or the like in the host server may be used as the medium in addition to a medium such as a CD-ROM or a floppy disk. When the program is recorded on a hard disk or the like of the host server, the program can be transmitted using a communication network such as the Internet or wireless communication such as a television broadcast.
【0133】[0133]
【発明の効果】以上説明したように、請求項1から5記
載の画像処理装置では、CPU等への負荷をかけずに上
書処理が可能となる。また、請求項6記載の画像処理装
置では、画像にかけるマスクの処理を効率的に行うこと
ができる。さらに、請求項7から10記載の画像処理装
置では、多機能な画像処理装置を、複雑化せず、しかも
低価格にて構成できるようになる。As described above, in the image processing apparatus according to the first to fifth aspects, the overwriting process can be performed without imposing a load on the CPU or the like. Further, in the image processing apparatus according to the sixth aspect, the processing of the mask applied to the image can be efficiently performed. Furthermore, in the image processing apparatus according to the seventh to tenth aspects, a multifunctional image processing apparatus can be configured at a low price without complicating.
【0134】また、請求項11から13記載の情報記録
媒体では、上書要否検出のステップが記録されていた
り、画像をマスクするステップが記録されていたり、複
数のモードを選択できるステップが記録されていたりす
る。このような情報記録媒体をコンピュータで読み取ら
せ実行させると、CPU等への負荷をかけずに上書処理
が可能となったり、画像にかけるマスクの処理を効率的
に行うことができたり、2つのモードを適切に選択し、
実行できるようになる。The information recording medium according to the eleventh to thirteenth aspects includes a step of detecting whether overwriting is required, a step of masking an image, and a step of selecting a plurality of modes. Or have been. When such an information recording medium is read and executed by a computer, overwriting processing can be performed without imposing a load on a CPU or the like, processing of a mask applied to an image can be efficiently performed, and Choose the two modes appropriately,
You can do it.
【図1】本発明の実施の形態である画像処理装置が組み
込まれたネットワークディスプレイが接続されるインタ
ーネットシステムの概要を示す図である。FIG. 1 is a diagram showing an outline of an Internet system to which a network display incorporating an image processing apparatus according to an embodiment of the present invention is connected.
【図2】図1のネットワークディスプレイの概観を示す
斜視図である。FIG. 2 is a perspective view showing an overview of the network display of FIG. 1;
【図3】図1のネットワークディスプレイの回路構成を
示すブロック図である。FIG. 3 is a block diagram showing a circuit configuration of the network display of FIG. 1;
【図4】図1のネットワークディスプレイ中の専用グラ
フィックスLSIの回路構成を示すブロック図である。FIG. 4 is a block diagram showing a circuit configuration of a dedicated graphics LSI in the network display of FIG. 1;
【図5】図3のネットワークディスプレイ中のメモリ2
3内に保存されるシナリオの役割を説明するための図で
ある。FIG. 5 is a memory 2 in the network display of FIG. 3;
FIG. 3 is a diagram for explaining the role of a scenario stored in the third scenario.
【図6】図1のネットワークディスプレイに使用される
専用グラフィックスLSI内の画像処理部の基本的動作
を説明するための図である。FIG. 6 is a diagram for explaining a basic operation of an image processing unit in a dedicated graphics LSI used for the network display of FIG. 1;
【図7】図4の専用グラフィックスLSIの画像処理部
の内部構成を示す回路ブロック図である。7 is a circuit block diagram illustrating an internal configuration of an image processing unit of the dedicated graphics LSI of FIG.
【図8】図7の画像処理部中のメモリ制御部の内部構成
を示す回路ブロック図である。8 is a circuit block diagram illustrating an internal configuration of a memory control unit in the image processing unit of FIG.
【図9】図4の専用グラフィックスLSIがメモリ23
やVRAM26とやりとりするデータの構成とバイトマ
スク信号を説明するための図で、(A)は1ワード分の
データを示し、(B)は上書き部分と上書きしない部分
を示し、(C)は(B)の場合のバイトマスク信号の例
を示す図である。9 is a diagram illustrating a case where the dedicated graphics LSI of FIG.
FIGS. 7A and 7B are diagrams for explaining the structure of data exchanged with the VRAM 26 and the byte mask signal, wherein FIG. 9A shows data for one word, FIG. It is a figure which shows the example of the byte mask signal in case of B).
【図10】図7の画像処理部中の原描画イメージバッフ
ァブロックの内部構成を示す回路ブロック図である。FIG. 10 is a circuit block diagram showing an internal configuration of an original drawing image buffer block in the image processing unit of FIG. 7;
【図11】図7の画像処理部中の最終描画イメージバッ
ファブロックの内部構成を示す回路ブロック図である。11 is a circuit block diagram illustrating an internal configuration of a final drawing image buffer block in the image processing unit of FIG. 7;
【図12】図7の画像処理部中のメモリアクセス最適化
処理部の内部構成を示す回路ブロック図である。12 is a circuit block diagram illustrating an internal configuration of a memory access optimization processing unit in the image processing unit of FIG. 7;
【図13】図7の画像処理部中のメモリ制御部が扱う各
信号の時間的経過を示す図で、バッファブロックがVR
AMからデータをリード(読み取り)するときの状況を
示す図である。FIG. 13 is a diagram showing the lapse of time of each signal handled by the memory control unit in the image processing unit of FIG. 7, where the buffer block is VR
It is a figure showing the situation at the time of reading (reading) data from AM.
【図14】図7の画像処理部中のメモリ制御部が扱う各
信号の時間的経過を示す図で、バッファブロックがVR
AMにデータをライト(書き込み)するときの状況を示
す図である。FIG. 14 is a diagram showing the lapse of time of each signal handled by a memory control unit in the image processing unit of FIG. 7, in which a buffer block is VR
FIG. 3 is a diagram illustrating a situation when data is written to an AM.
【図15】図4の専用グラフィックスLSIで行う拡大
・縮小処理等の処理順序を説明するための図である。FIG. 15 is a diagram for explaining a processing order of enlargement / reduction processing performed by the dedicated graphics LSI of FIG. 4;
【図16】図4の専用グラフィックスLSIで行う透明
色処理の原理を説明するための図である。FIG. 16 is a diagram for explaining the principle of transparent color processing performed by the dedicated graphics LSI of FIG. 4;
【図17】図4の専用グラフィックスLSIで行うクリ
ップ処理の内容を説明するための図である。FIG. 17 is a diagram illustrating the contents of clip processing performed by the dedicated graphics LSI of FIG. 4;
【図18】図17のクリップ処理の際の2つの方法を示
す図で、(A)はクリップウインドウ内が描画される方
法を示すもので、(B)はクリップウインドウ以外の部
分が描画される方法を示すものである。18A and 18B are diagrams showing two methods at the time of the clip processing of FIG. 17, wherein FIG. 18A shows a method of drawing the inside of a clip window, and FIG. 18B shows a portion other than the clip window. It shows the method.
【図19】図4の専用グラフィックスLSIで行うマス
ク処理の内容を説明するための図である。FIG. 19 is a diagram for explaining the contents of a mask process performed by the dedicated graphics LSI of FIG. 4;
【図20】図4の専用グラフィックスLSIで行う塗り
つぶし処理の内容を説明するための図である。20 is a diagram for explaining the content of a painting process performed by the dedicated graphics LSI of FIG. 4;
【図21】図4の専用グラフィックスLSIで行うブレ
ンド処理の内容を説明するための図である。FIG. 21 is a diagram for describing the content of a blending process performed by the dedicated graphics LSI of FIG. 4;
1 ネットワークディスプレイ(画像処理装置が組み込
まれた装置) 2 インターネット 3 LAN(ローカルエリアネットワーク) 6 WWWサーバ(HTTPサーバ) 11 表示部 21 CPU 22 専用グラフィックスLSI(表示処理手段) 23 メモリ 26 VRAM 36 復号部 37 画像処理部 41 メモリ制御部 42 原描画イメージバッファブロック 43 透明色データバッファブロック 44 マスクデータバッファブロック 45 バックグランドイメージバッファブロック 46 最終描画イメージバッファブロック 47 データ加工部(上書き要否判断部) 48 メモリアクセス最適化処理部(上書き要否判断
部) 51 アクセス調停部 61 バッファ制御部 62,63 バッファ 69,70 ダブルバッファ部 71 上書き検出部 72 上書き制御バッファ 80 表示スクリーン 81 ムービースクリーン 82 ムービースクリーン空間 83 転送先画像(描画画像) 85 転送元画像(転送矩形画像) 86 透明マスク画像(透明矩形画像)REFERENCE SIGNS LIST 1 network display (device incorporating an image processing device) 2 Internet 3 LAN (local area network) 6 WWW server (HTTP server) 11 display unit 21 CPU 22 dedicated graphics LSI (display processing means) 23 memory 26 VRAM 36 decoding Unit 37 image processing unit 41 memory control unit 42 original drawing image buffer block 43 transparent color data buffer block 44 mask data buffer block 45 background image buffer block 46 final drawing image buffer block 47 data processing unit (overwrite necessity determination unit) 48 Memory access optimization processing unit (overwrite necessity determination unit) 51 access arbitration unit 61 buffer control unit 62, 63 buffer 69, 70 double buffer unit 71 overwrite detection unit 72 Overwrite control buffer 80 Display screen 81 Movie screen 82 Movie screen space 83 Transfer destination image (drawing image) 85 Transfer source image (transfer rectangular image) 86 Transparent mask image (transparent rectangular image)
フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G09G 5/38 H04N 1/387 H04N 1/387 G06F 15/62 340D Fターム(参考) 5B050 BA08 CA05 CA08 EA09 EA17 EA19 EA22 EA24 FA02 FA05 5C023 AA02 AA11 AA32 AA38 AA40 BA02 BA11 CA01 DA04 DA08 5C076 AA02 AA12 AA17 AA21 AA22 AA36 BA03 BA04 BA06 CA09 CA12 CB02 5C082 BA43 BB01 CA32 CA56 CA59 CA63 CB01 DA49 DA54 DA87 MM02 MM07 Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat II (Reference) G09G 5/38 H04N 1/387 H04N 1/387 G06F 15/62 340D F-term (Reference) 5B050 BA08 CA05 CA08 EA09 EA17 EA19 EA22 EA24 FA02 FA05 5C023 AA02 AA11 AA32 AA38 AA40 BA02 BA11 CA01 DA04 DA08 5C076 AA02 AA12 AA17 AA21 AA22 AA36 BA03 BA04 BA06 CA09 CA12 CB02 5C082 BA43 BB01 CA32 CA56 CA59 CA63 CB01 DA49 DA54 DA87 MM
Claims (13)
て、複数の画像を重ね合わせて表示用データを生成する
画像処理装置において、所定ブロック毎に上書きが必要
か否かの検出を行う上書き要否判断部を設け、上書きが
不要なときは、上書き処理を行わず次のブロックの処理
を行うようにしたことを特徴とする画像処理装置。An image processing apparatus that generates display data by superimposing a plurality of images by a display processing unit that performs image display processing detects whether or not overwriting is necessary for each predetermined block. An image processing apparatus, comprising: a determination unit, wherein when overwriting is unnecessary, the next block is processed without performing overwriting.
を検出する上書き検出部と、その検出された信号を所定
量保存する上書き制御バッファと、処理画素数を検出す
る処理画素数検出部と、上書き不要部分にバイトマスク
信号を与えるライトマスク検出部とを有することを特徴
とする請求項1記載の画像処理装置。2. The overwriting necessity judging section includes an overwriting detecting section for detecting necessity of overwriting, an overwriting control buffer for storing a detected signal by a predetermined amount, and a processing pixel number detecting section for detecting the number of processing pixels. 2. The image processing apparatus according to claim 1, further comprising: a write mask detecting unit that supplies a byte mask signal to a portion that does not need to be overwritten.
保存できる容量とし、この16画素を単位として、次の
処理部に転送するようにしたことを特徴とする請求項2
記載の画像処理装置。3. The overwriting control buffer has a capacity capable of storing 16 pixels, and transfers the data to the next processing unit in units of 16 pixels.
The image processing apparatus according to any one of the preceding claims.
のブロックとして上書き要否の判断を行うようにしたこ
とを特徴とする請求項1,2または3記載の画像処理装
置。4. The image processing apparatus according to claim 1, wherein said overwriting necessity judging unit judges the necessity of overwriting with eight pixels as one block.
上書きが必要な場合は、そのブロック全体として上書き
処理を行い、所定のブロック中のすべての画素について
上書きが不要なときは、上書き処理を行わないようにし
たことを特徴とする請求項1、2、3または4記載の画
像処理装置。5. When at least one of the pixels in the predetermined block needs to be overwritten, the entire block is subjected to overwrite processing. When overwriting is not required for all the pixels in the predetermined block, the overwrite processing is performed. 5. The image processing apparatus according to claim 1, wherein the image processing is not performed.
て所定の画像を処理し、表示用データを生成する画像処
理装置において、表示部に表示するための画像にマスク
を分けるマスク領域を設定するマスク設定手段を設け、
上記マスク領域は、所定のマスクパターンをタイルのよ
うに複数繰り返して敷き詰められて形成されることを特
徴とする画像処理装置。6. A mask for setting a mask area for dividing a mask into an image to be displayed on a display unit in an image processing apparatus for processing a predetermined image by display processing means for performing image display processing and generating display data. Provide setting means,
The image processing apparatus according to claim 1, wherein the mask area is formed by repeatedly laying a predetermined mask pattern a plurality of times like a tile.
て複数の画像を重ね合わせて表示用データを生成する画
像処理装置において、画像形成用スプライトを所定領域
に張りつける張りつけモードに加え、特定領域を所定の
単色で塗りつぶす塗りつぶしモードを、上記張りつけモ
ードの処理を行う回路と同一の回路によって行うように
したことを特徴とする画像処理装置。7. An image processing apparatus for generating display data by superimposing a plurality of images by a display processing means for performing image display processing, wherein a specific area is added to a predetermined area in addition to an attaching mode for attaching an image forming sprite to a predetermined area. An image processing apparatus characterized in that the filling mode for filling with a single color is performed by the same circuit that performs the processing of the sticking mode.
と、ブレンド処理と、透明色処理とを少なくとも行うよ
うにしていることを特徴とする請求項7記載の画像処理
装置。8. The image processing apparatus according to claim 7, wherein in the pasting mode, at least an overwriting process, a blending process, and a transparent color process are performed.
徴とする請求項7または8記載の画像処理装置。9. The image processing apparatus according to claim 7, wherein the specific area is a rectangular area.
ットで表される自然画像としたことを特徴とする請求項
7、8または9記載の画像処理装置。10. The image processing apparatus according to claim 7, wherein each of the images is a natural image represented by 4 to 8 bits of RGB.
の検出を行う上書き判断ステップと、上書きが不要なと
きは上書き処理を行わず、次のブロックの処理を行うス
テップと、表示処理手段によって各ブロック毎の画像を
処理し表示用データを生成するステップとを実行するた
めのプログラムを記録したコンピュータ読み取り可能な
情報記録媒体。11. An overwrite judging step of detecting whether or not overwriting is necessary for each predetermined block, a step of performing the next block processing without performing overwriting processing when overwriting is unnecessary, and a display processing means. Computer-readable information recording medium recording a program for executing the steps of processing an image for each block and generating display data.
をかけるマスク領域を設定するステップと、上記マスク
領域を、所定マスクパターンをタイルのように複数繰り
返して敷き詰めて形成するステップと、表示処理手段に
よって上記マスク領域を含む画像を処理し、表示用デー
タを生成するステップとを実行するためのプログラムを
記録してコンピュータ読み取り可能な情報記録媒体。12. A step of setting a mask area for masking an image to be displayed on a display unit, a step of forming the mask area by repeatedly laying a plurality of predetermined mask patterns like tiles, and a display process. And a computer-readable information recording medium on which a program for executing a step of processing an image including the mask area by the means and generating display data is executed.
りつけるモードと、特定領域を所定の単色で塗りつぶす
モードとを二者択一的に選択できるステップと、表示処
理手段によって選択されたモードで画像を処理し表示用
データを生成するステップとを実行するためのプログラ
ムを記録したコンピュータ読み取り可能な情報媒体。13. A mode in which a mode in which an image forming sprite is pasted to a predetermined area and a mode in which a specific area is filled with a predetermined single color can be selected alternatively, and an image is displayed in a mode selected by the display processing means. Computer-readable information medium having recorded thereon a program for executing the steps of processing and generating display data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10196215A JP2000032334A (en) | 1998-07-10 | 1998-07-10 | Image processing apparatus and information recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10196215A JP2000032334A (en) | 1998-07-10 | 1998-07-10 | Image processing apparatus and information recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2000032334A true JP2000032334A (en) | 2000-01-28 |
Family
ID=16354129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10196215A Withdrawn JP2000032334A (en) | 1998-07-10 | 1998-07-10 | Image processing apparatus and information recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2000032334A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005103877A1 (en) * | 2004-04-22 | 2005-11-03 | Fujitsu Limited | Image processing device and graphics memory device |
-
1998
- 1998-07-10 JP JP10196215A patent/JP2000032334A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005103877A1 (en) * | 2004-04-22 | 2005-11-03 | Fujitsu Limited | Image processing device and graphics memory device |
JPWO2005103877A1 (en) * | 2004-04-22 | 2008-03-13 | 富士通株式会社 | Image processing apparatus and graphics memory apparatus |
JP4522404B2 (en) * | 2004-04-22 | 2010-08-11 | 富士通セミコンダクター株式会社 | Image processing device |
US8619092B2 (en) | 2004-04-22 | 2013-12-31 | Fujitsu Semiconductor Limited | Image processing apparatus and graphics memory unit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2106441C (en) | Image processing system | |
JP6857636B2 (en) | Game machine | |
JP6827024B2 (en) | Game machine | |
CN104052922A (en) | Image data processing method and electronic device supporting image data processing method | |
JPH08512439A (en) | Display of subsampled video image on computer display | |
JPH06217200A (en) | Portable video animation device | |
JP2021142399A (en) | Game machine | |
US20080297525A1 (en) | Method And Apparatus For Reducing Accesses To A Frame Buffer | |
JP2021142395A (en) | Game machine | |
JP2022031536A (en) | Pachinko machine | |
CN115101025B (en) | LCD control circuit supporting virtual frame buffering and control method thereof | |
JP2000148134A (en) | Image display method and image processing device | |
JP6857637B2 (en) | Game machine | |
JP2000032334A (en) | Image processing apparatus and information recording medium | |
JP2000029452A (en) | Image processing device | |
JP2002519718A (en) | Screen image processed at high speed | |
JP6937732B2 (en) | Pachinko machine | |
JP2021151612A (en) | Game machine | |
CA2107436C (en) | Image processing system including a processor side memory and a display side memory | |
JPH11339002A (en) | Image processing apparatus and information recording medium | |
JP2021142417A (en) | Game machine | |
JP7003027B2 (en) | Pachinko machine | |
JP2021142396A (en) | Game machine | |
CN106027925B (en) | display control method and device of OSD menu | |
JPH11339001A (en) | Image processing apparatus and information recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20051004 |