JPH07104723A - Display system - Google Patents

Display system

Info

Publication number
JPH07104723A
JPH07104723A JP5251957A JP25195793A JPH07104723A JP H07104723 A JPH07104723 A JP H07104723A JP 5251957 A JP5251957 A JP 5251957A JP 25195793 A JP25195793 A JP 25195793A JP H07104723 A JPH07104723 A JP H07104723A
Authority
JP
Japan
Prior art keywords
display
image data
data
frame buffer
moving image
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.)
Granted
Application number
JP5251957A
Other languages
Japanese (ja)
Other versions
JP3253778B2 (en
Inventor
Hiroteru 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 JP25195793A priority Critical patent/JP3253778B2/en
Publication of JPH07104723A publication Critical patent/JPH07104723A/en
Application granted granted Critical
Publication of JP3253778B2 publication Critical patent/JP3253778B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To display text data, graphics data, the image data and coexistingly display them on a flat pannel display with high picture quality by providing a display controller means enlarging or reducing the expanded image data and selectively displaying the image data and the display data. CONSTITUTION:By an animation expansion program stored in a main memory 3, the compressed image data stored in a CD-ROM 17 are read and expanded through a CD-ROM controller 15 and a system bus controller 11 to be outputted to a multi-media display controller 7. By the multi-media display controller 7, in addition to the display processing of the text data and the graphics data, the processing for superposing respective display timing for respective displays of a still picture and an animation or the coexisting display of them, and the processing of control, enlargement/reduction of a display area, and the control of the write/read of the animation data in/from a frame buffer memory 25 are performed.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、表示制御システムに
関し、特にフレームバッファに画像データを格納するマ
ルチメディア表示制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display control system, and more particularly to a multimedia display control system for storing image data in a frame buffer.

【0002】[0002]

【従来の技術】従来よりポータブルコンピュータ用グラ
フィックスコントローラ(ビデオサブシステム)として
VGA(Video Graphics Array)
が使用されている。VGAはディスプレイ表示を制御す
るメカニズムを備え、解像度640x480画素の表示
機能を有している。また近年、ポータブルコンピュータ
の発達とともに、マルチメディアパソコンと呼ばれるコ
ンピュータが開発されている。このコンピュータでは、
テキストデータやグラフィックスデータの他に動画や静
止画等の画像データがCRTに表示可能である。画像デ
ータの表示は、従来よりテレビやビデオ等で使用されて
いるYUV信号を用いて行われるので、コンピュータ本
体に内蔵されているRGBの表示回路を用いてテキスト
データやグラフィックスデータを表示し、画像データの
表示はオプションボードをコンピュータ本体に接続して
行う。このようなオプションボードとしては、例えば、
米国C−Cube MicrosystemsのCL−
450(Registered Tradmark)D
evelopment Boardがある。このボード
はMPEG(Moving PictureCodin
g Experts Group)video alg
orithmを用いて、MPEG compresse
d video信号を伸張し、YUV信号をRGB信号
に変換して出力する。なお、MPEGはカラー動画像蓄
積用符号化方式の標準化を進める組織であり、ISO
(国際標準化機構)とIEC(国際電気標準会議)が共
同で進めるJTCI(情報処理関連国際標準化技術委員
会)の下部組織に当たる。一方で、カラー動画像蓄積用
の符号化方式を指すこともある。CD−ROMへの応用
を考えたMPEG−1と、より高画質を目指したMPE
G−2がある。それぞれ転送速度は、1.5Mビット/
秒以下と5M−10Mビット/秒である。
2. Description of the Related Art Conventionally, a VGA (Video Graphics Array) has been used as a graphics controller (video subsystem) for a portable computer.
Is used. The VGA has a mechanism for controlling display display, and has a display function with a resolution of 640 × 480 pixels. In recent years, along with the development of portable computers, computers called multimedia personal computers have been developed. On this computer,
In addition to text data and graphics data, image data such as moving images and still images can be displayed on the CRT. Image data is displayed using YUV signals conventionally used in televisions, videos, etc., so that text data and graphics data are displayed using an RGB display circuit built in the computer body. Image data is displayed by connecting the option board to the computer body. As such an option board, for example,
C-Cube Microsystems CL-
450 (Registered Trademark) D
There is an development board. This board is MPEG (Moving Picture Codin)
g Experts Group) video alg
MPEG compress using orithm
The d video signal is expanded, the YUV signal is converted into an RGB signal, and the RGB signal is output. It should be noted that MPEG is an organization that is promoting the standardization of a color moving image storage encoding system, and
It is a subordinate organization of JTCI (International Committee for Standardization of Information Processing) jointly promoted by (International Organization for Standardization) and IEC (International Electrotechnical Commission). On the other hand, it may also refer to an encoding method for storing color moving images. MPEG-1 for CD-ROM applications and MPE for higher image quality
There is G-2. Each transfer rate is 1.5 Mbit /
Seconds or less and 5M-10M bits / second.

【0003】さらに、米国インテル社のDVI(Dig
ital Video Interactive)ボー
ドが知られている。このDVIボードには、画像を圧縮
/伸長するための82750PBチップ、画像データを
格納するVRAM,画像データの表示を制御する827
50DBチップ等が実装されている。
In addition, DVI (Dig of Intel Corp.
Italic Video Interactive) boards are known. On this DVI board, a 82750PB chip for compressing / decompressing an image, a VRAM for storing image data, and a 827 for controlling display of image data.
A 50DB chip or the like is mounted.

【0004】しかしながら、このようなオプションボー
ドをコンピュータ本体に接続した場合、コンピュータ本
体に内蔵されるRGB系の表示サブシステムと、オプシ
ョンボート上のYUV系の表示サブシステムの2つのサ
ブシステムが存在することになり、回路構成が冗長とな
る欠点を有している。
However, when such an option board is connected to the computer main body, there are two subsystems, that is, an RGB display subsystem built into the computer main body and a YUV display subsystem on the option board. Therefore, there is a drawback that the circuit configuration becomes redundant.

【0005】また、ラップトップタイプのポータブルコ
ンピュータの発達とともに、TFTカラーLCD等のフ
ラットパネルを採用したポータブルコンピュータにおい
ても、テキストデータ、グラフィックスデータ、動画デ
ータおよび静止画データ等の画像データの表示およびそ
れらの混在表示をフラットパネルディスプレイを用いて
行うことが望まれている。
Further, with the development of a laptop type portable computer, even in a portable computer adopting a flat panel such as a TFT color LCD, image data such as text data, graphics data, moving image data and still image data can be displayed and displayed. It is desired to perform mixed display using a flat panel display.

【0006】このような問題を解決するために、表示デ
バイスにTFTカラーLCD等のフラットパネルディス
プレイを採用したポータブルコンピュータにおいて、本
体に標準で実装されているディスプレイコントローラを
用いて他の表示コントローラが持つ表示機能の一部を代
行することにより、グラフィックスデータと画像データ
とを共通の表示回路で表示する技術が開発された。この
ような例としては、例えば特願平4ー135189があ
る。
In order to solve such a problem, in a portable computer adopting a flat panel display such as a TFT color LCD as a display device, another display controller has a display controller which is standardly mounted on the main body. A technique for displaying graphics data and image data on a common display circuit by substituting a part of the display function has been developed. An example of this is Japanese Patent Application No. 4-135189.

【0007】また近年これらハードウエアロジックによ
ってテキストデータやグラフィックスデータの他に動画
や静止画等の画像データを表示するシステムと同様な機
能をすべてソフトウエアによって実現する技術も開発さ
れた。例えば米国Microsoft社Video f
or Windowsや米国インテル社のIndeoが
知られている。このうち、Indeoは上記DVIが画
像データをソフトウエアで表示する技術であり、DVI
ボード等の専用ハードウエアロジックが無くても160
画素x120画素程度の動画を表示できる。82750
DBチップが実装されたDVIボードを使用した場合
や、特願平4ー135189に開示されているPBチッ
プを使用した場合に比べて画質は劣るが、専用のハード
ウエアロジックを必要としないため、低価格でシステム
を実現できる。この場合、動画や静止画等の画像データ
はソフトウエアによって伸張され、テキストデータやグ
ラフィックスデータと同様VGA等のグラフィックスコ
ントローラに送られる。グラフィックスコントローラは
グラフィックスデータと同様にしてこの伸張データをC
RTやフラットパネルディスプレイに表示する。
Further, in recent years, a technique has been developed in which all of the functions similar to those of a system for displaying image data such as moving images and still images in addition to text data and graphics data by using these hardware logics are realized by software. For example, Video f of Microsoft Corporation
Or Windows and Indeo of Intel Corporation of the United States are known. Of these, Indeo is a technology in which the DVI displays image data by software.
160 without dedicated hardware logic such as board
A moving image with about 120 pixels can be displayed. 82750
Although the image quality is inferior to the case of using a DVI board on which a DB chip is mounted or the case of using a PB chip disclosed in Japanese Patent Application No. 4-135189, it does not require a dedicated hardware logic. The system can be realized at a low price. In this case, image data such as a moving image or a still image is decompressed by software and sent to a graphics controller such as VGA like text data and graphics data. The graphics controller uses the expanded data as C
Display on RT or flat panel display.

【0008】[0008]

【発明が解決使用とする課題】しかしながら、このソフ
トウエアの方法では、グラフィックスコントローラは常
に表示のための処理を行っているため、動画の伸張デー
タを取り込む処理に時間がかかってしまう。またVRA
Mとして安価なDRAMを使用した場合にはさらに処理
に時間がかかってしまうため、動画を表示するには十分
な転送スピードを得ることができなくなり、結果として
表示の画質を低下させてしまうという問題があった。一
般的に一秒間に表示できるフレーム数の減少の形で画質
が低下する。
However, in this software method, since the graphics controller always performs processing for display, it takes time to fetch the decompressed data of the moving image. Also VRA
When an inexpensive DRAM is used as M, it takes more time to process, so that it is not possible to obtain a sufficient transfer speed for displaying a moving image, and as a result, the display image quality is deteriorated. was there. Generally, the image quality deteriorates in the form of a reduction in the number of frames that can be displayed per second.

【0009】この発明の目的は、表示デバイスのTFT
カラーLCD等のフラットパネルを採用したポータブル
コンピュータにおいて、本体に標準で実装されているデ
ィスプレイコントローラに改良を加えるだけで、テキス
トデータ、グラフィックスデータ、動画データおよび静
止画データ等の画像データの表示およびそれらの混在表
示を高画質でフラットパネルデイスプレイ上に表示する
ことのできる表示システムを提供することである。
The object of the present invention is to provide a TFT for a display device.
In a portable computer that adopts a flat panel such as a color LCD, it is possible to display image data such as text data, graphics data, moving image data and still image data by simply improving the display controller that is standardly installed in the main body. It is an object of the present invention to provide a display system capable of displaying a mixed display of them with high image quality on a flat panel display.

【0010】[0010]

【課題を解決するための手段および作用】上記目的を達
成するために、この発明のマルチメディア表示制御シス
テムによれば、圧縮された画像データを伸張された画像
データに変換するソフトウエア手段と;前記伸張された
画像データを一時的に保持するフレームバッファメモリ
手段と;テキストデータおよびグラフィックスデータを
格納するビデオメモリ手段と;前記ビデオメモリ手段か
ら出力される表示データを色変換するパレット手段と;
前記フレームバッファメモリ手段から前記伸張された画
像データと、前記パレット手段から出力される表示デー
タとを読みだし、伸張された画像データを任意の大きさ
に拡大または縮小して、表示すべき画面の任意の位置に
パレット手段から出力される表示データとを選択的に表
示するディスプレイコントローラ手段とを備えている。
To achieve the above object, according to the multimedia display control system of the present invention, software means for converting compressed image data into decompressed image data; Frame buffer memory means for temporarily holding the expanded image data; video memory means for storing text data and graphics data; palette means for color-converting display data output from the video memory means;
The decompressed image data and the display data output from the palette means are read from the frame buffer memory means, and the decompressed image data is enlarged or reduced to an arbitrary size to display a screen to be displayed. Display controller means for selectively displaying display data output from the palette means at an arbitrary position is provided.

【0011】この発明によれば、ソフトウエアで動画を
伸張するシステムにおいて、最小限のハードウエアの追
加によって画質の低下を防ぐことができる。さらに、モ
ノクロLCDのために、CRTの表示タイミングをモノ
クロLCDの表示タイミングに変換するためのフレーム
バッファを有しているが、TFTカラーLCDの場合に
はタイミングを変換する必要が無いため、フレームバッ
ファを使用しない。このため、ソフトウエアにより伸張
した画像データをフレームバッファに格納することによ
り、モノクロLCD用フレームメモリと、画像データの
ためのビデオメモリとを共通のメモリ(フレームバッフ
ァ)で構成している。従って、表示システムの簡素化が
図られる。さらにソフトウエアにより伸張した画像デー
タを格納するフレームバッファはDRAMで構成されて
いるので、安価な表示システムが得られる。
According to the present invention, in a system for expanding a moving image by software, deterioration of image quality can be prevented by adding a minimum amount of hardware. Further, for the monochrome LCD, it has a frame buffer for converting the display timing of the CRT into the display timing of the monochrome LCD, but in the case of the TFT color LCD, there is no need to convert the timing, so the frame buffer Not used. Therefore, by storing the image data expanded by software in the frame buffer, the monochrome LCD frame memory and the video memory for the image data are configured by a common memory (frame buffer). Therefore, the display system can be simplified. Further, since the frame buffer for storing the image data expanded by software is composed of DRAM, an inexpensive display system can be obtained.

【0012】このようにしてソフトウエアで動画を伸張
するシステムにおいて、最小限のハードウエアの追加に
よって画質の低下を防ぐ効果がある。また従来の827
50DBチップが実装されたDVIボード等を使用した
場合や、特願平4ー135189に開示されているPB
チップ等を使用して動画を表示するシステムに比べて、
安価な表示システムを提供できる。
In such a system for expanding a moving image by software, the addition of a minimum amount of hardware has the effect of preventing the deterioration of image quality. Also the conventional 827
When using a DVI board or the like on which a 50DB chip is mounted, or the PB disclosed in Japanese Patent Application No. 4-135189.
Compared to the system that displays videos using chips,
An inexpensive display system can be provided.

【0013】[0013]

【実施例】図1はこの発明のマルチメディア表示制御シ
ステムの全体を示すブロック図である。central
processing unit(CPU)1、メイ
ンメモリ3、ビデオキャプチャボード5、およびマルチ
メディアディスプレイコントローラ7がCPUバス9に
接続される。システムバスコントローラ11はCPUバ
ス9とシステムバス13に接続される。システムバス1
3にはさらに、CD−ROMコントローラ15が接続さ
れ、CD−ROMコントローラ15には、CD−ROM
17が接続されている。ビデオデコーダ19にはシステ
ムバス13、フレームバッファメモリ21、およびマル
チメディアディスプレイコントローラ7と接続されてい
る。さらに、マルチメディアディスプレイコントローラ
7にはフレームバッファメモリ23、25、フラットパ
ネルディスプレイ(FPD)27、およびCRT29が
接続されている。フレームバッファメモリ23は例えば
VGA表示データを格納するのに使用される。フレーム
バファメモリ25は動画データを格納するのに使用され
る。動画や静止画等の圧縮された画像データの伸張は、
例えば米国インテル社のIndeo(米国Intel
Corporationの登録商標)で行う。Inde
oは従来のDVI(Digital Video In
teractive)(米国Intel Corpor
ationの登録商標)で行われていた画像データの圧
縮、伸張、表示をソフトウエアで行う技術であり、DV
Iボード等の専用のハードウエアロジックが無くても1
60画素x120画素程度の動画を表示できる。
1 is a block diagram showing the entire multimedia display control system of the present invention. central
A processing unit (CPU) 1, a main memory 3, a video capture board 5, and a multimedia display controller 7 are connected to a CPU bus 9. The system bus controller 11 is connected to the CPU bus 9 and the system bus 13. System bus 1
3, a CD-ROM controller 15 is further connected, and the CD-ROM controller 15 has a CD-ROM.
17 is connected. The video decoder 19 is connected to the system bus 13, the frame buffer memory 21, and the multimedia display controller 7. Further, frame buffer memories 23 and 25, a flat panel display (FPD) 27, and a CRT 29 are connected to the multimedia display controller 7. The frame buffer memory 23 is used to store VGA display data, for example. The frame buffer memory 25 is used to store moving image data. Decompression of compressed image data such as moving images and still images
For example, Intel's Indeo (US Intel
(Registered trademark of Corporation). Inde
o is the conventional DVI (Digital Video In)
teractive) (Intel Corpor, USA)
software, which is a technology for compressing, decompressing, and displaying image data, which was performed by
1 even if there is no dedicated hardware logic such as I board
A moving image of about 60 pixels x 120 pixels can be displayed.

【0014】図1において、メインメモリ3に格納され
ている動画伸張プログラムは、例えばCD−ROM17
に格納された圧縮画像データをCR−ROMコントロー
ラ15、システムバスコントローラ11経由で読み込
み、伸張し、YUVフォームあるいはRGBフォームで
マルチメディアディスプレイコントローラ7に出力す
る。マルチメディアディスプレイコントローラ7は、通
常のフレームバッファメモリ23を使ったテキストデー
アやグラフィックスデータの表示処理の他に、静止画、
動画の各表示あるいはそれらの混在表示のための各表示
タイミングが重ね合わせのための処理や、表示領域の制
御、拡大縮小処理、フレームバッファメモリ25への動
画データの書き込みおよび読みだしの制御を行う。な
お、フレームバッファメモリ25にはMPEGビデオデ
ータや後述するDVIビデオデータ等の動画データの他
にJPEG(Joint Photographic
Experts Group)等の静止画も格納でき
る。以下、この発明の実施例で画像データとは動画デー
タおよび静止画データを含む。なお、JPEGはカラー
静止画符号化方式の標準化を進める組織であり、ISO
(国際標準化機構)とCCITT(国際電信電話諮問委
員会)の共同組織である。一方で、カラー静止画像の符
号化方式を指すこともある。
In FIG. 1, the moving picture expansion program stored in the main memory 3 is, for example, a CD-ROM 17
The compressed image data stored in is read via the CR-ROM controller 15 and the system bus controller 11, expanded, and output to the multimedia display controller 7 in YUV form or RGB form. The multimedia display controller 7 displays a still image, in addition to displaying text data and graphics data using the normal frame buffer memory 23.
Processing for superimposing display timings for displaying each moving picture or mixed display thereof, control of display area, enlargement / reduction processing, and writing / reading of moving picture data to / from the frame buffer memory 25 are performed. . The frame buffer memory 25 includes JPEG (Joint Photographic) in addition to moving picture data such as MPEG video data and DVI video data described later.
Still images such as Experts Group) can also be stored. Hereinafter, in the embodiment of the present invention, the image data includes moving image data and still image data. JPEG is an organization that is promoting the standardization of color still image encoding methods, and
It is a joint organization of the International Organization for Standardization and CCITT (International Telegraph and Telephone Advisory Committee). On the other hand, it may also refer to a color still image encoding method.

【0015】図2は図1に示すマルチメディア表示制御
システムにおいて、メインメモリ3に格納されている動
画伸張プログラムかr供給される動画データを、コンピ
ュータ本体内に設けられるフレームバッファに格納する
際の概念を示す図である。なお、図2において図1と同
一部は同符号を付す。この実施例では、CRT表示タイ
ミングをモノクロLCDタイミングに変換するためのフ
レームバッファ25を用いて動画データを格納すること
により、CRTからLCDへの表示タイミング変換用バ
ッファと、動画データ格納用フレームバファを持つとい
う冗長性を除去し、回路の簡素化を計っている。
FIG. 2 is a diagram showing a case where the moving picture decompression program stored in the main memory 3 or the moving picture data supplied from the multimedia display control system shown in FIG. 1 is stored in the frame buffer provided in the computer main body. It is a figure which shows a concept. 2 that are the same as those in FIG. 1 are designated by the same reference numerals. In this embodiment, moving image data is stored by using the frame buffer 25 for converting the CRT display timing into the monochrome LCD timing, so that a display timing conversion buffer from the CRT to the LCD and a moving image data storage frame buffer are provided. The redundancy of having is removed, and the circuit is simplified.

【0016】図2において、コンピュータ本体に内蔵さ
れているグラフィックサブシステムは、グラフィックソ
フトウエアを表示するための表示サブシステムであり、
例えばVGAVideo Graphics Arra
y)で構成される。メインメモリ3に格納されている動
画伸張プログラムは、CPUバス9を介して供給される
画像圧縮データを伸張する機能を有する。画像圧縮デー
タは例えばCD−ROM17またはハードディスク6等
に格納されている。画像圧縮データは伸張された、CP
Uバス9を介してフレームバッファ25に出力される。
フレームバッファ25についての詳細は、USSN 0
7/906,834に記載されている。
In FIG. 2, a graphic subsystem built in the computer main body is a display subsystem for displaying graphic software,
For example, VGA Video Graphics Arra
y). The moving picture decompression program stored in the main memory 3 has a function of decompressing the image compression data supplied via the CPU bus 9. The compressed image data is stored in, for example, the CD-ROM 17 or the hard disk 6. Image compression data is decompressed, CP
It is output to the frame buffer 25 via the U bus 9.
For more information on frame buffer 25, see USSN 0
7 / 906,834.

【0017】フレームバッファ25には2つの役割があ
る。1つは、表示装置がモノクロLCD(Liquid
Crystal Display)の場合に、CRT
のタイミングでフレームバッファに書かれた表示データ
をモノクロLCDのタイミングで読みだすことにより、
CRTのタイミングでモノクロLCDにデータを表示す
るのに使用される。もう1つの役割は、表示装置として
TFTカラーLCDが使用されている場合には、フレー
ムバッファ25を用いてCRTタイミングをLCDタイ
ミングに変換する必要がないので、このフレームバッフ
ァ25を、画像伸張データを格納するメモリとして使用
する。
The frame buffer 25 has two roles. One is that the display device is a monochrome LCD (Liquid
CRT in the case of Crystal Display)
By reading the display data written in the frame buffer at the timing of, at the timing of the monochrome LCD,
Used to display data on monochrome LCD at CRT timing. Another role is that when a TFT color LCD is used as a display device, it is not necessary to use the frame buffer 25 to convert the CRT timing to the LCD timing, so that the frame buffer 25 is used to store the image expansion data. Used as a memory to store.

【0018】VGAメモリ23はVGAグラフィックサ
ブシステムにおける表示データを記憶するVRAMであ
る。VGAメモリ23にはCPUによりCPUバス9を
介して表示データが書かれる。VGAメモリ23に格納
された表示データは表示のリードポートを介して読みだ
され、パレット39に出力される。パレット39は表示
データを色変換し、マルチプレクサ41に出力する。マ
ルチプレクサ41はパレット39からの表示データとフ
レームバッファ25からの画像データを選択し、表示装
置がCRTの場合にはDAC47に出力し、表示装置が
カラーLCDの場合には、カラーLCD階調回路45に
出力する。
The VGA memory 23 is a VRAM for storing display data in the VGA graphic subsystem. Display data is written in the VGA memory 23 by the CPU via the CPU bus 9. The display data stored in the VGA memory 23 is read out via the display read port and output to the palette 39. The palette 39 color-converts the display data and outputs it to the multiplexer 41. The multiplexer 41 selects the display data from the palette 39 and the image data from the frame buffer 25 and outputs it to the DAC 47 when the display device is a CRT, and the color LCD gradation circuit 45 when the display device is a color LCD. Output to.

【0019】なお、図2において、破線で囲ったVGA
コアと書かれている部分が従来より知られているVGA
チップ(例えば、1988年12月9日に米国Para
dise Systems, Inc.から発行された
PVGA1A仕様書に示されている”PVGA1A”チ
ップ)の部分であり、この発明ではさらにパレット3
9、マルチプレクサ41、モノクロLCD階調制御回路
43、カラーLCD階調制御回路45、DAC47を付
加して、1チップLSIで構成している。
It should be noted that in FIG. 2, VGA surrounded by a broken line
VGA where the part that is written as the core is conventionally known
Chips (eg, Para. USA, December 9, 1988)
dise Systems, Inc. "PVGA1A" chip shown in the PVGA1A specification issued by the company, and in the present invention, the pallet 3
9, a multiplexer 41, a monochrome LCD gradation control circuit 43, a color LCD gradation control circuit 45, and a DAC 47 are added to form a one-chip LSI.

【0020】以下、表示装置がモノクロLCD、カラー
LCD、およびCRTの場合のそれぞれの表示データの
流れについて説明する。モノクロLCDの場合には、V
GAメモリ23に記載されている表示データが表示リー
ドポートを介して読みだされ、フレームバッファ25の
ライトポートを介してフレームバッファ25に書き込ま
れる。フレームバッファ25に書き込まれた表示データ
は、モノクロLCDの表示タイミングで読みだされ、モ
ノクロLCD用階調制御回路43を介してモノクロLC
Dに出力される。
The flow of display data when the display device is a monochrome LCD, a color LCD, or a CRT will be described below. In case of monochrome LCD, V
The display data written in the GA memory 23 is read out through the display read port and written in the frame buffer 25 through the write port of the frame buffer 25. The display data written in the frame buffer 25 is read out at the display timing of the monochrome LCD, and is passed through the monochrome LCD gradation control circuit 43 to the monochrome LC.
It is output to D.

【0021】カラーLCDの場合には、VGAメモリ2
3から読みだされた表示データがパレット39において
色変換され、フレームバッファ25に格納された画像デ
ータとマルチプレクサ41により選択され、カラー階調
制御回路45を介してカラーLCDに出力される。
In the case of a color LCD, VGA memory 2
The display data read from No. 3 is color-converted in the palette 39, selected by the image data stored in the frame buffer 25 and the multiplexer 41, and output to the color LCD via the color gradation control circuit 45.

【0022】CRTの場合には、VGAメモリ23から
出力された表示データがパレット39を介して色変換さ
れ、フレームバッファ25に格納された画像データとマ
ルチプレクサ41により選択され、DAC47でアナロ
グデータに変換されてCRTに出力される。
In the case of a CRT, the display data output from the VGA memory 23 is color-converted via the palette 39, selected by the image data stored in the frame buffer 25 and the multiplexer 41, and converted into analog data by the DAC 47. And output to the CRT.

【0023】なお、図3と図4に示すようにVGAの表
示画面上にMPEGビデオデータ用のウインドウを切
り、VGAとMPEGビデオデータの各表示データを混
在表示させることができる。この混在表示の方法として
は、2通りある。第1の方法は、図4に示すようにVG
Aの表示データもMPEGの表示データとともに、24
ビット構成にして表示する方法である。これは、フレー
ムバッファ25にVGAの表示データとMPEGの表示
データを書き込み、カラーLCDまたはCRTに表示す
る。しかしながら、グラフィックスデータは、16色ま
たは256色で十分であり、1ピクセルあたり16ビッ
トも必要ない。反面書き込みスピードが重要であり、1
6ビット書き込む場合は4ビット(16色)や8ビット
(256色)に比べて書き込みスピードが落ちると言う
欠点がある。
As shown in FIGS. 3 and 4, a window for MPEG video data can be cut off on the VGA display screen to display the VGA and MPEG video data display data in a mixed manner. There are two methods for this mixed display. The first method is as shown in FIG.
The display data of A is 24 with the display data of MPEG.
This is a method of displaying in a bit configuration. This writes VGA display data and MPEG display data to the frame buffer 25 and displays them on a color LCD or CRT. However, 16 or 256 colors are sufficient for the graphics data, and 16 bits per pixel is not necessary. On the other hand, writing speed is important,
When writing 6 bits, there is a drawback that the writing speed is slower than that of 4 bits (16 colors) or 8 bits (256 colors).

【0024】第2の方法は、図3に示すようにVGAの
グラフィックスデータを1ピクセルあたり4ビット(1
6色)または8ビット(256色)構成として、画像デ
ータの表示のみを16ビット構成にして表示する方法で
ある。この構成では、グラフィックデータのアクセスは
4ビットまたは8ビットのみのアクセスで済むので高速
処理が可能である。これは、VGAのグラフィックスデ
ータをVGAメモリ23、パレット39を介してマルチ
プレクサ41に出力するとともに、フレームバッファ2
5の画像データをマルチプレクサ41に出力し、マルチ
プレクサ41により切り替え制御してカラーLCDまた
はCRTに出力する方法である。
The second method is to convert VGA graphics data into 4 bits (1 bit) per pixel as shown in FIG.
This is a method of displaying only image data in a 16-bit configuration with 6-color) or 8-bit (256 colors) configuration. With this configuration, graphic data can be accessed only by 4 bits or 8 bits, and therefore high-speed processing is possible. This outputs the VGA graphics data to the multiplexer 41 via the VGA memory 23 and the palette 39, and the frame buffer 2
This is a method of outputting the image data of No. 5 to the multiplexer 41, switching control by the multiplexer 41, and outputting to the color LCD or CRT.

【0025】なお、上述した実施例では、TFTカラー
LCDを用いたがSTNカラーLCDを用いるように構
成してもよい。図5は図2に示した動画データのフレー
ムバッファ25への書き込み、およびフレームバッファ
25からの動画データの読みだし制御の詳細ブロック図
である。なお、図1および図2と同一部には同符号を付
す。
Although the TFT color LCD is used in the above-mentioned embodiment, the STN color LCD may be used. FIG. 5 is a detailed block diagram of writing the moving image data shown in FIG. 2 into the frame buffer 25 and controlling reading of the moving image data from the frame buffer 25. The same parts as those in FIGS. 1 and 2 are designated by the same reference numerals.

【0026】表示領域およびライト用FIFO制御部4
9は動画制御レジスタ51からの制御情報にもとずいて
表示領域の制御ならびにライト用FIFO53を制御す
る。拡大・縮小およびリード用FIFO制御部55は動
画制御レジスタ51からの制御情報にもとずいて動画デ
ータの拡大・縮小およびリード用FIFO57の制御を
行う。重ね合わせ制御部59は、動画制御レジスタ51
からの制御情報にもとずいて、リード用FIFO57か
ら読みだされた動画データと、RAM39から読みださ
れた表示データを重ね合わせて混在表示を行うようにマ
ルチプレクサ41の切り替えタイミングを制御する。R
AMDAC制御回路61はパレット39を用いてCRT
制御回路63から出力される8ビットデータ(P7−
0)をRGB各6ビットデータに変換する。DAC47
はマルチプレクサ41から出力される動画データまたは
表示データをRGBの各アナログ信号に変換する。
Display area and write FIFO controller 4
Reference numeral 9 controls the display area and the write FIFO 53 based on the control information from the moving picture control register 51. The enlargement / reduction and read FIFO control unit 55 controls the enlargement / reduction of the moving image data and the read FIFO 57 based on the control information from the moving image control register 51. The superposition control unit 59 uses the moving image control register 51.
Based on the control information from, the switching timing of the multiplexer 41 is controlled so that the moving image data read from the read FIFO 57 and the display data read from the RAM 39 are overlapped and mixed display is performed. R
The AMDAC control circuit 61 uses the pallet 39 for the CRT.
8-bit data (P7-
0) is converted to RGB 6-bit data. DAC47
Converts the video data or display data output from the multiplexer 41 into RGB analog signals.

【0027】この実施例では、CPUバス9から出力さ
れる伸張された動画データを縦横に拡大または縮小し、
画面の任意の位置に表示することができる。動画データ
は、例えば360x240ドット、60フレーム/sの
画像データである。データ幅は16ビットで65、53
6色表示が可能である。縮小/拡大は縦横独立に1/6
4単位で行い、最大1024x512ドットまでの範囲
に表示できる。
In this embodiment, the expanded moving image data output from the CPU bus 9 is enlarged or reduced vertically and horizontally,
It can be displayed at any position on the screen. The moving image data is, for example, image data of 360 × 240 dots and 60 frames / s. Data width is 16 bits, 65, 53
6-color display is possible. Reduction / enlargement is 1/6 vertically and horizontally
It is performed in units of 4 and can be displayed in a range of up to 1024x512 dots.

【0028】動画データはフレームバッファ25にライ
トされる。フレームバッファから表示する領域(これは
動画制御レジスタ51により定義する)に応じてリード
し、ビデオメモリからの表示データと合成してビデオD
ACに入力される。
The moving image data is written in the frame buffer 25. The video D is read according to the area to be displayed from the frame buffer (this is defined by the moving picture control register 51), and is combined with the display data from the video memory.
Input to AC.

【0029】フレームバファ25へのメモリアクセスは
16ビットで1画素アクセスになる。動画データの表示
サイズは、スタートX方向/スタートY方向レジスタお
よびサイズX/サイズYレジスタにより決まりフレーム
バッファ25にライトされる。フレームバッファ25へ
のライトを止めることにより、動画表示を静止すること
ができる。
The memory access to the frame buffer 25 is one pixel access with 16 bits. The display size of the moving image data is determined by the start X direction / start Y direction register and the size X / size Y register and is written in the frame buffer 25. By stopping the writing to the frame buffer 25, the moving image display can be stopped.

【0030】フレームバッファ25に書き込むデータは
16ビットで構成される。この場合、Redデータおよ
ぶBlueデータは5ビットで、Greenデータは6
ビットで構成される。図6に動画データの構成を示す。
The data to be written in the frame buffer 25 is composed of 16 bits. In this case, Red data and Blue data are 5 bits, and Green data is 6 bits.
Composed of bits. FIG. 6 shows the structure of moving image data.

【0031】動画データを格納するフレームバッファ2
5は図5に示すビデオメモリ(256Kx16)67の
内1350Kビット(360x240x16ビット)が
使用される。図7にフレームバッファ25のメモリ構成
を示す。
Frame buffer 2 for storing moving image data
5 uses 1350K bits (360x240x16 bits) of the video memory (256Kx16) 67 shown in Fig. 5. FIG. 7 shows the memory configuration of the frame buffer 25.

【0032】動画データをリアルタイムで表示するため
には、CPUバス9からの動画データをそのままフレー
ムバッファ25にライトし、画面(VGA)を表示する
時間内に、フレームバッファ25から360x240ド
ットx16ビット/画素の動画データをリードする必要
がある。フレームバッファ25からの動画データリード
は、縮小処理を行うためライン単位に行う。
In order to display the moving image data in real time, the moving image data from the CPU bus 9 is written to the frame buffer 25 as it is, and 360 × 240 dots × 16 bits / bit from the frame buffer 25 within the time for displaying the screen (VGA). It is necessary to read the moving image data of the pixel. The moving image data read from the frame buffer 25 is performed in line units for the reduction processing.

【0033】1ライン表示時間(水平周期)の内、動画
リード時間(360ドットx16ビット)とリフレッシ
ュ時間を除いた時間が、動画データのライトに割り当て
られる。
Of the one-line display time (horizontal period), the time excluding the moving picture read time (360 dots × 16 bits) and the refresh time is assigned to the writing of the moving picture data.

【0034】動画データライトでは、CPUバス9から
の動画データをライト用FIFO(8ドット:8x16
ドット)(後述)に蓄え、フレームバッファ25から動
画データをリードしている間にライト用FIFOがいっ
ぱいになったらフレームバッファ25にライトする。C
PUバスから動画データを途切れることなく最短2画面
(VGA)表示する時間でライトを完了する。図8に動
画データのリード/ライト(30フレーム/s)のタイ
ミングを示す。
In the moving picture data write, the moving picture data from the CPU bus 9 is written in a write FIFO (8 dots: 8 × 16).
Dots) (described later), and when the write FIFO becomes full while the moving image data is being read from the frame buffer 25, the data is written to the frame buffer 25. C
The writing is completed in the shortest time to display two screens (VGA) from the PU bus without interruption. FIG. 8 shows the timing of read / write of moving image data (30 frames / s).

【0035】動画データリードでは、1ライン毎のデー
タがリード用FIFO(360ドット:360x16ビ
ット)(後述)に格納される。表示する動画データの範
囲を水平/垂直表示スタートレジスタおよび水平/垂直
表示エンドレジスタにより定義し、決められた重ね合わ
せの範囲に表示する。動画データの縮小および拡大は、
水平および垂直方向共独立にCPUバス9から出力され
る動画データの1/64単位に行われる。水平および垂
直方向の縮小/拡大スケールは水平スケールレジスタお
よび垂直スケールレジスタに設定される。表示しようと
する範囲が、動画データメモリ内の動画データ範囲より
小さい場合は縮小、大きい場合は、拡大になる。
In moving image data reading, data for each line is stored in a read FIFO (360 dots: 360 × 16 bits) (described later). The range of moving image data to be displayed is defined by the horizontal / vertical display start register and the horizontal / vertical display end register, and is displayed in the determined overlapping range. To reduce or expand video data,
This is performed in units of 1/64 of moving image data output from the CPU bus 9 independently in the horizontal and vertical directions. Horizontal / vertical reduction / enlargement scales are set in the horizontal and vertical scale registers. If the range to be displayed is smaller than the range of moving image data in the moving image data memory, it is reduced, and if it is large, it is enlarged.

【0036】表示範囲の縮小は、リードし貯めてあるリ
ード用FIFOのデータに対し水平方向はある表示ドッ
トを、垂直方向はある表示ラインを間引いて出力する。
図9に縮小処理における動画データリードの概念図を示
す。
The display range is reduced by thinning out certain display dots in the horizontal direction and certain display lines in the vertical direction with respect to the read and stored read FIFO data.
FIG. 9 shows a conceptual diagram of moving image data read in the reduction processing.

【0037】表示範囲の拡大は、同様に、水平方向はあ
る表示ドットを、垂直方向はある表示ラインを挿入す
る。データの挿入方法は、単純に直前のデータを再スキ
ャンする方法と前後のデータの中間階調を計算して挿入
する。図10に拡大処理における中間階調挿入の概念図
を示す。前後のデータ差によっては縞のように表示され
ることがあり、中間階調を挿入することにより滑らかな
変化を実現できる。動画モードレジスタのビット1を設
定することにより中間階調挿入モードとなる。動画デー
タの重ね合わせは、ウインドウとカラーキー領域の組合
せで決められる範囲に行う。いずれの範囲に重ね合わせ
て表示するかを、動画モードレジスタのビット5ー2で
選択する。ウインドウは、水平/垂直領域スタートレジ
スタおよび水平/垂直エンドレジスタにより定義され
る。カラーキー領域は、、カラー比較レジスタの設定値
とカラーデータ(カラールックアップテーブル選択)を
比較し、全ビットが一致した場合を示す。図11に重ね
合わせの位置を示す概念図を示す。水平表示スタート/
エンドレジスタおよび垂直表示スタート/エンドレジス
タで決められた表示範囲に対して上記で決められた範囲
が一致していない場合、その場所の重ね合わせは無視さ
れる。動画データの開始位置は、スタートアドレスレジ
スタ値により決定される。
Similarly, for expanding the display range, a certain display dot is inserted in the horizontal direction and a certain display line is inserted in the vertical direction. As the data insertion method, a method of simply rescanning the immediately preceding data and a method of calculating the halftone of the preceding and following data and inserting the data are inserted. FIG. 10 shows a conceptual diagram of halftone insertion in the enlargement processing. It may be displayed like a stripe depending on the difference in data before and after, and a smooth change can be realized by inserting an intermediate gradation. The halftone insertion mode is set by setting bit 1 of the moving image mode register. Superimposition of moving image data is performed within the range determined by the combination of the window and the color key area. Which range is to be superimposed and displayed is selected by bit 5-2 of the moving image mode register. The window is defined by the horizontal / vertical region start register and the horizontal / vertical end register. The color key area indicates a case where the setting value of the color comparison register is compared with the color data (color lookup table selection) and all the bits match. FIG. 11 is a conceptual diagram showing the position of superposition. Horizontal display start /
If the range determined above does not match the display range determined by the end register and the vertical display start / end register, the superposition of that location is ignored. The start position of the moving image data is determined by the start address register value.

【0038】動画データを水平および垂直方向にパニン
グすることができる。パニングに必要なカラムアドレス
およびロウアドレスを水平パニングおよび垂直パニング
レジスタに設定する。
The moving image data can be panned in the horizontal and vertical directions. Set the column and row addresses required for panning in the horizontal panning and vertical panning registers.

【0039】ビデオDACのカラールックアップテーブ
ルから出力される18ビットのRGBデータとフレーム
バッファから読みだされた16ビットの動画データの重
ね合わせは、動画データのRGBをRGBデータのMS
Bに合わせて行う。動画データのRデータおよびBデー
タの最下位ビットには”0”が挿入される。図12にR
GBデータと動画データの重ね合わせの概念図を示す。 1.動画モードレジスタ D7:動画データ入力 0:デコーダ 1:CPU D6:動画表示の静止 0:静止しない 1:静止 D5−D2:重ね合わせの範囲 0:VGA 1:動画
データ VGA画面と動画データを表示する範囲を選択する。
For superimposing the 18-bit RGB data output from the color look-up table of the video DAC and the 16-bit moving image data read from the frame buffer, the RGB of the moving image data is converted to the RGB data MS.
Perform according to B. "0" is inserted in the least significant bit of the R data and B data of the moving image data. R in Figure 12
The conceptual diagram of superimposing GB data and moving image data is shown. 1. Video mode register D7: Video data input 0: Decoder 1: CPU D6: Video display still 0: Not still 1: Still D5-D2: Overlay range 0: VGA 1: Video data VGA screen and video data are displayed Select a range.

【0040】OVL3 カラーキー領域内、ウインドウ
内(F3) OVL2 カラーキー領域内、ウインドウ外(F2) OVL1 カラーキー領域外、ウインドウ内(F1) OVL0 カラーキー領域外、ウインドウ外(F0) D1:中間階調挿入 0:不可 1:可 D0:表示イネーブル 0:不可 1:可 2.水平表示スタートレジスタ D7−D0:水平表示スタート 表示する水平方向の始まりを設定する。水平表示スター
ト/エンドレジスタおよび垂直表示スタート/エンドレ
ジスタで定義された範囲に表示する。設定値は、水平同
期信号(LPC)の立ち下がりからピクセルクロック数
分、0−1023の範囲で水平表示エンドレジスタの値
より小さくなければならない。 3.水平表示エンドレジスタ D7−D0:水平表示エンド 表示する水平方向の終わりを設定する。設定値は、水平
同期信号(LPC)の立ち下がりからピクセルクロック
数分、0ー1023の範囲。 4.垂直表示スタートレジスタ D7−D0:垂直表示スタート 表示できる垂直方向の始まりを設定する。設定値は、垂
直同期信号(FPC)の立ち下がりからピクセルクロッ
ク数分、0ー511の範囲で垂直表示エンドレジスタの
値より小さくなければならない。 5.垂直表示エンドレジスタ D7−D0:垂直表示エンド 表示できる垂直方向の終わりを設定する。設定値は、垂
直同期信号(FPC)の立ち下がりからピクセルクロッ
ク数分、0ー511の範囲で設定する。 6.スタートアドレスレジスタ(High) D7:スタートX方向のビット8 D6:サイズXのビット9 D5:サイズXのビット8 D4:サイズYのビット8 D3:水平トータルドット数のビット9 D2:水平トータルドット数のビット8 D1:垂直トータルドット数のビット8 D0:表示開始アドレス 動画データフレームバファのリニアアドレス(16ビッ
ト)を設定する。 7.スタートアドレスレジスタ(Middle) D7−D0:表示開始アドレス 動画データフレームバッファのリニアアドレスを設定す
る。 8.スタートアドレスレジスタ(Low) D7−D0:表示開始アドレス 動画データフレームバッファのリニアアドレスを設定す
る。 9.水平領域スタートレジスタ D7−D0:水平領域スタート ウインドウの水平方向の始まりを設定する。水平領域ス
タート/エンドレジスタおよび垂直スタート/エンドレ
ジスタで定義された範囲に表示する。設定値は、水平同
期信号(LPC)の立ち下がりからピクセルクロック数
分、0ー1023の範囲で水平領域エンドレジスタの値
より小さくなければならない。 10.水平領域エンドレジスタ D7−D0:水平領域エンド ウインドウの水平方向の終わりを設定する。設定値は、
水平同期信号(LPC)の立ち下がりからピクセルクロ
ック数分、0ー1023の範囲に設定する。 11.垂直領域スタートレジスタ D7−D0:垂直領域スタート ウインドウの垂直方向の始まりを設定する。設定値は、
垂直同期信号(FPC)の立ち下がりからピクセルクロ
ック数分、0ー511の範囲で垂直領域エンドレジスタ
の値より小さくなければならない。 12.垂直領域エンドレジスタ D7−D0:垂直領域エンド ウインドウの垂直方向の終わりを設定する。設定値は、
垂直同期信号(FPC)の立ち下がりからピクセルクロ
ック数分、0ー511の範囲である。 13.オーバフローレジスタ0 D7ーD6:未使用 D5:水平表示スタートのビット9 D4:水平表示スタートのビット8 D3:水平表示エンドのビット9 D2:水平表示エンドのビット8 D1:垂直表示スタートのビット8 D0:垂直表示エンドのビット8 14.オーバフローレジスタ1 D7:未使用 D6:水平パニングのビット8 D5:水平領域スタートのビット9 D4:水平領域スタートのビット8 D3:水平領域エンドのビット9 D2:水平領域エンドのビット8 D1:垂直領域スタートのビット8 D0:垂直領域エンドのビット8 15.水平スケールレジスタ D7−D6:水平方向のズーム倍率 HZ1 HZ0 機能 0 0 ズームしない 0 1 2倍 1 0 4倍 1 1 8倍 但し、ズームした表示領域が最大表示領域(1024x
512)を越える場合は、設定が無効となる。
OVL3 color key area, window (F3) OVL2 color key area, window outside (F2) OVL1 color key area outside, window (F1) OVL0 color key area outside, window outside (F0) D1: intermediate Gradation insertion 0: Impossible 1: Acceptable D0: Display enable 0: Impossible 1: Acceptable 2. Horizontal display start register D7-D0: Horizontal display start Sets the horizontal display start. Display in the range defined by the horizontal display start / end register and vertical display start / end register. The set value must be smaller than the value of the horizontal display end register in the range of 0-1023 by the number of pixel clocks from the fall of the horizontal sync signal (LPC). 3. Horizontal display end register D7-D0: Horizontal display end Set the horizontal display end. The setting value is in the range of 0-1023 from the falling edge of the horizontal sync signal (LPC) by the number of pixel clocks. 4. Vertical display start register D7-D0: Vertical display start Set the vertical display start. The set value must be smaller than the value of the vertical display end register in the range of 0 to 511, which is the number of pixel clocks from the fall of the vertical synchronizing signal (FPC). 5. Vertical display end register D7-D0: Vertical display end Set the vertical end that can be displayed. The set value is set within the range of 0 to 511, which is the number of pixel clocks from the fall of the vertical synchronization signal (FPC). 6. Start address register (High) D7: Start X direction bit 8 D6: Size X bit 9 D5: Size X bit 8 D4: Size Y bit 8 D3: Horizontal total dot number 9 D2: Horizontal total dot number Bit 8 D1: Vertical total dot number bit 8 D0: Display start address Set the linear address (16 bits) of the video data frame buffer. 7. Start address register (Middle) D7-D0: Display start address Set the linear address of the video data frame buffer. 8. Start address register (Low) D7-D0: Display start address Set the linear address of the video data frame buffer. 9. Horizontal area start register D7-D0: Horizontal area start register Set the horizontal start of the window. Display in the range defined by the horizontal start / end register and vertical start / end register. The set value must be smaller than the value of the horizontal area end register in the range of 0-1023 by the number of pixel clocks from the fall of the horizontal synchronizing signal (LPC). 10. Horizontal area end register D7-D0: Horizontal area end Set the horizontal end of the window. The setting value is
The number of pixel clocks is set to the range of 0 to 1023 from the trailing edge of the horizontal synchronizing signal (LPC). 11. Vertical area start register D7-D0: Vertical area start register Set the vertical start of the window. The setting value is
It must be smaller than the value of the vertical area end register in the range of 0 to 511, which is the number of pixel clocks from the fall of the vertical synchronizing signal (FPC). 12. Vertical area end register D7-D0: Vertical area end Set the vertical end of the window. The setting value is
The range is 0 to 511, which is the number of pixel clocks from the fall of the vertical synchronization signal (FPC). 13. Overflow register 0 D7-D6: Not used D5: Horizontal display start bit 9 D4: Horizontal display start bit 8 D3: Horizontal display end bit 9 D2: Horizontal display end bit 8 D1: Vertical display start bit 8 D0 : Vertical display end bit 8 14. Overflow register 1 D7: Unused D6: Horizontal panning bit 8 D5: Horizontal area start bit 9 D4: Horizontal area start bit 8 D3: Horizontal area end bit 9 D2: Horizontal area end bit 8 D1: Vertical area Start bit 8 D0: Vertical area end bit 8 15. Horizontal scale register D7-D6: Horizontal zoom ratio HZ1 HZ0 Function 0 0 No zoom 0 1 2 times 1 0 4 times 1 1 8 times However, the zoomed display area is the maximum display area (1024x
If it exceeds 512), the setting becomes invalid.

【0041】D5−D0:水平方向のスケール フレームバッファに格納されている動画データに対して
縮小/拡大の水平方向スケール/64ドットを設定す
る。設定値は1ー63の範囲。0を設定した場合、およ
び2、4、8倍のズーム率で1ー31を設定した場合、
縮小/拡大を行わない。拡大の場合は、HZ1−0と組
み合わせて倍率を設定する。 HZ1−0 HSL5−0(D5−D0) 倍率 単位 X X 0 1 − 0 0 X 1 − 0 0 1ー63 1/64ー63/64 1/64 0 1 32ー63 1ー2倍 1/32 1 0 32−63 2ー4倍 1/16 1 1 32ー63 4ー8倍 1/8 16.垂直スケールレジスタ D7−D6:垂直方向のズーム倍率 VZ1 VZ0 機能 0 0 ズームしない 0 1 2倍 1 0 4倍 1 1 8倍 但し、ズームした表示領域が最大表示領域(1024x
512)を越える場合は、設定が無効となります。
D5-D0: Horizontal scale Set horizontal scale / 64 dots for reduction / enlargement for moving image data stored in the frame buffer. The set value is in the range of 1-63. When 0 is set and when 1 to 31 is set at a zoom ratio of 2, 4, or 8 times,
Do not reduce / enlarge. In the case of enlargement, the magnification is set in combination with HZ1-0. HZ1-0 HSL5-0 (D5-D0) Magnification unit X X 0 1 -0 0 X 1 -0 0 1-63 1 / 64-63 / 64 1/64 0 1 32-63 1-2 times 1/32 1 0 32-63 2-4 times 1/16 1 1 32-63 4-8 times 1/8 16. Vertical scale register D7-D6: Vertical zoom ratio VZ1 VZ0 Function 0 0 No zoom 0 1 2 times 1 0 4 times 1 1 8 times However, the zoomed display area is the maximum display area (1024x
If it exceeds 512), the setting becomes invalid.

【0042】D5−D0:垂直方向のスケール 動画データメモリに格納されされている動画データに対
して縮小/拡大の垂直方向スケール/64ラインを設定
する。設定値は1ー63の範囲。0を設定した場合、お
よび2、4、8倍のズーム倍率で1ー31を設定した場
合、縮小/拡大を行わない。 17.カラー比較レジスタ D7−D0:カラー比較 カラーデータ(カラールックアップテーブル選択)とC
MP7−0(D7−D0)との比較を行う。全ビットが
等しい場合にカラーキー領域として定義される。 18.カラーマスクレジスタ D7−D0:カラーデータの有効/無効 0:有効
1:無効 有効の場合、カラーデータの値がカラー比較レジスタ値
と比較される。無効の場合、カラーデータの値に係わら
ず、比較結果が等しいものとする。 19.水平パニングレジスタ D7−D0:水平パニングカラムアドレス 0ー359の範囲で設定する。 20.垂直パニングレジスタ D7−D0:垂直パニングカラムアドレス 0ー239の範囲で設定する。 21.一般制御レジスタ D7−D3:未使用(=”0”) D2:動画表示イネーブル信号 0:入力 1:出力 D1:垂直同期極性 0:正極性 1:負極性 D0:水平同期極性 0:正極性 1:負極性 図13はCPUバス9からの動画データを受取り、動画
データ用フレームバッファ25に書き込むための制御回
路を示す回路図である。
D5-D0: Vertical scale Scale for vertical / downscale / 64 lines is set for the moving image data stored in the moving image data memory. The set value is in the range of 1-63. If 0 is set, and if 1-31 is set at a zoom magnification of 2, 4, or 8, no reduction / enlargement is performed. 17. Color comparison register D7-D0: Color comparison color data (color lookup table selection) and C
Comparison with MP7-0 (D7-D0) is performed. It is defined as a color key area when all bits are equal. 18. Color mask register D7-D0: Valid / invalid of color data 0: Valid
1: Invalid When valid, the color data value is compared with the color comparison register value. When invalid, the comparison result is the same regardless of the value of the color data. 19. Horizontal panning register D7-D0: Horizontal panning column address Set in the range of 0-359. 20. Vertical panning register D7-D0: Vertical panning column address Set in the range of 0-239. 21. General control register D7-D3: Unused (= "0") D2: Video display enable signal 0: Input 1: Output D1: Vertical sync polarity 0: Positive polarity 1: Negative polarity D0: Horizontal synchronization polarity 0: Positive polarity 1 Negative polarity FIG. 13 is a circuit diagram showing a control circuit for receiving moving image data from the CPU bus 9 and writing it in the moving image data frame buffer 25.

【0043】この実施例によれば、動画データのサイズ
やスタート位置などを示したパラメータレジスタ群をも
とにしCPUバス9から動画データを受取り、一時保持
する書き込み用FIFO53によりCPUバス9から受
け取る速度と動画データ用フレームバッファに書き込む
速度を調整し、リアルタイムに動画データ用フレームバ
ッファに書き込む。さらに動画データ用フレームバッフ
ァ25から読みだす速度と表示する速度の調整および動
画データ用フレームバッファ25から読みだしたデータ
を拡大縮小するために読みだし用FIFO57を有し、
拡大縮小してもリアルタイムに動画データを表示する。
According to this embodiment, the speed at which moving image data is received from the CPU bus 9 based on the parameter register group indicating the size and start position of the moving image data, and is received from the CPU bus 9 by the write FIFO 53 that is temporarily held. And adjust the writing speed to the frame buffer for moving image data, and write in the frame buffer for moving image data in real time. Further, it has a reading FIFO 57 for adjusting the speed of reading from the moving image data frame buffer 25 and the display speed and enlarging or reducing the data read from the moving image data frame buffer 25.
Video data is displayed in real time even if it is scaled up or down.

【0044】図13においてレジスタ群71はビデオデ
ータからの動画データを保持し、後述するカウンタ73
からのカウント値により順番に格納する。カウンタ73
はレジスタ群71のうち、動画データを保持すべきレジ
スタを選択する。カウンタ75はレジスタ群71の値を
出力するためマルチプレクサ77により順次選択する。
分周回路79はメモリクロックを入力として2分周およ
び16分周の制御クロックを出力する。マルチプレクサ
77はレジスタ群71からカウンタ75の出力値に従っ
て選択する。動画制御レジスタ51は動画データの各形
式を保持する。領域制御回路49は動画制御レジスタ5
1の値に従って動画データの表示領域を制御する。メモ
リ制御回路65は動画制御レジスタ51の値に従って動
画データ用フレームバッファ25のアドレス等を制御す
る。フレームバッファメモリ25は動画データを格納す
るフレームバッファ機能を有する。
In FIG. 13, a register group 71 holds moving image data from video data, and a counter 73 described later.
The count values from are stored in order. Counter 73
Selects a register that should hold moving image data from the register group 71. The counter 75 sequentially selects the values of the register group 71 by the multiplexer 77.
The frequency divider circuit 79 receives the memory clock as an input and outputs a control clock of frequency division by 2 and frequency division by 16. The multiplexer 77 selects from the register group 71 according to the output value of the counter 75. The moving picture control register 51 holds each format of moving picture data. The area control circuit 49 is the moving picture control register 5
The display area of the moving image data is controlled according to the value of 1. The memory control circuit 65 controls the address and the like of the moving picture data frame buffer 25 according to the value of the moving picture control register 51. The frame buffer memory 25 has a frame buffer function of storing moving image data.

【0045】図14は動画データ用フレームバッファ2
5からのデータを読みだし、拡大縮小処理を行うための
制御回路を示す回路図である。レジスタ群81は動画デ
ータ用フレームバッファ25からのデータを保持し、カ
ウンタ83により順番に格納していく。カウンタ83は
レジスタ群81のうち、データを保持するレジスタを選
択する。カウンタ85はレジスタ群81の値を出力する
ためマルチプレクサ87により順次選択する。マルチプ
レクサ87はレジスタ群81からカウンタ85の値に従
って選択する。拡大/縮小回路55は動画制御レジスタ
51の値に従って拡大縮小処理を行う。動画制御レジス
タ51は動画データの各形式を保持する。重ね合わせ制
御回路59はマルチプレクサ87の出力とVGAビデオ
出力とを重ね合わせる。
FIG. 14 shows a frame buffer 2 for moving image data.
5 is a circuit diagram showing a control circuit for reading out data from No. 5 and performing enlargement / reduction processing. FIG. The register group 81 holds the data from the moving image data frame buffer 25 and sequentially stores the data by the counter 83. The counter 83 selects a register holding data from the register group 81. The counter 85 sequentially selects the values of the register group 81 by the multiplexer 87 in order to output them. The multiplexer 87 selects from the register group 81 according to the value of the counter 85. The enlargement / reduction circuit 55 performs enlargement / reduction processing according to the value of the moving image control register 51. The moving picture control register 51 holds each format of moving picture data. The superposition control circuit 59 superimposes the output of the multiplexer 87 and the VGA video output.

【0046】図15は図13および14に示す各制御回
路の動作を示す波形図であり、書き込み用FIFOの波
形図、メモリライト時の波形図、メモリリード時の波形
図、およびリード用FIFOの波形図から成る。
FIG. 15 is a waveform diagram showing the operation of each control circuit shown in FIGS. 13 and 14. The waveform diagram of the write FIFO, the waveform diagram of the memory write, the waveform diagram of the memory read, and the read FIFO are shown. Consists of waveform diagrams.

【0047】いま、動画データの形式を16ビット/ピ
クセル、水平x垂直解像度x周波数が360ドットx2
40ドットx30Hzの場合で説明する。レジスタ群7
1は16ビットx8個のラッチで構成され、8ピクセル
分の動画データを保持できる。ビデオデコーダからの動
画データが入ってくると、8進カウンタ73はピクセル
毎にカウントアップする。カウンタのクロックはメモリ
クロックを16分周したものである。領域制御回路49
は動画制御レジスタ51に設定されている動画データの
サイズ、スタート位置の値から表示すべき領域を決め、
カウンタのイネーブル信号を出力する。このカウンタ値
に従って、順次レジスタ群71に動画データが保持され
る。レジスタ群71が8個全部いっぱいになると、動画
データ用フレームバッファ25に書き込むためにレジス
タ群71からマルチプレクサ77を用いて順次出力す
る。このため、8進カウンタ75が用いられる。カウン
タ75のクロックは、メモリクロックを2分周したもの
であり、カウンタ73の8倍の速さで動作する。フレー
ムバッファ25への書き込みは、メモリクロック2クロ
ックで行われ、そのタイミングはメモリ制御回路65に
より生成される。従って、レジスタ群71から取り出す
速度とフレームバッファ25へ書き込む速度は、同じで
あり、レジスタ群71にCPUバス9からから8ピクセ
ル保持する時の第8ピクセル保持時に8ピクセル分の動
画データはフレームバッファ25に送られることにな
る。
Now, the moving image data format is 16 bits / pixel, horizontal x vertical resolution x frequency is 360 dots x 2
A case of 40 dots × 30 Hz will be described. Register group 7
1 is composed of 16 bits × 8 latches and can hold moving image data for 8 pixels. When the moving image data from the video decoder comes in, the octal counter 73 counts up for each pixel. The clock of the counter is the memory clock divided by 16. Area control circuit 49
Determines the area to be displayed from the size of the moving image data set in the moving image control register 51 and the value of the start position,
Output the enable signal of the counter. According to this counter value, the moving image data is sequentially held in the register group 71. When all eight register groups 71 are full, the register groups 71 sequentially output the data in order to write to the frame buffer 25 for moving image data using the multiplexer 77. Therefore, the octal counter 75 is used. The clock of the counter 75 is a memory clock divided by 2, and operates at a speed eight times that of the counter 73. Writing to the frame buffer 25 is performed with two memory clocks, and the timing is generated by the memory control circuit 65. Therefore, the speed of taking out from the register group 71 and the speed of writing to the frame buffer 25 are the same, and when holding 8 pixels from the CPU bus 9 in the register group 71, moving image data for 8 pixels is stored in the frame buffer. 25 will be sent.

【0048】この時点で、動画データの動き速度を損な
うことなく、フレームバッファ25に格納できている。
次に、フレームバッファ25に格納されたデータをフレ
ームバッファ25への動画データ書き込みの間隙に読み
だす。読みだす制御はメモリ制御回路65により行われ
る。フレームバッファ25への書き込みは、図15のメ
モリライトが”H”の時であり、よってそれ以外の時は
読みだし時間として使用できる。読みだし時間は図15
のメモリリードが”H”の時である。図15に示すよう
に、動画データを56ドット分書き込む間に360ドッ
ト分の動画データが読みだされる。この時間に読みださ
れたデータはレジスタ群81に保持される。レジスタ群
81は16ビットx360個構成である。すなわち、拡
大縮小処理のため1ライン分用意されている。このレジ
スタ群81への保持は360進カウンタ83により順次
行われる。このカウンタクロックは、メモリクロックを
2分周したものである。レジスタ群81は1ライン分で
いっぱいになり、表示するためにマルチプレクサ87を
用いて順次出力する。このために、360進カウンタ8
5が用いられる。カウンタ85のクロックは表示用のピ
クセルクロックを使用する。また、拡大縮小処理を行う
ために、拡大/縮小処理回路55によりカウンタ85の
イネーブル信号が出力される。拡大/縮小処理回路55
は、動画制御レジスタ51に設定されている水平および
垂直のスケール率をもとに拡大の処理の場合は、カウン
タを止めて複数回スキャンを行い、縮小処理の場合は、
カウンタを飛ばして間引いてスキャンを行う。マルチプ
レクサ87から出力された動画データは、重ね合わせ制
御回路59によりVGAビデオ出力と合成される。合成
されたビデオ出力はビデオDACの入力となり、アナロ
グデータに変換されてCRT等の外部表示装置に入力さ
れる。
At this time, the moving image data can be stored in the frame buffer 25 without impairing the moving speed.
Next, the data stored in the frame buffer 25 is read in the gap for writing the moving image data in the frame buffer 25. The read control is performed by the memory control circuit 65. Writing to the frame buffer 25 is performed when the memory write in FIG. 15 is "H", and therefore can be used as the read time at other times. Figure 15 shows the read time.
The memory read of is "H". As shown in FIG. 15, while writing 56 dots of moving image data, 360 dots of moving image data are read out. The data read at this time is held in the register group 81. The register group 81 has a structure of 16 bits × 360 pieces. That is, one line is prepared for the enlargement / reduction processing. The holding in the register group 81 is sequentially performed by the 360-ary counter 83. This counter clock is a memory clock divided by two. The register group 81 is filled up by one line, and sequentially output using the multiplexer 87 for display. For this purpose, a 360-base counter 8
5 is used. The clock of the counter 85 uses the pixel clock for display. Further, in order to perform the enlargement / reduction processing, the enlargement / reduction processing circuit 55 outputs the enable signal of the counter 85. Enlargement / reduction processing circuit 55
In the case of enlargement processing based on the horizontal and vertical scale ratios set in the moving image control register 51, the counter is stopped and scanning is performed a plurality of times, and in the case of reduction processing,
Scanning is performed by skipping the counter and thinning it out. The moving image data output from the multiplexer 87 is combined with the VGA video output by the superposition control circuit 59. The combined video output becomes an input of the video DAC, is converted into analog data, and is input to an external display device such as a CRT.

【0049】図16は図14に示す拡大/縮小処理回路
55の詳細ブロック図で有る。図16において演算器1
71は、縮小処理における基本ドット数である64ドッ
トと、水平スケールレジスタ173にセットされた水平
方向表示ドット数との演算を行う。水平スケールレジス
タ173には64ドットのうち何ドト表示したいかが設
定される。32進カウンタ175のD入力端子には初期
値”1”が印加され、図17に示すピクセルクロック信
号に同期して図17の32進カウンタに示すようにカウ
ントを行う。32進カウンタ175は後述する360進
カウンタ85のロード信号を生成する。演算器171の
出力はー1回路172によりー1されて比較器171の
A入力端子に供給される。さらに、比較器171のB入
力端子には32進カウンタ175からのQ出力が印加さ
れる。比較器177はA、Bの入力を比較し、一致した
ときその値をマルチプレクサ179に出力する。比較器
181は、A入力に印加される水平スケール値と定数”
32”とを比較する。比較器181は縮小率が1/2以
下かどうか判断している。これは、縮小率が1/2以下
の場合、欠落させるデータよりも表示するデータの方が
少ないので表示するデータを得るようにするためであ
る。なお、この詳細については後述する。
FIG. 16 is a detailed block diagram of the enlargement / reduction processing circuit 55 shown in FIG. In FIG. 16, the arithmetic unit 1
Reference numeral 71 calculates the basic dot number of 64 dots in the reduction processing and the horizontal display dot number set in the horizontal scale register 173. In the horizontal scale register 173, how many dots of 64 dots are desired to be displayed is set. The initial value "1" is applied to the D input terminal of the 32-ary counter 175, and counting is performed in synchronization with the pixel clock signal shown in FIG. 17, as shown by the 32-ary counter in FIG. The 32-ary counter 175 generates a load signal for the 360-ary counter 85, which will be described later. The output of the arithmetic unit 171 is -1 by the -1 circuit 172 and supplied to the A input terminal of the comparator 171. Further, the Q output from the 32-ary counter 175 is applied to the B input terminal of the comparator 171. The comparator 177 compares the inputs of A and B, and when they match, outputs the value to the multiplexer 179. The comparator 181 has a horizontal scale value applied to the A input and a constant "
32 ". The comparator 181 determines whether the reduction ratio is 1/2 or less. This means that when the reduction ratio is 1/2 or less, less data is displayed than data to be deleted. This is to obtain the data to be displayed, which will be described later in detail.

【0050】比較器181はA>Bの場合に、比較器1
77の出力を、それ以外の場合に”1”をマルチプレク
サ179が選択するように、選択信号を出力する。マル
チプレクサ179からの出力はロード信号として360
進カウンタ85(図14に示すカウンタ85)に供給さ
れる。演算器185は64ドットを水平方向表示ドット
数で割り算する。演算器187は、演算器185からの
演算結果に360進カウンタ85の出力を加算する。演
算器187の出力は、360進カウンタ85のD入力端
子に供給される。360進カウンタ85は図17の36
0進カウンタRに示すようにカウントを行い、マルチプ
レクサ87(図14)の選択条件を出力する。演算器1
89は、ー1回路172からの出力(A入力)とズーム
倍率(B入力)との演算(A*B−1)を行い比較器1
91に供給する。比較器191はカウタン175からの
Q出力と演算器189からの出力との比較を行い一致が
取れると、図17に示すズーム信号を拡大制御回路19
3に出力する。拡大制御回路193はズーム信号に応答
して拡大制御を行い、図17に示すイネーブル信号をカ
ウンタ85に供給する。
If A> B, the comparator 181 compares the comparator 1
A selection signal is output so that the multiplexer 179 selects the output of 77, otherwise "1". The output from the multiplexer 179 is 360 as a load signal.
It is supplied to the advance counter 85 (counter 85 shown in FIG. 14). The calculator 185 divides 64 dots by the number of horizontal display dots. The calculator 187 adds the output of the 360-ary counter 85 to the calculation result from the calculator 185. The output of the calculator 187 is supplied to the D input terminal of the 360-ary counter 85. The 360-base counter 85 is 36 in FIG.
Counting is performed as indicated by the 0-ary counter R, and the selection condition of the multiplexer 87 (FIG. 14) is output. Calculator 1
A comparator 89 calculates (A * B-1) the output (A input) from the -1 circuit 172 and the zoom magnification (B input).
Supply to 91. The comparator 191 compares the Q output from the cow 175 with the output from the calculator 189, and if they match, the zoom signal shown in FIG.
Output to 3. The enlargement control circuit 193 performs enlargement control in response to the zoom signal, and supplies the enable signal shown in FIG. 17 to the counter 85.

【0051】図18は図16に示す拡大制御回路の詳細
回路図である。図18において、ピクセルクロックを2
分周、4分周、8分周したものがそれぞれANDゲート
195、197、199に供給される。さらに水平スケ
ールレジスタの7ビットの値がANDゲート195、1
97、199に供給される。この実施例では、ビット
6、7が”01”の時、1ー2倍、”10”の時2ー4
倍、”11”のとき4ー8倍の各倍率となり、ビット0
からビット5の6ビットにより32ー63の値(1ー2
倍のときは1/64単位、2ー4倍のときは1/16単
位、4ー8倍のときは1/8単位)が定義される。各A
NDゲート195、197、199の出力はORゲート
201によりORされて拡大イネーブル信号が作られ
る。ORゲート203は拡大イネーブル信号とズーム信
号のORを取り、ENABLE信号を生成する。
FIG. 18 is a detailed circuit diagram of the expansion control circuit shown in FIG. In FIG. 18, the pixel clock is set to 2
The frequency divided by 4, the frequency divided by 4, and the frequency divided by 8 are supplied to AND gates 195, 197, and 199, respectively. Furthermore, the 7-bit value of the horizontal scale register is AND gates 195, 1
97,199. In this embodiment, when the bits 6 and 7 are "01", they are 1-2 times, and when they are "10", they are 2-4.
If it is "11", it will be 4-8 times, and bit 0
From 6 bits of bit 5 to the value of 32-63 (1-2
1/64 unit is defined for double, 1/16 unit for 2-4 times, and 1/8 unit for 4-8 times). Each A
The outputs of the ND gates 195, 197, and 199 are ORed by the OR gate 201 to generate the expansion enable signal. The OR gate 203 takes the OR of the enlargement enable signal and the zoom signal to generate the ENABLE signal.

【0052】従来、動画データまたは静止画データの水
平方向および垂直方向を縮小してある領域に表示する場
合、水平方向は水平方向のスケール値に応じてあるドッ
トを間引き、垂直方向は垂直方向のスケール値に応じて
あるラインを間引いている。この間引く方法としては、
水平方向ドット数を、水平方向ドット数から表示すべき
ドット数を間引いた値で割り、ー1した値毎に行うのが
標準的であった。(図19参照) しかし、上記の方法では、縮小率が1乃至1/2に於い
ては有効であるが、縮小率が1/2以下に下がると間引
き回数が連続になるため、連続回数を制御する別の手段
を必要とし、回路の増加になり、また、連続回数を適切
に制御しなければ特定ドットの欠落を招き、表示品質が
悪くなるなどの問題があった。
Conventionally, when displaying moving image data or still image data in a region in which the horizontal and vertical directions are reduced, certain dots are thinned out in the horizontal direction according to the scale value in the horizontal direction and vertical in the vertical direction. A line is thinned according to the scale value. As a method of thinning out,
The number of dots in the horizontal direction was divided by the value obtained by thinning the number of dots to be displayed from the number of dots in the horizontal direction, and it was standard to perform every -1 value. (Refer to FIG. 19) However, the above method is effective when the reduction ratio is 1 to 1/2, but when the reduction ratio is reduced to 1/2 or less, the number of thinning-outs becomes continuous. There is a problem that another means for controlling is required, the number of circuits is increased, and if the number of consecutive times is not properly controlled, a specific dot is lost and display quality is deteriorated.

【0053】この実施例では、任意の画面位置にフレー
ムバッファ内からのデータを縮小して表示するディスプ
レイコントローラに於いて、縮小率によって場合わけし
た縮小手段を持ち、リニアな間引き方法を行い表示品質
のよいディスプレイコントローラが得られる。
In this embodiment, a display controller for reducing and displaying data from the frame buffer at an arbitrary screen position has a reducing means which is divided according to the reduction ratio, and a linear thinning method is used to display quality. A good display controller can be obtained.

【0054】この実施例では、もとの水平方向の表示デ
ータから縮小して表示するデータを得るためにある特定
のドットを欠落させることが必要となる。水平方向表示
ドット数(水平スケール)を格納してあるパラメータレ
ジスタの出力から欠落させる割合を算出し、カウンタ値
と一致した場合に欠落させることにより定期的な欠落を
実施する。欠落させるためのイネーブル信号を出力し、
これがメモリデータ選択条件を決めるためのラインカウ
ンタのロードイネーブルとなる。メモリデータは複数の
ラッチで保持され、ライン数分のマルチプレクサにより
表示すべき(欠落しない)ドットが選択され、ビデオ出
力回路に送られる。欠落させるドットの割合を決め、ラ
インカウンタのロードイネーブル信号を生成する回路に
於いて、その縮小率を場合分けして、最適な欠落の割合
を指示し、常に等間隔的に表示ドットを示す。
In this embodiment, it is necessary to omit certain dots in order to obtain the data to be displayed by being reduced from the original horizontal display data. The dropout ratio is calculated from the output of the parameter register that stores the number of horizontal display dots (horizontal scale), and when the count value matches the count value, the dropout is performed to periodically drop. Output an enable signal to drop it,
This becomes the load enable of the line counter for determining the memory data selection condition. The memory data is held by a plurality of latches, a dot to be displayed (not missing) is selected by a multiplexer for the number of lines, and is sent to a video output circuit. In the circuit which determines the ratio of the dots to be dropped and generates the load enable signal of the line counter, the reduction ratio is divided into cases to indicate the optimal drop ratio, and the display dots are always shown at equal intervals.

【0055】図20において、動画制御レジスタ51は
水平方向の表示ドット数(水平スケール値)を設定す
る。演算器91は(A÷(A−B))−1を実行する。
演算器93はA÷Bを実行する。演算器95はA+Bを
実行する。比較器99はA=Bの場合に有効となる。
(A=Bのときに比較器99はロジック”1”を出力
し、そうでない場合に、ロジック”0”を出力する)比
較器101はA>Bの場合に有効となる。(A>Bの場
合に、比較器101はロジック’1”を出力し、そうで
ない場合に、ロジック”0”を出力する)カウンタ10
7はカウンタ109のロード信号を生成する。マルチプ
レクサ105は比較器101の出力が”0”のとき比較
器99の出力を選択し、”1”のとき、定数”1”を選
択する。カウンタ103はロード信号LDに応答して定
数”1”がセットされ、ピクセルクロック信号に同期し
てカウントを行う。カウンタ107はマルチプレクサ1
09の選択条件を出力する。レジスタ111はメモリデ
ータを保持する。マルチプレクサ109はレジスタ11
1の値を選択する。
In FIG. 20, the moving picture control register 51 sets the number of display dots in the horizontal direction (horizontal scale value). The arithmetic unit 91 executes (A ÷ (A−B)) − 1.
The arithmetic unit 93 executes A ÷ B. The arithmetic unit 95 executes A + B. The comparator 99 is effective when A = B.
(The comparator 99 outputs a logic "1" when A = B, and otherwise outputs a logic "0"). The comparator 101 is effective when A> B. (When A> B, the comparator 101 outputs logic “1”, otherwise, outputs logic “0”) Counter 10
7 generates a load signal for the counter 109. The multiplexer 105 selects the output of the comparator 99 when the output of the comparator 101 is "0", and selects the constant "1" when it is "1". The counter 103 is set with a constant "1" in response to the load signal LD, and counts in synchronization with the pixel clock signal. The counter 107 is the multiplexer 1
The selection condition of 09 is output. The register 111 holds memory data. The multiplexer 109 is the register 11
Select a value of 1.

【0056】次に、上記構成の動作ついて説明する。フ
レームバッファに格納されているデータのサイズが水平
方向360ドット、縮小率が1/4と3/4の場合につ
いて説明する。水平方向の縮小処理は64ドット単位に
行う。従って、縮小率1/4の場合は、水平方向の表示
するドット数を示すスケール値が、16ドットに設定さ
れている。縮小率が1/2以下の場合は、欠落させるデ
ータよりも表示するデータの方が少ないので表示するデ
ータを得るようにする。
Next, the operation of the above configuration will be described. A case where the size of the data stored in the frame buffer is 360 dots in the horizontal direction and the reduction rates are 1/4 and 3/4 will be described. The reduction processing in the horizontal direction is performed in units of 64 dots. Therefore, when the reduction ratio is 1/4, the scale value indicating the number of dots to be displayed in the horizontal direction is set to 16 dots. If the reduction ratio is 1/2 or less, the amount of data to be displayed is smaller than the amount of data to be omitted, so the data to be displayed is obtained.

【0057】まず動画制御レジスタ51から水平方向表
示ドット数(=16)が出力され、演算器93で64÷
16=4が出力される。また、比較器101によりA=
16とB=32の比較が行われ、この結果からマルチプ
レクサ105は”1”を選択する。従って、カウンタ1
07は常にロードイネーブル状態となり、加算器95に
より自身の出力値に演算器93の出力値”4”を加えた
値をロードする。この結果、カウンタ107の出力値
0、4、8、12、...60となりレジスタ111で
ラッチされているメモリデータの0、4、8、1
2、...60番目のデータをマルチプレクサ109で
順次選択し、ビデオ出力回路に送る。
First, the number of display dots in the horizontal direction (= 16) is output from the moving picture control register 51, and the arithmetic unit 93 outputs 64 ÷
16 = 4 is output. In addition, A =
16 and B = 32 are compared, and the multiplexer 105 selects "1" from this result. Therefore, counter 1
07 is always in the load enable state, and the adder 95 loads the output value of itself plus the output value "4" of the computing unit 93. As a result, the output values of the counter 107 are 0, 4, 8, 12 ,. . . It becomes 60, and 0, 4, 8, 1 of the memory data latched by the register 111
2 ,. . . The 60th data is sequentially selected by the multiplexer 109 and sent to the video output circuit.

【0058】縮小率3/4の場合は、動画制御レジスタ
51から水平方向ドット数(=48)が出力され、演算
器91で64÷(64ー48)ー1=3が演算されると
ともに、演算器93により64÷48=1が演算され
る。カウンタ103の出力値と演算器91の出力値(=
3)が比較器99により比較され、一致した場合にイネ
ーブル信号を生成する。比較器101によりA=48と
B=32の比較が行われ、マルチプレクサ105により
比較器99の出力が選択される。マルチプレクサ105
は0、0、1、0、0、1と定期的に出力し、加算器9
5により自身の出力値に演算器93で示された”1”を
加えた値をロードする。この結果、カウンタ107の出
力値は0、1、2、4、5、6、8、...62とな
り、レジスタ111でラッチされているメモリデータの
0、1、2、4、5、6、8、...62番目のデータ
を符号11のマルチプレクサで順次選択し、ビデオ出力
回路に送る。
When the reduction ratio is 3/4, the number of dots in the horizontal direction (= 48) is output from the moving image control register 51, and the arithmetic unit 91 calculates 64 ÷ (64−48) −1 = 3, and The arithmetic unit 93 calculates 64 ÷ 48 = 1. The output value of the counter 103 and the output value of the arithmetic unit 91 (=
3) is compared by the comparator 99, and if they match, an enable signal is generated. The comparator 101 compares A = 48 and B = 32, and the multiplexer 105 selects the output of the comparator 99. Multiplexer 105
Periodically outputs 0, 0, 1, 0, 0, 1 and the adder 9
A value obtained by adding "1" indicated by the calculator 93 to the output value of itself is loaded by 5. As a result, the output values of the counter 107 are 0, 1, 2, 4, 5, 6, 8 ,. . . 62, which is memory data 0, 1, 2, 4, 5, 6, 8 ,. . . The 62nd data is sequentially selected by the multiplexer 11 and sent to the video output circuit.

【0059】[0059]

【発明の効果】以上述べたようにこの発明によれば、ソ
フトウエアで動画を伸張するシステムにおいて、最小限
のハードウエアの追加によって画質の低下を防ぐ効果が
ある。また、従来の82750DBチップが実装された
DVIボード等を使用した場合や、特願平4ー1351
89に開示されているPBチップ等を使用して動画を表
示するシステムに比べて、安価な表示システムを提供で
きる。
As described above, according to the present invention, in a system for expanding a moving image by software, there is an effect of preventing deterioration of image quality by adding a minimum amount of hardware. In addition, when a DVI board or the like on which a conventional 82750DB chip is mounted is used, or when a Japanese Patent Application No. Hei 4-1351 is used.
An inexpensive display system can be provided as compared with the system for displaying a moving image using the PB chip or the like disclosed in 89.

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

【図1】この発明のマルチメディア表示制御システムの
全体を示すブロック図;
FIG. 1 is a block diagram showing an entire multimedia display control system of the present invention;

【図2】図1に示すマルチメディア表示制御システムの
第1の実施例を示すブロック図;
2 is a block diagram showing a first embodiment of the multimedia display control system shown in FIG. 1;

【図3】図2に示す実施例において、4ビットもしくは
8ビットのVGAグラフィックデータと、24ビットの
MPEG動画データとの混在表示を示す概念図;
FIG. 3 is a conceptual diagram showing mixed display of 4-bit or 8-bit VGA graphic data and 24-bit MPEG moving image data in the embodiment shown in FIG. 2;

【図4】図2に示す実施例において、16ビットのVG
Aグラフィックデータと、16ビットのMPEG動画デ
ータとの混在表示を示す概念図;
4 is a 16-bit VG in the embodiment shown in FIG.
A conceptual diagram showing mixed display of A graphic data and 16-bit MPEG moving image data;

【図5】図2に示した動画データのフレームバッファへ
の書き込み、およびフレームバッファからの動画データ
の読みだし制御の詳細ブロック図;
5 is a detailed block diagram of writing control of moving image data shown in FIG. 2 into a frame buffer and reading control of moving image data from the frame buffer;

【図6】動画データのビット構成を示す図;FIG. 6 is a diagram showing a bit configuration of moving image data;

【図7】フレームバッファのメモリ構成を示す図;FIG. 7 is a diagram showing a memory configuration of a frame buffer;

【図8】動画データのリード/ライトのタイミングを示
す波形図;
FIG. 8 is a waveform diagram showing the read / write timing of moving image data;

【図9】縮小処理における動画データリードの概念図;FIG. 9 is a conceptual diagram of moving image data read in reduction processing;

【図10】拡大処理における中間階調挿入の概念図;FIG. 10 is a conceptual diagram of halftone insertion in enlargement processing;

【図11】動画データと表示データの重ね合わせの位置
を示す概念図;
FIG. 11 is a conceptual diagram showing the position of superimposition of moving image data and display data;

【図12】動画データと表示データの重ね合わせの概念
図;
FIG. 12 is a conceptual diagram of superimposing moving image data and display data;

【図13】CPUバスからの動画データを受取り、動画
データ用フレームバッファに書き込むための制御回路を
示す回路図;
FIG. 13 is a circuit diagram showing a control circuit for receiving moving image data from a CPU bus and writing it in a moving image data frame buffer;

【図14】動画データ用フレームバッファからのデータ
読みだし、拡大縮小処理を行うための制御回路を示す回
路図;
FIG. 14 is a circuit diagram showing a control circuit for reading data from a moving image data frame buffer and performing enlargement / reduction processing;

【図15】図13および図14に示す各制御回路の動作
を示す波形図であり、書き込み用FIFOの波形図、メ
モリライト時の波形図、メモリリード時の波形図、およ
びリード用FIFOの波形図を示す;
FIG. 15 is a waveform chart showing the operation of each control circuit shown in FIGS. 13 and 14, and is a waveform chart of a write FIFO, a waveform chart at a memory write, a waveform chart at a memory read, and a waveform of a read FIFO. Show figure;

【図16】図14に示す拡大/縮小処理回路の詳細ブロ
ック図;
16 is a detailed block diagram of the enlargement / reduction processing circuit shown in FIG. 14;

【図17】図16および図18に現れる信号の波形図;FIG. 17 is a waveform diagram of signals appearing in FIGS. 16 and 18;

【図18】水平方向の拡大制御のためのブロック図;FIG. 18 is a block diagram for horizontal enlargement control;

【図19】縮小率3/4(水平方向ドット数64、表示
ドット数48)の場合の間引き例を示す波形図;
FIG. 19 is a waveform chart showing an example of thinning in the case of a reduction ratio of 3/4 (horizontal dot number 64, display dot number 48).

【図20】水平方向の縮小処理を示す回路図。FIG. 20 is a circuit diagram showing horizontal reduction processing.

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

1…CPU、3…メインメモリ、9…CPUバス、17
…CD−ROM、13…システムバス、7…マルチメデ
ィアディスプレイコンントローラ、23…VGAメモ
リ、25…フレームバッファメモリ、39…パレット、
41…マルチプレクサ、43…モノクロLCD階調制御
回路、45…カラーLCD階調制御回路、47…DA
C、49…表示エリアライトFIFO制御回路、51…
動画制御レジスタ、55…拡大縮小処理回路、65…メ
モリ制御回路、57…リードFIFO、55…拡大/縮
小リードFIFO制御回路、67…ビデオメモリ、59
…重ね合わせ制御回路、71、81…レジスタ群、7
3、75、83、85…カウンタ、79…分周回路、1
73…水平スケールレジスタ、171、185、18
7、189…演算器、177、181、191…比較
器、193…拡大制御回路
1 ... CPU, 3 ... Main memory, 9 ... CPU bus, 17
... CD-ROM, 13 ... System bus, 7 ... Multimedia display controller, 23 ... VGA memory, 25 ... Frame buffer memory, 39 ... Palette,
41 ... Multiplexer, 43 ... Monochrome LCD gradation control circuit, 45 ... Color LCD gradation control circuit, 47 ... DA
C, 49 ... Display area light FIFO control circuit, 51 ...
Moving image control register, 55 ... Enlargement / reduction processing circuit, 65 ... Memory control circuit, 57 ... Read FIFO, 55 ... Enlargement / reduction read FIFO control circuit, 67 ... Video memory, 59
... Superposition control circuit, 71, 81 ... Register group, 7
3, 75, 83, 85 ... Counter, 79 ... Divider circuit, 1
73 ... Horizontal scale register, 171, 185, 18
7, 189 ... Arithmetic unit, 177, 181, 191, ... Comparator, 193 ... Enlargement control circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 1/00 G09G 5/00 510 M 9471−5G 5/36 520 E 9471−5G 530 A 9471−5G ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06T 1/00 G09G 5/00 510 M 9471-5G 5/36 520 E 9471-5G 530 A 9471- 5G

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 圧縮された画像データを伸張された画像
データに変換するソフトウエア手段と;前記伸張された
画像データを一時的に保持するフレームバッファメモリ
手段と;テキストデータおよびグラフィックスデータを
格納するビデオメモリ手段と;前記ビデオメモリ手段か
ら出力される表示データを色変換するパレット手段と;
前記フレームバッファメモリ手段から前記伸張された画
像データと、前記パレット手段から出力される表示デー
タとを読みだし、伸張された画像データを任意の大きさ
に拡大または縮小して、表示すべき画面の任意の位置に
パレット手段から出力される表示データとを選択的に表
示するディスプレイコントローラ手段とを備えたことを
特徴とするマルチメディア表示制御システム。
1. Software means for converting compressed image data into decompressed image data; frame buffer memory means for temporarily holding said decompressed image data; text data and graphics data stored therein. Video memory means for performing; color palette conversion of display data output from the video memory means;
The decompressed image data and the display data output from the palette means are read from the frame buffer memory means, and the decompressed image data is enlarged or reduced to an arbitrary size to display a screen to be displayed. A multimedia display control system comprising: display controller means for selectively displaying display data output from the palette means at an arbitrary position.
【請求項2】 圧縮された画像データを伸張された画像
データに変換するソフトウエア手段と;CRT表示装置
用の表示タイミングを前記フラットパネルディスプレイ
用の表示タイミングに変換するために使用されるととも
に、前記伸張された画像データを読みだし、任意の大き
さに拡大または縮小して、表示すべき画面の任意の位置
に表示するディスプレイコントローラ手段とを備えたこ
とを特徴とする、フラットパネルディスプレイを備えた
ポータブルコンピュータにおける表示制御システム。
2. Software means for converting compressed image data into expanded image data; used for converting display timing for a CRT display device into display timing for the flat panel display; A flat panel display, comprising: display controller means for reading the decompressed image data, enlarging or reducing it to an arbitrary size, and displaying it at an arbitrary position on a screen to be displayed. Display control system for portable computers.
【請求項3】 圧縮された画像データを伸張された画像
データに変換するソフトウエア手段と;前記伸張された
画像データを一時的に保持するために使用されるシング
ルポートのメモリを使用したフレームバッファメモリ手
段と;前記フレームバッファメモリ手段から前記伸張さ
れた画像データを読みだし、任意の大きさに拡大または
縮小して、表示すべき任意の位置に表示するディスプレ
イコントローラ手段とを備えたことを特徴とする、フラ
ットパネルディスプレイを備えたポータブルコンピュー
タにおける表示制御システム。
3. A software means for converting compressed image data into decompressed image data; frame buffer using a single-port memory used for temporarily holding the decompressed image data. Memory means; and display controller means for reading the decompressed image data from the frame buffer memory means, enlarging or reducing it to an arbitrary size, and displaying it at an arbitrary position to be displayed. And a display control system in a portable computer having a flat panel display.
【請求項4】 圧縮された画像データを保持し、必要に
応じてそのデータを読みだすCD−ROM手段と;前記
圧縮された画像データを前記CD−ROM手段から読み
だし、伸張された画像データに変換するソフトウエア手
段と;前記伸張された画像データを一時的に保持するた
めに使用されるフレームバッファメモリ手段と;前記フ
レームバッファメモリ手段から前記伸張された画像デー
タを読みだし、任意の大きさに拡大または縮小して、表
示すべき画面の任意の位置に表示するディスプレイコン
トローラ手段とを備えたことを特徴とする、フレットパ
ネルディスプレイを備えたマルチメディア表示装置。
4. CD-ROM means for holding compressed image data and reading the data as necessary; image data decompressed from the CD-ROM means and expanded. Software means for converting the decompressed image data to a frame buffer memory means used for temporarily holding the decompressed image data; reading the decompressed image data from the frame buffer memory means to an arbitrary size; A multimedia display device having a fret panel display, comprising: a display controller unit for enlarging or reducing the size to display at an arbitrary position on a screen to be displayed.
JP25195793A 1993-10-07 1993-10-07 Display system, display control method, and electronic device Expired - Fee Related JP3253778B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25195793A JP3253778B2 (en) 1993-10-07 1993-10-07 Display system, display control method, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25195793A JP3253778B2 (en) 1993-10-07 1993-10-07 Display system, display control method, and electronic device

Publications (2)

Publication Number Publication Date
JPH07104723A true JPH07104723A (en) 1995-04-21
JP3253778B2 JP3253778B2 (en) 2002-02-04

Family

ID=17230508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25195793A Expired - Fee Related JP3253778B2 (en) 1993-10-07 1993-10-07 Display system, display control method, and electronic device

Country Status (1)

Country Link
JP (1) JP3253778B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005202423A (en) * 2005-02-14 2005-07-28 Hitachi Ltd Image display device
JP2005331674A (en) * 2004-05-19 2005-12-02 Sony Corp Image display apparatus
JP2006184912A (en) * 2000-09-26 2006-07-13 Samsung Electronics Co Ltd Screen display device on mobile terminal and its usage
US7239323B2 (en) 2000-09-29 2007-07-03 Samsung Electronics Co., Ltd. Color display driving apparatus in a portable mobile telephone with color display unit
US7256797B2 (en) 2003-01-31 2007-08-14 Yamaha Corporation Image processing device with synchronized sprite rendering and sprite buffer

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101275543B (en) * 2007-03-27 2012-02-29 德昌电机股份有限公司 Electromagnetic pump

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006184912A (en) * 2000-09-26 2006-07-13 Samsung Electronics Co Ltd Screen display device on mobile terminal and its usage
US7239323B2 (en) 2000-09-29 2007-07-03 Samsung Electronics Co., Ltd. Color display driving apparatus in a portable mobile telephone with color display unit
US7256797B2 (en) 2003-01-31 2007-08-14 Yamaha Corporation Image processing device with synchronized sprite rendering and sprite buffer
JP2005331674A (en) * 2004-05-19 2005-12-02 Sony Corp Image display apparatus
JP2005202423A (en) * 2005-02-14 2005-07-28 Hitachi Ltd Image display device

Also Published As

Publication number Publication date
JP3253778B2 (en) 2002-02-04

Similar Documents

Publication Publication Date Title
US5577203A (en) Video processing methods
US5608864A (en) Variable pixel depth and format for video windows
US5943064A (en) Apparatus for processing multiple types of graphics data for display
US5559954A (en) Method & apparatus for displaying pixels from a multi-format frame buffer
US5977933A (en) Dual image computer display controller
US5742349A (en) Memory efficient video graphics subsystem with vertical filtering and scan rate conversion
US5500654A (en) VGA hardware window control system
US5764964A (en) Device for protecting selected information in multi-media workstations
US5293474A (en) System for raster imaging with automatic centering and image compression
US5611041A (en) Memory bandwidth optimization
US5880741A (en) Method and apparatus for transferring video data using mask data
JPH0659648A (en) Multi-media display control system for storing image data in frame buffer
EP0572024A2 (en) Multimedia display control system for storing image data in frame buffer
US6606094B1 (en) Method and apparatus for text image stretching
JP3253778B2 (en) Display system, display control method, and electronic device
EP0951694B1 (en) Method and apparatus for using interpolation line buffers as pixel look up tables
US5910795A (en) Digital image signal processing
EP0422300B1 (en) Display system with graphics cursor
JP2006113359A (en) Overdrive circuit and display apparatus
CN111770382B (en) Video processing circuit and method for processing multiple videos using a single video processing path
US7006713B1 (en) Image-processing apparatus and image-displaying apparatus
US7030849B2 (en) Robust LCD controller
JPH08179740A (en) Method for transmitting image data and image display device
US7348983B1 (en) Method and apparatus for text image stretching
JP2001169311A (en) Image comparator

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071122

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081122

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees