[go: up one dir, main page]

CN1132885A - Parameterized multi-level image display device - Google Patents

Parameterized multi-level image display device Download PDF

Info

Publication number
CN1132885A
CN1132885A CN 95103775 CN95103775A CN1132885A CN 1132885 A CN1132885 A CN 1132885A CN 95103775 CN95103775 CN 95103775 CN 95103775 A CN95103775 A CN 95103775A CN 1132885 A CN1132885 A CN 1132885A
Authority
CN
China
Prior art keywords
register
address
bus
color code
parameter data
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
CN 95103775
Other languages
Chinese (zh)
Other versions
CN1073727C (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.)
United Microelectronics Corp
Original Assignee
United Microelectronics 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 United Microelectronics Corp filed Critical United Microelectronics Corp
Priority to CN95103775A priority Critical patent/CN1073727C/en
Publication of CN1132885A publication Critical patent/CN1132885A/en
Application granted granted Critical
Publication of CN1073727C publication Critical patent/CN1073727C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

A parameterized multi-level image display device comprises an address generator, a vertical position detector, a register, a horizontal position counter and an effect processor. The parameterized image data is processed by the devices in a way of image grid division, and then the color codes are sent to a digital/analog converter for conversion and output. The processing capability of the display device for images can be improved and the performance requirements for the central processing unit can be reduced.

Description

参数化的多层次图 像显示装置Parameterized multi-level image display device

本发明有关于显示系统,特别是有关于一种参数化的多层次图像显示装置。The invention relates to a display system, in particular to a parameterized multi-level image display device.

多层次图象显示技术已广泛应用于如电视游戏机之类的显示系统中,而其中尤以任天堂和Sega最为流行。经过多层次图像处理后的显示系统产生多变化的视觉效果,可使游戏机更具娱乐性,提供消费者更多的休闲方式。然而现今使用的显示系统,虽具有多层次效果,但对图像的尺寸、色数、层次乃至同一画面中图像的数目都有所限制,以至于显示系统的视觉效果依旧受到限制,无法提供最佳选择。Multi-level image display technology has been widely used in display systems such as video game consoles, and among them Nintendo and Sega are the most popular. The display system after multi-level image processing can produce various visual effects, which can make the game machine more entertaining and provide consumers with more leisure ways. However, although the display systems used today have multi-layer effects, they have restrictions on the size, color number, layers, and even the number of images in the same screen, so that the visual effects of the display system are still limited and cannot provide the best choose.

当然,利用软件程序与电脑中央处理单元的处理,可以改善上述图像处理技术所受的限制,但是其所需依赖的软件程序的设计所消耗的时间与花费,以及需配合具有较佳执行运算能力的中央处理单元,都导致改善视觉效果的作法变得相当昂贵,使一般产业与消费大众裹足不前。Of course, using software programs and the processing of the computer central processing unit can improve the limitations of the above-mentioned image processing technology, but it needs to rely on the time and cost of software program design, and it needs to cooperate with better execution computing capabilities The central processing unit of the computer has made the practice of improving visual effects quite expensive, which has discouraged the general industry and the consumer public.

而如果直接以硬件结构来改善视觉效果,使图像显示更加活泼,则因屏幕显示大小不一,图形数据庞杂,势必造成大量硬件资源浪费,且图像显示装置设计复杂,也不符合实际需要。However, if the visual effect is directly improved by using the hardware structure to make the image display more lively, the size of the screen display is different and the graphic data is complicated, which will inevitably cause a lot of waste of hardware resources, and the design of the image display device is complicated and does not meet the actual needs.

因此,本发明的主要目的在于提供一种参数化的多层次图像显示装置,用参数数据来辅助图形数据,以改善显示装置对图像的处理能力,使图像更具变化性。Therefore, the main purpose of the present invention is to provide a parameterized multi-level image display device, which uses parameter data to assist graphic data, so as to improve the image processing capability of the display device and make the image more variable.

本发明的另一目的,在于提供一种参数化的多层次图像显示装置,配合适当硬件结构,减少对中央处理单元的性能要求。Another object of the present invention is to provide a parameterized multi-level image display device, which cooperates with an appropriate hardware structure and reduces performance requirements for a central processing unit.

本发明的再一目的是提供一种参数化的多层次图像显示装置,以像格分割方式建立参数数据结构,使硬件需求复杂度降低,减少硬件资源浪费。Another object of the present invention is to provide a parameterized multi-level image display device, which establishes a parameter data structure in a grid division manner, reduces the complexity of hardware requirements, and reduces the waste of hardware resources.

本发明是一种参数化的多层次图像显示装置,适用于一具有图形存贮器、与所述图形存贮器相连的数字/模拟转换器以及总线装置的显示系统中,该显示系统是将图像数据以参数数据型态储存于该图形存贮器中,并经由所述图像显示装置依显示系统指示,对这些参数数据加以处理,以输出色码至所述数字/模拟转换器;所述图像显示装置包括:The present invention is a parameterized multi-level image display device, which is applicable to a display system with a graphic memory, a digital/analog converter connected with the graphic memory and a bus device, and the display system is to The image data is stored in the graphic memory in the form of parameter data, and these parameter data are processed through the image display device according to the instructions of the display system to output color codes to the digital/analog converter; Image display devices include:

一地址产生器,与总线相连,在总线上产生地址信号,用以定址所述图形存贮器,使得读取所述参数数据;An address generator, connected to the bus, generates an address signal on the bus to address the graphics memory, so that the parameter data can be read;

一垂直位置检测器,连接于总线与所述地址产生器之间,检测所述图像数据的垂直位置,用以控制参数数据的地址信号由所述地址产生器输出至所述总线;A vertical position detector, connected between the bus and the address generator, detects the vertical position of the image data, and an address signal for controlling parameter data is output from the address generator to the bus;

一寄存器,与总线相连,用以读取并寄存为所述地址产生器所定址的参数数据;a register, connected to the bus, used to read and store the parameter data addressed by the address generator;

一水平位置计数器,与总线相连,用以检测图像数据的水平位置;以及A horizontal position counter connected to the bus for detecting the horizontal position of the image data; and

一效果处理器装置,连接于所述寄存器与所述数字/模拟转换器之间,并受所述水平位置计数器控制,用以将图像数据通过与其相辅的参数数据进行层次处理,而于所述数字/模拟转换器输出多层次的图像。An effect processor device, connected between the register and the digital/analog converter, and controlled by the horizontal position counter, is used to carry out hierarchical processing of the image data through its complementary parameter data, and in the The above digital/analog converter outputs multi-layer images.

本发明是将参数化的图像数据以像格分割方式经上述各装置处理后,将色码送至数字/模拟转换器转换输出。上述装置可改善显示装置对图像的处理能力并减少对中央处理单元的性能要求。In the present invention, after the parameterized image data is processed by the above-mentioned devices in the manner of grid division, the color code is sent to the digital/analog converter for conversion and output. The above device can improve the image processing capability of the display device and reduce the performance requirements for the central processing unit.

为让本发明的上述目的、特征和优点能更明显易懂,本文特举一较佳实施例,并配合附图,作详细说明如下:In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, a preferred embodiment is specifically cited in this paper, and is described in detail as follows in conjunction with the accompanying drawings:

附图简要说明:Brief description of the drawings:

图1是本发明一较佳实施例的方块图。Fig. 1 is a block diagram of a preferred embodiment of the present invention.

图2是依照图1的方块图设计的电路图。FIG. 2 is a circuit diagram designed according to the block diagram of FIG. 1 .

图3是一图形地址结构的示意图。Fig. 3 is a schematic diagram of a graphic address structure.

图4是依照本发明一较佳实施例的屏幕参数定义及检测示意图。Fig. 4 is a schematic diagram of screen parameter definition and detection according to a preferred embodiment of the present invention.

图5是图2电路中的信号时序关系图。FIG. 5 is a signal timing diagram in the circuit of FIG. 2 .

图6A至图6C是依照图2电路,形成于总线上的定址信号结构示意图。FIG. 6A to FIG. 6C are structural diagrams of addressing signals formed on the bus according to the circuit of FIG. 2 .

图7是本较佳实施例的图形存贮器数据结构示意图。Fig. 7 is a schematic diagram of the data structure of the graphics memory in this preferred embodiment.

图8是本较佳实施例的图形存贮器数据结构示意图。Fig. 8 is a schematic diagram of the data structure of the graphics memory in this preferred embodiment.

图9A和图9B是本较佳实施例各种信号间的时序关系图。FIG. 9A and FIG. 9B are timing diagrams of various signals in this preferred embodiment.

图10是图2的较佳实施例的效果处理器电路图。FIG. 10 is a circuit diagram of the effect processor of the preferred embodiment of FIG. 2 .

首先,请参照图1,它是本发明的一较佳实施例的方块图。依照本发明的参数化多层次图像显示装置,是将图形数据以参数型态贮存于图形存贮器60中。当数据起始信号DB送至地址产生器20,即启动图形数据输出的动作。地址产生器20于是生成图形数据的地址信号,经总线50定址图形存贮器60,从中读出参数数据。经垂直位置检测器12判读这一参数数据内含的垂直位置参数后,于必要时,请求地址产生器20另发出参数地址信号,经总线50定址图形存贮器60,使色码及其它参数数据经总线50送至寄存器40储存。与此同时,水平位置计数器14亦依其计数的水平数值判断扫描线水平位置,使效果处理器30适时读入储存于寄存器40的色码及其他数据进行效果处理,例如混色、分层和透明等处理动作。然后,经由数字/模拟转换器(RAM DAC)70将色码信号送到屏幕上输出。First, please refer to FIG. 1, which is a block diagram of a preferred embodiment of the present invention. According to the parametric multi-level image display device of the present invention, the graphic data is stored in the graphic memory 60 in the form of parameters. When the data start signal DB is sent to the address generator 20, the graphic data output action is started. The address generator 20 then generates an address signal for the graphics data, addresses the graphics memory 60 via the bus 50, and reads the parameter data therefrom. After vertical position detector 12 interprets the vertical position parameter contained in this parameter data, when necessary, request address generator 20 sends out parameter address signal in addition, addresses graphics memory 60 through bus 50, makes color code and other parameters The data is sent to the register 40 via the bus 50 for storage. At the same time, the horizontal position counter 14 also judges the horizontal position of the scanning line according to its counted horizontal value, so that the effect processor 30 can timely read the color code and other data stored in the register 40 for effect processing, such as color mixing, layering and transparency Wait for action. Then, the color code signal is sent to the screen for output via a digital/analog converter (RAM DAC) 70.

由于屏幕显示范围广泛,其所对应的各种参数,若欲以每一像素(Pixel)都详加记载,势必造成存贮器容量的负担,无法适合经济效益。因此,依据本发明的参数化结构具有图像分割的特性。它是将屏幕显示画面分割成尺寸相同的小块,称为像格,例如分成以8像素×8像素的小格。若每一像格中的色码皆以4位表示,则每一像格的色码占有相同的存贮器空间,即16字(Words)。其中,每一像素依序排列,而形成一色码阵列,如表1A所列,是每一像素的色码值DOT在图形存贮器中的对应位置:Due to the wide display range of the screen, if each pixel (Pixel) of the corresponding parameters is to be recorded in detail, it will inevitably cause a burden on the memory capacity, which is not suitable for economical benefits. Therefore, the parametric structure according to the invention has the properties of image segmentation. It divides the screen display image into small blocks of the same size, called grids, for example, into small grids of 8 pixels×8 pixels. If the color code in each grid is represented by 4 bits, then the color code of each grid occupies the same memory space, that is, 16 words (Words). Wherein, each pixel is arranged in order to form a color code array, as listed in Table 1A, which is the corresponding position of the color code value DOT of each pixel in the graphics memory:

        表1A色码阵列Table 1A Color code array

地址 address     VRAM数据总线[15∶0] VRAM data bus [15:0] +0 +0  DOT11[4∶0] DOT11[4:0] DOT12[4∶0] DOT12 [4:0] DOT13[4∶0] DOT13 [4:0] DOT14[4∶0] DOT14 [4:0] +2 +2  DOT15[4∶0] DOT15[4:0] DOT16[4∶0] DOT16 [4:0] DOT17[4∶0] DOT17 [4:0] DOT18[4∶0] DOT18 [4:0] +4 +4  DOT21[4∶0] DOT21[4:0] DOT22[4∶0] DOT22 [4:0] DOT23[4∶0] DOT23 [4:0] DOT24[4∶0] DOT24 [4:0]  …      … ...      … ...      … ...    … ...  …      … ...      … ...      … ...    … ... +28 +28  DOT81[4∶0] DOT81[4:0] DOT82[4∶0] DOT82 [4:0] DOT83[4∶0] DOT83 [4:0] DOT84[4∶0] DOT84 [4:0] +30 +30  DOT85[4∶0] DOT85[4:0] DOT86[4∶0] DOT86[4:0] DOT87[4∶0] DOT87 [4:0] DOT88[4∶0] DOT88 [4:0]

经由像格的安排,将可大幅简化其所对应的参数量。于是,对应于每一动态影像物体的参数,即待显示于屏幕上的图像所具有的参数,仅需以如表1B所列的结构形成即可。Through the arrangement of the cells, the corresponding parameters can be greatly simplified. Therefore, the parameters corresponding to each dynamic image object, that is, the parameters of the image to be displayed on the screen, only need to be formed in the structure listed in Table 1B.

        表1B动态影像物体(DIO)参数阵列Table 1B dynamic image object (DIO) parameter array

地址 address                   VRAM数据总线VDATA[15∶0] VRAM data bus VDATA[15:0] +0 +0  SCV[2∶0] SCV[2:0]     NVF[3∶0] NVF[3:0]     VPS[8∶0] VPS[8:0] +2 +2  FBK[2∶0] FBK[2:0] -- -- HMR HMR  VMR VMR  SCC SCC  CCA CCA -- --  MSC[2∶0] MSC[2:0] NHF[2∶0] NHF[2:0] +4 +4  SCH[4∶0] SCH[4:0] LY[1∶0] LY[1:0]     HPS[8∶0] HPS[8:0] +6 +6                                 TPR[15∶0] TPR[15:0]

其中,NVF和NHF两参数分别代表影像物体的垂直尺寸(Numberof Vertical Fonts)及水平尺寸(Number of Horizontal Fonts),用来控制每一图像的尺寸大小。于是对应这样一组参数结构的图像具有(NVF+1)×2NHF的像格数。亦即,经这一参数结构定义的图像需由(NVF+1)×2NHF个如表1A所示的像格组成。以致于另需以(NVF+1)×2NHF个参数来定址图形存贮器中像格阵列部分。这些用来定址的参数形成阵列,即为如表1C所示的指标阵列。Wherein, the NVF and NHF parameters respectively represent the vertical size (Number of Vertical Fonts) and the horizontal size (Number of Horizontal Fonts) of the image object, and are used to control the size of each image. Then the image corresponding to such a group of parameter structures has the number of pixels of (NVF+1)×2 NHF . That is, the image defined by this parameter structure needs to be composed of (NVF+1)×2 NHF pixels as shown in Table 1A. As a result, it is necessary to use (NVF+1)×2 NHF parameters to address the grid array part in the graphics memory. These parameters used for addressing form an array, which is the index array shown in Table 1C.

          表1C指标阵列     Table 1C Index array

地址 address     VRAM数据总线VDATA[15∶0] VRAM data bus VDATA[15:0] +0 +0  CPT[3∶0] CPT[3:0]     HMR HMR     VMR VMR     FNT[9∶0] FNT[9:0] +2 +2  CPT[3∶0] CPT[3:0]     HMR HMR     VMR VMR     FNT[9∶0] FNT[9:0] +4 +4  CPT[3∶0] CPT[3:0]     HMR HMR     VMR VMR     FNT[9∶0] FNT[9:0]    … ...      … ... +2n +2n  CPT[3∶0] CPT[3:0]     HMR HMR     VMR VMR     FNT[9∶0] FNT[9:0]

如表1C所示的指标阵列大小恰为(NVF+1)×2NHF个字。每一字含有一个指标FNT,指向所使用的色码阵列和4位的色码值,使每一像素色码成为8位。指标阵列中每一元素的序列是依照图像中像格序列而定。指示阵列的地址是由图像参数阵列中的参数TPR×2所定义。关于图像的各类参数,即由表1A至表1C中所提供的各个参数,可对比表2的说明。The index array size shown in Table 1C is exactly (NVF+1)×2 NHF words. Each word contains a pointer FNT pointing to the used color code array and 4-bit color code value, making each pixel color code 8 bits. The sequence of each element in the index array is determined according to the pixel sequence in the image. The address of the pointer array is defined by the parameter TPR×2 in the image parameter array. Regarding the various parameters of the image, that is, the parameters provided in Table 1A to Table 1C, the description in Table 2 can be compared.

于是,根据上述参数结构的设计,依照本发明的较佳实施例的电路图,即如图2所示。在这一电路装置中,为了控制较为复杂的时序关系,设置一状态时序控制器10,利用其本身的逻辑运算,由输入的时钟脉冲信号驱动产生各个控制信号,使形成有条不紊的图像处理流程。Therefore, according to the above parameter structure design, the circuit diagram according to the preferred embodiment of the present invention is shown in FIG. 2 . In this circuit device, in order to control the more complex timing relationship, a state timing controller 10 is provided, which uses its own logic operation to generate various control signals driven by the input clock pulse signal, so as to form an orderly image processing flow.

在图1中,作为图形及参数地址发送单元的地址产生器20于是由图形地址产生器22、先进先出寄存器24、参数地址产生器26和水平长度计数器28四个单元所取代。图形地址产生器22接受数据起始信号DB控制,并由来自状态时序控制器10的时钟脉冲信号sclk驱动,在总线50上产生图形地址,用以定址图形存贮器60,选择一组如表1B示出的参数阵列。当垂直位置检测器12读到这一图形的相关参数后,通过其垂直参数判断其垂直位置,以确认此一数据是否于下一屏幕扫描线显示出来。若是,那么先进先出寄存器24即将储存于其中的参数数据送至参数地址产生器26中,用以将参数数据处理后,送出指标阵列的定址信号至总线50,以取得在图形存贮器60中所需色码阵列的值。In FIG. 1 , the address generator 20 as the graphics and parameter address sending unit is then replaced by four units of the graphics address generator 22 , FIFO register 24 , parameter address generator 26 and horizontal length counter 28 . Graphics address generator 22 accepts the data start signal DB control, and is driven by the clock pulse signal sclk from state timing controller 10, generates graphics address on bus 50, in order to address graphics memory 60, selects a group as shown in the table 1B shows the parameter array. After the vertical position detector 12 reads the relevant parameters of this figure, it judges its vertical position by its vertical parameters, to confirm whether this data is displayed on the next screen scan line. If so, then the first-in-first-out register 24 will send the parameter data stored therein to the parameter address generator 26, after the parameter data is processed, send the addressing signal of the index array to the bus 50, to obtain the data stored in the graphics memory 60. The value in the desired color code array.

        表2影像物体的控制参数表Table 2 Control parameter table of image object

标记 mark 位数 number of digits     说明 illustrate 屏幕定位类: Screen positioning class: VPS[8∶0] VPS [8:0]     9 9 控制影像物体的左上角,显示于屏幕线位置即屏幕那一条扫描线的屏幕垂直位置(Vertical Position) Control the upper left corner of the image object, displayed on the screen line position, that is, the screen vertical position of the scan line of the screen (Vertical Position) HPS[8∶0] HPS [8:0]     9 9 控制影像物体的左上角,显示于扫描那一像位置,即屏幕的水平位置(HorizontalPosition) Control the upper left corner of the image object, which is displayed at the scanned image position, that is, the horizontal position of the screen (HorizontalPosition) LY[1∶0] LY[1:0]     2 2 控制影像物体的权数(Layer Level)。 Control the weight of image objects (Layer Level). 数据结构模式类: Data structure schema class: NVF[3∶0] NVF [3:0]     4 4 控制影像物体的垂直尺寸单位(Number ofvertical Fonts),实际值如比例表 Control the vertical size unit of the image object (Number ofvertical Fonts), the actual value is shown in the scale table NHF[2∶0] NHF[2:0]     3 3 控制影像物体的水平尺寸单位(Number ofHorizontal Fonts),实际值为2NHF Control the horizontal size unit of the image object (Number ofHorizontal Fonts), the actual value is 2 NHF

          表2影像物体的控制参数表(续)Table 2 Control parameter table of image object (continued)

标记 mark 位数 number of digits     说明 illustrate CPT[3∶0] CPT [3:0] 4 4     调色盘 Palette DOTxx[3∶0] DOTxx [3:0]     4 4     彩色数据 Color data 指标类: Indicator class: FBK[2∶0] FBK [2:0]     3 3 储存像格数据的区域,每个区域为32K字节。 The area for storing pixel data, each area is 32K bytes. FNT[9∶0] FNT [9:0] 10 10 指向像格数据的指标(Font Pointer)。 Pointer to the cell data (Font Pointer). TPR[15∶0] TPR [15:0] 16 16 指向像格数据指标阵列的指标(Table Pointer) Pointer to the array of cell data pointers (Table Pointer) 特殊效果类: Special effects class: VMR VMR  1 1 垂直倒影开关 vertical reflection switch HMR HMR  1 1 水平反转开关 Horizontal inversion switch

          表2影像物体的控制参数表(续)Table 2 Control parameter table of image object (continued)

标记 mark 位数 number of digits     说明 illustrate CCA CCA     1 1 半透明动作开关(混色动作) Translucent Action Switch (Color Mixing Action) SCC SCC     1 1 单色饱和动作开关 Monochrome Saturation Action Switch MSC[2∶0] MSC[2:0]     3 3 马赛克效果开关 Mosaic effect switch SCV[2∶0] SCV[2:0]     3 3 控制影像物体于垂直方向缩小的比例,实际值为22-SCV Controls the ratio of image objects to shrink in the vertical direction, the actual value is 22-SCV SCH[4∶0] SCH [4:0]     5 5 控制影像物体于水平方向缩小的比例值,实际值如比例表。 Control the scaling value of the image object in the horizontal direction. The actual value is shown in the scaling table.

图1的效果处理器30则可由检测器32、静态随机存取存贮器34和色码寄存器36所取代,用作特殊效果处理。检测器32从寄存器42取得参数、指标和色码后,进行各种效果处理,然后将处理结果寄存于静态随机存取存贮器34中。静态随机存取存贮器34的容量可以寄存一条屏幕扫描线的参数数据,通过色码寄存器36将待输出的色码及其附加的层次参数取出并送回检测器32中,与不断输入的新的色码及附加参数值相比较处理,以更新贮存在静态随机存取存贮器34内的图形数据。上述处理过程是在屏幕控制信号处于水平同步周期时发生,当水平同步周期中止,贮存于静态随机存取存贮器内的数据便依序输出至数字/模拟转换器70进行转换,然后从屏幕显示出来。The effect processor 30 of FIG. 1 can be replaced by a detector 32, an SRAM 34 and a color code register 36 for special effect processing. After the detector 32 obtains parameters, indicators and color codes from the register 42, it performs various effect processing, and then stores the processing results in the static random access memory 34. The capacity of SRAM 34 can store the parameter data of a screen scan line, and the color code to be output and its additional layer parameters are taken out by color code register 36 and sent back to the detector 32, and continuously input The new color codes are compared with the additional parameter values to update the graphics data stored in the SRAM 34. The above process occurs when the screen control signal is in the horizontal synchronous period. When the horizontal synchronous period is suspended, the data stored in the static random access memory is sequentially output to the digital/analog converter 70 for conversion, and then from the screen display.

依照上述较佳实施例设计的显示装置,其中几个较为重要的参数信号说明如下:In the display device designed according to the preferred embodiment above, several important parameter signals are described as follows:

首先,来自系统外部的信号DB是唯一由中央处理单元(未绘于附图中)送出,控制本显示装置的信号,DB从中央处理单元送出后,是寄存于图形寄存器18中。当图形地址产生器22进入屏幕扫描周期,便取图形寄存器18内的DB信号产生连续跳跃的地址。此一地址是由DB信号和一个4进位的计数值共同组成,其结构如图3所示。First, the signal DB from the outside of the system is the only signal sent by the central processing unit (not shown in the drawings) to control the display device. After DB is sent from the central processing unit, it is stored in the graphics register 18 . When the graphics address generator 22 enters the screen scanning period, it fetches the DB signal in the graphics register 18 to generate continuous jumping addresses. This address is composed of DB signal and a 4-bit count value, and its structure is shown in Figure 3.

于是垂直位置检测器12利用此一地址和自图形存贮器60读出的参数阵列第一字,参照表1B,即SCV、NVF和VPS值进行检测。其检测方式,请参照图4,举一屏幕上图像的实例说明。其中,HPC和VPC两参数是电视扫描线的水平与垂直位置;HPS和VPS则为图像的左上角于屏幕的位置。那么经过运算:VDIFF=(VPC+1)-VPS以及Then the vertical position detector 12 utilizes this address and the first word of the parameter array read from the graphics memory 60 to refer to Table 1B, ie, SCV, NVF and VPS values for detection. For the detection method, please refer to FIG. 4 for an example of an image on the screen. Among them, HPC and VPC are the horizontal and vertical positions of TV scan lines; HPS and VPS are the positions of the upper left corner of the image on the screen. Then after calculation: VDIFF=(VPC+1)-VPS and

                              edif=VDIFF×22-SCV若0≤edif<NVF×8成立,表示此一图像将在下一扫描线过程中显示出来。于是垂直位置检测器12会产生push信号至先进先出寄存器24,将图形地址产生器22的输出值与edif值送入其中。VDIFF是图像顶端至扫描线的距离,而edif的运算是使图像显现放大或缩小的效果,因为将正确的距离VDIFF拉大,会造成读入的图像愈接近其底端,故而画像被缩小,反之亦然。edif=VDIFF×2 2 -SCV If 0≤edif<NVF×8 holds true, it means that this image will be displayed in the next scanning line. Then the vertical position detector 12 will generate a push signal to the FIFO register 24, and send the output value of the graphics address generator 22 and the edif value into it. VDIFF is the distance from the top of the image to the scanning line, and the operation of edif is to make the image appear enlarged or reduced, because if the correct distance VDIFF is enlarged, the read image will be closer to its bottom, so the image will be reduced. vice versa.

扫描周期开始同时,水平位置计数器44被设定为“0”,随输出色码时钟脉冲(dot-clk)的发送而产生叠加,并由输出信号1add-er定址静态随机存取存贮器34,以依序输出色码信号CC。图5是上述说明中各个信号间的时序关系图。Simultaneously when the scanning period begins, the horizontal position counter 44 is set to "0", and superimposition is produced with the sending of the output color code clock pulse (dot-clk), and the SRAM 34 is addressed by the output signal 1add-er , to sequentially output the color code signal CC. FIG. 5 is a diagram showing the timing relationship among the various signals in the above description.

当扫描周期结束,进入水平同步周期,状态时序控制器10便送出pop信号至先进先出寄存器24,以使参数地址产生器26能读取先进先出寄存器24内贮存的参数数据,进而产生指标阵列地址及色码阵列地址。When the scan cycle ends and the horizontal sync cycle is entered, the state timing controller 10 sends a pop signal to the FIFO register 24, so that the parameter address generator 26 can read the parameter data stored in the FIFO register 24, and then generate an index Array address and color code array address.

关于图形地址产生器22和参数地址产生器26产生的地址信号VADDR,其在本较佳实施例中的结构,是如图6A至图6C所示,均具有16位的字长。其中,图6A是图形地址产生器送出的地址信号,利用6位信号DB为表头,接着是9位的计数值,以及最末二位的4进位尾数组。而参数地址产生器26产生的指标地址信号,因考虑不同图像有不同的尺寸大小,其对应的指标阵列数亦非定数,以致如图6B所示的指标地址结构具有非定数的样本位数(Font-CNT)。Regarding the address signal VADDR generated by the graphic address generator 22 and the parameter address generator 26, its structure in this preferred embodiment is as shown in FIG. 6A to FIG. 6C, and both have a word length of 16 bits. 6A is the address signal sent by the graphic address generator, using the 6-bit signal DB as the header, followed by the 9-bit count value, and the last two bits of the 4-bit mantissa array. The index address signal generated by the parameter address generator 26 is considered to have different sizes for different images, and the number of corresponding index arrays is not fixed, so that the index address structure as shown in FIG. 6B has an indefinite number of sample bits ( Font-CNT).

上述在总线50流通的各种VADDR信号传送至图形存贮器60内,即进行定址。图形存贮器内的定址模式,请参照图7和图8。在图7中,例如,由图形地址产生器22发出的地址信号选定了自01260h至01266h存贮区内的动态影像物体(DIO),即由地址01260h至01266h4组16位参数阵列DIO[76]。则若对照表1B参数结构,可知TPR为1000h,NHF为2h,而NVF为4h。那么,在Font-cnt有效位只有2,即图像的水平宽度仅4个像格情况下,每当水平长度计数器28计数到3后,其下一个计数动作便从零开始,并同时发出溢位信号over至状态时序控制器10,使其送出pop信号,而开始另一图像的处理。The above-mentioned various VADDR signals circulating on the bus 50 are transmitted to the graphics memory 60, that is, addressed. Please refer to Figure 7 and Figure 8 for the addressing mode in the graphics memory. In Fig. 7, for example, the dynamic image object (DIO) in the memory area from 01260h to 01266h has been selected by the address signal sent by figure address generator 22, namely by address 01260h to 01266h4 groups of 16-bit parameter array DIO[76 ]. Then, if you compare the parameter structure in Table 1B, you can know that TPR is 1000h, NHF is 2h, and NVF is 4h. Then, when the Font-cnt valid bit is only 2, that is, the horizontal width of the image is only 4 grids, whenever the horizontal length counter 28 counts to 3, its next counting action will start from zero and send out an overflow simultaneously. The signal over is sent to the state timing controller 10 to make it send a pop signal to start another image processing.

而图7中,指向像格数据指标阵列的指标(Table Pointer)TPR的值为1000h,那么依照图6B的定址方式,其在图形存贮器中指向的指标地址即为04000h。再者,于第1组指标阵列中所内含的地址值,请比较图8和表1A,具有FNT为30fh的关系,于是,其所对应的色码阵列为第8行,以致运算后的地址为色码阵列的最后两个字。And among Fig. 7, the value of pointing to the index (Table Pointer) TPR of grid data index array is 1000h, so according to the addressing mode of Fig. 6B, the index address that it points to in the graphics memory is 04000h. Furthermore, please compare the address value contained in the index array of the first group, please compare Fig. 8 and Table 1A, it has the relationship that FNT is 30fh, so its corresponding color code array is row 8, so that the calculated The address is the last two words of the color code array.

经过各种地址产生与数据读取动作,即主要依图9A和图9B各种信号间略显复杂的时序关系所控制的工作,色码信号最后仍需经透明检测、层次比较和混色等处理才能送出。这些效果处理是在效果处理器30内进行。效果处理器的结构请参照图10。其中,输入信号[LY1D、CC1D]是已存入色码寄存器36的同一地址的层次码和8位色码。与门101作为混色开关,亦即,当混色使能信号CCA启动,则CCID可通过,并输入色码,通过加法器102完成混色;当CCA禁止,则输入色码经加法器102后,仍不改变色码值。另外,为了分辨出透明色码,定义零值色码为透明色码,因此,或门104可判断透明色码并使输出信号1rw为“1”,亦即控制静态随机存取存贮器34为非写入状态。又当输入为非零色码,即非透明色码,则必须比较层次。由于在本较佳实施例中,层次码为2位、4个层次,而比较器103中输入的层次码必须绝对大于色码寄存器36内的层次码才能写入色码寄存器36,将旧层次码取代。因此,层次码较大的图像才能被显示,而层次码相同者,则以参数阵列的先后次序决定。于是,依照本较佳实施例的设计,若先进先出寄存器24的容量为32,则本装置则可处理32个层次的图像。After various address generation and data reading operations, that is, the work mainly controlled by the slightly complicated timing relationship between the various signals in Figure 9A and Figure 9B, the color code signal still needs to be processed by transparency detection, level comparison and color mixing. to send out. These effect processing is performed in the effect processor 30 . Please refer to Figure 10 for the structure of the effect processor. Wherein, the input signal [LY1D, CC1D] is the level code and 8-bit color code of the same address stored in the color code register 36 . The AND gate 101 is used as a color mixing switch, that is, when the color mixing enable signal CCA is activated, CCID can pass through, and the color code is input, and the color mixing is completed by the adder 102; The color code value is not changed. In addition, in order to distinguish the transparent color code, the zero-value color code is defined as the transparent color code. Therefore, the OR gate 104 can judge the transparent color code and make the output signal 1rw "1", that is, control the static random access memory 34 It is in non-writing state. And when the input is a non-zero color code, that is, a non-transparent color code, the levels must be compared. Because in this preferred embodiment, the level code is 2 bits, 4 levels, and the level code input in the comparator 103 must be absolutely greater than the level code in the color code register 36 to write into the color code register 36, the old level code instead. Therefore, only images with larger layer codes can be displayed, and images with the same layer code are determined by the order of the parameter array. Therefore, according to the design of this preferred embodiment, if the capacity of the FIFO register 24 is 32, the device can process 32 levels of images.

色码经过上述处理步骤后,便经由水平位置计数器44的控制,写入静态随机存取存贮器34中,再依序于扫描周期内送至数字/模拟转换器70进行转换,然后从屏幕输出。After the color code is through the above-mentioned processing steps, it is written into the static random access memory 34 through the control of the horizontal position counter 44, and then sent to the digital/analog converter 70 in the scanning cycle for conversion. output.

虽然本发明已以一较佳实施例揭示如上,但它并非用以限定本发明,任何本领域的技术人员,在不脱离本发明的精神和范围内,当可作少许的更改与润饰,因此本发明的保护范围应以后附的权利要求所限定的范围为准。Although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention, any skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention, therefore The scope of protection of the present invention should be defined by the appended claims.

Claims (7)

1、一种参数化的多层次图像显示装置,适用于一具有图形存贮器、与所述图形存贮器相连的数字/模拟转换器以及总线装置的显示系统中;该显示系统是将图像数据以参数数据型态储存于该图形存贮器中,并经由所述图像显示装置依显示系统指示,对这些参数数据加以处理,以输出色码至所述数字/模拟转换器;所述图像显示装置包括:1. A parameterized multi-level image display device, suitable for use in a display system with a graphics memory, a digital/analog converter connected to the graphics memory and a bus device; The data is stored in the graphic memory in the form of parameter data, and these parameter data are processed according to the instructions of the display system through the image display device to output color codes to the digital/analog converter; the image Display units include: 一地址产生器,与总线相连,在总线上产生地址信号,用以定址所述图形存贮器,使得读取所述参数数据;An address generator, connected to the bus, generates an address signal on the bus to address the graphics memory, so that the parameter data can be read; 一垂直位置检测器,连接于总线与所述地址产生器之间,检测所述图像数据的垂直位置,用以控制参数数据的地址信号由所述地址产生器输出至所述总线;A vertical position detector, connected between the bus and the address generator, detects the vertical position of the image data, and an address signal for controlling parameter data is output from the address generator to the bus; 一寄存器,与总线相连,用以读取并寄存为所述地址产生器所定址的参数数据;a register, connected to the bus, used to read and store the parameter data addressed by the address generator; 一水平位置计数器,与总线相连,用以检测图像数据的水平位置;以及A horizontal position counter connected to the bus for detecting the horizontal position of the image data; and 一效果处理器装置,连接于所述寄存器与所述数字/模拟转换器之间,并受所述水平位置计数器控制,用以将图像数据通过与其相辅的参数数据进行层次处理,而于所述数字/模拟转换器输出多层次的图像。An effect processor device, connected between the register and the digital/analog converter, and controlled by the horizontal position counter, is used to carry out hierarchical processing of the image data through its complementary parameter data, and in the The above digital/analog converter outputs multi-layer images. 2、如权利要求1所述的装置,其特征在于所述地址产生器包括:2. The device according to claim 1, wherein said address generator comprises: 一图形地址产生器,与总线相连,产生一第一地址信号以定址所述图形存贮器;A graphics address generator, connected to the bus, generates a first address signal to address the graphics memory; 一先进先出寄存器,与总线和所述垂直位置检测器相连,用以寄存由所述第一地址所定址的参数数据;所述先进先出寄存器受所述垂直位置检测器控制,以适时输出所述参数数据;以及A FIFO register, connected to the bus and the vertical position detector, is used to store the parameter data addressed by the first address; the FIFO register is controlled by the vertical position detector to timely output said parameter data; and 一参数地址产生器,与所述先进先出寄存器和总线相连,接受所述先进先出寄存器输出的所述参数数据,以在总线上产生一第二地址信号。A parameter address generator, connected with the FIFO register and the bus, accepts the parameter data output by the FIFO register to generate a second address signal on the bus. 3、如权利要求2所述的装置,其特征在于所述第一地址信号是用以定址所述图形存贮器内的一参数阵列,且所述参数阵列是提供所述垂直位置检测器检测垂直位置,以控制所述第二地址信号的发出而定址所述图形存贮器中的色码阵列。3. The apparatus of claim 2, wherein said first address signal is used to address a parameter array in said graphics memory, and said parameter array is provided for said vertical position detector to detect The vertical position is used to control the sending of the second address signal to address the color code array in the graphics memory. 4、如权利要求1所述的装置,其特征在于所述效果处理器装置包括:4. The device according to claim 1, wherein said effect processor device comprises: 一检测器装置,与所述寄存器相连,用以执行透明、混色及层次的检测与处理;a detector device, connected to said registers, for performing transparency, color mixing and gradation detection and processing; 一存贮器装置,连接于所述检测器装置与所述数字/模拟转换器之间,受所述水平位置计数器的控制,用以寄存所述色码及参数数据;以及a memory device, connected between the detector device and the digital/analog converter, controlled by the horizontal position counter, for storing the color code and parameter data; and 一色码寄存器装置,连接于所述存贮器装置和所述检测器装置间,用以将储存于所述存贮器装置的同一图像位置的色码与参数数据供给所述检测器装置进行检测与处理。A color code register device, connected between the memory device and the detector device, is used to supply the color code and parameter data stored in the same image position in the memory device to the detector device for detection with processing. 5、如权利要求4所述的装置,其特征在于所述检测器装置包括:5. The apparatus of claim 4, wherein said detector means comprises: 一与门,具有二输入端与一输出端,其输入端分别连接所述色码寄存器与所述寄存器,以取得相同图像位置的不同色码做逻辑运算;An AND gate has two input terminals and an output terminal, and its input terminals are connected to the color code register and the register respectively, so as to obtain different color codes at the same image position for logical operation; 一加法器,具有二输入端与一输出端,其输入端分别连接所述寄存器与所述色码寄存器,用以比较同一图像位置的层次;An adder has two input terminals and an output terminal, and its input terminals are respectively connected to the register and the color code register for comparing the levels of the same image position; 一比较器,具有二输入端与一输出端,其输入端分别连接所述寄存器与所述色码寄存器,用以比较同一图像位置的层次;A comparator has two input terminals and an output terminal, and its input terminals are respectively connected to the register and the color code register for comparing the levels of the same image position; 一或门,具有一输入端与一输出端,其输入端连接所述寄存器,用以判断所述透明色码;以及An OR gate has an input terminal and an output terminal, the input terminal of which is connected to the register for judging the transparent color code; and 一逻辑门组合,连接所述加法器、所述比较器以及所述或门的输出端,用以产生输出,控制所述存贮器装置是否写入所述色码及参数数据。A logic gate combination, connected to the output terminals of the adder, the comparator and the OR gate, is used to generate an output to control whether the memory device is written into the color code and parameter data. 6、如权利要求5所述的装置,其特征在于所述存贮器装置是一静态随机存取存贮器,且其容量恰能贮存一条屏幕扫描线的数据量。6. A device as claimed in claim 5, wherein said memory means is a static random access memory having a capacity just sufficient to store the amount of data for one screen scan line. 7、如权利要求1、2、3、4、5或6中任何一项所述的装置,其特征在于还包括一状态时序控制器,产生时序信号供所述显示装置内各个装置按一既定时序工作。7. The device according to any one of claims 1, 2, 3, 4, 5 or 6, further comprising a state timing controller for generating timing signals for each device in the display device according to a predetermined Timing works.
CN95103775A 1995-04-04 1995-04-04 Parameterized multi-level image display device Expired - Lifetime CN1073727C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN95103775A CN1073727C (en) 1995-04-04 1995-04-04 Parameterized multi-level image display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN95103775A CN1073727C (en) 1995-04-04 1995-04-04 Parameterized multi-level image display device

Publications (2)

Publication Number Publication Date
CN1132885A true CN1132885A (en) 1996-10-09
CN1073727C CN1073727C (en) 2001-10-24

Family

ID=5074862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN95103775A Expired - Lifetime CN1073727C (en) 1995-04-04 1995-04-04 Parameterized multi-level image display device

Country Status (1)

Country Link
CN (1) CN1073727C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1333585C (en) * 2005-09-14 2007-08-22 上海广电(集团)有限公司中央研究院 Method for conducting dynamic video-level treatment based on maximum-minimum value
CN100336386C (en) * 2005-08-22 2007-09-05 上海广电(集团)有限公司中央研究院 Image enhancement method for controlling digital image mean brightness
CN100338647C (en) * 2004-08-06 2007-09-19 马堃 Dynamic display method for static image and browser

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5016876A (en) * 1988-10-14 1991-05-21 Williams Electronics Games, Inc. Video display co-processor for use in a video game

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100338647C (en) * 2004-08-06 2007-09-19 马堃 Dynamic display method for static image and browser
CN100336386C (en) * 2005-08-22 2007-09-05 上海广电(集团)有限公司中央研究院 Image enhancement method for controlling digital image mean brightness
CN1333585C (en) * 2005-09-14 2007-08-22 上海广电(集团)有限公司中央研究院 Method for conducting dynamic video-level treatment based on maximum-minimum value

Also Published As

Publication number Publication date
CN1073727C (en) 2001-10-24

Similar Documents

Publication Publication Date Title
US4286329A (en) Complex character generator
EP0995154B1 (en) Virtual address access to tiled surfaces
EP0019045B1 (en) Graphics display apparatus
JP2001507836A (en) Tile linear host texture storage
CN1008486B (en) image processing system
US4529978A (en) Method and apparatus for generating graphic and textual images on a raster scan display
JPS59210495A (en) Plasma gas panel display system
US3952296A (en) Video signal generating apparatus with separate and simultaneous processing of odd and even video bits
CN1073727C (en) Parameterized multi-level image display device
EP0062669B1 (en) Graphic and textual image generator for a raster scan display
US5317684A (en) Method of storing character data in a display device
CN1877639A (en) Method for showing animation effect
CN1114174C (en) Mosaic image generation device and method
US5929869A (en) Texture map storage with UV remapping
US20030214512A1 (en) Hardware method for sub-pixel anti-aliasing of text on an LCD display
JPH07296157A (en) Method and system of rotating image data
CN1076496C (en) Monochrome triangular display device
CN1097814C (en) Screen display system
JP2000276113A (en) Display control device and its program recording medium
US4952924A (en) Method and apparatus for address conversion in a chinese character generator of a CRTC scan circuit
CN1119770C (en) Memory access method and graphics processing device with shared grid arrangement
JP2000214815A (en) Display control device and its program recording medium
CN1021381C (en) raster scan display system
CN1074048A (en) Universal character (Chinese character) and graphics device
JPS6374090A (en) Access system for character generator

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CX01 Expiry of patent term

Expiration termination date: 20150404

Granted publication date: 20011024