TW305041B - Device for generating screen special effect - Google Patents
Device for generating screen special effect Download PDFInfo
- Publication number
- TW305041B TW305041B TW84107756A TW84107756A TW305041B TW 305041 B TW305041 B TW 305041B TW 84107756 A TW84107756 A TW 84107756A TW 84107756 A TW84107756 A TW 84107756A TW 305041 B TW305041 B TW 305041B
- Authority
- TW
- Taiwan
- Prior art keywords
- attribute
- address
- memory
- index
- generator
- Prior art date
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
Description
30C04130C041
經濟部中央標準局員工消費合作社印製 發明領域: ^^月為一個產生螢幕特殊效果的對應裝置。更値得 一提的是,本發明與一個用來與掃描式顯示(rastertype display)控制器(註一)連結的對應裝置有關,用 描式顯示器產生特殊效果。 註一:掃描式顯示控制器,陰極射線管控制器或crtc即 為一例 發明背景: 傳統的顯示裝置通常包括一個產生水平掃描線開始位 址^線計數器(iinecounter)。此水平掃描線的開始位址將 被送入記憶體計數器(mem〇ryc〇unter)中,而此記憶體計 數器用來產m示麟n (ftame buffef)巾某彳倾線所有點 的位址。另一類的顯示控制器則提供位移暫存器(〇饱^ register)與開始位址暫存器(starting address邮伽)二個暫 存器;並利用這二個暫存器達到畫面水平與垂直平移的效 果。上述所有的顯示裝置都對每一條掃描線的開始位址採 用線性處理方式。 另有一類顯示控制器也廣泛的被掃描式顚示器所使 用。例如.電視遊樂器上的影像式顯示控制器(image-type display controller) 也採用此類顯示控制器。 朴麵顧 千 器中將256X25__大小的營幕分割^個 像或物件)。一個8x8圖素大小的字元能顯示在一個32幻2 的區域中。此類型顯示器電路由一個字型唯讀記憶體Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy Field of Invention: ^^ Month is a corresponding device that produces special effects on the screen. More notably, the present invention relates to a corresponding device used to connect to a raster type display controller (Note 1), and a scanning display is used to produce special effects. Note 1: Scanning display controller, cathode ray tube controller or crtc is an example. BACKGROUND OF THE INVENTION: Conventional display devices usually include an iinecounter that generates a horizontal scanning line start address. The starting address of the horizontal scanning line will be sent to the memory counter (mem〇ryc〇unter), and this memory counter is used to generate the address of all points of a certain oblique line . The other type of display controller provides two registers: a shift register and a starting address register; and the two registers are used to achieve the horizontal and vertical picture. Pan effect. All the above-mentioned display devices adopt a linear processing method for the start address of each scanning line. Another type of display controller is also widely used by scanning type indicators. For example, the image display controller (image-type display controller) on TV game instruments also uses this type of display controller. Pu Mian Gu Qian divides the 256X25 __- sized camp curtain into ^ an image or an object). An 8x8 pixel-sized character can be displayed in a 32 Magic 2 area. This type of display circuit consists of a font-only memory
If: 一裝------訂-----1..V (請先閱讀背面之注意ί項再填寫本頁) 83. 3. 10,000 -2 - A7If: One set ------ order ----- 1..V (please read the notes on the back before filling in this page) 83. 3. 10,000 -2-A7
五、發明説明(2·) 此字元的代碼必須存人緩衝記憶體中的相對位^ 水平掃描到某字元時,缓衝記舰巾鱗此字元/螢幕 巧被當做唯敎憶_位址,接辆示唯敎^體中的 經濟部中央榇準局員工消費合作社印li 3〇C〇4i (d^cter^)M)與緩衝記憶 _buffer Ram)_ 時’唯讀記憶體中代表 址的資 資料 I國的fi式顯示控制器的例子是所提的 吴國專利,域4,754,270稍加修改而成。此專利的勞幕 解析度為1 〇24x256(即水平解析度為前述例子的四户 MUrauc_提顯雜的補巾,通麵示口的影 以8x8位兀形式儲存於唯讀記憶體中。緩衝 处32個位址,且每個位__勞幕33;=置有緩 衝記憶體的水平位址每隔5Qns被更新—次而垂直位址更新 的週期相當於水平遮沒勒的四倍纽是垂直遮沒週期的 兩倍。用於指示影像位置關始位址,儲存於水平愈垂直 位址計數器中並利用相對應加法器達到計數 二對於水=與垂直的加法器利用事先設二:;完匕^ 立址擅器的功能。利用適當的被加數資料可使被顯示的 字元放大或縮小。 ^ ‘Murauchi的,270號專利被提出的前,在美國專利編 號4,1 〇7,665内,提出一種稱為vc〇(即電壓控制振盪器)的 裝置。此振盪器頻率的輸出的頻率可由cpu所改變同步, 且位址計數器的計數同步於振盪器的輸出。如電壓控制振 盪器輸出的頻率愈高則顯示於螢幕的物體氽小。相反的,V. Description of the invention (2 ·) The code of this character must be stored in the relative position in the buffer memory ^ When a certain character is scanned horizontally, the character / screen of the buffer memory scale is regarded as the only memory_ Address, pick up the car to display the only memory in the Central Ministry of Economic Affairs of the Ministry of Economy, Consumers and Consumers Cooperative Li 3〇C〇4i (d ^ cter ^) M) and buffer memory _buffer Ram) _ 时 'Read-only memory The example of the fi-type display controller in country I is the mentioned Wu patent, with a slight modification of domain 4,754,270. The labor screen resolution of this patent is 1024x256 (that is, the horizontal resolution is the four household MUrauc_promoting complex patch of the previous example, and the shadow of the display port is stored in the read-only memory in the form of 8x8 bits. 32 addresses in the buffer, and each bit __ labor screen 33; = the horizontal address with the buffer memory is updated every 5Qns-and the period of the vertical address update is equivalent to four times the horizontal mask The button is twice the vertical blanking period. It is used to indicate the position of the image and the starting address. It is stored in the horizontal and vertical address counter and is counted using the corresponding adder. For water = the vertical adder is set in advance. Two :; end dagger ^ the function of the address controller. Using appropriate addend data can make the displayed characters enlarge or shrink. ^ 'Murauchi, before the 270 patent was proposed, in the US Patent No. 4, In 1 〇7,665, a device called vc〇 (that is, voltage-controlled oscillator) is proposed. The frequency of the output of this oscillator frequency can be changed by the CPU and synchronized, and the address counter is synchronized with the output of the oscillator. Such as voltage The higher the frequency of the control oscillator output, the Tun small object in the screen. Instead,
^ ^ .玎----------------------- (請先閲讀背面之注意事項再填寫本頁) 經濟部中央橾準局員工消費合作社印製 五、發明説明(3 ) I壓控制懸器輸出的解愈低_示於錄的物體愈 傻咖i放大’缩小的技術被應用於顯示的影 ϊ 1專利,655號的電壓控制綠器則可用於控整 面。專利‘650號的畫面放大、縮小+ 」固且 的顏率改料絲Π 士bf _@壓控制振I器 改欠比羊相冋。由於頻率改變比率受限於 ί表:此畫ϊΐ大、縮小的比例無法有效的滿足需求而 線::=355搞發_無法應特定單—掃插 曼明摘要: 鹿费^發日ίίϊ目Ϊ提供—個用來產生錄特殊效果的對 連結的對應裝置有關,能使掃描式顯示器的i面^ ^. 玎 ----------------------- (Please read the precautions on the back before filling out this page) Printed by the Employee Consumer Cooperative of the Central Ministry of Economic Affairs System V. Description of the invention (3) The lower the solution of the output of the I-pressure control hanger, the more the object shown in the record is more stupid. The technique of zooming in and zooming out is applied to the displayed image 1 patent, voltage control green device No. 655 It can be used to control the entire surface. The patent ‘No. 650 ’s screen enlargement and reduction +” solid color ratio change material Π 士 bf _ @ 压 控制 振 I 器 Changed the ratio of sheep to sheep. Because the frequency change rate is limited by the table: the large and narrow ratio of this picture cannot effectively meet the demand and the line: == 355 現 发 _Cannot respond to a specific order—scanning and inserting the Manming summary: deer fee ^ 发 日 ίίϊ 目ΪProvide a device for recording special effects on the connected corresponding device, which can make the i-face of the scanning display
產iii效果,如放大、縮小、扭曲、二維與三維旋i 二維特殊效果等。 H 本發明所發表的顯示控制器基本上包含以下項目 (1)、、、泉位址產生器或掃描線計數器(scan line⑺unter)定義 含於虛擬視窗中的實際視窗,其目前所顯示掃描 (即線計數値) 观 ⑺指標矩陣記憶體㈣他㈣呵⑽㈣初’用來儲存指向 一個以連續方式排列的屬性記錄(attribute entry)的位 (即在項目(4)所定義的屬性矩陣記憶體所儲存的屬 址)指標。 4 - 本紙張尺度適财_家料(CNsT^ii"( 210x297^ 83· 3· 10,000 ^ 裝------訂------- (請先閲讀背面之注意事項再填寫本頁j (3) 第一位址位移(address 〇饱呦暫存器或產生器,用來使掃 描線計數器輸出的線計數値產生位移。 (4) 第一加法器,用來將(1)的線計數値與(3)第一位址位移暫 存器相加。此一加法器提供一簡便的方法使線計數値 產生位移(即被處理的掃描線所對應到的屬性位址被改 4)。此一位移將影響往後的線計數値直到位移値被改 變為止。 (5) 屬性矩陣記憶體(attribute array memory),此記憶體至少 儲存一組屬性記錄。每組屬性記綠包含某一條掃描線 的開始位址或位移(ADR),V位元(V),水平位移 (OFFSET)和放大、縮小參數(SCALE)。這些屬性將配 合用來產生螢幕特殊效果。 (6) 第二位址位移暫存器或產生器,藉著位移屬性位址指標 (attribute address pointer)來達到改變某一條掃描線所Produce iii effects, such as zoom in, zoom out, distortion, 2D and 3D rotation i 2D special effects, etc. H The display controller disclosed in the present invention basically includes the following items (1), ,, spring address generator or scan line counter (scan line ⑺unter) defines the actual window contained in the virtual window, and its currently displayed scan (i.e. Line count value) View ⑺ Index Matrix Memory (Other) ∽ ⑽ ㈣ Chu 'is used to store a bit pointing to an attribute entry arranged in a continuous manner (that is, in the attribute matrix memory defined in item (4)) Stored address) indicator. 4-The size of this paper is suitable_Home Material (CNsT ^ ii " (210x297 ^ 83 · 3 · 10,000 ^ Packing ------ Order ------- (Please read the precautions on the back before filling in this Page j (3) The first bit address shift (address ○ full register or generator is used to shift the line count value output by the scan line counter. (4) The first adder is used to shift (1) The line count value of (3) is added to the first address shift register. This adder provides a convenient method to shift the line count value (that is, the attribute address corresponding to the processed scan line is changed 4). This displacement will affect the subsequent line count value until the displacement value is changed. (5) Attribute matrix memory (attribute array memory), this memory stores at least one set of attribute records. Each set of attributes is recorded in green. The start address or displacement (ADR), V bit (V), horizontal displacement (OFFSET), and zoom-in and zoom-out parameters (SCALE) of a scan line. These attributes will be used in conjunction to produce screen special effects. (6) Two address shift registers or generators, by shifting the attribute address pointer to achieve a certain change The scanning line
應到的屬性記錄。 W (7) 第二加法器,用來將⑵中的屬性位址指標與⑹中的第二 =址位移相加。此一加法器提供一簡便的方法使屬性〜 位址指標因與第二位址位移暫存器相加而改變, 掃描線可對應到不同的屬性。 f 鲤濟部中央橾準局員工消費合作社印裳 ⑻記隐祖產生器(mem〇ry以办挪genemt〇r),用來產生目, 正處理的掃描線上面每一點的記憶體位址。 則 為達成畫面垂直平移(即開始位址位移)能以相對或 方式表示,本發明中之顯示控制器另包括: ' (9)第三加法器,將屬性中的開始位址位移資料與線計數。。 的資料相加。 路 冬紙浪尺度適用中國國家榡準(CNS) M規格(21〇Χ297公楚) A7 五、發明説明( 器利用三加法器與記憶體產生器之間。此多工 料為屬S由中的v位元來選擇送到記憶體產生器的資 的t的開始位址(即絕對位址模式)或第三加法器 的鈿出(即相對位址模式)。 的产顯示控制裝置中,每一掃描線有一組相對 線曰軚矩陣記憶體。每一指標記載對應此-掃描 护,、並出I於屬性矩陣中的位址。在指標矩陣中的不同指 二2 才時’這意謂著不同掃描、線可擁有相同的屬 於屬,ΐ矩陣由 =共用繼存空間縮小。儲存 姓^皁次屬性表中的屬性和參數用來產生掃描線的特 (請先閱讀背面之注意事項再填寫本頁} •裝 經濟部中央標準局員工消費合作社印製 °:個較理想的屬性絲具有下列數項:掃描線的 h 1址或相對位移或,V位元(ν),水平位移 =HET)和放大、縮小參數(SCALE)。數個不同的指標 2,二同的位址(即數條掃描線因具有相同的屬性位址値 而具有相同的屬性)。 # _ί—條掃描線皆利用指標矩陣中的指標値對應到屬性 Γί中,而得到—組相對於此一條掃描線的屬性。屬性矩 ,中^每—組屬性可根據所需要的躲效果來事先設定, 、將這些屬性的位址記錄於位址矩陣中。屬 ,即是由這些屬性記錄所構成。但是在某 m :屬性矩陣亦可只有—組屬性記錄而已。利用第一加法 器與第一位移暫存器可使得多條掃描線很快 、 而,發明中第一加屬一位移暫存器的另Ϊ二廣 无知描線所對應到屬性矩陣的容量。 、 本紙浪尺度適财_綠準(CNS) A4規格(21()><297公寶 83· 3· 10,000 -M° 五 經濟部中央標準局員工消费合作社印製 305G41 、發明説明(么) 而這产標。 。儲存於指標矩個= ;(^,v-rET' =出並达入記憶體產生器中。在屬性矩陣之後,被 $處,過的屬性,ADR與線計數器的輸出將分別送入同 工糾屬性中的v位元所控制。記憶體 ^生益利用屬性中的SCALE參數來完成水平放大或縮小 的功能,而利用0FFSET參數達成螢幕水平平移的功能, 利用ADR參數達成螢幕垂直移動的功能。 、為介紹本發明之對應裝置的動作,以利比較本發明與 傳統的位址對應方法與對應裝置之異同。一般VGA或相、 似如Super VGA,等)的畫面,有k+ΐ條掃描線並且位址 表示如圖一。在這個圖中,N為虛擬晝面的寬度(即二條掃 描線其開始位址的相差値),n為顯示於畫面上所謂實際視 自3的寬度’ k為實際畫面的南度減一(即實際畫面有k+i條 線)。畫面中位於座標[X,γ]圖素的記憶體位址為 Ν*Υ+χ(假設每一圖素佔用一個位元組的記憶體)。而這個 記憶體位址計算為簡單的一對一對應程序。傳統的位址對 應方法如圖二,利用一個用來控制第一條掃描線開始位址 的開始位址暫存器(starting address register)與一個控制相 臨兩條掃描線位移的條線位移暫存器(line offset register) 所構成,即可產生實際視窗3,畫面中每一點的位址。圖二 - 7 f:裝 II f靖先閑讀背面之注意事項再填寫本頁j -β l紙張纽適用中國國家標準(CNS )从祕(2川χ 297公楚) 83. 3. 10,000 3〇5〇4l 五、發明説明(j 的開始暫存器用來控制實際視 而線位移暫存器則用來控制相的開始位址, =開;位=差=這 f大値為實際畫面寬;n)。目 中每-咖址將送』‘L·描線的計數。實際視窗 此、二τ T視t本發明的—特殊(只利用本發明很少的功 犯)情形,在此情形下,屬性中開始位址ADR與位移 OFFSET都為固定値。圖一所顯示的每一點圖素的位址 用下列方式表示: 0 1Ί-1 最初的兩條掃描線 N,N+1, 位移為N 5 N+n-1 經濟部中央標準局員工消費合作杜印製 (k-l)N,(k,l)N+l,· · ·,(k-l)N+n-l 位移為N最後兩條掃插線 咖,kN+Ι,· · ·,kN+n-1 _ 8 一 本紙張尺度適用中國國家標準(CMS ) A4規格(210X297公釐) 83. 3. 10 B7 五 '發明説明(y 如屬性中的開始位址暫存器(ADR)利用非零的定値 貝】可插述畫面水平移動的效果。例如畫面水平平移一點 其顯示的每一點位址可用下列方式表示: N+1 η-1,η • ’ N+n-1,N+n kN+i kN+n-l,kN+n 經濟部中央標準局員工消費合作社印製 在本發明所揭露的方法中,每一掃描線的開始位址與 位移都可不同。每一掃描線的位移(水平或垂直位移)是定 義為屬性的一部份,而每一個屬性記錄(儲存於屬性矩陣 中)都有對應的指標(儲存於指標矩陣中),故每—條掃描線 都有所屬的屬性。不同的掃描線可共用相同的指標値(即 相同的屬性)。利用處理這些屬性中位移與開始位址參 數,實際視窗即可在虛擬視窗中水平或垂直的移動/如每 二條掃描線利用不同位移値,畫面亦可達到波紋效果。更 進=步的丄如利用放大、縮小、位移等參數,可達到透視 和二維或三維旋轉的畫面效果。這些將在畫面效果將 下討論。 一 在本發明的對應裝置中,指標矩陣與屬性矩陣 於隨機存取記憶體(RAM)中,如此—來可減少硬體複雜度 本紙張尺度賴巾關轉準(CNS) A4^#. ( 210X297/^7 -------^ i 裂------訂----- (請先閲讀背面之注意事項再填寫本頁} 4 83. 3. 10,000 A7 A7 經濟部中央標準局員工消費合作社印製 發明説明(^ 並提供較大的彈性。另-方面,第—位址位移產生器 二位址位移產生器、加法器、多工器可料銳 控制器(CRTQ、中,如此可進—步降低硬體元件的數目管 在記憶體需求方面,由於每—條掃描線都有—組屬己 的屬性記錄指標(即存在指標矩陣中的指標),對於 NTSC(li際電視系統委貞會)顯示系統而言,指標矩陣至 少而要有525xN個位元組(N代表儲存於指標矩陣中的指標 大小)。由於N較理想是2個位元組;故在指標矩陣中的,‘、 所需的記憶體至少是1K位元組左右。為使第一位移暫存 器能發揮功用,指標矩陣記憶體必須大於1K位元組。在 屬性矩陣方面,由於數條掃描線可共用同一組屬性記錄, 故屬性矩陣最少情形下是一組屬性記錄。更進一步的,由 於NTSC系統(525掃描線,交錯式掃描,每秒3〇畫面)的水 平掃描頻率為15·7ΚΗζ(即每秒5故3〇或15 7k條掃描線 故cpu每秒最多只需更動屬性記錄157k次。 附圖説明: 本發明將配合附圖作詳細描述,以了解本發明較理相 的具體實現方法。 w 圖一為VGA晝面所採用傳統對應方法的表示圖。 圖二為加強傳統對應方法,允許畫面水平移動的裝置 方塊圖 圖三為本發明的對應裝置與方法方塊圖 圖四為本發明在無特殊畫面效果時的對應方式 圖五為本發明在多重視窗下的對應方式 10 -------^ 裝—— (請先閲讀背面之注意事項再填寫本頁) 訂 本紙張尺度適用中國國家標準(CNS > A4规格(210X297公潑) 83. 3. 10,000 A7 A7 經濟部中央榡準局員工消費合作社印製The attribute record that should be reached. W (7) The second adder is used to add the attribute address index in ⑵ and the second = address displacement in ⑹. This adder provides a convenient way to change the attribute ~ address index due to the addition to the second address shift register, and the scan line can correspond to different attributes. f Printed garments of the Employees Consumer Cooperative of the Central Department of the Central Autonomous Prefecture of the Ministry of Economy and Economy ⑻Remember the hidden ancestor generator (mem〇ry for genemt〇r), which is used to generate the memory address of each point on the scan line being processed. In order to achieve the vertical translation of the screen (that is, the start address displacement) can be expressed in a relative or manner, the display controller in the present invention further includes: '(9) A third adder, which shifts the start address displacement data and line in the attribute count. . Add up. The Ludong paper wave scale is applicable to the Chinese National Standard (CNS) M specification (21〇297) A7 5. Description of the invention (The device uses a three-adder and a memory generator. This multi-working material belongs to Syouzhong v bits to select the starting address of t sent to the memory generator (that is, absolute address mode) or the third adder output (that is, relative address mode). In the display control device, each A scan line has a set of relative lines called a matrix memory. Each index record corresponds to this-scan guard, and it is the address in the attribute matrix. The difference in the index matrix refers to the two 2 only time 'which means Different scans and lines can have the same genus, the matrix is reduced by the = shared storage space. Store the surname ^ soap attributes and parameters in the attribute table used to generate the characteristics of the scan line (please read the notes on the back first Fill in this page} • Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs °: A more ideal attribute wire has the following items: h 1 address or relative displacement of the scanning line or, V bit (ν), horizontal displacement = HET) and zoom in and zoom out parameters (SCALE). Several different Mark 2, the same address (that is, several scan lines have the same attribute because they have the same attribute address value). # _Ί-all scan lines use the index value in the index matrix to correspond to the attribute Γί, and Obtain the attributes of a group relative to this one scan line. The attribute moment, the attribute of each group can be set in advance according to the required hiding effect, and the addresses of these attributes are recorded in the address matrix. It is composed of these attribute records. However, at a certain m: attribute matrix, there can be only one set of attribute records. The use of the first adder and the first shift register can make many scan lines fast, and the first in the invention The capacity of the attribute matrix corresponding to the second ignorant tracing of a displacement register is added. 、 The size of this paper is suitable for finance_Green Standard (CNS) A4 specification (21 () > < 297 public treasure 83 · 3 · 10,000 -M ° The 305G41 printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs and the description of the invention (this) and the production standard.. Stored in the index moment =; (^, v-rET '= out and reached into the memory In the generator. After the attribute matrix, it is $ The output of the ADR and the line counter will be sent to the v bit in the iso-correction attribute respectively. Memory ^ Shengyi uses the SCALE parameter in the attribute to complete the horizontal zoom in or zoom out function, and uses the 0FFSET parameter to achieve the screen The function of horizontal panning uses the ADR parameter to achieve the function of vertical screen movement.. In order to introduce the operation of the corresponding device of the present invention, in order to compare the similarities and differences between the present invention and the traditional address correspondence method and the corresponding device. Generally VGA or similar Such as Super VGA, etc.) screen, there are k + 1 scanning lines and the address is shown in Figure 1. In this figure, N is the width of the virtual day plane (that is, the difference between the starting addresses of the two scanning lines), n is the width of the so-called actual view 3 displayed on the screen. k is the south of the actual screen minus one (that is, the actual screen has k + i lines). The memory address of the pixel [X, γ] in the picture is Ν * Υ + χ (assuming that each pixel occupies one byte of memory). And this memory address is calculated as a simple one-to-one correspondence procedure. The traditional address mapping method is shown in Figure 2. A starting address register used to control the starting address of the first scan line and a line displacement temporary to control the displacement of two adjacent scan lines are used. The register (line offset register) can generate the actual window 3, the address of each point in the screen. Picture 2-7 f: Install II f. Please read the precautions on the back and then fill in this page. J-β l The paper button is applicable to the Chinese National Standard (CNS) Cong Mi (2 Chuan x 297 Gongchu) 83. 3. 10,000 3 〇5〇4l V. Description of the invention (The start register of j is used to control the actual apparent line shift register is used to control the start address of the phase, = open; bit = difference = this f is the actual screen width ; n). At the moment, each address will send a count of ‘L · line drawing. Actual window Therefore, the two τ T depends on the special case of the present invention (using only a small number of merits of the present invention). In this case, the starting address ADR and the displacement OFFSET in the attributes are both fixed values. The address of each pixel shown in Figure 1 is expressed in the following way: 0 1Ί-1 The first two scan lines N, N + 1, the displacement is N 5 N + n-1 Employee consumption cooperation of the Central Bureau of Standards of the Ministry of Economic Affairs Du printed (kl) N, (k, l) N + l, (kl) N + nl displacement is N, the last two sweeping line coffee, kN + Ι, ..., kN + n- 1 _ 8 A paper size is applicable to the Chinese National Standard (CMS) A4 specification (210X297 mm) 83. 3. 10 B7 Five 'invention description (y If the starting address register (ADR) in the attribute uses non-zero Fixed value shell can be interpolated the effect of horizontal movement of the picture. For example, if the picture is horizontally shifted, the address of each point displayed can be expressed in the following manner: N + 1 η-1, η • 'N + n-1, N + n kN + i kN + nl, kN + n Printed by the employee consumer cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs In the method disclosed in the present invention, the starting address and displacement of each scan line can be different. The displacement (horizontal or Vertical displacement) is defined as a part of the attribute, and each attribute record (stored in the attribute matrix) has a corresponding index (stored in the index matrix), so each- Scanlines have their own attributes. Different scanlines can share the same index value (that is, the same attributes). By processing the displacement and starting address parameters in these attributes, the actual window can move horizontally or vertically in the virtual window / If each two scanning lines use different displacement values, the picture can also achieve the ripple effect. More advanced = such as the use of zoom, zoom, displacement and other parameters, can achieve perspective and two-dimensional or three-dimensional rotation of the picture effect. These will be in The picture effect will be discussed below. 1. In the corresponding device of the present invention, the index matrix and the attribute matrix are in the random access memory (RAM), so-to reduce the complexity of the hardware, the paper standard and the standard (CNS) ) A4 ^ #. (210X297 / ^ 7 ------- ^ i split ------ order ----- (please read the precautions on the back before filling this page) 4 83. 3. 10,000 A7 A7 The Ministry of Economic Affairs Central Standards Bureau employee consumer cooperative printed an invention description (^ and provides greater flexibility. On the other hand, the first-address displacement generator two address displacement generator, adder, multiplexer can be expected Sharp controller (CRTQ, medium, so can be further reduced The number of hardware components depends on the memory requirements. Since each scan line has a group of attribute recording indicators (that is, indicators that exist in the indicator matrix), it is displayed for NTSC (Li International Television System Council) For the system, the index matrix must have at least 525xN bytes (N represents the index size stored in the index matrix). Since N is ideally 2 bytes; therefore, in the index matrix, ', required Of memory is at least about 1K bytes. In order for the first displacement register to function, the index matrix memory must be larger than 1K bytes. In terms of attribute matrix, since several scan lines can share the same set of attribute records, the attribute matrix is at least a set of attribute records. Furthermore, since the horizontal scanning frequency of the NTSC system (525 scan lines, interlaced scanning, 30 frames per second) is 15.7 ΚΗζ (that is, 5 scans per second, 30 or 15 7k scan lines, the maximum CPU per second is only The attribute records need to be changed 157k times. BRIEF DESCRIPTION OF THE DRAWINGS: The present invention will be described in detail in conjunction with the drawings to understand the specific implementation method of the present invention. W Figure 1 is a representation of the traditional corresponding method used by the VGA day surface. The second is to strengthen the traditional correspondence method, allowing the horizontal movement of the device block diagram. The third is the corresponding device and method of the present invention. The fourth is the corresponding method of the present invention when there is no special picture effect. The fifth is the present invention under multiple windows. The corresponding way 10 ------- ^ Packing-(please read the precautions on the back before filling in this page) The size of the paper for the specification is applicable to the Chinese national standard (CNS & A4 specifications (210X297 public splash) 83. 3 . 10,000 A7 A7 Printed by the Employee Consumer Cooperative of the Central Bureau of Economics of the Ministry of Economic Affairs
A4規格(210X297公釐〉 發明説明(丨Ο 圖六Α為本發明利用多重視窗所表現水波特效時的對 應方式。 圖πΒ為本發明利用多重視窗所表現另一水波特殊效果 時的對應方式。 圖七為本發明使-矩形視窗表現出三維透視效果的對 應方式 圖八為本發明使用Χ,γ,dx,dY等屬性使一矩形視 由表現出一維或三維旋轉的對應方式。 本發明較佳實施率的詳細描诫 A、本揭露—個配合齡控制器的對應裝置,能在掃 =顯7KH·上產生畫面特殊效果。在本發嘱顯示控制裝 ,中,每一條掃描線有—個指標存在指標矩陣記憶體中, 攻一個指標指出掃描線的屬性記綠存在屬性矩陣中的位 址。儲存於屬性矩陣或屬性表中的屬性或參數用來控制畫 ^特殊效果。-個較理想的屬性具有下舰個項目:掃 田、、的開始位址或相對位移(ADR),V位元(V),水平位移 (^)FFSET)和放大、縮小參數(SCALE)。數健標可共用 f —位址(即數條掃描線因具有相同的屬性位址値而具有 相同的屬性) 在參照例圖,圖—闡述了一個典型應用在彩色顯示 對應方式。—個VGA畫面,其視窗擁有κ+1 ’如圖—所示。圖㈣代表虛擬視窗的寬度,打 ίίΐ際視窗的寬度,而k則代表視窗的高度減-。以-圖素大小為一個位元組的系統為例,畫面位置〔χ, 83· 3· !0,0〇〇 -------f 一裝------訂-----r 級 (請先閲讀背面之注意事項再填寫本頁)A4 specification (210X297mm) Description of the invention (丨 Ο Figure 6A is the corresponding method of the present invention using multiple windows to express the water baud effect. Figure πB is the corresponding method of the present invention using multiple windows to express another special effect of water waves. Figure 7 is the corresponding way of making the rectangular window show the three-dimensional perspective effect in the present invention. Figure 8 is the corresponding way of making the rectangular view show one-dimensional or three-dimensional rotation by using attributes such as X, γ, dx and dY. Detailed description of the preferred implementation rate A. This disclosure-a corresponding device that matches the age controller, can produce a special effect of the screen on the scan = display 7KH. In the display control device of this order, each scan line has -An indicator is stored in the indicator matrix memory, and attacking an indicator indicates that the attributes of the scanning line are recorded in green and stored in the address of the attribute matrix. The attributes or parameters stored in the attribute matrix or the attribute table are used to control the drawing ^ special effects. The more ideal attributes are the next ship items: sweeping field, start address or relative displacement (ADR), V bit (V), horizontal displacement (^) FFSET) and zoom in and zoom out parameters (SCALE). The health standard can share the f-address (that is, several scan lines have the same attribute because they have the same attribute address value). In the reference example, Figure-illustrates a typical application in the color display corresponding mode.-A VGA screen , The window has κ + 1 'as shown in the figure. Figure ㈣ represents the width of the virtual window, the width of the window, and k represents the height of the window minus-with-pixel size as a byte Take the system as an example, the screen position [χ, 83 · 3 ·! 0,0〇〇 ------- f pack ------ order ----- r level (please read the note on the back first (Fill in this page again)
、發明説明(V) 素’其記憶體位址為N* Y + X。畫面位置_ ,對應方式可關單的―對―對應程序完成;f 乱’這個對應程序所需要的是實際視窗的起始、又 視窗的寬度和位移N。 夏際 圖二是一個圖例’描述實際視窗3的記憶體 士何用傳統對應方式來達成。圖—所示的傳 —個枳姑府从叙六明. … 万式有 址暫存器—(―嘲㈣和線位 為(lme 〇ffset),起始位址暫存器提供起始位址认 ίϊϋϊ ’線位移暫存器雜制上下兩條掃描線間ii 經濟部中央標準局員工消費合作社印製 ^址的位移。此兩個暫存器將資料送入計數器— ,二則負責計算已顯示的點數(實際視窗的寬度η :各 的數目超過實際畫面寬度,計數器—即送出下二 描二S位開始下一條掃 憶r。倾哭L I際·!面的每—圖素位址接著被送往記 :、^二KI "fe記彔已輕處理的掃描線數目(實際視窗的 貞般紐窗⑽蝴最後—條掃描線。 =所木w ’關—所述的傳鱗應方式可被考虞 ίίϊ t種,(_本發明關閉了很多原有的特性=斤ί 位、’且共,的記錄(即每—條择描線其基本位址 水二#vt ’ ν^(ν)=()(採用相對記憶體位址模式), =i^i=SET)=G ’和放大、縮小參數(SCALE) 它的另-特例, 的屬性’而此雜是—侧定且不為零的 OFFSET ’絲-條掃描線去共用。但是本發明能呈現 】2 --------叫J 裝— (請先聞讀背面之注意事項再填寫本頁) 、-=*2. Description of Invention (V) The memory address of the element is N * Y + X. Screen position _, the corresponding method can be closed. "Corresponding to the completion of the corresponding program; f chaos" This corresponding program requires the start of the actual window, and the width and displacement of the window N. Xia Ji Figure 2 is a legend 'describing how the memory of the actual Windows 3 can be achieved using traditional correspondence. Figure-Biography-A tribute to Zhigu from Xuliu Ming ... 10000-type address register — (― Movie and line position is (lme 〇ffset), the start address register provides the start bit Recognize the address of the 'Line shift register hybrid system between the upper and lower two scan lines ii Printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs ^ the displacement of the address. These two registers send the data to the counter — and the second is responsible for calculation The number of points displayed (the width of the actual window η: the number of each exceeds the actual screen width, the counter—that is, the next two strokes and the S bit are sent to start the next scan r. Every bit of the pixel of the crying LI !! surface The address is then sent to the account: ^ 二 KI " fe record the number of scan lines that have been lightly processed (the real window of the real window ⑽ butterfly last-the scan line. = Soki w 'Off-the pass The scale application method can be tested. (_This invention closes a lot of original features = the record of the position, and the common, (that is, the basic location of each line of the selected line is water #vt 'ν ^ (ν) = () (using relative memory address mode), = i ^ i = SET) = G 'and zoom-in and zoom-out parameters (SCALE) It is another special case of And this miscellaneous thing is-OFFSET 'wire-line scanning lines that are fixed and non-zero to share. But the present invention can present] 2 -------- called J equipment-(please read the back side first Matters needing attention before filling this page),-= *
• I — I I I H— 本紙張尺度適用中國國家〉A^«i^T〇 X 297公釐) 83. 3. 10,000 IK · A7 A7 > =址位移;e)屬性鱗峨_,負責儲存所 這些屬性包括:起始位址(ADR),V_位元(V)水 r=ilFSET)J和放大、縮小參數⑻細)等等,這• I — IIIH— This paper scale is applicable to the country of China> A ^ «i ^ T〇X (297 mm) 83. 3. 10,000 IK · A7 A7 > = address displacement; e) attribute scales _, responsible for storing these Attributes include: start address (ADR), V_bit (V) water r = ilFSET) J and enlargement and reduction parameters ⑻ fine), etc., this
五、發明説明(I =且更複雜崎幕特效,而不需祕花費昂貴的硬體支 圖三是本發明的原理與對應裝置的圖解 不控制器基本上包括a)線位址產生器(即掃插▲ Μ 目頌即掃描線計數_指Λ陣 β匕:2。用作儲存母—條掃描線的屬性位 2移產生fG,提供位址位移暫存器沖第H ,35 ’、把從a)所彳于的掃描線計數値加上從〇所得的 性,指=至每-條掃描線以產生特殊效果力第二位 f #提供—姉雖移键器,用來 標車4〇中屬性的位址。碱二加法器55, 力指標加上〇的第二位址位移暫存器;h) 中二哭負責把掃描線計數器的輸出資料加上屬性 力沐抑51 ϋ器70 ’根據乂位元資料,選擇ADR或第三 ί出値和j)記憶體位址產生器,產生呈現在勞 幕知榀線上母一個圖素的記憶體位址。 φ ΐίϊ的顯示控制裝置内’每—條掃描線在指標矩陣 二ίϋ组儲存在指標矩陣記憶體2G中的指標。每一 對於f生矩陣中—组記錄的紐,提供每一條 f田、’㈣彳生。每—組屬性辦的記錄包括了特定择描 13 -210X297 公釐) 83. 3. 10,000 訂 Λ ih卜 A7 A7 經濟部中央標準局員工消費合作社印製 、發明説明(Μ 殊ίί效果所f的參綱性。理想的屬性 =錄應,-條知描線的屬性資料,如起始 v位兀(v)、水平位移(0FFSET),和放大、縮小^數 fCALE) °數個指標能共用一個相 掃= 泉能巧相同的屬性。V位元的輸入値不 L,/、目的疋要辨別所輸入的奶尺屬性是—個絕對位址 實際視窗的開始位址有關)或相對位址與正 描 線有關)。若V位元等於丨,纖位址^是直接 的)。另一万面,若V位元等於〇,位址是—個相對基 f位f、。在考慮水平位移效果之前,每一條掃描線的起始 =數器必需加上line_number χN的値(丨ine—number為目 削所顯示的掃描線條號碼,而N為圖一所示虛擬視窗的寬 度)。因為虛擬視窗的寬度基本上就是顯示裝置的寬度且 通常能以2m(512,1024等;m=l〇g2N)表示,所以可視為每 條掃描線的開始位址被位移’即八^+此^胃^^!!!, 而ADR亦 可被看成垂直平移或垂直位移。總而言的,每一條掃描線 的記憶體計數器的起始位址可由下列公式表示: 記憶體計數器開始位址= (V)?ADR:ADR+line_number X 2m 也就是説 若(V==l)記憶體計數器開始位址=ADR; 否則記憶體計數器開始位址=ADR+line_number X 2m 在複雜的螢幕效果(例如透視法或2D/3D旋轉),絕對的垂 直平移(V位元=1)是需要的。 14 f -袭------ΐτ-----{ix (諳先聞讀背面之注意事項再填寫本頁) 木紙張尺度適用中國國家標準(CNS > Α4規格(210Χ297公釐) 83. 3. !0,〇〇〇 經濟部中央標準局員工消費合作社印製 A7 ---—B7 五、發明説明(#) 如圖三所示,ADR資料和線計數器的資料(線條數)將 會被輸入至第三加法器75,而ADR資料和由第三加法器 所輸出資料也會被輸入至多工器70,此多工器的輸出則由 乂位元資料所控制。値得注意的是只有SCALE、OFFSET 貪料和多工益·70的輸出貧料(ADR或ADR+line number x 2’被輸出至記憶體計數器60。垂直位移亦可以位移線的 數目ADL來表示,在此情況下,垂直平移成為 (ADL+line number) x2m。 在圖三中的對應裝置,屬性矩陣的每一組記錄由“屬 性表”中的一個列表示,這些記錄將會被指派至特定的择 描線。多個屬性記錄由使用者事先定義且有次序地组織成 為屬性矩陣或屬性表。每一組屬性記錄都在指標矩陣有一 個屬性位址(指標)。屬性表可由軟體產生並儲存至内 或因應需要燒錄在ROM内。運用第一加法器和第一位移 暫存產生器,對應到一组掃描線的屬性記錄可由使用者快 速的更新。整體來説,第一加法器和第一位移暫存產生器 提供亦能增強本發明所能達到的對應範圍。 、每一掃描線在指標矩陣20各有一組相對的指標。如上 所述丄每一條掃描線所對應到屬性矩陣中的屬性記錄,必 須由第一加法器35的輸出所決定。指標矩陣3〇的屬性位址 提供了一基礎位址,此位址將會被第二位址位移產生器邓 的址位移暫存器所修正,而得到屬性矩陣40所參考的 最後屬性位址。以此最後屬性位址,掃描線的屬性: SCALE、OFFSET、V、ADR等從屬性矩陣40讀出至記憶 - ]5 - 木紙張尺度通用豕標準(CNS ) A4規格(210^^" 83. 3. 10,000 (請先閏讀背面之注意^項再填寫本頁) 裝------訂----- A7 B7 305041 五、發明説明(丨() 體位址產生器60。記憶體位址產生器6〇根據SCALE資料 扮演放大、縮小的功能,當中OFFSET屬性提供勞幕掃描 線水平平移的資料’而ADR屬性則提供掃描線垂直平移 (垂直移動)的資料。起始位址資料,由屬性矩陣4〇提供的 OFFSET資料(從屬性矩陣所讀出的)*SCALE資料(從屬性 資料所讀出的),和處理(透過第三加法器75)或未處理的 ADR資料(V位元選擇通過多工器70的資料)都會被輪 記憶體計數器60去決定呈現在螢幕,構成每一條掃插線上 圖素的最後記憶體位址。 、在本發明的對應裝置中,指標矩陣記憶體和屬性矩陣 記憶體能儲存在畫面緩衝區的^]^内,如此可降低所兩 硬體的複雜度。屬性矩陣也能是儲存在尺〇]^内的固定而 ^另—方面,第—位址位移產生器(能提供—個位移暫 存恭)和第二位址位移產生器(也是提供—個位移暫存器 不同的加法器和/或多工器能設計在陰極射線管控制器 (CRTC)内,如此能減少對應裝置的物數量 ^ 描線都需要擁有一個指標(即指標矩陣中的一個指)、 uTT^Tati〇ml TdeViSi〇n Systems Co^ittee)l^^ 統中,記舰就f錢)、525χ_ 3 標矩陣中的—個指標位址的大小)。較理^ f ’⑽旨轉^記憶 屬性矩陣中,因數條掃描線能 錄。但是,若能讓第一和第二位移產生器運作且=以 ——_____ - 16 - '紙張峨用中國" 裝 訂 f i (請先閱讀背面之注意事項再填寫本頁) 經濟部中央裙準局員工消費合作社印聚 83. 3.10,000 A7 A7 經濟部中央標準局員工消費合作社印製 Β7 五、發明説明(!b) 上的屬性記錄是必需的。在理想的狀況下,每一組屬性記 綠估8位元組,屬性矩陣必須估64K記憶體。 因為在NTSC系統(525線,交錯)中的水平掃描頻率為 l5.7kHz(在3〇張/秒狀況下每秒最多丨5 7^掃描線),所以 CPU每秒取多只需更新記憶體位址的資料15 %次。本發 明運用加法器而不是傳統的乘法器,相對較低的操作速度 亦比傳統系統消耗較少的電力。本發明亦可減少了晶片面 積的大小,所以能降低製造的成本。在前面所提的理想狀 況下,指標和屬性記錄所佔的記憶體大小分別為2和8個 位元組’在母秒丨5.7k的情況下,每秒只需要處理28〇k位 元組的資料。 /現在藉由以下的例子,對本發明有一更專業的描述。 値得注意的是以下所描述的例子所呈現本發明的理想狀 沉’目的只是説明和描述,並非意圖去列舉或去限制本 明的特定形態。 例一Fifth, the description of the invention (I = and more complex effects, without the need for expensive hardware support. The third is the principle of the present invention and the corresponding device illustration. The controller basically includes a) line address generator ( Scanning and Inserting ▲ Μ eye song is scanning line count_ refers to Λ matrix β dagger: 2. It is used to store the attribute bit shift of the mother-scanning line 2 to generate fG, providing an address shift register for H, 35 ', Add the value obtained from 0 to the scan line count value obtained from a), and refer to = to each-scan line to produce special effects. The second digit f #Provided — although the key shifter is used to mark the car The address of the attribute in 4〇. Alkali second adder 55, the second address displacement register of the force index plus 0; h) Zhonger crying is responsible for adding the output data of the scan line counter to the attribute force control 51 and the device 70 'according to the bit data , Select ADR or the third output value and j) the memory address generator to generate the memory address of a pixel that is displayed on the screen of the screen. Each display line in the display control device of the φ ’s index is stored in the index matrix memory 2G in the index matrix. Each For each group of records in the f-generation matrix, provide each field, ‘㈣ 彳 生. The records for each group of attributes include specific selections (13-210X297 mm) 83. 3. 10,000 orders Λ ih bu A7 A7 Printed and invention descriptions printed by the employee consumer cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs Participation. Ideal attribute = recording, -information data of the trace, such as the initial v bit (v), horizontal displacement (0FFSET), and zoom in and zoom out ^ number fCALE) ° Several indicators can share one Phase sweep = Quan Nengqiao has the same attributes. The input value of the V bit is not L. The purpose is to distinguish whether the input milk ruler attribute is an absolute address (the actual window start address is related) or the relative address is related to the positive line). If the V bit is equal to 丨, the fiber address ^ is direct). On the other side, if the V bit is equal to 0, the address is a relative base f bit f. Before considering the effect of horizontal displacement, the start of each scanning line = the counter must add the value of line_number χN (丨 ine—number is the number of the scanning line displayed by the mesh, and N is the width of the virtual window shown in Figure 1 ). Because the width of the virtual window is basically the width of the display device and can usually be expressed in 2m (512, 1024, etc .; m = l〇g2N), it can be considered that the start address of each scan line is shifted, that is, eight ^ + this ^ Stomach ^^ !!!, and ADR can also be regarded as vertical translation or vertical displacement. In summary, the starting address of the memory counter of each scan line can be expressed by the following formula: memory counter starting address = (V)? ADR: ADR + line_number X 2m That is, if (V == l ) Memory counter start address = ADR; otherwise memory counter start address = ADR + line_number X 2m In complex screen effects (such as perspective or 2D / 3D rotation), the absolute vertical translation (V bit = 1) is needed. 14 f-袭 ------ Ιτ ----- {ix (I understand the precautions on the back and then fill in this page) The standard of wood paper is applicable to the Chinese national standard (CNS > Α4 specification (210Χ297mm) 83. 3. A7 ----- B7 printed by the Employee Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs V. Invention description (#) As shown in Figure 3, ADR data and line counter data (number of lines) It will be input to the third adder 75, and the ADR data and the output data from the third adder will also be input to the multiplexer 70, and the output of this multiplexer is controlled by the bit data. Note It is only SCALE, OFFSET and multi-worker output output 70 (ADR or ADR + line number x 2 'is output to the memory counter 60. The vertical displacement can also be expressed by the number of displacement lines ADL, here In this case, the vertical translation becomes (ADL + line number) x2m. In the corresponding device in Figure 3, each group of records in the attribute matrix is represented by a column in the "attribute table", and these records will be assigned to a specific selection Line drawing: Multiple attribute records are defined by the user in advance and organized into an attribute matrix in an orderly manner Attribute table. Each set of attribute records has an attribute address (index) in the index matrix. The attribute table can be generated by the software and stored in it or burned in ROM as needed. Use the first adder and the first displacement temporary storage The generator, the attribute records corresponding to a set of scan lines can be quickly updated by the user. Overall, the first adder and the first displacement temporary generator provide can also enhance the corresponding range that can be achieved by the present invention. A scan line has a set of relative indexes in the index matrix 20. As mentioned above, the attribute record in the attribute matrix corresponding to each scan line must be determined by the output of the first adder 35. The attributes of the index matrix 30 The address provides a basic address, which will be corrected by the address shift register of the second address shift generator Deng to obtain the last attribute address referenced by the attribute matrix 40. With this last attribute bit Address, scan line attributes: SCALE, OFFSET, V, ADR, etc. are read out from the attribute matrix 40 to memory-] 5-Wood Paper Standard Universal Soap Standard (CNS) A4 Specification (210 ^^ " 83. 3. 10,000 ( Please first Note on the back of leap reading ^ item and then fill out this page) ——————- A7 B7 305041 Fifth, the invention description (丨 () body address generator 60. memory address generator 6〇 according to SCALE data plays the function of zooming in and out, of which the OFFSET attribute provides the data of the horizontal translation of the scanning line and the ADR attribute provides the data of the vertical translation (vertical movement) of the scanning line. The starting address data is provided by the attribute matrix 4〇 OFFSET data (read from the attribute matrix) * SCALE data (read from the attribute data), and processed (via the third adder 75) or unprocessed ADR data (V bit selection through multiplexer 70 data) will be determined by the round memory counter 60 to be displayed on the screen, constituting the last memory address of each scan line pixel. In the corresponding device of the present invention, the index matrix memory and the attribute matrix memory can be stored in the screen buffer, which can reduce the complexity of the two hardware. The attribute matrix can also be fixed and stored in the ruler ^^. In addition, the first address displacement generator (can provide a temporary displacement memory) and the second address displacement generator (also provide a Different adders and / or multiplexers for the displacement register can be designed in the cathode ray tube controller (CRTC), which can reduce the number of objects of the corresponding device ^ The traces need to have an index (that is, an index in the index matrix ), UTT ^ Tati〇ml TdeViSi〇n Systems Co ^ ittee) l ^^ In the system, the ship is worth money), the size of an index address in the 525χ_3 standard matrix). It is reasonable to transfer ^ f ’⑽ purpose to ^ memory attribute matrix, factor scan lines can be recorded. However, if the first and second displacement generators can be operated and == ——_____-16-'Paper use China " binding fi (please read the precautions on the back before filling in this page) Central Ministry of Economic Affairs Printed by the Bureau ’s Staff Consumer Cooperative 83. 3.10,000 A7 A7 Printed by the Ministry of Economic Affairs Central Standards Bureau Staff Consumer Cooperative B. V. The attribute record on the description of the invention (! B) is required. In an ideal situation, each group of attributes is estimated to be 8 bytes in green, and the attribute matrix must be estimated at 64K of memory. Because the horizontal scanning frequency in the NTSC system (525 lines, interleaved) is l5.7kHz (up to 丨 5 ^^ scanning lines per second under the condition of 30 sheets / second), the CPU only needs to update the memory bit per second. 15% of the data of the address. The present invention uses an adder instead of a traditional multiplier, and the relatively low operating speed also consumes less power than the conventional system. The invention can also reduce the size of the wafer area, so the manufacturing cost can be reduced. In the ideal situation mentioned above, the memory size occupied by the index and attribute records is 2 and 8 bytes respectively. In the case of mother seconds 5.7k, only 28〇k bytes per second data of. / Now the following examples give a more professional description of the present invention. It should be noted that the examples described below present the ideal state of the invention. The purpose is only for illustration and description, and is not intended to list or limit the specific forms of the invention. Example one
#圖四為本發明在無特殊晝面效果時的對應方式。第一 $第二兩位移暫存產生器30,50不是關掉就是保持間置 (停止)。每一條掃描線在屬性矩陣都有—組相對的指標(位 址或暫存器),這些資料都被儲存在指標屬性矩陣20内。 f此例子g中’所有指標使用相同的屬性位址。如圖四中 H、\斤下所有指標指向屬性表中的同—記錄。因為沒有 #殊效果在此鮮+呈現,其共關屬性記錄:SCALE -17 本紙张尺度適用中國國家 -------^ 人 裝------訂-----^ ^ (請先閱讀背面之注意事項再填寫本頁) * \ ^ m. / 83. 3. 10,000 A7#Figure 4 is the corresponding method of the present invention when there is no special daytime effect. The first $ second two-shift temporary storage generators 30, 50 either turn off or remain intermittent (stop). Each scan line has a set of relative indicators (addresses or registers) in the attribute matrix. These data are stored in the index attribute matrix 20. f In this example g, all indicators use the same attribute address. As shown in Figure 4, all indicators under H, \ jin point to the same-record in the attribute table. Because there is no # special effect in this fresh + present, its related attribute record: SCALE -17 This paper standard is suitable for the Chinese country ------- ^ people's clothing ------ order ----- ^ ^ (Please read the precautions on the back before filling in this page) * \ ^ m. / 83. 3. 10,000 A7
五、發明説明(/ 7) 經濟部中央標準局員工消費合作社印製 為ι(/丈有放大或縮小);v為〇(相對基礎位址模式);〇ffset 為0(沒有水平平移)和ADR為0(没有相對垂直平#多)。 例二 圖五為本發明在多重視窗下的對應方式。每個視窗中 每條掃描線各有其對應的指標。如圖五所示,同一視窗中 的所有的掃描線都有相同的位址指標。但是它們能對應到 不同的屬性記錄。第一視窗(視窗“0”)擁有m+1條掃& 、'泉,所有掃描線都被指派到同一位址指標“〇,γ到屬性矩束 ,0個屬性記錄)。第二視窗(_“「)(擁1+1條 掃描線,所有掃描線都被指派到—位址指標“2,,(到屬性矩 陣中第2個屬性記錄)。第一視窗是一“正常,,的視窗;然 而,第二視窗則擁有“2”的SCALE、“10”的水平平移為和“ 1 ’ 000”的垂直平移。當然,其它屬性亦可被指派。 例三 圖六A為本發明利用多重視窗所表現水波特效時的對 應方式。第一個視窗的每條·掃描線各有相對於指標矩陣中 各自的指標。此指標的〇FFSET(水平平移)値先開始增 加,然後下降(從第一至第四線,〇FFSET的値分別為i, 2 ’ 3及2 ’ 1)。利用處理0FFSET値,掃描線呈現出“水波” 的效果,如圖六所示(符號,,表示空白)。在這個例子,/ 第二個視窗的掃描線對應到與第一組相同的屬性 效果重覆的產生。 例四 -18 - 本紙浪尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 83. 3.10,000 裝 訂 (請先閲讀背面之注意事項再填寫本頁} 經濟部十央標準局員工消費合作社印製 A7 B7 五、發明説明(丨丨) ~~~ --- 圖六B為本發明利用多重視窗表現另—水波特效時的 對應方式。如圖六所描述,兩視窗内的掃插線各對應到相 同的指標。這個例子應用了與例三相同的屬性矩陣了本例 子與例三最主要的差異在於第二位址位移產生器產生位移 暫存器其内容為“1”。這也致使指標矩陣的所有^性位 1 增加“1”。如圖6B所示,我們能得到一種不同的水波^ 果。 例五 圖七為本發明使一個矩形視窗表現出三維透視效果的 對應方式。在這個例子中,每一條掃描線都被給與—組個 別的SCALE(從S[0],S[l],…至S[K])、一組個別/的、 OFFSET(從0[〇] ’ 〇[1],…至〇[K])和—組個別的ADR(從 Y[〇],Y[l] ’…直至Y[K])。因為這一個例子包括較大程度 對屬性的操控’所以ADR値是依據絕對位移(所有V位元 屬性都是“1”)。只需簡單地輸入合適的OFFSET1和 OFFSET2値,螢幕甚至能移動(向前或向後)或跳至不同的 螢幕。 例六 屬性矩陣能含有不同類型的屬性。圖八為本發明使用 X ’ Y ’ dX ’ dY等屬性使一個矩形視窗(有k條掃描線)表 現出二維或三維旋轉(二維旋轉加上透視效果)的對應方 式。在此一例子,X和γ是分別是每一條掃描線(經過二維 旋轉後’第一圖素的水平和垂直的位置)的絕對水平、垂 直位移,dY/dX就是旋轉線的斜率,而|(dX,dY)|則是二 -19 - (請先閲讀背面之注意事項再填寫本育) -裝. 訂 線 本紙張尺度適用中國國家椋準(CNS ) 規格(210X297公釐) 83. 3. 10,000 305041 a? _ _B7 —__ 五、發明説明(丨 維影像顯示的放大、縮小參數。爲方便說明起見’我們先來看二條 掃描線1 n、1 .和、。在第一視窗中,掃描線1 0的起始位置(座標)5. Description of the invention (/ 7) The employee consumer cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs is printed as ι (/ zoom with zoom in or zoom out); v is 〇 (relative to the basic address mode); 〇ffset is 0 (no horizontal translation) and The ADR is 0 (there are no more vertical vertical ##). Example 2 Figure 5 shows the corresponding method of the present invention under multiple windows. Each scan line in each window has its corresponding index. As shown in Figure 5, all scan lines in the same window have the same address index. But they can correspond to different attribute records. The first window (window "0") has m + 1 scans & quan, all scan lines are assigned to the same address index "〇, γ to attribute moment beam, 0 attribute records). The second window (_ "") (With 1 + 1 scan lines, all scan lines are assigned to-address index "2," (to the second attribute record in the attribute matrix). The first window is a "normal," However, the second window has a SCALE of "2", a horizontal translation of "10" and a vertical translation of "1'000". Of course, other attributes can also be assigned. Example 3 Figure 6A is the invention Corresponding way when using multiple windows to express the water baud effect. Each scanning line of the first window has its own index relative to the index matrix. The FFSET (horizontal shift) value of this index starts to increase first and then decreases ( From the first to the fourth line, the values of FFSET are i, 2 '3 and 2' 1). By processing the FFSET value, the scanning line exhibits the effect of "water wave", as shown in Figure 6 (symbol,, indicates Blank). In this example, the scan line of the second window corresponds to the first group The same attribute effect is produced repeatedly. Example 4-18-This paper wave scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) 83. 3.10,000 binding (please read the precautions on the back before filling this page) A7 B7 printed by the Staff Consumer Cooperative of the Ten Central Standards Bureau of the Ministry of Economic Affairs V. Description of the Invention (丨 丨) ~~~ --- Figure 6B is the corresponding method of the present invention when using multiple windows to express another water baud effect. The scan lines in the two windows correspond to the same index. This example uses the same attribute matrix as Example 3. The main difference between this example and Example 3 is that the second address shift generator generates a shift register Its content is "1". This also causes all the index bit 1 of the index matrix to increase by "1." As shown in Figure 6B, we can get a different water wave. Example 5 Figure 7 shows a rectangular window for the present invention Corresponding way of showing the three-dimensional perspective effect. In this example, each scan line is given a set of individual SCALE (from S [0], S [l], ... to S [K]), a group of individual / 的 , OFFSET (From 0 [〇] '〇 [1], ... to [K]) and-a set of individual ADRs (from Y [〇], Y [l] '... to Y [K]). Because this example includes a greater degree of manipulation of attributes, the ADR value is based on absolute displacement (All V-bit attributes are "1".) Simply enter the appropriate OFFSET1 and OFFSET2 values, the screen can even move (forward or backward) or jump to a different screen. Example 6 Attribute matrix can contain different types Figure 8 shows the corresponding way of using X'Y'dX'dY and other attributes to make a rectangular window (with k scanning lines) exhibit two-dimensional or three-dimensional rotation (two-dimensional rotation plus perspective effect). In this example, X and γ are the absolute horizontal and vertical displacement of each scan line (the horizontal and vertical position of the first pixel after two-dimensional rotation), dY / dX is the slope of the rotation line, and | (dX, dY) | is 2-19-(please read the notes on the back before filling in this education)-pack. The paper size of the binding book is applicable to China National Standards (CNS) specifications (210X297mm) 83. 3. 10,000 305041 a? _ _B7 —__ Fifth, the description of the invention (enlargement and reduction parameters of the dimensional image display. For convenience of explanation, let ’s first look at the two scan lines 1 n, 1. and. In the first window , The starting position (coordinates) of scan line 10
U I K 爲(X1[0],丫聊。類似的,掃描線1的起始位置(座標_是(X1[I] ’ i Y1[i])。如圖所示的二維旋轉(可被視爲一俯視畫面)中’每—條掃描 線擁有共同的斜率,也就是說線1的斜率=線\•的斜率=線\的 〇 、一 斜率=dYU〇]/dX1[〇]。圖七中的第二視窗’藉著運用不同的1^和dY 値能利用透視的效果達到三維旋轉。 本發明中的對應裝置/對應方法共有如下列數個優點: (a)它能應用到二維/三維螢幕上,藉由線性操控能對螢幕影像產生扭 曲、變形等效果;⑹只需運用單一座標系統’軟體程式就能提供特 別的效果;(0能提供多重視窗效果和(d)其操作並不需要乘法器,所以 能簡化製造過程。 以上對本發明的敘述目的只是作解說與描述。明顯地修正與變 經濟部中央標準局員工消費合作社印製 '· n i HI m m I— ^ ^^^1 I (請先閱讀背面之注意事項再填寫本頁) 化是可由以上的推導而獲知。選擇和敘述這些例子是希望能提供對 本發明的理論和實際應用一個最好解說,讓熟悉此技藝者能運用本 +發明在不同的情況;同時經過改良,更可適合在特別的運用上。本 發明範圍中所有此類修正及改良都需在附加聲明中決定,而且是以 依據所容許公平、公正、合法授權來解釋。 -20- 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公嫠)UIK is (X1 [0], Ya chat. Similarly, the starting position of scan line 1 (coordinate _ is (X1 [I] 'i Y1 [i]). The two-dimensional rotation as shown (can be viewed In a top view), each scanning line has a common slope, that is to say, the slope of line 1 = slope of line \ • slope = line \ of one, one slope = dYU〇] / dX1 [〇]. Figure 7 The second window in the 'by using different 1 ^ and dY values can use the effect of perspective to achieve three-dimensional rotation. The corresponding device / corresponding method in the present invention has the following advantages: (a) It can be applied to two-dimensional / On a three-dimensional screen, linear manipulation can produce effects such as distortion and distortion on the screen image; ⑹ only need to use a single standard system 'software program to provide special effects; (0 can provide multiple window effects and (d) its operation No multiplier is needed, so the manufacturing process can be simplified. The purpose of the above description of the present invention is only for explanation and description. Obviously amended and printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs. 1 I (please read the precautions on the back before filling in this page) can be derived from the above The selection and description of these examples is to provide a best explanation of the theory and practical application of the present invention, so that those skilled in the art can use the invention + the invention in different situations; at the same time, after improvement, it can be more suitable for special applications. . All such amendments and improvements within the scope of the present invention shall be determined in an additional statement, and shall be interpreted according to the allowed fairness, impartiality, and legal authorization. -20- This paper scale is applicable to the Chinese National Standard (CNS) A4 specification ( 210X297 public daughter)
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW84107756A TW305041B (en) | 1995-07-25 | 1995-07-25 | Device for generating screen special effect |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW84107756A TW305041B (en) | 1995-07-25 | 1995-07-25 | Device for generating screen special effect |
Publications (1)
Publication Number | Publication Date |
---|---|
TW305041B true TW305041B (en) | 1997-05-11 |
Family
ID=51565965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW84107756A TW305041B (en) | 1995-07-25 | 1995-07-25 | Device for generating screen special effect |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW305041B (en) |
-
1995
- 1995-07-25 TW TW84107756A patent/TW305041B/en not_active IP Right Cessation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6417867B1 (en) | Image downscaling using peripheral vision area localization | |
US4462024A (en) | Memory scanning address generator | |
EP0076082A2 (en) | Display processing apparatus | |
JPH01870A (en) | television special effects equipment | |
EP0149316A2 (en) | Video display address generator | |
US4607255A (en) | Three dimensional display using a varifocal mirror | |
TW219397B (en) | Audio and video processor | |
TW511073B (en) | A method and apparatus in a computer system to generate a downscaled video image for display on a television system | |
JP2570344B2 (en) | Image display device | |
TW305041B (en) | Device for generating screen special effect | |
TW484113B (en) | Method and apparatus for ensuring backward compatibility in a bucket rendering system | |
JPS54142935A (en) | Picture display system | |
JP3484763B2 (en) | Video data transfer device and computer system | |
JPS59114579A (en) | Image data display | |
JP2004274485A (en) | Stereoscopic image generating apparatus | |
CN2204081Y (en) | Displaying arrangement for enlarge or reducing video picture | |
JPH05161166A (en) | Stereoscopic video signal generator | |
TWI251441B (en) | Image-signal processing device and image display device | |
JP3335824B2 (en) | Mapping equipment used in cathode ray tube controllers for special screen effects. | |
JPH03153299A (en) | Image processor | |
JPS615285A (en) | Raster scan graphic display unit | |
JPS6292071A (en) | Control system for magnified display | |
JPS6391691A (en) | Histogram display device | |
JPS635314Y2 (en) | ||
JPH1074077A (en) | Method and device for two dimensional spatial conversion of picture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MK4A | Expiration of patent term of an invention patent |