JPH1138957A - Vram-mapping method for image data and image data display system - Google Patents

Vram-mapping method for image data and image data display system

Info

Publication number
JPH1138957A
JPH1138957A JP19567097A JP19567097A JPH1138957A JP H1138957 A JPH1138957 A JP H1138957A JP 19567097 A JP19567097 A JP 19567097A JP 19567097 A JP19567097 A JP 19567097A JP H1138957 A JPH1138957 A JP H1138957A
Authority
JP
Japan
Prior art keywords
vram
display screen
coordinate
bits
mapping
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
JP19567097A
Other languages
Japanese (ja)
Inventor
Kazuhiko Yoshida
一彦 吉田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP19567097A priority Critical patent/JPH1138957A/en
Publication of JPH1138957A publication Critical patent/JPH1138957A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the circuit scale, to shorten the development period and speed up the development, by mapping display screen data for one line mapped by a display screen memory (VRAM) so that the display screen data become powers of 2, and mapping the upperleft corner of the display screen to agree with the upperleft corner of VRAM. SOLUTION: Image data displayed on a LCD monitor are mapped so as to be located in the upper central part of the VRAM space. The VRAM is arranged in rows of two banks of 1MB VRAMs, and in order to set one line to powers of 2, the LCD monitor display screen is devided in two to be scanned, and the mapping is carried out so that the scanning split point on the display screen agrees with the bank change-over point of the VRAM. Then, the lower region of the LCD monitor for 1600×176 pixels remains without being mapped by VRAM, and since the mapping is not done on the left of bank 1 and the right of bank 2, the region is left over. Therefore, the area of the above- mentioned 1600×176 pixels is mapped in this part.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像データのVR
AMマッピング方法、ならびに同方法を用いた画像表示
システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for VR of image data.
The present invention relates to an AM mapping method and an image display system using the same.

【0002】[0002]

【従来の技術】パソコン市場は、現在価格破壊といえる
ほどの低価格化と電子メール、インタネットに代表され
るネットワーク需要の拡大の中で、パソコンを武器に更
に積極的に業務の拡大化をはかる目的で1人1台以上の
パソコン導入を目指す企業がある。
2. Description of the Related Art In the personal computer market, with the price reduction and the growing demand for networks such as e-mail and the Internet, which can be said to be the destruction of the price at present, business will be expanded more aggressively by using personal computers as a weapon. There are companies that aim to introduce more than one personal computer for each purpose.

【0003】このような需要の下、パソコンシステムを
構成する機器に対し、当然、省スペース、省エネルギー
に対する要求が増え、とりわけマンマシンインタフェー
スの顔であるディスプレイモニタに対し特にその要求が
強い。これを満たすものとして、液晶モニタが普及し、
カラーTFT等視認性の高い液晶(LCD)が頻繁に用
いられるようになり、最近ではSVGA、更にはXGA
をサポートする解像度の高い12インチ以上のものが標
準で実装されるようになった。
Under such demands, naturally, the demands for space saving and energy saving are increasing for the equipment constituting the personal computer system, and especially for the display monitor which is the face of the man-machine interface. As a means to satisfy this, LCD monitors have spread,
Liquid crystal (LCD) with high visibility such as color TFT has been frequently used, and recently, SVGA, and furthermore, XGA
12 inch or higher resolution with high resolution that supports is now standard.

【0004】LCDモニタは多くの画素(ピクセル)で
構成されており、各々のピクセルの状態が変化すること
で画像データが表示される。図10にLCD表示画面と
VRAMの関係が示されている。VRAM20はLCD
10に表示される画像データを格納するもので、LCD
コントローラ30によってスキャンされ、その画像デー
タがLCDモニタ10に転送され、LCDモニタ10が
転送されたデータを各ピクセルの状態を変化させ画像と
して表示するものである。図中、VRAM20における
矢印は、LCDモニタ10の各表示行1〜4に対応する
画像データが格納される領域を示す。
[0004] An LCD monitor is composed of many pixels, and image data is displayed by changing the state of each pixel. FIG. 10 shows the relationship between the LCD display screen and the VRAM. VRAM 20 is LCD
10 for storing image data to be displayed on the LCD
Scanned by the controller 30, the image data is transferred to the LCD monitor 10, and the LCD monitor 10 changes the state of each pixel and displays the transferred data as an image. In the figure, arrows in the VRAM 20 indicate areas where image data corresponding to the respective display rows 1 to 4 of the LCD monitor 10 are stored.

【0005】[0005]

【発明が解決しようとする課題】VRAM20に対する
画像データのマッピングは、図10に示されるように、
LCDモニタ10に表示するデータの1行目の最初のピ
クセルから順に右に向かって直線的に行われる。LCD
コントローラ30はVRAM20からこれらの画像デー
タを同じく直線的に読み込みLCDモニタ10に転送し
て画像を表示している。
The mapping of the image data to the VRAM 20 is as shown in FIG.
The processing is performed linearly in order from the first pixel of the first row of data displayed on the LCD monitor 10 to the right. LCD
The controller 30 reads these image data linearly from the VRAM 20 and transfers them to the LCD monitor 10 to display images.

【0006】上述した従来のVRAMマッピング方法に
従えば、画像データが直線的にVRAM20に格納され
ていたため、LCDモニタ10を縦使用の他、横使用で
きる画像表示装置では、VRAM20のアドレスを計算
するのに複雑なアドレス変換を要した。従ってそのため
のハードウェアを設計する必要があり、回路設計が複雑
で、回路規模も大きくなり、かつ、処理速度も遅くなる
といった欠点があった。
According to the above-described conventional VRAM mapping method, since image data is stored linearly in the VRAM 20, an address of the VRAM 20 is calculated in an image display device in which the LCD monitor 10 can be used not only vertically but also horizontally. Required complicated address translation. Therefore, it is necessary to design hardware for that purpose, and the circuit design is complicated, the circuit scale is increased, and the processing speed is reduced.

【0007】本発明は上記事情に鑑みてなされたもので
あり、新規なVRAMマッピング手法を用いることによ
り、LCDの縦横使用に容易に追随でき、VRAM読み
込みのためのアドレス変換を単純化し、このことによ
り、回路規模の縮小、開発期間の短縮、高速化可能な画
像データのVRAMマッピング方法、ならびに同方法を
用いた画像表示システムを提供することを目的とする
The present invention has been made in view of the above circumstances, and by using a novel VRAM mapping method, it is possible to easily follow the vertical and horizontal use of an LCD and simplify address conversion for reading a VRAM. Accordingly, an object of the present invention is to provide a VRAM mapping method of image data capable of reducing a circuit scale, a development period, and speeding up, and an image display system using the method.

【0008】[0008]

【課題を解決するための手段】本発明の画像データのマ
ッピング方法は、表示画面が持つ解像度よりも容量の多
い表示画面メモリ(VRAM)を持つ画像表示システム
において、VRAMにマッピングされる1行分の表示画
面データを2のべき乗になるようにマッピングし、か
つ、表示画面の左上隅をVRAMの左上隅に合致するよ
うにマッピングを行うことを特徴とする。
According to the method of mapping image data of the present invention, in an image display system having a display screen memory (VRAM) having a larger capacity than the resolution of the display screen, one line mapped to the VRAM is provided. Are mapped so as to be a power of two, and the mapping is performed such that the upper left corner of the display screen matches the upper left corner of the VRAM.

【0009】また、N×Mドットの解像度を持つ表示画
面をn×m(2のべき乗Q)ビットで構成されるバンク
をk個並べてVRAMにマッピングするとき、表示画面
をk分割してスキャンし、表示画面のスキャン分割点を
VRAMのバンク切替え点と合致するようにマッピング
を行い、VRAM空間からはみでたN×(M−m)ドットの
ビット配列は、ピクセルアドレスのうち、Y座標で示す
上位Q/2ビットを変換後のX座標の上位Q/2ビット
とし、Y座標を示す下位Q/2ビットを変換後のY座標
の上位Q/2ビットとし、X座標を示す上位Q/2ビッ
トを変換後のY座標を示す下位Q/2ビットとすること
を特徴とする。
When a display screen having a resolution of N × M dots is mapped to a VRAM by arranging k banks each composed of n × m (power of 2) Q bits, the display screen is divided into k and scanned. The mapping is performed so that the scan division point of the display screen matches the bank switching point of the VRAM, and the bit array of N × (M−m) dots that are out of the VRAM space is a higher order pixel address indicated by the Y coordinate. Q / 2 bits are upper Q / 2 bits of the converted X coordinate, lower Q / 2 bits indicating the Y coordinate are upper Q / 2 bits of the converted Y coordinate, and upper Q / 2 bits indicating the X coordinate. Is the lower Q / 2 bits indicating the converted Y coordinate.

【0010】本発明の画像表示システムは、表示画面が
持つ解像度N×Mドットよりも大きな容量を持ち、表示
画面データを格納するVRAMと、VRAMにマッピン
グされる1行分の表示画面データを2のべき乗になるよ
うに設定し、表示画面の左上隅をVRAMの左上隅に合
致するようにマッピングを行ない、その表示画面データ
をリードライトするメモリ制御装置とを具備する。ま
た、n×m(2のべき乗Q)ビットで構成されるバンク
をk個並べ、N×Mの解像度を持つ表示画面データがマ
ッピングされるVRAMと、表示画面をk分割してスキ
ャンし、表示画面のスキャン分割点をVRAMのバンク
切替え点と合致するようにマッピングを行い、VRAM
空間からはみでたN×(M−m)ドットのビット配列
は、ピクセルアドレスのうち、Y座標で示す上位Q/2
ビットを変換後のX座標の上位Q/2ビットとし、Y座
標を示す下位Q/2ビットを変換後のY座標の上位Q/
2ビットとし、X座標を示す上位Q/2ビットを変換後
のY座標を示す下位Q/2ビットとし、リードライトす
るメモリ制御装置とを具備することを特徴とする。
The image display system of the present invention has a capacity larger than the resolution N × M dots of the display screen, and stores a VRAM for storing the display screen data and two rows of display screen data mapped to the VRAM. And a memory control device that performs mapping so that the upper left corner of the display screen matches the upper left corner of the VRAM, and reads and writes the display screen data. Also, k banks composed of n × m (power of 2) bits are arranged, and a VRAM to which display screen data having a resolution of N × M is mapped, and the display screen are divided into k and scanned and displayed. Mapping is performed so that the scan division point on the screen matches the bank switching point of the VRAM,
The bit array of N × (M−m) dots that are viewed from the space is the upper Q / 2 of the pixel address indicated by the Y coordinate.
The bits are set to the upper Q / 2 bits of the converted X coordinate, and the lower Q / 2 bits indicating the Y coordinate are set to the upper Q / bit of the converted Y coordinate.
A memory control device for reading and writing data, comprising 2 bits, upper Q / 2 bits indicating the X coordinate and lower Q / 2 bits indicating the converted Y coordinate.

【0011】このことにより、LCDの縦横使用に容易
に追随でき、VRAM読み込みのためのアドレス変換を
単純化し、回路規模の縮小、開発期間の短縮、そして高
速処理を実現できる。
As a result, it is possible to easily follow the vertical and horizontal use of the LCD, simplify the address conversion for reading the VRAM, reduce the circuit scale, shorten the development period, and realize high-speed processing.

【0012】[0012]

【発明の実施の形態】図1は本発明の画像表示システム
の構成例を示すブロック図である。図において、1はL
CDモニタ、2はVRAMである。3はVRAMコント
ローラであって、後述するVRAMマッピング手法をサ
ポートし、VRAM2に格納されるデータのリードライ
トを行う。4はグラフィックコントローラであり、画像
データをVRAM2に描画する画像データを生成する。
FIG. 1 is a block diagram showing a configuration example of an image display system according to the present invention. In the figure, 1 is L
The CD monitor and 2 are VRAMs. Reference numeral 3 denotes a VRAM controller, which supports a VRAM mapping method described later and reads and writes data stored in the VRAM 2. A graphic controller 4 generates image data for drawing image data in the VRAM 2.

【0013】5はLCDコントローラであって、VRA
M2とLCDモニタ1をインタフェースする。LCDコ
ントローラ5は、垂直クロックレイテンシ回路51、F
IFOバッファ52、フレーム周波数制御回路53、L
CDドライブ回路54で構成される。垂直クロックレイ
テンシ回路51及びフレーム周波数制御回路53は、V
RAMコントローラ3による制御の下でFIFOバッフ
ァ52に転送される画像データをLCDドライブ回路5
4へ供給するときの各種制御信号を生成する。LCDド
ライブ回路54は、FIFOFバッファ52に書き込ま
れた画像データに従うLCDモニタ1のXY駆動、及び
カラーもしくは階調制御を行う。
Reference numeral 5 denotes an LCD controller, which is a VRA
M2 and LCD monitor 1 are interfaced. The LCD controller 5 includes a vertical clock latency circuit 51, F
IFO buffer 52, frame frequency control circuit 53, L
It comprises a CD drive circuit 54. The vertical clock latency circuit 51 and the frame frequency control circuit 53
The image data transferred to the FIFO buffer 52 under the control of the RAM controller 3 is stored in the LCD drive circuit 5.
4 to generate various control signals. The LCD drive circuit 54 performs XY driving of the LCD monitor 1 according to the image data written in the FIFO buffer 52, and performs color or gradation control.

【0014】図2乃至図4は本発明実施例の動作を説明
するために引用した図であり、それぞれ、LCDモニタ
1の画面構成、VRAMアドレス空間、VRAM2のア
ドレスマップを示す。本発明実施例にて用いられるLC
Dモニタ1は、1600×1200ピクセルの解像度を
持つ。VRAM2は、2M(メガ)バイト容量を持ち、
1MバイトのVRAMを横に並べた2つのバンク構成を
採る。
FIGS. 2 to 4 are views cited for explaining the operation of the embodiment of the present invention, and show the screen configuration of the LCD monitor 1, the VRAM address space, and the address map of the VRAM 2, respectively. LC used in embodiments of the present invention
The D monitor 1 has a resolution of 1600 × 1200 pixels. VRAM2 has a capacity of 2M (mega) bytes,
A two-bank configuration in which 1 Mbyte VRAMs are arranged side by side is employed.

【0015】図2に示すLCDモニタ1を図3に示すV
RAM2にマッピングするわけであるが、それは図4に
示す手法にて行われる。即ち、LCDモニタ1に表示さ
れる画像データは、VRAM空間の上方中央部に位置す
るようにマッピングされる。具体的に、VRAM2は、
1MバイトのVRAM2を2バンク横に並べた構成を採
っているため、LCDモニタ1表示画面を2分割してス
キャンし、表示画面のスキャン分割点をVRAM2のバ
ンク切替え点と合致するようにマッピングを行なう。
The LCD monitor 1 shown in FIG.
Mapping to the RAM 2 is performed by the method shown in FIG. That is, the image data displayed on the LCD monitor 1 is mapped so as to be located at the upper center of the VRAM space. Specifically, VRAM2 is
Since a 1 Mbyte VRAM 2 is arranged horizontally in two banks, the display screen of the LCD monitor 1 is divided into two and scanned, and the mapping is performed so that the scan division point of the display screen matches the bank switching point of the VRAM 2. Do.

【0016】このようにマッピングすると、LCDモニ
タ1の下部1600ピクセル×176ピクセルの領域が
VRAM2にマッピングされず、余ってしまう。しか
し、バンク1の左、バンク2の右はマッピングされてい
ないため、領域が余っている。そこで、この部分に先の
1600×176ピクセルの領域データをマッピングす
る。この部分のマッピングは、ピクセルアドレスのビッ
ト配列を変えることにより実現できる。
With this mapping, the area of 1600 pixels × 176 pixels at the bottom of the LCD monitor 1 is not mapped to the VRAM 2 and is left behind. However, since the left side of the bank 1 and the right side of the bank 2 are not mapped, the area is left. Therefore, the area data of 1600 × 176 pixels is mapped to this portion. The mapping of this part can be realized by changing the bit arrangement of the pixel address.

【0017】VRAM空間からはみ出た1600×17
6ピクセルのビット配列は、そのピクセルアドレスのう
ち、Y座標で示す上位5ビットを変換後のX座標の上位
5ビットとし、Y座標を示す下位5ビットを変換後のY
座標の上位5ビットとし、X座標を示す上位5ビットを
変換後のY座標を示す下位5ビットとすることで実現で
きる。
1600 × 17 outside the VRAM space
In the bit array of 6 pixels, of the pixel address, the upper 5 bits indicated by the Y coordinate are set as the upper 5 bits of the converted X coordinate, and the lower 5 bits indicating the Y coordinate are converted to the converted Y coordinate.
This can be realized by setting the upper 5 bits of the coordinate and the upper 5 bits indicating the X coordinate as the lower 5 bits indicating the converted Y coordinate.

【0018】また、本発明実施例にて、LCDを縦使用
から横使用に変更した場合の縦横変換の動作について説
明する。この場合、縦使用での座標等の各種パラメータ
を横使用でのパラメータの値に変換して、転送自体は、
横使用モードでの転送メカニズムにより行われる。図5
にパラメータ変換のメカニズムを示す。(a)は縦使用
の場合の各種パラメータ、(b)は横使用の場合の各種
パラメータを示す。
In the embodiment of the present invention, the operation of the vertical / horizontal conversion when the LCD is changed from the vertical use to the horizontal use will be described. In this case, various parameters such as coordinates in vertical use are converted into parameter values in horizontal use, and the transfer itself is
This is performed by the transfer mechanism in the horizontal use mode. FIG.
Shows the mechanism of parameter conversion. (A) shows various parameters for vertical use, and (b) shows various parameters for horizontal use.

【0019】図5において、縦使用の場合のパラメータ
(x,y)は、転送元矩形領域の左上頂点の座標、
(p,q)は転送先矩形領域の左上頂点の座標、wは転
送矩形領域の幅、hは転送矩形領域の高さである。ま
た、横使用の場合のパラメータ(X,Y)は、転送元矩
形領域の左上頂点の座標、(P,Q)は転送先矩形領域
の左上頂点の座標、Wは転送矩形領域の幅、Hは転送矩
形領域の高さである。パラメータの変換は、縦使用から
横使用の場合に変更となったときに行われるため、本発
明におけるパラメータ変換は以下の変換式により実行さ
れる。変換式の実行は、図1に示すVRAMコントロー
ラ3内蔵の演算回路により行われる。
In FIG. 5, the parameters (x, y) for the vertical use are the coordinates of the upper left vertex of the transfer source rectangular area,
(P, q) is the coordinates of the upper left vertex of the transfer destination rectangular area, w is the width of the transfer rectangular area, and h is the height of the transfer rectangular area. In the case of horizontal use, parameters (X, Y) are the coordinates of the upper left vertex of the transfer source rectangular area, (P, Q) are the coordinates of the upper left vertex of the transfer destination rectangular area, W is the width of the transfer rectangular area, and H is the width of the transfer rectangular area. Is the height of the transfer rectangular area. Since the parameter conversion is performed when changing from vertical use to horizontal use, parameter conversion in the present invention is executed by the following conversion formula. The execution of the conversion formula is performed by an arithmetic circuit built in the VRAM controller 3 shown in FIG.

【0020】(1) X=y (2) Y=1200−x−w (3) W=h (4) H=w (5) P=q (6) Q=1200−p−w ピクセルアドレスからVRAM2のXY座標を復元する
方法につき、図6を用いて説明する。VRAM2空間の
1 行は2048ピクセルで構成されるため、ピクセルア
ドレスの下位11桁からX座標が求められ、ピクセルア
ドレスの上位11桁からY座標が求められる。また、逆
にVRAMアドレスを求めることも容易である。また、
このようにマッピングすることで、画面中央の切れ目の
ところでもVRAMバンクを気にすることはなく、転送
アドレスを生成できる。つまり、VRAM2のどちらの
バンクを使用するかは、ピクセルアドレスのビット10
をチェックすればわかる。ビット10が“0”ならはバ
ンク1、ビット10が“1”ならばバンク2を使用する
ことがわかる。
(1) X = y (2) Y = 1200-xw (3) W = h (4) H = w (5) P = q (6) Q = 1200-pw From pixel address A method of restoring the XY coordinates of the VRAM 2 will be described with reference to FIG. VRAM2 space
Since one row is composed of 2048 pixels, the X coordinate is obtained from the lower 11 digits of the pixel address, and the Y coordinate is obtained from the upper 11 digits of the pixel address. Conversely, it is also easy to obtain the VRAM address. Also,
By performing mapping in this manner, a transfer address can be generated without worrying about the VRAM bank even at the center of the screen. That is, which bank of the VRAM2 is used is determined by the bit 10 of the pixel address.
Check to see. If bit 10 is "0", bank 1 is used, and if bit 10 is "1", bank 2 is used.

【0021】図7にVRAMマッビングのアルゴリズム
をフローチャートで示す。ここでは、Y座標をチェック
し、1024ピクセルより小さければVRAMアドレス
は上述した図6に示すアドレス構成にて、1024ピク
セルの範囲内にあれば、図8に示すアドレスマップに
て、かつ図9に示すアドレス変換を通してマッピングが
行われる。図8中、ハッチングして示す領域がLCDモ
ニタ1が持つ解像度であり、VRAM2が持つメモリ容
量が縦横ともに大きい場合を例示している。この場合の
ピクセルアドレスの変換前後におけるビット配列が図9
に示されている。上述したように、Y座標で示す上位5
ビットを変換後のX座標の上位5ビットとし、Y座標を
示す下位5ビットを変換後のY座標の上位5ビットと
し、X座標を示す上位5ビットを変換後のY座標を示す
下位5ビットとし、X座標を示す下位5ビットはそのま
まX座標を示す下位5ビットとする。
FIG. 7 is a flowchart showing the algorithm of VRAM mapping. Here, the Y coordinate is checked, and if it is smaller than 1024 pixels, the VRAM address is in the address configuration shown in FIG. 6 described above. If it is within the range of 1024 pixels, the VRAM address is shown in the address map shown in FIG. Mapping is performed through the indicated address translation. In FIG. 8, an example in which the hatched area is the resolution of the LCD monitor 1 and the memory capacity of the VRAM 2 is large both vertically and horizontally. The bit arrangement before and after the pixel address conversion in this case is shown in FIG.
Is shown in As described above, the top 5 indicated by the Y coordinate
The bits are the upper 5 bits of the converted X coordinate, the lower 5 bits indicating the Y coordinate are the upper 5 bits of the converted Y coordinate, and the upper 5 bits indicating the X coordinate are the lower 5 bits indicating the converted Y coordinate. And the lower 5 bits indicating the X coordinate are directly used as the lower 5 bits indicating the X coordinate.

【0022】尚、LCDモニタ1を縦使用する場合の画
像の転送は、転送のパラメータを横使用の場合のパラメ
ータに変換し、実際は横使用のメカニズムで行われる。
The image transfer when the LCD monitor 1 is used vertically is performed by converting the transfer parameters into the parameters for the horizontal use, and is actually performed by a horizontal use mechanism.

【0023】以上説明のように、本発明は、画像データ
をVRAM2にマッピングするとき、VRAMのバンク
が1個で構成されており、画像データをLCDモニタ1
に対する表示イメージと同じようにマッピングできる
(VRAM空間からはみ出ない)場合、VRAM空間の
1行を2のべき乗になるように設定し、表示イメージの
左上隅がVRAM空間の左上隅に合致するようにマッピ
ングするものである。
As described above, according to the present invention, when mapping image data to the VRAM 2, the bank of the VRAM is constituted by one bank, and the image data is mapped to the LCD monitor 1.
When the mapping can be performed in the same manner as the display image for (i.e., does not protrude from the VRAM space), one row of the VRAM space is set to be a power of 2 so that the upper left corner of the display image matches the upper left corner of the VRAM space. It is to be mapped.

【0024】一方、画像データをVRAM2にマッピン
グするとき、VRAM空間の1行を2のべき乗に設定
し、VRAM空間のバンクが2個あるとすれば、LCD
モニタ1を左右2分割してスキャンする。このとき、L
CDモニタ1への表示イメージと同じようにVRAM空
間にマッピングするとLCDモニタ1に表示されるべき
下部の画像データがはみ出てしまい、マッピングできな
くなるため、ピクセルアドレスのうち、Y座標で示す上
位5ビットを変換後のX座標の上位5ビットとし、Y座
標を示す下位5ビットを変換後のY座標の上位5ビット
とし、X座標を示す上位5ビットを変換後のY座標を示
す下位5ビットとする。このようにピクセルアドレスの
変換をそのドット位置の変更のみによって実現するもの
である。このとき、VRAM2へのマッピングは、LC
Dモニタ1のスキャンの分割点がVRAM2のバンクの
分割点と合致するようにマッピングを行い、更に、画像
データの1行目がVRAM2の1行目と合致するように
マッピングを行う。
On the other hand, when mapping image data to the VRAM2, if one row in the VRAM space is set to a power of 2 and there are two banks in the VRAM space, the LCD
The monitor 1 is divided into left and right parts for scanning. At this time, L
If the image is mapped in the VRAM space in the same manner as the image displayed on the CD monitor 1, the lower image data to be displayed on the LCD monitor 1 protrudes and cannot be mapped. Are the upper 5 bits of the converted X coordinate, the lower 5 bits indicating the Y coordinate are the upper 5 bits of the converted Y coordinate, and the upper 5 bits indicating the X coordinate are the lower 5 bits indicating the converted Y coordinate. I do. As described above, the conversion of the pixel address is realized only by changing the dot position. At this time, the mapping to VRAM2 is performed by LC
The mapping is performed so that the division point of the scan of the D monitor 1 matches the division point of the bank of the VRAM 2, and the mapping is performed so that the first line of the image data coincides with the first line of the VRAM 2.

【0025】また、LCDモニタ1を縦使用し画像の転
送を行う場合には、縦使用における転送前後の矩形領域
の座標(x, y),(p,q)、転送領域の幅w、高さh
のパラメータを、横使用した場合の転送前後の矩形領域
の座標(X,Y)、(P,Q)、転送領域の幅W、高さ
Hのパラメータに変換するのに、X=y,Y=M−x−
w,W=h,H=w,P=q,Q=M−p−wの各式を
用い、ここで変換したパラメータを用いて横使用での転
送メカニズムを縦使用の場合にも利用するものである。
When an image is transferred using the LCD monitor 1 vertically, the coordinates (x, y) and (p, q) of the rectangular area before and after the transfer in the vertical use, the width w of the transfer area, and the height w H
Is converted into parameters of coordinates (X, Y) and (P, Q) of the rectangular area before and after transfer when the apparatus is used horizontally, and width W and height H of the transfer area, X = y, Y = M-x-
Using the equations of w, W = h, H = w, P = q, and Q = M−p−w, the transfer mechanism in horizontal use is also used in the case of vertical use using the parameters converted here. Things.

【0026】[0026]

【発明の効果】以上説明のように本発明によれば、新規
なVRAMマッピング手法を用いることにより、LCD
の縦横使用に容易に追随でき、また、VRAM読み込み
のためのアドレス変換を単純化し、このことにより、回
路規模の縮小、開発期間の短縮、高速化可能な画像デー
タのVRAMマッピング方法、ならびに同方法を用いた
画像表示システムを構築できる。更に以下に列挙する効
果も得られる。
As described above, according to the present invention, by using a novel VRAM mapping method, an LCD
VRAM mapping method of image data which can easily follow vertical and horizontal use of the image data, and simplifies the address conversion for reading the VRAM, thereby reducing the circuit scale, shortening the development period, and speeding up. , An image display system can be constructed. Further, the following effects can be obtained.

【0027】(1)画面表示イメージをそのままマッピ
ングすることにより、VRAM上の座標を直接算出する
ことができる。
(1) By directly mapping the screen display image, the coordinates on the VRAM can be directly calculated.

【0028】(2)VRAMのバンク構成により、画像
データを表示イメージどおりにマッピングできるVRA
M空間ができない場合であっても、ピクセルアドレスの
ビット配列を変えるだけでVRAM上の座標をピクセル
アドレスから簡単に算出できる。
(2) VRA that can map image data as displayed image by bank structure of VRAM
Even when the M space is not available, the coordinates on the VRAM can be easily calculated from the pixel address only by changing the bit arrangement of the pixel address.

【0029】(3)LCDモニタを縦使用する場合でも
横使用における転送メカニズムを利用することで回路の
設計、検証が簡単になり、バグも少なくなる。
(3) Even when the LCD monitor is used vertically, by utilizing the transfer mechanism in the horizontal use, circuit design and verification can be simplified, and bugs can be reduced.

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

【図1】本発明の画像表示システムの構成例を示すブロ
ック図。
FIG. 1 is a block diagram showing a configuration example of an image display system according to the present invention.

【図2】本発明において使用されるLCDモニタの構成
例を示す図。
FIG. 2 is a diagram showing a configuration example of an LCD monitor used in the present invention.

【図3】本発明において使用されるVRAM空間の構成
を示す図。
FIG. 3 is a diagram showing a configuration of a VRAM space used in the present invention.

【図4】本発明において使用されるVRAMマッピング
方法をメモリ上に展開して示した図。
FIG. 4 is a diagram showing a VRAM mapping method used in the present invention expanded on a memory.

【図5】LCDモニタを縦使用するときのパラメータ変
換を説明するために引用した図。
FIG. 5 is a diagram cited for explaining parameter conversion when the LCD monitor is used vertically.

【図6】本発明において使用されるピクセルアドレスの
構成を示す図。
FIG. 6 is a diagram showing a configuration of a pixel address used in the present invention.

【図7】本発明において使用されるVRAMマッピング
のためのアルゴリズムをフローチャートで示す図。
FIG. 7 is a flowchart showing an algorithm for VRAM mapping used in the present invention.

【図8】LCDモニタに表示されるべき画像データをV
RAM上にマッピングしたときの領域配置を示す図。
FIG. 8 shows image data to be displayed on the LCD monitor as V
FIG. 4 is a diagram showing an area arrangement when mapping on a RAM.

【図9】ピクセルアドレス変換動作を説明するために引
用した図。
FIG. 9 is a diagram cited for explaining a pixel address conversion operation;

【図10】従来のVRAMマッピング手法を説明するた
めに引用した図。
FIG. 10 is a diagram cited for explaining a conventional VRAM mapping method.

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

1…LCDモニタ、2…VRAM、3…VRAMコント
ローラ、4…グラフィックコントローラ、5…LCDコ
ントローラ、51…垂直クロックレイテンシ回路、52
…FIFOバッファ、53…フレーム周波数制御回路、
54…LCDドライブ回路。
DESCRIPTION OF SYMBOLS 1 ... LCD monitor, 2 ... VRAM, 3 ... VRAM controller, 4 ... Graphic controller, 5 ... LCD controller, 51 ... Vertical clock latency circuit, 52
... FIFO buffer, 53 ... Frame frequency control circuit,
54 ... LCD drive circuit.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 表示画面が持つ解像度よりも容量の多い
表示画面メモリ(VRAM)を持つ画像表示システムに
おいて、 VRAMにマッピングされる1行分の表示画面データを
2のべき乗になるようにマッピングし、かつ、表示画面
の左上隅をVRAMの左上隅に合致するようにマッピン
グを行うことを特徴とする画像データのVRAMマッピ
ング方法。
1. An image display system having a display screen memory (VRAM) having a larger capacity than a resolution of a display screen, wherein one line of display screen data mapped to the VRAM is mapped to a power of two. And mapping the upper left corner of the display screen to the upper left corner of the VRAM.
【請求項2】 N×Mドットの解像度を持つ表示画面を
n×m(2のべき乗Q)ビットで構成されるバンクをk
個並べてVRAMにマッピングするとき、 表示画面をk分割してスキャンし、表示画面のスキャン
分割点をVRAMのバンク切替え点と合致するようにマ
ッピングを行い、VRAM空間からはみでたN×(M−
m)ドットのビット配列を変え、VRAMの空き領域に
マッピングすることを特徴とする画像データのVRAM
マッピング方法。
2. A display screen having a resolution of N × M dots is represented by a bank constituted by n × m (power of 2 Q) bits.
When arranging and mapping to the VRAM, the display screen is divided into k and scanned, and the scan division point of the display screen is mapped so as to match the bank switching point of the VRAM, and N × (M−
m) VRAM of image data characterized by changing the bit arrangement of dots and mapping to a free area of VRAM
Mapping method.
【請求項3】 VRAM空間からはみ出たN×(M−
m)ドットのビット配列は、ピクセルアドレスのうち、
Y座標で示す上位Q/2ビットを変換後のX座標の上位
Q/2ビットとし、Y座標を示す下位Q/2ビットを変
換後のY座標の上位Q/2ビットとし、X座標を示す上
位Q/2ビットを変換後のY座標を示す下位Q/2ビッ
トとすることを特徴とする請求項2記載の画像データの
VRAMマッピング方法。
3. N × (M−
m) The bit arrangement of the dots is the
The upper Q / 2 bits indicated by the Y coordinate are set as the upper Q / 2 bits of the converted X coordinate, the lower Q / 2 bits indicating the Y coordinate are set as the upper Q / 2 bits of the converted Y coordinate, and the X coordinate is indicated. 3. The VRAM mapping method for image data according to claim 2, wherein the upper Q / 2 bits are lower Q / 2 bits indicating the converted Y coordinate.
【請求項4】 VRAMに書き込まれた画像情報を縦横
変換して転送する際、転送前後の矩形領域の座標(x,
y),(p,q)、転送領域の幅w、高さhのパラメータ
を、転送前後の矩形領域の座標(X,Y)、(P,Q)、転送
領域の幅W、高さHのパラメータに変換するのに、X=
y,Y=M−x−w,W=h,H=w,P=q,Q=M
−p−wの各式を用いることを特徴とする請求項3記載
の画像データのVRAMマッピング方法。
4. When the image information written in the VRAM is vertically and horizontally converted and transferred, the coordinates (x,
y), (p, q), the parameters of the transfer area width w and the height h, the coordinates (X, Y) and (P, Q) of the rectangular area before and after the transfer, the transfer area width W and the height H X =
y, Y = M−x−w, W = h, H = w, P = q, Q = M
4. The method according to claim 3, wherein each equation of -pw is used.
【請求項5】 表示画面が持つ解像度N×Mドットより
も大きな容量を持ち、表示画面データを格納するVRA
Mと、 VRAMにマッピングされる1行分の表示画面データを
2のべき乗になるように設定し、表示画面の左上隅をV
RAMの左上隅に合致するようにマッピングを行ない、
その表示画面データをリードライトするメモリ制御装
置、とを具備することを特徴とする画像表示システム。
5. A VRA which has a capacity larger than a resolution N × M dots of a display screen and stores display screen data.
M, and one line of display screen data mapped to the VRAM is set to be a power of 2, and the upper left corner of the display screen is set to V
Map to match the upper left corner of the RAM,
A memory controller for reading and writing the display screen data.
【請求項6】 n×m(2のべき乗Q)ビットで構成さ
れるバンクをk個並べ、N×Mの解像度を持つ表示画面
データがマッピングされるVRAMと、 表示画面をk分割してスキャンし、表示画面のスキャン
分割点をVRAMのバンク切替え点と合致するようにマ
ッピングを行い、VRAM空間からはみでたN×(M−
m)ドットは、VRAMの空き領域にマッピングしてリ
ードライトを行うメモリ制御装置、とを具備することを
特徴とする画像表示システム。
6. A VRAM in which k banks composed of n × m (power of 2 Q) bits are arranged, and a display screen data having a resolution of N × M is mapped, and the display screen is divided by k and scanned. Then, mapping is performed so that the scan division point of the display screen matches the bank switching point of the VRAM, and N × (M−
m) a memory control device that performs reading and writing by mapping dots to a free area of the VRAM.
【請求項7】 VRAM空間からはみでたN×(M−
m)ドットのビット配列は、ピクセルアドレスのうち、
Y座標で示す上位Q/2ビットを変換後のX座標の上位
Q/2ビットとし、Y座標を示す下位Q/2ビットを変
換後のY座標の上位Q/2ビットとし、X座標を示す上
位Q/2ビットを変換後のY座標を示す下位Q/2ビッ
トとして座標変換を行い、リードライトすることを特徴
とする請求項6記載の画像表示システム。
7. N × (M−
m) The bit arrangement of the dots is the
The upper Q / 2 bits indicated by the Y coordinate are set as the upper Q / 2 bits of the converted X coordinate, the lower Q / 2 bits indicating the Y coordinate are set as the upper Q / 2 bits of the converted Y coordinate, and the X coordinate is indicated. 7. The image display system according to claim 6, wherein the higher-order Q / 2 bits are subjected to coordinate conversion as lower-order Q / 2 bits indicating a converted Y coordinate, and read / write is performed.
【請求項8】 縦横変換前のパラメータである矩形領域
の座標(x, y),(p,q)、転送領域の幅w、高さh
を、変更後のパラメータである矩形領域の座標(X,Y)、
(P,Q)、転送領域の幅W、高さHに変換するのに、X
=y,Y=M−x−w,W=h,H=w,P=q,Q=
M−p−wを演算する演算装置を具備することを特徴と
する請求項7記載の画像表示システム。
8. The coordinates (x, y) and (p, q) of a rectangular area, which are parameters before vertical and horizontal conversion, the width w and the height h of the transfer area
With the coordinates (X, Y) of the rectangular area, which are the parameters after the change,
To convert (P, Q) and the width W and height H of the transfer area, X
= Y, Y = M−x−w, W = h, H = w, P = q, Q =
The image display system according to claim 7, further comprising a calculation device that calculates Mpw.
JP19567097A 1997-07-22 1997-07-22 Vram-mapping method for image data and image data display system Pending JPH1138957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19567097A JPH1138957A (en) 1997-07-22 1997-07-22 Vram-mapping method for image data and image data display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19567097A JPH1138957A (en) 1997-07-22 1997-07-22 Vram-mapping method for image data and image data display system

Publications (1)

Publication Number Publication Date
JPH1138957A true JPH1138957A (en) 1999-02-12

Family

ID=16345052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19567097A Pending JPH1138957A (en) 1997-07-22 1997-07-22 Vram-mapping method for image data and image data display system

Country Status (1)

Country Link
JP (1) JPH1138957A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010117704A (en) * 2008-11-14 2010-05-27 Orise Technology Co Ltd Access method of frame memory, and display driver using method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010117704A (en) * 2008-11-14 2010-05-27 Orise Technology Co Ltd Access method of frame memory, and display driver using method thereof

Similar Documents

Publication Publication Date Title
US7027056B2 (en) Graphics engine, and display driver IC and display module incorporating the graphics engine
US20050248522A1 (en) Display driver ic, display module and electrical device incorporating a graphics engine
JPH09245179A (en) Computer graphic device
US7460136B2 (en) Efficient scaling of image data in graphics display systems
JP2017027082A (en) Display device
JP2008181133A (en) Display device and driving method thereof
EP1562174A2 (en) Controller driver, mobile terminal using the same, and display panel driving method
JP4910499B2 (en) Display driver, electro-optical device, electronic apparatus, and driving method
JP3245229B2 (en) Display control device and display control method
JP4570025B2 (en) Controller driver and display panel driving method
JPH1138957A (en) Vram-mapping method for image data and image data display system
JPH06202578A (en) Dot matrix display device
JP3245230B2 (en) Display control device and display control method
JPH1185106A (en) Display controler and display device
JP3227200B2 (en) Display control device and method
JPH08202310A (en) Screen driving circuit
JPS62145483A (en) Rotary device for enlargement/reduction of picture
JP3264520B2 (en) Display control device
JPH03164793A (en) Liquid crystal display device
JPH1153573A (en) Three-dimensional image processor and video window generating method
JPS5822473A (en) Picture processor
JP2006227498A (en) Image processing system
JP2002199404A (en) Image processing unit
JPH0728435A (en) Display control system
JPS6350893A (en) Display control circuit