JP2868324B2 - Workstation video frame buffer - Google Patents

Workstation video frame buffer

Info

Publication number
JP2868324B2
JP2868324B2 JP3009882A JP988291A JP2868324B2 JP 2868324 B2 JP2868324 B2 JP 2868324B2 JP 3009882 A JP3009882 A JP 3009882A JP 988291 A JP988291 A JP 988291A JP 2868324 B2 JP2868324 B2 JP 2868324B2
Authority
JP
Japan
Prior art keywords
data
dual
input
moving image
port memory
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.)
Expired - Fee Related
Application number
JP3009882A
Other languages
Japanese (ja)
Other versions
JPH04253095A (en
Inventor
優 宇屋
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 JP3009882A priority Critical patent/JP2868324B2/en
Publication of JPH04253095A publication Critical patent/JPH04253095A/en
Application granted granted Critical
Publication of JP2868324B2 publication Critical patent/JP2868324B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、エンジニアリング・ワ
ークステーション(科学技術用対話型小型コンピュー
タ)などワークステーションのフレームバッファに関
し、特に、ビデオ映像のような動画像を、ディスプレイ
画面の任意の場所に任意の形/サイズのウィンドウ
(窓)を定義して、その中にこの動画像を映し出すこと
のできるワークステーションを実現させるフレームバッ
ファに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame buffer of a workstation such as an engineering workstation (interactive small computer for science and technology), and more particularly, to a method for placing a moving image such as a video image anywhere on a display screen. The present invention relates to a frame buffer for defining a window having an arbitrary shape / size and realizing a workstation capable of displaying the moving image in the window.

【0002】[0002]

【従来の技術】エンジニアリング・ワークステーション
などワークステーションは、その高い対話性を実現する
ために高/中解像度のグラフィック・ディスプレイを持
っている。このグラフィック・ディスプレイにはユーザ
ーが作業するための画面、たとえばプログラミングのエ
ディタ画面であるとか、CAD(コンピュータによる設
計支援)の計算結果のグラフィック表示画面が表示され
ることが一般的である。
2. Description of the Related Art Workstations, such as engineering workstations, have high / medium resolution graphic displays to achieve their high interactivity. In general, the graphic display displays a screen for a user to work, for example, a programming editor screen, or a graphic display screen of a calculation result of CAD (design support by a computer).

【0003】このような従来のワークステーションのフ
レームバッファとカラーディスプレイを図4に示す。図
4において、フレームバッファ100 には、ワークステー
ションのCPU(中央処理装置)(図示せず)から一画
面分の画像データDを書き込みアドレスADに書き込み
クロックCLに同期して書き込むフレームメモリ4と、
フレームメモリ4に書き込まれた画像データを、カラー
ディスプレイ8に適合した速度の画像読み出しクロック
とこれに同期した画像読み出しアドレスに同期して読み
出し、これをR(赤)G(緑)B(青)の映像信号に変
換するD/A(ディジタル/アナログ)変換器7が含ま
れている。カラーディスプレイ8の解像度が横1280、縦
1024で、色数がRGB各8ビットであれば、フレームメ
モリ4は1280×1024の画素アドレスでアクセスされ、各
画素は24ビットのデータを記憶する。カラーディスプレ
イ8の画面に映し出される画像には、たとえば文字入力
のためのエディタ画面102 、CADの結果グラフィック
表示画面101 がある。また、コンピュータ・グラフィッ
クス画像をCPUあるいは専用プロセッサで高速に計算
してアニメーションを生成し直接フレームバッファ100
に送って、リアルタイムに動画像103 を見ることも成さ
れている。
FIG. 4 shows a frame buffer and a color display of such a conventional workstation. Referring to FIG. 4, a frame buffer 4 stores image data D for one screen from a CPU (central processing unit) (not shown) of a workstation at a write address AD in synchronization with a write clock CL.
The image data written in the frame memory 4 is read out in synchronization with an image reading clock having a speed suitable for the color display 8 and an image reading address synchronized with the image reading clock, and is read out as R (red), G (green), B (blue). And a D / A (digital / analog) converter 7 for converting the image signal into a video signal. Resolution of color display 8 is 1280 horizontal and vertical
If the number of colors is 1024 and the number of colors is 8 bits for each of RGB, the frame memory 4 is accessed with a pixel address of 1280 × 1024, and each pixel stores 24-bit data. The images displayed on the screen of the color display 8 include, for example, an editor screen 102 for inputting characters and a graphic display screen 101 for CAD results. In addition, computer graphics images are calculated at high speed by a CPU or dedicated processor to generate animations, and the frame buffer 100
To view the moving image 103 in real time.

【0004】これらの幾種類かの画像は、ユーザー・イ
ンターフェイス向上のため、Xウインドウなどの四角い
「窓」の中に描画されるのが常である。これは、上記ア
ニメーション(動画)表示も同じである。
[0004] Some of these images are usually drawn in a square "window", such as an X window, to improve the user interface. This is the same for the animation (moving image) display.

【0005】今後の様々なアプリケーションの要求に対
応して、四角なウィンドウ以外の任意の形状のウインド
ウが必要になってくる。従来、この任意形状のウィンド
ウに非動画(普通の文字入力画面や静止画)像を表示す
るのはソフトウェア(プログラム)で実行しているが、
実用上、表示速度が遅くなってもそれ程問題にはならな
い。
[0005] In response to the demands of various applications in the future, a window having an arbitrary shape other than a square window will be required. Conventionally, displaying a non-moving image (a normal character input screen or a still image) in this arbitrary-shaped window is performed by software (program).
In practice, it does not matter much if the display speed is reduced.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、たとえ
ば、ビデオ映像のような10〜30フレーム/秒程度のなめ
らか(速い)な動画像を任意形状のウィンドウに映し出
すことは到底実現できなかった。
However, displaying a smooth (fast) moving image of about 10 to 30 frames / second, such as a video image, on a window of an arbitrary shape has never been realized.

【0007】本発明は、上記のような従来のワークステ
ーションでは実現できなかった動画像の任意形状ウィン
ドウヘの表示を実現し、ワークステーションの応用範囲
を飛躍的に拡大させることのできる動画対応フレームバ
ッファを提供することを目的とするものである。
SUMMARY OF THE INVENTION The present invention realizes a moving image frame which can be displayed on an arbitrary-shaped window, which cannot be realized by the above-mentioned conventional workstation, and can greatly expand the application range of the workstation. It is intended to provide a buffer.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に、本発明のフレームバッファは、非動画データをバッ
ファ記憶する第1のデュアルポートメモリと、上記第1
のデュアルポートメモリより小さい画素数を有し、上記
動画データをバッファ記憶する第2のデュアルポートメ
モリと、上記第2のデュアルポートメモリと同じ画素数
を有し、画面の中で上記動画を映しだすための窓を定義
すべく、この窓の内側の画素に対応する画素アドレスに
はデータ“1”または“0”を書き込み、窓の外側には
データ“0”または“1”を書き込む第3のデュアルポ
ートメモリと、上記第1のデュアルポートメモリからの
読み出しデータをA入力に、上記第2のデュアルポート
メモリからの読み出しデータをB入力に、上記第3のデ
ュアルポートメモリからの読み出しデータをセレクト入
力にそれぞれ入力し、上記第3のデュアルポートメモリ
からの読み出しデータが“0”または“1”のとき、上
記A入力の入力データを選択出力し、上記第3のデュア
ルポートメモリからの読み出しデータが“1”または
“0”のとき、上記B入力の入力データを選択出力する
データセレクタと、表示すべき1画面分の画素データを
合成するためのデュアルポート型のメモリであり、上記
データセレクタの出力を入力とするフレームメモリと、
上記第2および第3のデュアルポートメモリに書き込ま
れている動画データが上記フレームメモリのどの座標位
置に書き込まれるかを示す動画位置座標データを、CP
Uより書き込まれる動画位置座標レジスタと、上記第
1、第2、第3のデュアルポートメモリから上記フレー
ムメモリに画像データを転送するための画像転送アドレ
スと上記動画位置座標レジスタの出力を入力し、上記画
像転送アドレスから上記動画位置座標レジスタの出力デ
ータを減算し、その結果を上記第2および第3のデュア
ルポートメモリに読み出しアドレスとして出力するアド
レス変換器と、上記フレームメモリから所定の速度で読
み出された画素データをディジタル/アナログ変換して
カラーディスプレイへ供給するRGB(赤緑青)画像信
号として出力するD/A変換器とを具備し、画像転送ク
ロックを上記第1、第2、第3のデュアルポートメモリ
の読み出しクロック入力に供給し、上記画像転送クロッ
クに同期した上記画像転送アドレスを上記第1のデュア
ルポートメモリの読み出しアドレス入力と上記アドレス
変換器の入力に供給し、同時に上記画像転送クロッック
と上記画像転送アドレスとを上記フレームメモリの書き
込みクロック入力と書き込みアドレス入力とにそれぞれ
供給し、上記フレームメモリの各画素に、それに対応す
る上記第3のデュアルポートメモリの画素データが、
“0”または“1”の場合には、上記第1のデュアルポ
ートメモリの対応する画素データを書き込み、上記第3
のデュアルポートメモリの画素データが“1”または
“0”の場合には、上記第2のデュアルポートメモリの
対応する画素データを書き込むことにより、上記フレー
ムメモリに上記非動画データと上記動画データとを合成
した画像データを得るようにしたものである。
In order to solve the above-mentioned problems, a frame buffer according to the present invention comprises a first dual-port memory for buffering and storing non-moving image data;
A second dual-port memory having a smaller number of pixels than the dual-port memory and storing the moving image data in a buffer; In order to define a window for starting, a data "1" or "0" is written to a pixel address corresponding to a pixel inside the window, and a data "0" or "1" is written outside the window. , The read data from the first dual port memory to the A input, the read data from the second dual port memory to the B input, and the read data from the third dual port memory to the B input. Select input, and when the read data from the third dual port memory is “0” or “1”, the input data of the A input And a data selector for selecting and outputting the input data of the B input when the read data from the third dual port memory is "1" or "0", and a pixel for one screen to be displayed. A dual-port type memory for synthesizing data, a frame memory having an output of the data selector as an input,
Moving image position coordinate data indicating at which coordinate position in the frame memory the moving image data written in the second and third dual-port memories is written as CP
U, a moving image position coordinate register, an image transfer address for transferring image data from the first, second, and third dual port memories to the frame memory and an output of the moving image position coordinate register are input; An address converter that subtracts the output data of the moving image position coordinate register from the image transfer address and outputs the result to the second and third dual port memories as a read address; A D / A converter for converting the output pixel data from digital to analog and outputting it as an RGB (red, green, blue) image signal to be supplied to a color display, and using the first, second, and third image transfer clocks as the image transfer clock. The clock is supplied to the read clock input of the dual port memory and synchronized with the image transfer clock. A transfer address is supplied to a read address input of the first dual port memory and an input of the address converter, and the image transfer clock and the image transfer address are simultaneously input to a write clock input and a write address input of the frame memory. And the pixel data of the third dual-port memory corresponding to each of the pixels of the frame memory,
In the case of “0” or “1”, the corresponding pixel data of the first dual port memory is written, and the third
When the pixel data of the dual port memory is “1” or “0”, by writing the corresponding pixel data of the second dual port memory, the non-moving image data and the moving image data are written into the frame memory. To obtain image data obtained by combining

【0009】[0009]

【作用】上記構成により、本発明のフレームバッファ
は、普通(非動画)の画像データをバッファ記憶する非
動画デュアルポートメモリと、ビデオ映像のような動画
データをバッファ記憶する動画デュアルポートメモリ
と、動画を映しだすためのウィンドウ(窓)エリアを定
義するための窓定義デュアルポートメモリと、非動画と
動画を合成するためのデュアルポート型のフレームメモ
リを用い、上記窓定義デュアルポートメモリに定義して
ある動画用ウィンドウ・エリアに対応した上記動画デュ
アルポートメモリのエリアの動画データと、上記動画用
ウィンドウ・エリア以外のエリアに対応した上記非動画
デュアルポートメモリのエリアの画像データとを合成し
て上記フレームメモリに書き込み、これを所定の周期で
読み出し、D/A変換してRGB映像信号に変換してデ
ィスプレイに供給することで、任意形状のウィンドウに
なめらかな(速い)動画を得ることができる。
With the above arrangement, the frame buffer of the present invention comprises a non-moving image dual port memory for buffering ordinary (non-moving image) image data, a moving image dual port memory for buffering moving image data such as a video image, and the like. A window definition dual port memory for defining a window (window) area for displaying a moving image and a dual port type frame memory for synthesizing a non-moving image and a moving image are defined in the window defining dual port memory. The moving image data of the moving image dual port memory area corresponding to the moving image window area and the image data of the non-moving image dual port memory area corresponding to the area other than the moving image window area are synthesized. Write to the frame memory, read it out at a predetermined cycle, and perform D / A conversion Te By supplying the display is converted into RGB video signals, it is possible to obtain a smooth (fast) moving the window of an arbitrary shape.

【0010】[0010]

【実施例】以下本発明の一実施例を図面に基づいて説明
する。図1は本発明の一実施例のフレームバッファを示
すブロック図である。図1において、100 はフレームバ
ッファ、8は解像度1280×1024のカラーディスプレイで
あり、従来例のものと同じ機能を有する。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a frame buffer according to one embodiment of the present invention. In FIG. 1, reference numeral 100 denotes a frame buffer, 8 denotes a color display having a resolution of 1280 × 1024, and has the same functions as those of the conventional example.

【0011】1は1画面分(横1280×縦1024の画素、1
画素=8ビット)の普通(動画でない)の画像データを
バッファ記憶する第1のデュアルポートメモリであり、
ワークステーションのCPU(中央処理装置)(図示せ
ず)により書き込み制御され、第1の書き込みアドレス
AD1に第1の書き込みデータD1が第1の書き込みク
ロックCL1に同期して書き込まれる。
1 is equivalent to one screen (1280 pixels in width × 1024 pixels in height,
A first dual-port memory for buffering normal (non-moving image) image data of (pixel = 8 bits),
Write control is performed by a CPU (Central Processing Unit) (not shown) of the workstation, and first write data D1 is written to a first write address AD1 in synchronization with a first write clock CL1.

【0012】2は動画1画面分(横640 ×縦480 の画
素、1画素=24ビット)の画素データをバッファ記憶す
ることのできる第2のデュアルポートメモリであり、磁
気ディスクや光ディスクなどの動画(NTSC規格のテ
レビ画像やビデオ映像など)記憶装置(図示せず)より
直接(CPUや主記憶を介さずに)に書き込み制御さ
れ、第2の書き込みアドレスAD2に第2の書き込みデ
ータ(動画データ)D2が第2の書き込みクロックCL
2に同期して書き込まれる。
Reference numeral 2 denotes a second dual port memory capable of buffering pixel data for one screen of a moving image (640 × 480 pixels, 1 pixel = 24 bits), such as a magnetic disk or an optical disk. (NTSC standard television image, video image, etc.) Write control is performed directly (not through the CPU or main memory) from a storage device (not shown), and second write data (moving image data) is stored in a second write address AD2. ) D2 is the second write clock CL
2 is written synchronously.

【0013】3は1画面分(横640 ×縦480 )の動画ウ
ィンドウ(動画を映し出すための窓)のパターンを定義
する動画ウィンドウ・パターン・データ(各画素に対応
して、1ビットのデータ)を書き込むための第3のデュ
アルポートメモリであり、上記第2のデュアルポートメ
モリと同じ画素構成のものであり、上記CPU(図示せ
ず)より書き込み制御され、第3の書き込みアドレスA
D3に第3の書き込みデータD3が第3の書き込みクロ
ックCL3に同期して書き込まれる。
Reference numeral 3 denotes moving image window pattern data (1 bit data corresponding to each pixel) which defines a pattern of a moving image window (window for displaying a moving image) for one screen (640 × 480). Is a third dual-port memory for writing data, has the same pixel configuration as the second dual-port memory, is write-controlled by the CPU (not shown), and has a third write address A
The third write data D3 is written to D3 in synchronization with the third write clock CL3.

【0014】この第1、第2、第3のデュアルポートメ
モリ1〜3は、1画素に対応するデータの深さはそれぞ
れ異なる(第1=8ビット,第2=24ビット,第3=1
ビット)がアクセスの形態は同じである(この実施例で
は同じであるがこれに限定されない)。それぞれの右側
は読み出しポートであって、独立かつ非同期に読み書き
が可能である。なお、左側の書き込みポートは読み出し
も可能であってよく、これに限定されない。
The first, second and third dual port memories 1 to 3 have different data depths corresponding to one pixel (first = 8 bits, second = 24 bits, third = 1).
(Bit) is the same in the form of access (although it is the same in this embodiment, it is not limited to this). The right side of each is a read port, which can be read and written independently and asynchronously. Note that the left write port may be readable, and is not limited to this.

【0015】6は第1のデュアルポートメモリから読み
出された8ビットの画素データが入力され、これに対応
した256 個の24ビットの画素データ(RGB各8ビッ
ト)が出力されるカラー・ルックアップ・テーブルであ
る。
A color look 6 receives 8-bit pixel data read from the first dual-port memory and outputs corresponding 256 24-bit pixel data (8 bits for each of RGB). It is an up table.

【0016】5はカラー・ルックアップ・テーブル6か
ら読み出された24ビットの画素データ(A入力)と第2
のデュアルポートメモリ2から読み出された24ビットの
画素データ(B入力)とが入力され、第3のデュアルポ
ートメモリ3から読み出された動画ウィンドウ・パター
ン・データ(S入力)が“0”のときカラー・ルックア
ップ・テーブル6からの出力データを、“1”のとき第
2のデュアルポートメモリ2からの出力データを選択し
てY出力に出力するデータセレクタである。
Reference numeral 5 denotes 24-bit pixel data (A input) read from the color lookup table 6 and the second
And the 24-bit pixel data (B input) read from the dual port memory 2 is input, and the moving picture window pattern data (S input) read from the third dual port memory 3 is set to “0”. Is a data selector for selecting output data from the color look-up table 6 at the time of, and selecting output data from the second dual-port memory 2 at the time of "1" and outputting it to the Y output.

【0017】4は第1〜3のデュアルポートメモリと同
様、書き込み(左側)と読み出し(右側)別のポートで
独立かつ非同期に可能なフレームメモリであり、1画面
分(横1280×縦1024の画素、1画素=24ビット)の画素
データをバッファ記憶することができる。
Reference numeral 4 denotes a frame memory which can be independently and asynchronously used for writing (left side) and reading (right side) at different ports, similarly to the first to third dual port memories. Pixel data of one pixel (24 bits) can be buffer-stored.

【0018】7はフレームメモリ4から画像読み出しク
ロックとこれに同期した画像読み出しアドレスに同期し
て読み出された24ビットの画素データが入力され、8ビ
ットずつディジタル/アナログ変換してR(赤)、G
(緑)、B(青)の映像信号にして出力し、カラーディ
スプレイ8に供給するD/A変換器である。
Reference numeral 7 denotes a 24-bit pixel data which is read in synchronization with an image reading clock and an image reading address synchronized with the image reading clock from the frame memory 4 and is digitally / analog-converted by 8 bits to R (red). , G
A D / A converter that outputs (green) and B (blue) video signals and supplies them to the color display 8.

【0019】10は第2のデュアルポートメモリ2内にバ
ッファ記憶された動画がフレームメモリ4の中のどの位
置に表示されるべきかを示す動画位置座標データXs,Y
s を、CPUから書き込まれて記憶する動画位置座標レ
ジスタである。動画位置座標データは上位に10ビットの
Y座標Ys と下位に10ビットのX座標Xs の20ビットで
構成される。
Reference numeral 10 denotes moving image position coordinate data Xs, Y indicating the position in the frame memory 4 at which the moving image buffered in the second dual port memory 2 should be displayed.
s is a moving image position coordinate register written and stored by the CPU. The moving image position coordinate data is composed of 20 bits of a 10-bit Y coordinate Ys at a high order and an X coordinate Xs of 10 bits at a low order.

【0020】9はA入力に入力された21ビットの画像転
送アドレスから動画位置座標レジスタ10の20ビットの出
力データを減算して19ビットの出力データをY出力に出
力し、第2,第3のデュアルポートメモリ2,3に読み
出しアドレスとして入力するアドレス変換器である。
Reference numeral 9 denotes a subtraction of the 20-bit output data of the moving picture position coordinate register 10 from the 21-bit image transfer address input to the A input, and outputs 19-bit output data to the Y output. Of the dual port memories 2 and 3 as read addresses.

【0021】フレームメモリ4、D/A変換器7、カラ
ーディスプレイ8は、図4の従来例と全く同様である
し、従来の技術で容易に実現できるものである。次に、
図1の実施例の動作について説明する。図1中の第1〜
3のデュアルポートメモリ1〜3とフレームメモリ4
は、データの意味が容易に解かるように、水平1280、垂
直1024あるいは水平640 、垂直480 のディスプレイ画面
に対応して、それぞれの「平板」の表面にメモリのデー
タ内容がイメージ的に図示してある。
The frame memory 4, the D / A converter 7, and the color display 8 are exactly the same as those in the conventional example shown in FIG. 4, and can be easily realized by the conventional technology. next,
The operation of the embodiment of FIG. 1 will be described. 1 to 1 in FIG.
3 dual port memories 1 to 3 and frame memory 4
In order to make it easier to understand the meaning of the data, the data content of the memory is graphically displayed on the surface of each `` plate '' corresponding to the display screen of 1280 horizontal, 1024 vertical or 640 horizontal, 480 vertical. It is.

【0022】今、解像度1280×1024、色数2の24乗(約
1670万色)のカラーディスプレイ8に図1のような画像
を表示させる場合について考える。画面には、たとえ
ば、Xウィンドウのようなウィンドウ(表示窓)がいく
つか映し出されている。101 にはDTP(デスクトップ
・パブリッシング)のソフトが、102 にはキャラクタ・
ベースのエディタ画面が表示されている。これらのウィ
ンドウ101 、102 は従来と同様の長方形ウィンドウであ
る。103aには、あたかもテレビ映像が映っているよう
に、動く画像が、しかも図1のように「ハート」型のウ
ィンドウの中に映されている。このような画面が以下の
動作により容易かつ十分な速度で実現せしめられる。
Now, the resolution is 1280 × 1024 and the number of colors is 2 to the 24th power (about
Consider a case where an image as shown in FIG. 1 is displayed on the color display 8 (16.7 million colors). On the screen, for example, several windows (display windows) such as an X window are displayed. 101 is DTP (Desktop Publishing) software, 102 is character
The base editor screen is displayed. These windows 101 and 102 are rectangular windows as in the prior art. In 103a, a moving image is displayed in a “heart” -shaped window as if it were a television image, as shown in FIG. Such a screen can be realized easily and at a sufficient speed by the following operations.

【0023】まず初めに、動画を映し出すためのウィン
ドウ(動画ウィンドウ)形状と位置の情報がユーザーか
ら与えられると、ワークステーションのCPU(図示せ
ず)は、形状に対応した動画ウィンドウ・パターン・デ
ータとして、第3のデュアルポートメモリ3に左側の書
き込みポートから書き込む。動画ウィンドウ・パターン
・データは図1に例示してあるように、動画ウィンドウ
の内部が“1”、そうでないところは“0”を書き込ん
で定義する。動画位置については、図2の斜線の施して
ある640 ×480 の長方形エリアが動画面とすれば、フレ
ームメモリ4の上での動画面の左上隅(Xs,Ys )を動
画位置座標として動画位置座標レジスタ10にセットする
ことで指定できる。
First, when information on the shape and position of a window (moving image window) for displaying a moving image is given by a user, the CPU (not shown) of the workstation transmits moving image window pattern data corresponding to the shape. From the left write port to the third dual-port memory 3. As illustrated in FIG. 1, the moving image window pattern data is defined by writing “1” inside the moving image window and writing “0” otherwise. As for the moving image position, assuming that the rectangular area of 640 × 480 shaded in FIG. It can be specified by setting it in the coordinate register 10.

【0024】次に、ワークステーションのCPUは、動
画記憶装置(磁気ディスク装置や光ディスク装置など)
(図示せず)から第2のデュアルポートメモリに動画デ
ータを直接転送し左側の書き込みポートから書き込みす
るよう制御する。動画データは、図1のように、上記動
画ウィンドウをカバーするサイズと位置(アドレス)に
書き込まれる。このサイズと位置以外のアドレスにはど
んな画素データが書き込まれてもよい(第2のデュアル
ポートメモリ2では白く表現されている。)図1ではこ
の転送と書き込みの速度は、動画映像を実現できる約10
〜30フレーム/秒に設定される。
Next, the CPU of the workstation operates as a moving image storage device (such as a magnetic disk device or an optical disk device).
(Not shown), the moving image data is directly transferred to the second dual port memory, and is controlled to be written from the left write port. The moving image data is written in a size and a position (address) covering the moving image window as shown in FIG. Any pixel data may be written at an address other than the size and position (shown in white in the second dual-port memory 2). In FIG. 1, the transfer and writing speed can realize a moving image. About 10
Set to ~ 30 frames / sec.

【0025】その他、動画以外の普通の画面/ウィンド
ウ(図1のウィンドウ101 、102 など)は、CPUが第
1のデュアルポートメモリ1に、従来と同様(図2のフ
レームメモリ4に書き込むように)に、左側の書き込み
ポートから書き込む。この結果、第1〜3のデュアルポ
ートメモリ1〜3に、それらの表面に「イメージ的」に
表現されているような画素データがバッファ記憶され
る。
In addition, ordinary screens / windows (such as windows 101 and 102 in FIG. 1) other than a moving image are stored in the first dual port memory 1 by the CPU in the same manner as in the prior art (as in the frame memory 4 in FIG. 2). ) From the left write port. As a result, the first to third dual-port memories 1 to 3 buffer the pixel data expressed on the surface thereof in an "image-like" manner.

【0026】次に、所定の周期の画像転送アドレス(21
ビット:図3の(1) の上位10ビットのYデータYt と下
位11ビットのXデータXt )と画像転送クロックとが第
1のデュアルポートメモリ1の右側の読み出しポートの
読み出しアドレス入力と読み出しクロック入力に入力さ
れ、同時にアドレス変換器9 のA入力に画像転送アドレ
スが画像転送クロックのタイミングで供給される。図3
の(1) に示すように、この画像転送アドレスは第1のデ
ュアルポートメモリ1の最左上画素の読み出しから始ま
って画像転送クロック毎にインクリメントし、最右上画
素に達するとYt =0,Xt =1279となり、次のクロッ
クでYt =1,Xt =0となり最左上の1ライン下に戻
る。以下これを繰り返す。最右下画素の読み出しで終了
するノン・インターレース・スキャン方式で1フレーム
を読み出す。
Next, an image transfer address (21
Bits: the upper 10 bits of Y data Yt and the lower 11 bits of X data Xt in (1) of FIG. 3) and the image transfer clock are the read address input and read clock of the read port on the right side of the first dual port memory 1. At the same time, the image transfer address is supplied to the A input of the address converter 9 at the timing of the image transfer clock. FIG.
As shown in (1), the image transfer address starts from the reading of the upper left pixel of the first dual port memory 1, and is incremented every image transfer clock. When the address reaches the upper right pixel, Yt = 0, Xt = At 1279, Yt = 1 and Xt = 0 at the next clock and return to the lower left by one line. This is repeated below. One frame is read out by the non-interlaced scanning method which ends with reading out the lower right pixel.

【0027】アドレス変換器9では、A入力に入力され
る図3の(1) に示すような21ビットの画像転送アドレス
〔Yt,Xt 〕から、図3の(2) に示すような20ビットの
動画位置座標データ〔Ys,Xs 〕を減算処理し、図3の
(3) に示すような19ビットの出力データ〔Yc,Xc 〕が
画像転送クロックのタイミングで出力される。このと
き、Yc =Yt −Ys かつXc =Xt −Xs で、取り得
る範囲は、0≦Yc ≦479 、0≦Xc ≦639 であり、演
算の結果がこの範囲を越えたときは「0」を出力するよ
うに設計されている。図2はこれら座標関係を示し、動
画面上の座標〔Xc,Yc 〕はフレームメモリ4上の座標
〔Xt,Yt 〕に対応する。
The address converter 9 converts a 21-bit image transfer address [Yt, Xt] shown in FIG. 3A input to the A input into a 20-bit image transfer address shown in FIG. 3 is subtracted from the moving image position coordinate data [Ys, Xs] of FIG.
19-bit output data [Yc, Xc] as shown in (3) is output at the timing of the image transfer clock. At this time, Yc = Yt−Ys and Xc = Xt−Xs, and the possible ranges are 0 ≦ Yc ≦ 479, 0 ≦ Xc ≦ 639, and “0” when the result of the operation exceeds this range. It is designed to output. FIG. 2 shows these coordinate relationships. The coordinates [Xc, Yc] on the moving image plane correspond to the coordinates [Xt, Yt] on the frame memory 4.

【0028】この1フレーム読み出し周期は、上記動画
記憶装置から動画データ1フレームが書き込まれる周期
(これは、動画自体のフレーム周期以下の周期である)
かこれ以下の周期に設定されている。
The one-frame reading cycle is a cycle in which one frame of moving image data is written from the moving image storage device (this is a period equal to or shorter than the frame period of the moving image itself).
It is set to a period less than or equal to this.

【0029】第1のデュアルポートメモリ1から読み出
された8ビットの画素データがカラー・ルックアップ・
テーブル6に入力され、これに対応した24ビットの画素
データが直ちに出力される。この24ビット画素データが
データセレクタ5 のA入力に入り、同時に第2デュアル
ポートメモリ2から読み出された動画データがB入力に
入る。また、データセレクタ5のセレクトS入力に第3
のデュアルポートメモリ3から読み出された動画ウィン
ドウ・パターン・データが供給されることによって、動
画ウィンドウ・パターン・データが“0”のアドレスに
対応した画素には第1のデュアルポートメモリ1に書き
込まれた画像データが、動画ウィンドウ・パターン・デ
ータが“1”のアドレスに対応した画素には第2のデュ
アルポートメモリ2に書き込まれた画像データがそれぞ
れY出力に画像転送クロックに同期して出力される。
The 8-bit pixel data read from the first dual port memory 1 is stored in a color look-up memory.
The data is input to Table 6, and the corresponding 24-bit pixel data is output immediately. The 24-bit pixel data enters the A input of the data selector 5, and at the same time, the moving image data read from the second dual port memory 2 enters the B input. Also, the third input to the select S input of the data selector 5
Of the moving image window pattern data supplied from the dual port memory 3 is written to the first dual port memory 1 for the pixel corresponding to the address where the moving image window pattern data is “0”. The image data written to the second dual port memory 2 is output to the pixel corresponding to the address where the moving picture window pattern data is “1” in synchronization with the image transfer clock to the Y output. Is done.

【0030】上記画像転送アドレスと画像転送クロック
がフレームメモリ4の書き込みポートに供給されるの
で、その表面に「イメージ的」に表現されているよう
な、カラーディスプレイ8の画面と同じ1対1の合成画
像データが書き込まれる。ここから後は、図4の従来例
と全く同様に動作して、カラーディスプレイ8に「ハー
ト」型ウィンドウの中に動画が映し出されている画面が
実現されることになる。
Since the image transfer address and the image transfer clock are supplied to the write port of the frame memory 4, the same one-to-one display as that of the screen of the color display 8, which is expressed as "image" on its surface, is provided. The composite image data is written. Thereafter, the operation is performed in exactly the same manner as in the conventional example of FIG. 4, and a screen in which a moving image is displayed in a “heart” type window on the color display 8 is realized.

【0031】本実施例では、画像の解像度(フレームメ
モリ4のサイズ)を1280×1024にして説明したが、これ
に限定するものでなくどんな解像度でも実現できる。ま
た、図1では、カラー・ルックアップ・テーブル6を第
1のデュアルポートメモリ1とデータセレクタ5との間
に設置しているが、これは本発明と直接関係はなく、カ
ラー・ルックアップ・テーブルのない構成でも同様に実
現できる。
In the present embodiment, the resolution of the image (the size of the frame memory 4) is described as 1280 × 1024. However, the present invention is not limited to this, and any resolution can be realized. In FIG. 1, the color look-up table 6 is provided between the first dual-port memory 1 and the data selector 5, but this is not directly related to the present invention. A configuration without a table can be similarly realized.

【0032】[0032]

【発明の効果】以上、説明したように、本発明によれ
ば、任意形状のウィンドウを定義し、これに磁気ディス
ク装置や光ディスク装置などの動画記憶装置から読み出
した動画をリアルタイムに映し出すことができて、動画
を用いるアプリケーションを構築するときなど、極めて
価値の高いワークステーションを得ることができるもの
である。
As described above, according to the present invention, an arbitrary-shaped window can be defined, and a moving image read from a moving image storage device such as a magnetic disk device or an optical disk device can be displayed on the window in real time. Thus, an extremely valuable workstation can be obtained, for example, when building an application using a moving image.

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

【図1】本発明の一実施例の動画対応フレームバッファ
のブロック図である。
FIG. 1 is a block diagram of a moving image-compatible frame buffer according to an embodiment of the present invention.

【図2】フレームメモリ中の動画面(第2のデュアルポ
ートメモリ)の位置関係を説明する図である。
FIG. 2 is a diagram illustrating the positional relationship of a moving image plane (second dual-port memory) in a frame memory.

【図3】画像転送アドレスXt ,Yt と動画位置座標デ
ータXs,Ys とアドレス変換器の出力データXc,Y
cとの関係を説明する図である。
FIG. 3 shows image transfer addresses Xt and Yt, moving image position coordinate data Xs and Ys, and output data Xc and Y of an address converter.
It is a figure explaining the relation with c.

【図4】従来例のワークステーションのフレームバッフ
ァのブロック図である。
FIG. 4 is a block diagram of a frame buffer of a conventional workstation.

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

1 第1のデュアルポートメモリ 2 第2のデュアルポートメモリ 3 第3のデュアルポートメモリ 4 フレームメモリ 5 データセレクタ 6 カラー・ルックアップ・テーブル 7 D/A変換器 8 カラーディスプレイ 9 アドレス変換器 10 動画位置座標レジスタ 100 フレームバッファ 101 ,102 普通の非動画の表示ウィンドウ 103a 動画を映し出すための動画ウィンドウ 1 First Dual Port Memory 2 Second Dual Port Memory 3 Third Dual Port Memory 4 Frame Memory 5 Data Selector 6 Color Lookup Table 7 D / A Converter 8 Color Display 9 Address Converter 10 Video Position Coordinate register 100 Frame buffer 101, 102 Normal non-video display window 103a Video window for displaying video

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G09G 5/36 520 G06F 15/72 A ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI G09G 5/36 520 G06F 15/72 A

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ワークステーションのCPU(中央処理
装置)により書き込み制御され、表示すべき1画面分の
非動画データをバッファ記憶する第1のデュアルポート
メモリと、動画データを記憶している動画記憶装置によ
り直接書き込み制御され、上記第1のデュアルポートメ
モリより小さい画素数を有し、上記動画データをバッフ
ァ記憶する第2のデュアルポートメモリと、上記CPU
により書き込み制御され、上記第2のデュアルポートメ
モリと同じ画素数を有し、画面の中で上記動画を映しだ
すための窓を定義すべく、この窓の内側の画素に対応す
る画素アドレスにはデータ“1”または“0”を書き込
み、窓の外側にはデータ“0”または“1”を書き込む
第3 のデュアルポートメモリと、上記第1 のデュアルポ
ートメモリからの読み出しデータをA入力に、上記第2
のデュアルポートメモリからの読み出しデータをB入力
に、上記第3のデュアルポートメモリからの読み出しデ
ータをセレクト入力にそれぞれ入力し、上記第3のデュ
アルポートメモリからの読み出しデータが“0”または
“1”のとき、上記A入力の入力データを選択出力し、
上記第3のデュアルポートメモリからの読み出しデータ
が“1”または“0”のとき、上記B入力の入力データ
を選択出力するデータセレクタと、表示すべき1画面分
の画像データを合成するためのデュアルポート型のメモ
リであり、上記データセレクタの出力を入力とするフレ
ームメモリと、上記第2および第3のデュアルポートメ
モリに書き込まれている動画データが上記フレームメモ
リのどの座標位置に書き込まれるかを示す動画位置座標
データを、上記CPUより書き込まれる動画位置座標レ
ジスタと、上記第1、第2、第3、のデュアルポートメ
モリから上記フレームメモリに画像データを転送するた
めの画像転送アドレスと上記動画位置座標レジスタの出
力を入力し、上記画像転送アドレスから上記動画位置座
標レジスタの出力データを減算し、その結果を上記第2
および第3のデュアルポートメモリに読み出しアドレス
として出力するアドレス変換器と、上記フレームメモリ
から所定の速度で読み出された画素データをディジタル
/アナログ変換し、カラーディスプレイへ供給するRG
B(赤緑青)画像信号として出力するD/A変換器とを
具備し、画像転送クロックを上記第1、第2、第3のデ
ュアルポートメモリの読み出しクロック入力に供給し、
上記画像転送クロックに同期した上記画像転送アドレス
を上記第1のデュアルポートメモリの読み出しアドレス
入力と上記アドレス変換器の入力に供給し、同時に上記
画像転送クロックと上記画像転送アドレスとを上記フレ
ームメモリの書き込みクロック入力と書き込みアドレス
入力とにそれぞれ供給し、上記フレームメモリの各画素
に、それに対応する上記第3のデュアルポートメモリの
画素データが“0”または“1”の場合には、上記第1
のデュアルポートメモリの対応する画素データを書き込
み、上記第3のデュアルポートメモリの画素データが
“1”または“0”の場合には、上記第2のデュアルポ
ートメモリの対応する画素データを書き込むことによっ
て、上記フレームメモリに上記非動画データと上記動画
データとを合成した画像データを得るように構成したワ
ークステーションの動画対応フレームバッファ。
1. A first dual-port memory, which is write-controlled by a CPU (Central Processing Unit) of a workstation and buffers one screen of non-moving data to be displayed, and a moving picture storage that stores moving picture data A second dual-port memory, directly controlled by the device, having a smaller number of pixels than the first dual-port memory, and buffering the moving image data;
Has the same number of pixels as the second dual-port memory, and a pixel address corresponding to a pixel inside the window is defined in order to define a window for displaying the moving image on the screen. A third dual port memory for writing data "1" or "0" and writing data "0" or "1" outside the window, and read data from the first dual port memory for A input, The second
, And the read data from the third dual-port memory is input to the select input, and the read data from the third dual-port memory is "0" or "1". ", The input data of the A input is selected and output,
When the read data from the third dual port memory is "1" or "0", a data selector for selecting and outputting the input data of the B input and a data selector for synthesizing image data for one screen to be displayed. A frame memory which is a dual-port type memory, to which the output of the data selector is input, and to which coordinate position of the frame memory the moving image data written in the second and third dual-port memories is to be written A moving image position coordinate register written by the CPU, an image transfer address for transferring image data from the first, second, and third dual port memories to the frame memory; Input the output of the moving image position coordinate register and output the moving image position coordinate register from the image transfer address. Subtracted over data, the results of the above second
An address converter that outputs the read address to the third dual-port memory as a read address;
A D / A converter that outputs a B (red, green, blue) image signal, and supplies an image transfer clock to a read clock input of the first, second, and third dual port memories;
The image transfer address synchronized with the image transfer clock is supplied to a read address input of the first dual port memory and an input of the address converter, and at the same time, the image transfer clock and the image transfer address are stored in the frame memory. When the pixel data of the third dual port memory is "0" or "1" corresponding to each pixel of the frame memory, respectively, the first clock is supplied to the write clock input and the write address input.
And writing the corresponding pixel data of the second dual-port memory when the pixel data of the third dual-port memory is "1" or "0". A moving image corresponding frame buffer of a workstation configured to obtain image data obtained by combining the non-moving image data and the moving image data in the frame memory.
JP3009882A 1991-01-30 1991-01-30 Workstation video frame buffer Expired - Fee Related JP2868324B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3009882A JP2868324B2 (en) 1991-01-30 1991-01-30 Workstation video frame buffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3009882A JP2868324B2 (en) 1991-01-30 1991-01-30 Workstation video frame buffer

Publications (2)

Publication Number Publication Date
JPH04253095A JPH04253095A (en) 1992-09-08
JP2868324B2 true JP2868324B2 (en) 1999-03-10

Family

ID=11732529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3009882A Expired - Fee Related JP2868324B2 (en) 1991-01-30 1991-01-30 Workstation video frame buffer

Country Status (1)

Country Link
JP (1) JP2868324B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06149225A (en) * 1992-11-04 1994-05-27 Mitsubishi Electric Corp Display device
JP2004004796A (en) * 2002-04-25 2004-01-08 Matsushita Electric Ind Co Ltd Image processor
JP2004094498A (en) * 2002-08-30 2004-03-25 Rohm Co Ltd Image display system, and display
JP5255397B2 (en) * 2008-10-15 2013-08-07 パナソニック株式会社 Image display method and display

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0713788B2 (en) * 1983-06-15 1995-02-15 株式会社日立製作所 Image display device
JPS63174185A (en) * 1987-01-13 1988-07-18 Nec Corp Input/output timing generating circuit for partial image data

Also Published As

Publication number Publication date
JPH04253095A (en) 1992-09-08

Similar Documents

Publication Publication Date Title
US5625379A (en) Video processing apparatus systems and methods
US5500654A (en) VGA hardware window control system
US6172669B1 (en) Method and apparatus for translation and storage of multiple data formats in a display system
JP3656857B2 (en) Full-motion video NTSC display device and method
JPS6025794B2 (en) color graphic display device
JPH08241070A (en) Selected information protective device in multimedia workstation
CA1220293A (en) Raster scan digital display system
JPH01870A (en) television special effects equipment
JPS63121364A (en) Interpolator of television special effect apparatus
JPS6191777A (en) Video image forming apparatus
JP3300059B2 (en) Image processing system
US6552750B1 (en) Apparatus for improving the presentation of graphics data on a television display
JP2868324B2 (en) Workstation video frame buffer
JPH04174497A (en) Display controlling device
JP2593427B2 (en) Image processing device
EP0400990B2 (en) Apparatus for superimposing character patterns in accordance with dot-matrix on video signals
JPH04317099A (en) Moving picture applicable frame buffer
JPH03105388A (en) Frame buffer for work station
US5784074A (en) Image output system and method
JPH07225562A (en) Scan converter
JPH02137070A (en) Picture processor
JPH10124039A (en) Graphic display device
JP2506897B2 (en) Multi-window display control method
JPS6362750B2 (en)
JPH07181937A (en) Image processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees