JPH08123951A - Picture memory state management device - Google Patents

Picture memory state management device

Info

Publication number
JPH08123951A
JPH08123951A JP28581094A JP28581094A JPH08123951A JP H08123951 A JPH08123951 A JP H08123951A JP 28581094 A JP28581094 A JP 28581094A JP 28581094 A JP28581094 A JP 28581094A JP H08123951 A JPH08123951 A JP H08123951A
Authority
JP
Japan
Prior art keywords
image
memory
state
pixel
coordinates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP28581094A
Other languages
Japanese (ja)
Inventor
Nobuhiko Wakayama
順彦 若山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP28581094A priority Critical patent/JPH08123951A/en
Publication of JPH08123951A publication Critical patent/JPH08123951A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE: To reduce the frequency in access to a picture memory by storing the recorded or unrecorded state of picture element data in a high-speed and small-capacity state holding memory at the time of accessing the low-speed and large-capacity picture memory. CONSTITUTION: A picture element generator 11 which generates coordinates and picture element data and a picture memory 14 where picture element data is stored are provided. The state that a picture is already recorded is stored in a picture state holding memory 15 with one picture element as the unit. Another picture is generated by the picture element generator 11 and is stored in the picture memory 14. At this time, contents of the picture state holding memory 15 are referred to clear the unrecorded part of coordinates (addresses) of the picture memory 14 by a picture clear device 16. Thus, the clear operation for recording of the next picture is unnecessary, and the picture generation speed is increased.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はコンピュータグラフィッ
クス画像を表示する画像メモリにおいて、画像のリフレ
ッシュ方法を改良した画像メモリ状態管理装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image memory state management device which has an improved image refresh method in an image memory for displaying computer graphics images.

【0002】[0002]

【従来の技術】近年、コンピュータグラフィックス技術
においては、画像生成の高速化のために、画素生成部分
の高速化はもとより、生成された画素の書き込みの高速
化、読みだし分離のための2ポート化、ライン単位での
クリアなどが研究され、一部は実用に供されている。
2. Description of the Related Art In recent years, in computer graphics technology, in order to speed up image generation, in addition to speeding up a pixel generation portion, speeding up writing of generated pixels and 2-port for read-out separation. Research has been conducted on such factors as clearing and clearing on a line-by-line basis, and some have been put to practical use.

【0003】上記した従来の画像メモリ管理装置の一例
について図11を参照しつつ説明する。図11は従来の
画像メモリ装置管理装置の構成例を示すブロック図であ
る。本図において、画像メモリ51は生成された画像に
対し2次元座標をアドレスとし画素(ピクセル)データ
を保持するメモリである。画素データとは画素の明るさ
や半透明度を意味する。ここで半透明度とは、例えば背
景画像に対して半透明の画像を表示するような画像の場
合に、単位画素における背景画像と重畳する画像の面積
寄与率を意味する。画素生成装置52は例えばコンピュ
ータグラフィックス(CG)のようにフレーム単位で画
像を生成する装置であり、画像メモリ51の2次元座標
とその座標における画素データを生成する。
An example of the above-mentioned conventional image memory management device will be described with reference to FIG. FIG. 11 is a block diagram showing a configuration example of a conventional image memory device management device. In the figure, an image memory 51 is a memory that holds pixel data with two-dimensional coordinates as an address for the generated image. Pixel data means the brightness and translucency of a pixel. Here, the semi-transparency means, for example, in the case of an image in which a semi-transparent image is displayed with respect to the background image, an area contribution rate of the image superposed on the background image in the unit pixel. The pixel generation device 52 is a device that generates an image in frame units such as computer graphics (CG), and generates two-dimensional coordinates of the image memory 51 and pixel data at the coordinates.

【0004】状態読出装置53は画像メモリ51の記録
状態を検出すると共に、画素生成装置52で生成された
画素データを書込装置54に出力する装置である。書込
装置54は状態読出装置53によって読み出された画像
が完全不透明(例えば背景画像に文字をスーパーインポ
ーズする場合、文字部分の背景画像の輝度を0にするこ
と)でないとき、画素生成装置52で生成された画素デ
ータを状態読出装置53で読み出された画素データに基
づいて、画像メモリ51の各アドレスに書き込む装置で
ある。画像クリア装置55は画像メモリ51の状態をま
だ一回も書かれていない状態にクリアする装置である。
The state reading device 53 is a device for detecting the recording state of the image memory 51 and outputting the pixel data generated by the pixel generating device 52 to the writing device 54. The writing device 54 is a pixel generation device when the image read by the state reading device 53 is not completely opaque (for example, when superimposing a character on a background image, zeroing the brightness of the background image of the character portion). This is a device for writing the pixel data generated by 52 to each address of the image memory 51 based on the pixel data read by the state reading device 53. The image clearing device 55 is a device for clearing the state of the image memory 51 to a state in which it has not been written even once.

【0005】このように構成された従来の画像メモリ管
理装置の動作について、図12及び図13を参照しつつ
説明する。図12は画像メモリ51における2次元画素
データの格納領域を示す説明図である。画像メモリ51
はX,Y,Z方向に記憶領域を有し、2次元画像がX,
Y方向の2次元座標位置に画素データとして保持され
る。各画素位置の奥行き方向(Z方向)には、赤輝度
R、緑輝度G、青輝度Bと、その座標の画素のうち既に
書かれている面積の割合を示す面積寄与率ACが格納さ
れている。
The operation of the conventional image memory management device thus configured will be described with reference to FIGS. 12 and 13. FIG. 12 is an explanatory diagram showing a storage area of two-dimensional pixel data in the image memory 51. Image memory 51
Has storage areas in the X, Y, and Z directions, and a two-dimensional image is
It is held as pixel data at the two-dimensional coordinate position in the Y direction. In the depth direction (Z direction) of each pixel position, the red luminance R, the green luminance G, the blue luminance B, and the area contribution rate AC indicating the ratio of the area already written in the pixels of the coordinates are stored. There is.

【0006】図13は各ピクセルにおける面積寄与率A
Cの説明図である。CGでは拡大ピクセル61は例えば
横4、縦4の計16のサブピクセルで構成されることが
多い。生成画素62は画素生成装置52によって生成さ
れた画素データであり、ここでは拡大ピクセル61の一
部に画像が記録されている。
FIG. 13 shows the area contribution ratio A in each pixel.
It is explanatory drawing of C. In CG, the enlarged pixel 61 is often composed of a total of 16 sub-pixels, for example, 4 horizontal and 4 vertical. The generated pixel 62 is pixel data generated by the pixel generator 52, and an image is recorded in a part of the enlarged pixel 61 here.

【0007】まず描画を始める前に画像クリア装置55
によって画像メモリ51の各画素のデータを全て初期値
にする。初期化クリアは一般的には全ての画素データの
値を0にすることによって行われる。つぎに生成すべき
画像を画素生成装置52によってピクセル毎に生成す
る。この際に生成される画素データは輝度データとして
の赤輝度、緑輝度、青輝度と、その画素データが各拡大
ピクセル61においてどの程度の割合を占めるかという
面積寄与率ACも生成する。
First, before starting drawing, the image clearing device 55
The data of each pixel in the image memory 51 is initialized to the initial value. Initialization clear is generally performed by setting the values of all pixel data to zero. Next, the image generation device 52 generates an image to be generated for each pixel. The pixel data generated at this time also generates red luminance, green luminance, and blue luminance as luminance data, and an area contribution ratio AC indicating how much the pixel data occupies in each enlarged pixel 61.

【0008】画素生成装置52ではその画素データを格
納する画像メモリ51上のアドレスも生成する。次に生
成された画素データをまず状態読出装置53に入力す
る。つぎに画像メモリ51中の画素データをアドレスを
基に読みだし、そのうちの面積寄与率を調べる。状態読
出装置53は面積寄与率が1つまりこれ以上書き込めな
い場合を除いて、生成した画素データを読み出した画素
データに加え合わせてアドレスと共に書込装置54に送
る。書込装置54は画像メモリ51の指定された格納領
域に状態読出装置53で合成された画素データを書き込
む。こうすると第1の画像である背景画像に対して、第
2の画像として透けた画像が重畳される。1画面(1フ
レーム)の画像を書き込んだ後、画像メモリ51は外部
へ出力するか、又は外部記憶装置へ画素データを格納す
る。その後、画像クリア装置55は画像メモリ51のデ
ータをクリアする。
The pixel generator 52 also generates an address on the image memory 51 for storing the pixel data. Next, the generated pixel data is first input to the state reading device 53. Next, the pixel data in the image memory 51 is read out based on the address, and the area contribution rate among them is examined. The state reading device 53 adds the generated pixel data to the read pixel data and sends it together with the address to the writing device 54, unless the area contribution ratio is 1, that is, the area cannot be written any more. The writing device 54 writes the pixel data synthesized by the state reading device 53 in a designated storage area of the image memory 51. In this way, the transparent image as the second image is superimposed on the background image which is the first image. After writing the image of one screen (one frame), the image memory 51 outputs it to the outside or stores the pixel data in the external storage device. After that, the image clearing device 55 clears the data in the image memory 51.

【0009】[0009]

【発明が解決しようとする課題】しかしながら上記のよ
うな構成では、まず全画面に対してその都度クリアを行
なわなくてはならず、後から描画され上書きされるピク
セルに対してもクリアデータを書かなければならず、そ
の分描画性能が低下していた。さらに、最近の画像メモ
リは1ピクセルの情報量が多く、また画素数も非常に多
いため、データ量に比べて低速なメモリを使わざるを得
なかった。既に面積寄与率が1になっているピクセルデ
ータの面積寄与率を読み出すことは全体性能を落とすこ
とになる。さらに、実際に画像メモリの画素データを使
う際に、クリアデータしか入っていない画素データをわ
ざわざ読み出すということも全体の性能を下げていた。
However, in the above-mentioned configuration, first, the entire screen must be cleared each time, and the clear data is also written to the pixels which are subsequently drawn and overwritten. Therefore, the drawing performance was reduced accordingly. Further, since the recent image memory has a large amount of information of 1 pixel and the number of pixels is very large, it is unavoidable to use a memory which is slower than the data amount. Reading the area contribution rate of the pixel data whose area contribution rate is already 1 reduces the overall performance. Further, when actually using the pixel data of the image memory, the purpose of reading out the pixel data containing only clear data also lowered the overall performance.

【0010】本発明はこのような従来の問題点に鑑みて
なされたものであって、画像メモリの画素データの格納
状態の一部を、メモリ容量の少ない他の画像状態保持メ
モリに持たせることによって、画像メモリへの無駄なア
クセスを減らし、全体的な描画性能を向上することので
きる画像メモリ状態管理装置を実現することを目的とす
る。
The present invention has been made in view of the above-mentioned conventional problems, and a part of the storage state of the pixel data of the image memory is provided to another image state holding memory having a small memory capacity. It is an object of the present invention to realize an image memory state management device capable of reducing unnecessary access to the image memory and improving the overall drawing performance.

【0011】[0011]

【課題を解決するための手段】本願の請求項1の発明
は、少なくとも1画面の画素データを記憶する画像メモ
リと、各座標の画素が画像メモリに既に記録済みか否か
を記憶する画像状態保持メモリと、新たな画像を作成す
る前に画像状態保持メモリの全ての座標のフラグを未記
録状態にクリアするフラグクリア装置と、1画面を構成
する画像の座標と各画素の画素データを生成する画素生
成装置と、画素生成装置によって生成された座標の画素
データを画像メモリに記録する書込装置と、画素生成装
置が生成した座標に対応する画像状態保持メモリのフラ
グを記録済みに変更する状態変更装置と、画像の作成終
了後に画像状態保持メモリの全座標のフラグを調べ、画
像メモリの記録済みでない座標の画素データをクリアす
る画像クリア装置と、を具備することを特徴とするもの
である。
According to a first aspect of the present invention, an image memory for storing pixel data of at least one screen and an image state for storing whether or not a pixel at each coordinate has already been recorded in the image memory. A holding memory, a flag clearing device that clears all coordinate flags of the image state holding memory to an unrecorded state before creating a new image, and coordinates of images forming one screen and pixel data of each pixel are generated. A pixel generating device, a writing device for recording pixel data of coordinates generated by the pixel generating device in the image memory, and a flag of the image state holding memory corresponding to the coordinates generated by the pixel generating device are changed to recorded. A state changing device, and an image clearing device that checks flags of all coordinates in the image state holding memory after image creation and clears pixel data of unrecorded coordinates in the image memory. It is characterized in that it comprises a.

【0012】本願の請求項2の発明は、少なくとも1画
面の画素データを記憶する画像メモリと、各座標の画素
が画像メモリに既に記録済みか、又は記録可能かを記憶
する画像状態保持メモリと、新たな画像を作成する前に
画像メモリと画像状態保持メモリに対し、全ての座標の
画素データ及びフラグを記録可能状態にクリアする画像
フラグクリア装置と、1画面を構成する画像の座標と各
画素の画素データを生成する画素生成装置と、画素生成
装置によって生成された座標における画像状態保持メモ
リのフラグを調べ、記録可能ならば画像メモリに画素デ
ータを記録する書込装置と、画像状態保持メモリの画素
生成装置が生成した座標を記録済みに変更する状態変更
装置と、画像の作成終了後に画像状態保持メモリの全座
標のフラグを調べ、画像メモリの記録済みでない座標の
画素データをクリアする画像クリア装置と、を具備する
ことを特徴とするものである。
According to a second aspect of the present invention, there is provided an image memory for storing pixel data of at least one screen, and an image state holding memory for storing whether or not a pixel at each coordinate has already been recorded or can be recorded in the image memory. , An image flag clearing device that clears the pixel data and flags of all coordinates to a recordable state in the image memory and the image state holding memory before creating a new image, and the coordinates of the image forming one screen and A pixel generation device that generates pixel data of a pixel, a flag that is recorded in the image state holding memory at coordinates generated by the pixel generation device, and if possible, writes pixel data in the image memory, and an image state holding device Check the state change device that changes the coordinates generated by the pixel generator of the memory to the recorded state, and check the flags of all coordinates in the image state holding memory after the image is created. Is characterized in that it comprises an image clearing device for clearing the pixel data of the coordinate is not the recorded image memory.

【0013】本願の請求項3の発明は、少なくとも1画
面の画素データを記憶する画像メモリと、各座標の画素
が画像メモリに既に記録済みか否かを複数画素単位で記
憶する画像状態保持メモリと、新たな画像を作成する前
に画像状態保持メモリの全てのフラグを未記録状態にク
リアするフラグクリア装置と、1画面を構成する画像の
座標と各画素の画素データを生成する画素生成装置と、
画素生成装置が生成した座標を含む画像状態保持メモリ
のフラグを記録済みに変更する状態変更装置と、画素生
成装置が生成した座標に対応する画像状態保持メモリの
フラグを調べ、記録済みでなければそのフラグに含まれ
る生成画素以外の画像メモリの画素データをクリアする
部分クリア装置と、画素生成装置によって生成された座
標の画素データを画像メモリに記録する書込装置と、画
像の作成終了後に画像状態保持メモリの全てのフラグを
調べ、未記録状態のフラグに属する画像メモリの座標の
画素データをクリアする画像クリア装置と、を具備する
ことを特徴とするものである。
According to a third aspect of the present invention, an image memory for storing pixel data of at least one screen, and an image state holding memory for storing whether or not a pixel at each coordinate has already been recorded in the image memory in units of a plurality of pixels. And a flag clearing device for clearing all flags of the image state holding memory to an unrecorded state before creating a new image, and a pixel generating device for generating coordinates of an image forming one screen and pixel data of each pixel. When,
If the state change device that changes the flag of the image state holding memory including the coordinates generated by the pixel generation device to the recorded state and the flag of the image state holding memory corresponding to the coordinates generated by the pixel generation device are checked, A partial clearing device that clears the pixel data of the image memory other than the generated pixels included in the flag, a writing device that records the pixel data of the coordinates generated by the pixel generating device in the image memory, and an image after the image is created. An image clearing device for checking all the flags of the state holding memory and clearing the pixel data of the coordinates of the image memory belonging to the flag of the unrecorded state.

【0014】本願の請求項4の発明は、少なくとも1画
面の画素データを記憶する画像メモリと、各座標の画素
が画像メモリに既に記録済みか否かを記憶する画像状態
保持メモリと、新たな画像を作成する前に画像状態保持
メモリの全ての座標のフラグを未記録状態にクリアする
フラグクリア装置と、1画面を構成する画像の座標と各
画素の画素データを生成する画素生成装置と、画素生成
装置によって生成された座標の画素データを画像メモリ
に記録する書込装置と、画素生成装置が生成した座標に
対応する画像状態保持メモリのフラグを記録済みに変更
する状態変更装置と、画像メモリの画素データを読み出
す際に、画像状態保持メモリの各座標のフラグを調べ、
未記録状態であれば画像メモリの画素データを読まず
に、クリアされた画素データと同じ画素データを出力す
る画像読出装置と、を具備することを特徴とするもので
ある。
According to the invention of claim 4 of the present application, an image memory for storing pixel data of at least one screen, an image state holding memory for storing whether or not a pixel at each coordinate has already been recorded in the image memory, and a new image memory. A flag clearing device that clears all coordinate flags of the image state holding memory to an unrecorded state before creating an image; a pixel generating device that generates the coordinates of the image forming one screen and the pixel data of each pixel; A writing device for recording the pixel data of the coordinates generated by the pixel generating device in the image memory; a state changing device for changing the flag of the image state holding memory corresponding to the coordinates generated by the pixel generating device to the recorded state; When reading the pixel data of the memory, check the flag of each coordinate of the image state holding memory,
In the unrecorded state, the image reading device outputs the same pixel data as the cleared pixel data without reading the pixel data of the image memory.

【0015】[0015]

【作用】このような特徴を有する請求項1の発明によれ
ば、先ずフラグクリア装置は新たな画像を作成する画像
状態保持メモリの全ての座標のフラグを未記録状態にク
リアする。次に画素生成装置は1画面を構成する画像の
座標と各画素の画素データを生成する。そして書込装置
は画素生成装置によって生成された座標の画素データを
画像メモリに記録する。状態変更装置は画素生成装置が
生成した座標に対応する画像状態保持メモリのフラグを
記録済みに変更する。画像クリア装置は画像の作成終了
後に画像状態保持メモリの全座標のフラグを調べ、画像
メモリの記録済みでない座標の画素データをクリアす
る。こうすると画像メモリの記録状態又は未記録状態を
参照する代わりに、画像状態保持メモリの内容を参照す
るだけて、各画素の状態を調べることができる。
According to the first aspect of the invention having such a feature, first, the flag clearing device clears the flags of all the coordinates of the image state holding memory for creating a new image to the unrecorded state. Next, the pixel generation device generates the coordinates of the image forming one screen and the pixel data of each pixel. Then, the writing device records the pixel data of the coordinates generated by the pixel generation device in the image memory. The state changing device changes the flag of the image state holding memory corresponding to the coordinates generated by the pixel generating device to the recorded state. The image clearing device checks the flags of all the coordinates in the image state holding memory after the completion of the image formation, and clears the pixel data of the unrecorded coordinates in the image memory. In this way, the state of each pixel can be checked only by referring to the contents of the image state holding memory instead of referring to the recorded state or unrecorded state of the image memory.

【0016】また本願の請求項2の発明によれば、先ず
画像フラグクリア装置は、新たな画像を作成する前に画
像状態保持メモリと画像メモリに対し、全ての座標の画
素データを記録可能状態にクリアする。次に画素生成装
置は1画面を構成する画像の座標と各画素の画素データ
を生成する。書込装置は画素生成装置によって生成され
た座標における画像状態保持メモリの状態を調べ、記録
可能ならば画像メモリに画素データを記録する。そして
状態変更装置は画像状態保持メモリの画素生成装置が生
成した座標を記録済みに変更する。画像クリア装置は画
像の作成終了後に、画像状態保持メモリの全座標を調
べ、画像メモリの記録済みでない座標の画素データをク
リアする。
According to the second aspect of the present invention, first, the image flag clearing device can record pixel data of all coordinates in the image state holding memory and the image memory before creating a new image. To clear. Next, the pixel generation device generates the coordinates of the image forming one screen and the pixel data of each pixel. The writing device checks the state of the image state holding memory at the coordinates generated by the pixel generation device, and if possible, records the pixel data in the image memory. Then, the state changing device changes the coordinates generated by the pixel generating device of the image state holding memory to the recorded state. After the image has been created, the image clearing device checks all the coordinates in the image state holding memory and clears the pixel data of the unrecorded coordinates in the image memory.

【0017】また本願の請求項3の発明によれば、画像
状態保持メモリは、画像メモリの各座標の画素が画像メ
モリに既に記録済みか否かを複数画素単位で記憶する。
新たな画像を作成する前に、フラグクリア装置は画像状
態保持メモリの全てのフラグを未記録状態にクリアす
る。そして画素生成装置は1画面を構成する画像の座標
と各画素の画素データを生成する。次に状態変更装置は
画素生成装置が生成した座標を含む画像状態保持メモリ
のフラグを記録済みに変更する。また部分クリア装置は
画素生成装置が生成した座標に対応する画像状態保持メ
モリのフラグを調べ、記録済みでなければそのフラグに
含まれる生成画素以外の画像メモリの画素データをクリ
アする。書込装置は画素生成装置によって生成された座
標の画素データを画像メモリに記録する。画像の作成終
了後に、画像クリア装置は画像状態保持メモリの全ての
フラグを調べ、未記録状態のフラグに属する画像メモリ
の座標の画素データをクリアする。こうすると画像状態
保持メモリのメモリ容量をより小さくすることができ
る。
Further, according to the invention of claim 3 of the present application, the image state holding memory stores whether or not the pixel at each coordinate of the image memory is already recorded in the image memory in units of a plurality of pixels.
Before creating a new image, the flag clearing device clears all flags in the image state holding memory to the unrecorded state. Then, the pixel generation device generates the coordinates of the image forming one screen and the pixel data of each pixel. Next, the state changing device changes the flag of the image state holding memory including the coordinates generated by the pixel generating device to the recorded state. Further, the partial clearing device checks the flag of the image state holding memory corresponding to the coordinates generated by the pixel generating device, and if it is not recorded, clears the pixel data of the image memory other than the generated pixel included in the flag. The writing device records the pixel data of the coordinates generated by the pixel generation device in the image memory. After the image is created, the image clearing device checks all the flags in the image state holding memory and clears the pixel data of the coordinates of the image memory that belong to the unrecorded state flag. This makes it possible to further reduce the memory capacity of the image state holding memory.

【0018】更に本願の請求項4の発明によれば、先ず
フラグクリア装置は新たな画像を作成する前に画像状態
保持メモリの全ての座標のフラグを未記録状態にクリア
する。画素生成装置は1画面を構成する画像の座標と各
画素の画素データを生成する。そして書込装置は画素生
成装置によって生成された座標の画素データを画像メモ
リに記録する。次に状態変更装置は画素生成装置が生成
した座標に対応する画像状態保持メモリのフラグを記録
済みに変更する。画像読出装置は画像メモリの画素デー
タを読み出す際に、画像状態保持メモリの各座標のフラ
グを調べ、未記録状態であれば画像メモリの画素データ
を読まずに、クリアされた画素データを出力する。
Further, according to the invention of claim 4 of the present application, first, the flag clearing device clears the flags of all the coordinates of the image state holding memory to the unrecorded state before creating a new image. The pixel generation device generates coordinates of an image forming one screen and pixel data of each pixel. Then, the writing device records the pixel data of the coordinates generated by the pixel generation device in the image memory. Next, the state changing device changes the flag of the image state holding memory corresponding to the coordinates generated by the pixel generating device to "recorded". When reading the pixel data of the image memory, the image reading device checks the flag of each coordinate of the image state holding memory, and outputs the cleared pixel data without reading the pixel data of the image memory in the unrecorded state. .

【0019】[0019]

【実施例】【Example】

(実施例1)本発明の第1実施例における画像メモリ状
態管理装置について、図1を参照しながら説明する。図
1は第1実施例における画像メモリ状態管理装置の構成
を示すブロック図である。図1において、画素生成装置
11は座標と画素データの組を生成する装置で、そのデ
ータは書込装置12と状態変更装置13に与えられる。
書込装置12は画素生成装置11によって生成された各
座標と画素データを低速大容量画像メモリ(以下、画像
メモリという)14に書き込む装置である。
(Embodiment 1) An image memory state management device according to a first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing the configuration of the image memory state management device in the first embodiment. In FIG. 1, a pixel generation device 11 is a device that generates a set of coordinates and pixel data, and the data is given to a writing device 12 and a state changing device 13.
The writing device 12 is a device that writes each coordinate and pixel data generated by the pixel generation device 11 into a low-speed large-capacity image memory (hereinafter referred to as an image memory) 14.

【0020】図2(a)は画像メモリ14のメモリ領域
の構成図であり、(b)は画像状態保持メモリ15のメ
モリ領域の構成図である。画像メモリ14は図12に示
すものと同様に、生成された少なくとも1フレーム画素
データを記憶するメモリで、例えば低速ではあるが大容
量の特徴を有するダイナミックランダムアクセスメモリ
(DRAM)により構成される。画像メモリ14の1フ
レームの画像の座標は(1,1)から(m,n)までと
し、各座標の奥行き(Z方向)のビット深さは4×8
(R,G,B,ACの各8ビット)とする。この場合、
画像メモリ14はm×n×32ビットの記憶容量を必要
とすることになる。
FIG. 2A is a block diagram of the memory area of the image memory 14, and FIG. 2B is a block diagram of the memory area of the image state holding memory 15. Similar to that shown in FIG. 12, the image memory 14 is a memory for storing the generated at least one frame pixel data, and is composed of, for example, a dynamic random access memory (DRAM) which has a low speed but a large capacity. The coordinates of the image of one frame in the image memory 14 are (1, 1) to (m, n), and the bit depth in the depth (Z direction) of each coordinate is 4 × 8.
(8 bits for each of R, G, B, and AC). in this case,
The image memory 14 requires a storage capacity of m × n × 32 bits.

【0021】高速小容量画像状態保持メモリ(以下、画
像状態保持メモリという)15は図2(b)に示すよう
に画像メモリ14と同一サイズの領域(X,Y)を有す
るもので、画像上の夫々の座標の画素が既に書かれたこ
とがあるのか、まだ書かれていないのかという2つの状
態(フラグ)を記憶するメモリである。しかし図2
(a)の画像メモリ14と異なり、各座標のメモリ深さ
は浅いものとする。画像状態保持メモリ15はこのよう
に小容量ではあるが、高速アクセスを特徴とするメモ
リ、例えばスタティックメモリ(SRAM)により構成
される。画像状態保持メモリ15の記憶容量はm×nビ
ットでよい。
A high-speed small-capacity image state holding memory (hereinafter referred to as image state holding memory) 15 has an area (X, Y) of the same size as the image memory 14 as shown in FIG. It is a memory that stores two states (flags) of whether the pixels of the respective coordinates have been written or have not been written. But Figure 2
Unlike the image memory 14 of (a), the memory depth of each coordinate is shallow. Although the image state holding memory 15 has such a small capacity, it is configured by a memory characterized by high speed access, for example, a static memory (SRAM). The storage capacity of the image state holding memory 15 may be m × n bits.

【0022】状態変更装置13は画素生成装置11が生
成した座標(アドレス)における画像状態保持メモリ1
5のフラグを、既に書かれたという状態に変更する装置
である。画像クリア装置16は画像を書き終えた際に画
像状態保持メモリ15の全ての座標を調べ、まだ一度も
書かれていない座標の画素データをクリアする装置であ
る。フラグクリア装置17は新しい画像を書く前に、画
像状態保持メモリ15の全ての座標の画素データを書か
れていない状態にクリアする装置である。
The state changing device 13 is the image state holding memory 1 at the coordinates (address) generated by the pixel generating device 11.
It is a device that changes the flag of 5 to the state that it has already been written. The image clearing device 16 is a device that checks all the coordinates of the image state holding memory 15 when the image has been written, and clears the pixel data of the coordinates that have not been written yet. The flag clearing device 17 is a device for clearing the pixel data of all the coordinates of the image state holding memory 15 to the unwritten state before writing a new image.

【0023】このように構成された第1実施例の画像メ
モリ状態管理装置の動作について図3のフローチャート
を用いて説明する。まずステップS10でフラグクリア
装置17が画像状態保持メモリ15の全ての画素のフラ
グをクリア状態に変更する。次にステップS11では描
画を行なうため、描画させたい画像を1画素毎に画素生
成装置11で生成し、画素の座標とその画素データを出
力する。そして座標データは書込装置12と状態変更装
置13に出力され、また画素データは書込装置12に出
力される。
The operation of the image memory state management device of the first embodiment thus constructed will be described with reference to the flowchart of FIG. First, in step S10, the flag clearing device 17 changes the flags of all the pixels in the image state holding memory 15 to the clear state. Next, in step S11, since drawing is performed, an image to be drawn is generated by the pixel generation device 11 for each pixel, and pixel coordinates and pixel data thereof are output. Then, the coordinate data is output to the writing device 12 and the state changing device 13, and the pixel data is output to the writing device 12.

【0024】ステップS12において状態変更装置13
は入力された座標をもとに画像状態保持メモリ15に該
当座標のフラグをクリア状態から既に書かれた状態に変
更する。そして次のステップS13では書込装置12は
入力された座標をもとに画像メモリ14に画素データを
書き込む。このようにして全ての描画させたい画素デー
タを書き込み、ステップS14で画素の書き込みを終え
たかどうかをチェックする。書き込みが終了していなけ
ればステップS14からステップS11に戻り、同様の
処理を繰り返す。そして画像の書き込みが終了すればス
テップ15に移り、画像クリア装置16が画像状態保持
メモリ15の全ての画素のフラグを調べ、クリア状態で
ある座標に対応する画像メモリ14の画素をクリアす
る。
In step S12, the state changing device 13
Changes the flag of the corresponding coordinate in the image state holding memory 15 from the clear state to the state already written based on the input coordinate. Then, in the next step S13, the writing device 12 writes the pixel data in the image memory 14 based on the input coordinates. In this way, all the pixel data to be drawn are written, and it is checked in step S14 whether the writing of pixels has been completed. If writing has not been completed, the process returns from step S14 to step S11, and the same processing is repeated. When the writing of the image is completed, the process proceeds to step 15, and the image clearing device 16 checks the flags of all the pixels of the image state holding memory 15 and clears the pixels of the image memory 14 corresponding to the coordinates in the clear state.

【0025】以上のように本実施例によれば、描画の初
めに必要であった全画面のクリア動作は行なわずに済
み、描画されていない部分に対してのみクリア動作を行
なえば良い。このため描画時間に対するクリア時間を大
幅に短縮することが可能となる。
As described above, according to the present embodiment, it is not necessary to perform the clearing operation for the entire screen, which is necessary at the beginning of drawing, and it is sufficient to perform the clearing operation only for the undrawn portion. Therefore, it is possible to significantly reduce the clearing time with respect to the drawing time.

【0026】(実施例2)つぎに本発明の第2実施例に
おける画像メモリ状態管理装置について図4を参照しつ
つ説明する。図4は第2実施例における画像メモリ状態
管理装置の構成をを示すブロック図であり、第1実施例
と同一部分は同一の名称を付けて詳細な説明は省略す
る。図4において第1実施例と同様に、画素生成装置2
1とこれに接続された書込装置22、状態変更装置23
が夫々設けられている。また画像メモリ24と画像状態
保持メモリ25のメモリ領域は第1実施例のものと同様
である。書込装置22は画素生成装置21の出力する座
標に対応する画像状態保持メモリ25のフラグの状態を
調べ、まだ書かれていないのならその座標の画素データ
を画像メモリ24に書き込む装置である。
(Embodiment 2) Next, an image memory status management apparatus according to a second embodiment of the present invention will be described with reference to FIG. FIG. 4 is a block diagram showing the configuration of the image memory state management device in the second embodiment. The same parts as those in the first embodiment are given the same names and their detailed description is omitted. In FIG. 4, as in the first embodiment, the pixel generation device 2
1, a writing device 22 and a state changing device 23 connected to this
Are provided respectively. The memory areas of the image memory 24 and the image state holding memory 25 are the same as those in the first embodiment. The writing device 22 is a device that checks the flag state of the image state holding memory 25 corresponding to the coordinates output by the pixel generation device 21 and writes the pixel data of the coordinates to the image memory 24 if not written yet.

【0027】状態変更装置23は画素生成装置21が生
成した座標に対応する画像状態保持メモリ25のフラグ
を既に書かれたという状態に変更する装置である。画像
状態保持メモリ25は画像上のある座標の画素が既に書
かれたのか、まだ書けるのかという2つの状態を保持す
るメモリである。画像フラグクリア装置26は、新しい
画像を書く前に画像状態保持メモリ25と画像メモリ2
4の全ての座標の画素が書かれていない状態にクリアす
る装置である。
The state changing device 23 is a device for changing the flag of the image state holding memory 25 corresponding to the coordinates generated by the pixel generating device 21 to a state in which the flag is already written. The image state holding memory 25 is a memory that holds two states of whether a pixel at a certain coordinate on the image has already been written or whether it can be written. The image flag clearing device 26 uses the image state holding memory 25 and the image memory 2 before writing a new image.
It is a device that clears all the pixels at coordinates 4 in the unwritten state.

【0028】このように構成された第2実施例の画像メ
モリ状態管理装置の動作について図5のフローチャート
を用いて説明する。ステップS20において画像フラグ
クリア装置26が画像状態保持メモリ25の全ての画素
のフラグをクリア状態とし、次のステップS21で画像
メモリ24の全ての画素にクリアデータを書き込む。次
にステップS22に進み、描画させたい画像を1画素毎
に画素生成装置21で生成し、画素の座標とその画素デ
ータを出力する。座標データは書込装置22と状態変更
装置23に与えられ、画素データは書込装置22に与え
られる。
The operation of the image memory state management device of the second embodiment having such a configuration will be described with reference to the flowchart of FIG. In step S20, the image flag clearing device 26 clears the flags of all the pixels in the image state holding memory 25, and in the next step S21, the clear data is written in all the pixels in the image memory 24. Next, in step S22, the pixel generation device 21 generates an image to be drawn for each pixel, and the pixel coordinates and the pixel data thereof are output. The coordinate data is given to the writing device 22 and the state changing device 23, and the pixel data is given to the writing device 22.

【0029】ステップS23において書込装置22は、
入力された座標をもとに画像状態保持メモリ25のフラ
グを調べる。まだ書かれていないときには次のステップ
S24よりステップS25に進み、状態変更装置23は
入力された座標をもとに画像状態保持メモリ25の座標
のフラグをクリア状態から既に書かれた状態に変更す
る。そしてステップ26では書込装置22が画像メモリ
24に画素データを書き込む。こうして全ての書き込み
が終了するまでステップ22からステップ27の処理を
続ける。そしてステップS27で全ての画素データの入
力が完了すれば、1画面が完成する。
In step S23, the writing device 22
The flag of the image state holding memory 25 is checked based on the input coordinates. If not yet written, the process proceeds from the next step S24 to step S25, and the state changing device 23 changes the coordinate flag of the image state holding memory 25 from the clear state to the already written state based on the input coordinates. . Then, in step 26, the writing device 22 writes the pixel data in the image memory 24. In this way, the processing from step 22 to step 27 is continued until all writing is completed. When the input of all pixel data is completed in step S27, one screen is completed.

【0030】このように本実施例によれば、描画したい
座標の画素が書き込み可能かどうかを判断するための読
み出しを、画像メモリ24に対して行なわずに、画像状
態保持メモリ25に対してアクセスしている。このため
描画を高速化することができる。なお、本実施例では画
像状態保持メモリ25は、書き込み可能か否かを2値化
して保存しているが、各ピクセル内の面積寄与率ACを
多値化して記憶するようにしても良い。
As described above, according to this embodiment, the image state holding memory 25 is accessed without reading the image memory 24 to determine whether or not the pixel at the coordinate to be drawn is writable. are doing. Therefore, the drawing speed can be increased. In the present embodiment, the image-state holding memory 25 binarizes and stores whether or not it is writable, but the area contribution rate AC in each pixel may be binarized and stored.

【0031】(実施例3)つぎに本発明の第3実施例に
おける画像メモリ状態管理装置について図6を参照しつ
つ説明する。図6は第3実施例における画像メモリ状態
管理装置の構成をを示すブロック図であり、第1実施例
と同一部分は同一の名称を付けて詳細な説明は省略す
る。又図7(a)は画像メモリ35のメモリ領域の構成
図であり、(b)は画像状態保持メモリ36のメモリ領
域の構成図である。画像状態保持メモリ36のメモリ領
域は第1、2実施例のものより小さく、画像メモリ35
の隣接する複数の座標の画素データの記録又は未記録状
態を1つのフラグで表し、画像メモリ35の座標数より
少ないフラグを保持するメモリである。画像メモリ35
は第1実施例と同様のメモリサイズを有するメモリであ
る。
(Third Embodiment) An image memory state management device according to a third embodiment of the present invention will be described with reference to FIG. FIG. 6 is a block diagram showing the configuration of the image memory state management device in the third embodiment. The same parts as those in the first embodiment are designated by the same names and detailed description thereof will be omitted. 7A is a block diagram of the memory area of the image memory 35, and FIG. 7B is a block diagram of the memory area of the image state holding memory 36. The memory area of the image state holding memory 36 is smaller than that of the first and second embodiments.
This is a memory that holds the flag, which is smaller than the number of coordinates of the image memory 35, by indicating the recorded or unrecorded state of the pixel data of a plurality of adjacent coordinates of 1 by one flag. Image memory 35
Is a memory having the same memory size as in the first embodiment.

【0032】図6において第1実施例と同様に、画素生
成装置31と、これに接続された書込装置32、状態変
更装置34が夫々設けられている。書込装置32は画素
生成装置31によって生成された座標の画素データを画
像メモリ35に書き込む装置である。部分クリア装置3
3は画素生成装置31によって生成された座標に対応す
る画像状態保持メモリ36のフラグを調べ、まだ書かれ
ていないのならそのフラグに含まれる画像メモリ35の
画素データをクリアする装置である。状態変更装置34
は書込装置32によって書き込まれた座標を含む画像状
態保持メモリ36のフラグを、書かれた状態にする装置
である。
In FIG. 6, similarly to the first embodiment, a pixel generating device 31, a writing device 32 connected to the pixel generating device 31, and a state changing device 34 are respectively provided. The writing device 32 is a device that writes the pixel data of the coordinates generated by the pixel generation device 31 into the image memory 35. Partial clearing device 3
Reference numeral 3 is a device for checking the flag of the image state holding memory 36 corresponding to the coordinates generated by the pixel generating device 31 and clearing the pixel data of the image memory 35 included in the flag if not written yet. State change device 34
Is a device for setting the flag of the image state holding memory 36 including the coordinates written by the writing device 32 to the written state.

【0033】画像状態保持メモリ36は画像上のある複
数の座標の画素のうち、一つ以上が既に書かれたことが
あるのか、まだどの1つも書かれていないのかという2
つの状態を保持する。画像クリア装置37は画像を書き
終えた際に画像状態保持メモリ36の全てのフラグを調
べ、未記録状態のフラグに属する画像メモリ35の座標
の画素データをクリアする装置である。フラグクリア装
置38は新しい画像を書く前に、画像状態保持メモリ3
6の全てのフラグを書かれていないという状態にクリア
する装置である。
In the image state holding memory 36, it is determined whether one or more of the pixels at a plurality of coordinates on the image have been written, or whether any one has not been written yet.
Holds one state. The image clearing device 37 is a device that checks all the flags in the image state holding memory 36 when the image has been written, and clears the pixel data of the coordinates of the image memory 35 belonging to the unrecorded state flags. The flag clear device 38 stores the image state holding memory 3 before writing a new image.
It is a device that clears all 6 flags to the unwritten state.

【0034】このように構成された第3実施例の画像メ
モリ状態管理装置の動作について図8のフローチャート
を用いて説明する。ステップS30においてフラグクリ
ア装置38が画像状態保持メモリ36の全ての画素のフ
ラグをクリア状態に変更する。次にステップS31に進
み、画素生成装置31は描画させたい画像の領域につい
て座標と画素データを生成する。座標データは書込装置
32、部分クリア装置33、状態変更装置34に出力さ
れ、画素データは書込装置32に出力される。
The operation of the image memory state management device of the third embodiment having such a configuration will be described with reference to the flowchart of FIG. In step S30, the flag clearing device 38 changes the flags of all the pixels in the image state holding memory 36 to the clear state. Next, in step S31, the pixel generation device 31 generates coordinates and pixel data for the area of the image to be drawn. The coordinate data is output to the writing device 32, the partial clearing device 33, and the state changing device 34, and the pixel data is output to the writing device 32.

【0035】ステップS32では部分クリア装置33は
生成した座標に対応する画像状態保持メモリ36のフラ
グを調べる。そして次のステップS33では、まだ一度
もそのフラグが管理する画素が書かれていないのであれ
ばステップS34に進み、該当座標のフラグを既に書か
れた状態に変更する。次のステップS35ではフラグが
管理する画像メモリ35の座標の画素を全てクリア状態
にする。そしてステップS36では書込装置32は画像
メモリ35の所定の座標に画素データを書き込む。この
ようなステップS31〜ステップS37での処理を繰り
返す。そしてステップS38では画像クリア装置37
は、全ての画像を書き終えた後に画像状態保持メモリ3
6の全てのフラグを調べ、画像メモリ35の該当座標以
外の画素データをクリアする。こうして1画面の書き込
みが完了する。
In step S32, the partial clearing device 33 checks the flag of the image state holding memory 36 corresponding to the generated coordinates. Then, in the next step S33, if the pixel managed by the flag has not been written even once, the process proceeds to step S34, and the flag of the corresponding coordinate is changed to the already written state. In the next step S35, all pixels at the coordinates of the image memory 35 managed by the flag are cleared. Then, in step S36, the writing device 32 writes the pixel data at predetermined coordinates in the image memory 35. The processing in steps S31 to S37 is repeated. Then, in step S38, the image clearing device 37
Is the image state holding memory 3 after writing all the images.
All the flags 6 are checked, and the pixel data other than the corresponding coordinates in the image memory 35 are cleared. In this way, writing of one screen is completed.

【0036】以上のように本実施例によれば、1画素毎
に画像状態保持メモリ36のフラグを割り当てる必要は
なくなり、小容量のメモリで状態を管理することができ
る。
As described above, according to this embodiment, it is not necessary to assign the flag of the image state holding memory 36 for each pixel, and the state can be managed by a small capacity memory.

【0037】(実施例4)つぎに本発明の第4実施例に
おける画像メモリ状態管理装置について図9を参照しつ
つ説明する。図9は第4実施例における画像メモリ状態
管理装置の構成をを示すブロック図であり、第1実施例
と同一部分は同一の名称を付けて詳細な説明は省略す
る。図9において第1実施例と同様に、画素生成装置4
1と、これに接続された書込装置42、状態変更装置4
3が夫々設けられている。また画像メモリ44と画像状
態保持メモリ45のメモリサイズは第1実施例と同様で
ある。
(Embodiment 4) Next, an image memory state management apparatus according to a fourth embodiment of the present invention will be described with reference to FIG. FIG. 9 is a block diagram showing the configuration of the image memory state management device in the fourth embodiment. The same parts as those in the first embodiment are designated by the same names and detailed description thereof will be omitted. In FIG. 9, as in the first embodiment, the pixel generation device 4
1, a writing device 42 and a state changing device 4 connected to the device 1.
3 are provided respectively. The memory sizes of the image memory 44 and the image state holding memory 45 are the same as those in the first embodiment.

【0038】書込装置42は画素生成装置41によって
生成された座標の画素データを画像メモリ44に書き込
む装置である。状態変更装置43は画素生成装置41が
生成した座標に対応する画像状態保持メモリ45のフラ
グを、既に書かれたという状態に変更する装置である。
画像状態保持メモリ45は画像上のある座標の画素が既
に書かれたことがあるのか、まだ書かれていないのかと
いう2つの状態を保持するメモリである。画像読出装置
46は画像を書き終え、画像メモリ44の画素データを
読み出す際に画像状態保持メモリ45の出力すべき座標
のフラグを先に調べ、まだ一度も書かれていない状態で
あれば画像メモリ44の画素データを読まずにクリアさ
れた画素データと同じデータを出力する装置である。フ
ラグクリア装置47は新しい画像を書く前に画像状態保
持メモリ45の全ての座標の画素が書かれていないとい
う状態にクリアする装置である。
The writing device 42 is a device for writing the pixel data of the coordinates generated by the pixel generation device 41 into the image memory 44. The state changing device 43 is a device that changes the flag of the image state holding memory 45 corresponding to the coordinates generated by the pixel generating device 41 to a state in which it has already been written.
The image state holding memory 45 is a memory that holds two states of whether a pixel at a certain coordinate on the image has already been written or has not been written yet. The image reading device 46 finishes writing the image, and first checks the flag of the coordinate to be output of the image state holding memory 45 when reading the pixel data of the image memory 44, and if the state has not been written, the image memory The device outputs the same data as the cleared pixel data without reading the pixel data of 44. The flag clearing device 47 is a device for clearing a state in which pixels of all coordinates of the image state holding memory 45 are not written before writing a new image.

【0039】このように構成された第4実施例の画像メ
モリ状態管理装置の動作について図10のフローチャー
トを用いて説明する。まず、ステップS40ではフラグ
クリア装置47が画像状態保持メモリ45の全ての画素
のフラグをクリアの状態に変更する。次にステップS4
1に進み、画素生成装置41は描画させたい画像に対し
1画素毎に座標と画素データを生成する。そしてその座
標データは書込装置42と状態変更装置43に出力さ
れ、画素データは書込装置42に出力される。
The operation of the image memory state management device of the fourth embodiment thus configured will be described with reference to the flowchart of FIG. First, in step S40, the flag clearing device 47 changes the flags of all the pixels in the image state holding memory 45 to the clear state. Then step S4
In step 1, the pixel generation device 41 generates coordinates and pixel data for each pixel of the image to be drawn. Then, the coordinate data is output to the writing device 42 and the state changing device 43, and the pixel data is output to the writing device 42.

【0040】ステップS42では状態変更装置43は入
力された座標をもとに画像状態保持メモリ45の座標の
フラグをクリア状態から既に書かれた状態に変更する。
そして次のステップS43では書込装置42は入力され
た座標をもとに画像メモリ44に画素データを書き込
む。このようにしてステップS41〜ステップ44の処
理を繰り返し、全ての画像を描画する。
In step S42, the state changing device 43 changes the coordinate flag of the image state holding memory 45 from the clear state to the written state based on the input coordinates.
Then, in the next step S43, the writing device 42 writes the pixel data in the image memory 44 based on the input coordinates. In this way, the processes of steps S41 to S44 are repeated to draw all images.

【0041】ステップS45において記録された画素デ
ータを読み出す際に、画像読出装置46はまず読み出す
座標に対応する画像状態保持メモリ45のフラグを調べ
る。クリア状態であるならステップS46からステップ
S47に進み、画像メモリ44の画素データを読まずク
リアデータを出力する。またステップS46でクリア状
態でないならステップS48に進み、画像メモリ44の
画素データを読み出す。このようにして全ての画素デー
タを読み出すまでステップS45〜ステップS49の処
理を繰り返す。ステップS49で全ての画素データの読
み出しを終了すれば、1画面の画素データは表示装置に
表示される。
When reading the pixel data recorded in step S45, the image reading device 46 first checks the flag of the image state holding memory 45 corresponding to the coordinates to be read. If it is in the clear state, the process proceeds from step S46 to step S47 to output the clear data without reading the pixel data of the image memory 44. If it is not in the clear state in step S46, the process proceeds to step S48 to read the pixel data in the image memory 44. In this way, the processes of steps S45 to S49 are repeated until all the pixel data are read out. When the reading of all the pixel data is completed in step S49, the pixel data of one screen is displayed on the display device.

【0042】このように本実施例によれば、本来必要で
あった画像メモリのクリア動作を全く行なうことなく、
全面クリアあるいは書かれていない部分をクリアしたと
同じ効果を得ることができる。このため描画の高速化を
実現することができる。
As described above, according to this embodiment, the originally necessary clearing operation of the image memory is not performed at all.
You can get the same effect as clearing the whole area or clearing the unwritten area. Therefore, high-speed drawing can be realized.

【0043】[0043]

【発明の効果】以上のような本願の請求項1の発明によ
れば、状態変更装置により1画素描画毎にクリアかクリ
アでないかの状態を、画像状態保持メモリのフラグで管
理するようにしている。このため1画面の描画後は画像
状態保持メモリのフラグを参照することにより、クリア
状態の座標に対応する画像メモリの画素のみをクリアす
ればよい。こうすると画像メモリのクリア回数が削減さ
れ、高速な描画を行なうことができる。
As described above, according to the first aspect of the present invention, the state change device manages the state of clearing or not clearing each pixel drawing by the flag of the image state holding memory. There is. Therefore, after drawing one screen, it is necessary to clear only the pixels of the image memory corresponding to the coordinates in the clear state by referring to the flag of the image state holding memory. This reduces the number of times the image memory is cleared, and high-speed drawing can be performed.

【0044】また本願の請求項2の発明によれば、新た
に画像を作成する前に、画像状態保持メモリと画像メモ
リに対しクリアを行っている。この場合も1画面の描画
後は画像状態保持メモリのフラグを参照することによ
り、高速な描画を行なうことができる。
According to the second aspect of the present invention, the image state holding memory and the image memory are cleared before a new image is created. In this case as well, after drawing one screen, high-speed drawing can be performed by referring to the flag of the image state holding memory.

【0045】また本願の請求項3の発明によれば、画像
状態保持メモリの1つのフラグを用いて複数の座標状態
を管理することにより、そのメモリ容量を低減すること
ができる。
According to the invention of claim 3 of the present application, the memory capacity can be reduced by managing a plurality of coordinate states by using one flag of the image state holding memory.

【0046】更に本願の請求項4の発明によれば、画像
を読み出す際に画像状態保持メモリの該当フラグを参照
して画素データを出力するようにしている。この場合も
必要な画素だけ画像メモリから読出して1画面の画像を
生成できるため、高速に読み出すことができるという効
果が得られる。
Further, according to the invention of claim 4 of the present application, when the image is read, the pixel data is output by referring to the corresponding flag of the image state holding memory. Also in this case, since the necessary pixels can be read from the image memory to generate one screen image, the effect of high-speed reading can be obtained.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1実施例における画像メモリ状態管
理装置のブロック図である。
FIG. 1 is a block diagram of an image memory state management device according to a first exemplary embodiment of the present invention.

【図2】第1実施例の画像メモリと画像状態保持メモリ
のメモリ領域を示す説明図である。
FIG. 2 is an explanatory diagram showing memory areas of an image memory and an image state holding memory according to the first embodiment.

【図3】第1実施例の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing the operation of the first embodiment.

【図4】本発明の第2実施例における画像メモリ状態管
理装置のブロック図である。
FIG. 4 is a block diagram of an image memory state management device according to a second embodiment of the present invention.

【図5】第2実施例の動作を示すフローチャートであ
る。
FIG. 5 is a flowchart showing the operation of the second embodiment.

【図6】本発明の第3実施例における画像メモリ状態管
理装置のブロック図である。
FIG. 6 is a block diagram of an image memory state management device according to a third embodiment of the present invention.

【図7】第3実施例の画像メモリと画像状態保持メモリ
のメモリ領域を示す説明図である。
FIG. 7 is an explanatory diagram showing memory areas of an image memory and an image state holding memory according to a third embodiment.

【図8】第3実施例の動作を示すフローチャートであ
る。
FIG. 8 is a flowchart showing the operation of the third embodiment.

【図9】本発明の第4実施例における画像メモリ状態管
理装置のブロック図である。
FIG. 9 is a block diagram of an image memory state management device according to a fourth exemplary embodiment of the present invention.

【図10】第4実施例の動作を示すフローチャートであ
る。
FIG. 10 is a flowchart showing the operation of the fourth embodiment.

【図11】従来例における画像メモリ管理装置のブロッ
ク図である。
FIG. 11 is a block diagram of an image memory management device in a conventional example.

【図12】従来例の画像メモリにおけるメモリ領域X,
Y,Zを示す説明図である。
FIG. 12 is a memory area X in the conventional image memory,
It is explanatory drawing which shows Y and Z.

【図13】拡大ピクセルにおける生成画素の説明図であ
る。
FIG. 13 is an explanatory diagram of generated pixels in enlarged pixels.

【符号の説明】[Explanation of symbols]

11,21,31,41 画素生成装置 12,24,32,42 書き込み装置 13,23,34,43 状態変更装置 14,24,35,44 低速大容量画像メモリ 15,25,26,45 高速小容量画像状態保持メモ
リ 16,37 画像クリア装置 17,38,47 フラグクリア装置 21 2次元画像イメージ 22 画素データ 26 画像フラグクリア装置 31 拡大ピクセル 32 生成画素 33 部分クリア装置 46 画像読出装置
11,21,31,41 Pixel generating device 12,24,32,42 Writing device 13,23,34,43 State changing device 14,24,35,44 Low speed large capacity image memory 15,25,26,45 High speed small Capacity image state holding memory 16,37 Image clearing device 17,38,47 Flag clearing device 21 Two-dimensional image image 22 Pixel data 26 Image flag clearing device 31 Enlarged pixel 32 Generated pixel 33 Partial clearing device 46 Image reading device

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1画面の画素データを記憶す
る画像メモリと、 各座標の画素が前記画像メモリに既に記録済みか否かを
記憶する画像状態保持メモリと、 新たな画像を作成する前に前記画像状態保持メモリの全
ての座標のフラグを未記録状態にクリアするフラグクリ
ア装置と、 1画面を構成する画像の座標と各画素の画素データを生
成する画素生成装置と、 前記画素生成装置によって生成された座標の画素データ
を前記画像メモリに記録する書込装置と、 前記画素生成装置が生成した座標に対応する前記画像状
態保持メモリのフラグを記録済みに変更する状態変更装
置と、 画像の作成終了後に前記画像状態保持メモリの全座標の
フラグを調べ、前記画像メモリの記録済みでない座標の
画素データをクリアする画像クリア装置と、を具備する
ことを特徴とする画像メモリ状態管理装置。
1. An image memory for storing pixel data of at least one screen, an image state holding memory for storing whether or not a pixel at each coordinate has already been recorded in the image memory, and before creating a new image. A flag clearing device for clearing flags of all coordinates of the image state holding memory to an unrecorded state; a pixel generating device for generating coordinates of an image forming one screen and pixel data of each pixel; A writing device for recording pixel data of the generated coordinates in the image memory; a state changing device for changing a flag of the image state holding memory corresponding to the coordinates generated by the pixel generating device to a recorded state; An image clearing device that checks flags of all coordinates of the image state holding memory after completion of creation and clears pixel data of coordinates that have not been recorded in the image memory. An image memory state management device comprising.
【請求項2】 少なくとも1画面の画素データを記憶す
る画像メモリと、 各座標の画素が前記画像メモリに既に記録済みか、又は
記録可能かを記憶する画像状態保持メモリと、 新たな画像を作成する前に前記画像メモリと前記画像状
態保持メモリに対し、全ての座標の画素データ及びフラ
グを記録可能状態にクリアする画像フラグクリア装置
と、 1画面を構成する画像の座標と各画素の画素データを生
成する画素生成装置と、 前記画素生成装置によって生成された座標における前記
画像状態保持メモリのフラグを調べ、記録可能ならば前
記画像メモリに画素データを記録する書込装置と、 前記画像状態保持メモリの前記画素生成装置が生成した
座標を記録済みに変更する状態変更装置と、 画像の作成終了後に前記画像状態保持メモリの全座標の
フラグを調べ、前記画像メモリの記録済みでない座標の
画素データをクリアする画像クリア装置と、を具備する
ことを特徴とする画像メモリ状態管理装置。
2. An image memory for storing pixel data of at least one screen, an image state holding memory for storing whether or not a pixel at each coordinate has already been recorded or can be recorded in the image memory, and a new image is created. Image flag clearing device for clearing the pixel data and flags of all coordinates to a recordable state in the image memory and the image state holding memory, and the coordinate of the image forming one screen and the pixel data of each pixel A pixel generating device that generates a pixel, a writing device that checks a flag of the image state holding memory at the coordinates generated by the pixel generating device, and records pixel data in the image memory if the pixel state can be recorded, A state changing device for changing the coordinates generated by the pixel generating device of the memory to a recorded state; An image memory state management device, comprising: an image clearing device for checking a flag of a mark and clearing pixel data of a coordinate which has not been recorded in the image memory.
【請求項3】 少なくとも1画面の画素データを記憶す
る画像メモリと、 各座標の画素が前記画像メモリに既に記録済みか否かを
複数画素単位で記憶する画像状態保持メモリと、 新たな画像を作成する前に前記画像状態保持メモリの全
てのフラグを未記録状態にクリアするフラグクリア装置
と、 1画面を構成する画像の座標と各画素の画素データを生
成する画素生成装置と、 前記画素生成装置が生成した座標を含む前記画像状態保
持メモリのフラグを記録済みに変更する状態変更装置
と、 前記画素生成装置が生成した座標に対応する前記画像状
態保持メモリのフラグを調べ、記録済みでなければその
フラグに含まれる生成画素以外の前記画像メモリの画素
データをクリアする部分クリア装置と、 前記画素生成装置によって生成された座標の画素データ
を前記画像メモリに記録する書込装置と、 画像の作成終了後に前記画像状態保持メモリの全てのフ
ラグを調べ、未記録状態のフラグに属する前記画像メモ
リの座標の画素データをクリアする画像クリア装置と、
を具備することを特徴とする画像メモリ状態管理装置。
3. An image memory for storing pixel data of at least one screen, an image state holding memory for storing whether or not a pixel at each coordinate has already been recorded in the image memory in units of a plurality of pixels, and a new image A flag clearing device for clearing all flags of the image state holding memory to an unrecorded state before creating; a pixel generating device for generating coordinates of images forming one screen and pixel data of each pixel; A state changing device that changes the flag of the image state holding memory including the coordinates generated by the device to a recorded state, and a flag of the image state holding memory corresponding to the coordinates generated by the pixel generation device is checked and must be recorded. For example, a partial clearing device that clears the pixel data of the image memory other than the generated pixels included in the flag, and the coordinates of the coordinates generated by the pixel generating device. A writing device that records pixel data in the image memory, and an image that clears the pixel data of the coordinates of the image memory belonging to the unrecorded state flag by checking all flags of the image state holding memory after the image creation is completed. With a clearing device,
An image memory state management device comprising:
【請求項4】 少なくとも1画面の画素データを記憶す
る画像メモリと、 各座標の画素が前記画像メモリに既に記録済みか否かを
記憶する画像状態保持メモリと、 新たな画像を作成する前に前記画像状態保持メモリの全
ての座標のフラグを未記録状態にクリアするフラグクリ
ア装置と、 1画面を構成する画像の座標と各画素の画素データを生
成する画素生成装置と、 前記画素生成装置によって生成された座標の画素データ
を前記画像メモリに記録する書込装置と、 前記画素生成装置が生成した座標に対応する前記画像状
態保持メモリのフラグを記録済みに変更する状態変更装
置と、 前記画像メモリの画素データを読み出す際に、前記画像
状態保持メモリの各座標のフラグを調べ、未記録状態で
あれば前記画像メモリの画素データを読まずに、クリア
された画素データと同じ画素データを出力する画像読出
装置と、を具備することを特徴とする画像メモリ状態管
理装置。
4. An image memory for storing pixel data of at least one screen, an image state holding memory for storing whether or not a pixel at each coordinate has already been recorded in the image memory, and before creating a new image. A flag clearing device for clearing flags of all coordinates of the image state holding memory to an unrecorded state; a pixel generating device for generating coordinates of an image forming one screen and pixel data of each pixel; A writing device for recording pixel data of the generated coordinates in the image memory; a state changing device for changing a flag of the image state holding memory corresponding to the coordinates generated by the pixel generating device to a recorded state; When reading the pixel data of the memory, the flag of each coordinate of the image state holding memory is checked, and if the pixel state is not recorded, the pixel data of the image memory is not read. And an image reading device that outputs the same pixel data as the cleared pixel data, the image memory state management device.
【請求項5】前記画像状態保持メモリは、前記画像メモ
リより高速でアクセスできるメモリであることを特徴と
する請求項1〜4のいずれか1項記載の画像メモリ状態
管理装置。
5. The image memory state management device according to claim 1, wherein the image state holding memory is a memory that can be accessed at a higher speed than the image memory.
JP28581094A 1994-10-25 1994-10-25 Picture memory state management device Pending JPH08123951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28581094A JPH08123951A (en) 1994-10-25 1994-10-25 Picture memory state management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28581094A JPH08123951A (en) 1994-10-25 1994-10-25 Picture memory state management device

Publications (1)

Publication Number Publication Date
JPH08123951A true JPH08123951A (en) 1996-05-17

Family

ID=17696386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28581094A Pending JPH08123951A (en) 1994-10-25 1994-10-25 Picture memory state management device

Country Status (1)

Country Link
JP (1) JPH08123951A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6029210A (en) * 1997-05-02 2000-02-22 Fujitsu Limited Memory initialization system selectively outputting a data between a normal data stored in the memory and a fixed value according to a registered access state

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6029210A (en) * 1997-05-02 2000-02-22 Fujitsu Limited Memory initialization system selectively outputting a data between a normal data stored in the memory and a fixed value according to a registered access state

Similar Documents

Publication Publication Date Title
JP2882465B2 (en) Image generation method and apparatus
WO2010018622A1 (en) Electronic paper terminal device, image display control program, and image display control method
JPH08123951A (en) Picture memory state management device
US5870074A (en) Image display control device, method and computer program product
JPS592079A (en) Image recorder
JPS58211186A (en) Slit screen display control system
JP2509570B2 (en) Image data recording device
JP3272463B2 (en) Image forming apparatus and method of using the same
JPH1040412A (en) Method and device for plotting three-dimensional graphic
JPH07121146A (en) Image display method
JPS60111291A (en) Data generation processing for color lookup table animation
JPS6231889A (en) Image display unit
JP2000181441A (en) Image display device
JPH0668754B2 (en) Image retrieval device
JP4821410B2 (en) MEMORY CONTROL METHOD, MEMORY CONTROL DEVICE, IMAGE PROCESSING DEVICE, AND PROGRAM
JPS63205691A (en) Bit map display device
JPS61215585A (en) Multiscreen display system for display unit
JPS58154890A (en) Display unit
JPS60150089A (en) Memory
JPH1049705A (en) Device for eliminating z buffer system hidden-surface
JPS6075869A (en) Dynamic expansion character display system
JPS6142683A (en) Crt display unit
JPH0429193A (en) Liquid crystal display device
JPS62127792A (en) Multiwindow image display
JPH05151771A (en) Frame memory device