CN100447858C - Display controller capable of reducing use of cache and frame adjusting method thereof - Google Patents
Display controller capable of reducing use of cache and frame adjusting method thereof Download PDFInfo
- Publication number
- CN100447858C CN100447858C CNB2005101180939A CN200510118093A CN100447858C CN 100447858 C CN100447858 C CN 100447858C CN B2005101180939 A CNB2005101180939 A CN B2005101180939A CN 200510118093 A CN200510118093 A CN 200510118093A CN 100447858 C CN100447858 C CN 100447858C
- Authority
- CN
- China
- Prior art keywords
- image data
- frame
- memory
- processed
- display controller
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000012545 processing Methods 0.000 claims abstract description 23
- 230000008569 process Effects 0.000 claims description 12
- 230000001360 synchronised effect Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 7
- 238000013461 design Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种显示控制器及其帧调整方法,特别是涉及一种可减少使用高速缓存的显示控制器及其调整方法。The invention relates to a display controller and a frame adjustment method thereof, in particular to a display controller capable of reducing cache usage and an adjustment method thereof.
背景技术 Background technique
随着科技的进步,各类电子产品逐渐成为人类生活的重心,而电子产品的显示画面效果,成为吸引消费者购买的一大主因。电子产品的显示器画面,是以多个帧处理并迭合后,获得最后的显示画面。其操作如将经处理后的子帧迭合至主帧上,而得显示画面。With the advancement of technology, various electronic products have gradually become the focus of human life, and the display effect of electronic products has become a major factor that attracts consumers to buy. The display screen of an electronic product is obtained by processing and superimposing multiple frames to obtain the final display screen. Its operation is such as superimposing the processed sub-frames on the main frame to obtain a display image.
上述应用例如用于电子装置显示的功能选单。电子装置可使用的各项功能大幅增加。为了便于对电子装置中的各功能选项进行选择,现今制造厂商大多在显示器画面上以图示选单的方式供使用者进行点选。The above applications are used, for example, in function menus displayed by electronic devices. Various functions that can be used by electronic devices have increased significantly. In order to facilitate the selection of various function options in the electronic device, most of the current manufacturers provide graphical menus on the display screen for users to click.
请参照图1,图1示出了显示控制器的示意图。显示控制器30通过总线20至外部存储器10中存取帧的影像数据。外部存储器10是同步动态随机存取存储器(Synchronous Dynamic Random Memory Access,SDRAM)。外部存储器10中存有数个帧,显示控制器30自外部存储器10读取帧并对帧进行处理,将经处理后的各帧的影像数据加以迭合后,输出至显示器40以产生画面。显示控制器30对帧的处理操作包括将帧旋转、镜射、放大、缩小或移动之后,再进行帧迭合。显示控制器30为了能够执行前述的处理操作,必须随机存取外部存储器10中各帧的影像数据。而在处理各帧的过程中,需要有与显示器40画面大小相同的帧缓冲区,来存放显示控制器30尚未处理完毕的画面。Please refer to FIG. 1 , which shows a schematic diagram of a display controller. The
若将帧缓冲区置于外部存储器10中,则当显示控制器30欲对尚未处理完毕的画面进行处理时,显示控制器30需至外部存储器10中的帧缓冲区读取未处理完毕的画面并处理。由于同步动态随机存取存储器的存取速度较慢,因此,显示控制器30在存取帧缓冲区的过程中,将耗费相当长的存取时间。If the frame buffer is placed in the
为了避免上述的情况发生,因此在显示控制器30内部配置高速缓存(Cache Memory)做为帧缓冲区,而此高速缓存必需能储存整个显示画面。显示控制器30先将整个帧的影像数据储存于高速缓存中,再运用矩阵运算的方式进行计算,最后根据矩阵运算结果与影像数据以产生所需的显示画面。In order to avoid the above situation, a cache memory (Cache Memory) is configured inside the
然而,由于帧缓冲区需要存放整个显示画面,因此一个能储存整个显示画面的高速缓存,需要相当庞大的存储器容量。此具有相当大小的高速缓存,虽然能降低显示控制器的存取时间,却也使得传统显示控制器的生产成本亦随之提高,而降低了市场上的竞争力。However, since the frame buffer needs to store the entire display image, a high-speed cache capable of storing the entire display image requires a relatively large memory capacity. Although the high-speed cache with a considerable size can reduce the access time of the display controller, it also increases the production cost of the traditional display controller, thereby reducing the competitiveness in the market.
发明内容 Contents of the invention
有鉴于此,本发明的目的是提供一种可减少使用高速缓存的影像控制器及其帧调整方法。藉由改变显示控制器中的硬件设计,降低显示控制器存取影像数据过程中的存取时间。并藉由硬件设计的改变,以同时减少配备于显示控制器内部的高速缓存容量,进而降低生产成本。In view of this, the object of the present invention is to provide an image controller and its frame adjustment method which can reduce the use of cache memory. By changing the hardware design in the display controller, the access time in the process of the display controller accessing image data is reduced. And through the change of the hardware design, the cache memory capacity equipped in the display controller can be reduced at the same time, thereby reducing the production cost.
根据本发明的目的,提出一种可减少使用高速缓存的显示控制器。显示控制器与外部存储器电连接,外部存储器用以储存目的帧与来源帧(sourceframe)。显示控制器包括存储器控制器、内部存储器及帧管理电路。存储器控制器读取来源帧部分的影像数据以得到一第一影像数据,并读取目的帧部分的影像数据以得到一第二影像数据。内部存储器包括第一存储器及第二存储器。第一存储器用以储存第一影像数据的二列像素。第二存储器用以储存第二影像数据的一列像素。帧管理电路将第一影像数据经处理后以产生一处理后第一影像数据,使处理后第一影像数据迭合至第二存储器中的第二影像数据以得到一处理后第二影像数据。若处理后第二影像数据仍需再处理,显示控制器将处理后第二影像数据写回外部存储器。According to the purpose of the present invention, a display controller that can reduce the use of cache memory is proposed. The display controller is electrically connected with the external memory, and the external memory is used for storing the destination frame and the source frame. The display controller includes memory controller, internal memory and frame management circuit. The memory controller reads the image data of the source frame part to obtain a first image data, and reads the image data of the destination frame part to obtain a second image data. The internal memory includes a first memory and a second memory. The first memory is used for storing two columns of pixels of the first image data. The second memory is used for storing a row of pixels of the second image data. The frame management circuit processes the first image data to generate processed first image data, and overlaps the processed first image data with the second image data in the second memory to obtain processed second image data. If the processed second image data still needs to be processed again, the display controller writes the processed second image data back to the external memory.
根据本发明的另一个目的,提出一种可减少使用高速缓存的帧调整方法。帧调整方法用以处理一外部存储器中的一来源帧与一目的帧,帧调整方法用于一显示控制器,显示控制器包括第一存储器与第二存储器,帧调整方法包括如下步骤:首先,读取来源帧部分的影像数据以得到一第一影像数据,并储存至第一存储器中。接着,读取目的帧部分的影像数据以得到一第二影像数据,并储存至第二存储器中。跟着,处理第一影像数据后,以产生一处理后第一影像数据。然后,迭合处理后第一影像数据至第二存储器中的第二影像数据,以得到一处理后第二影像数据。最后,判断处理后第二影像数据是否仍需再处理,若仍需再处理,将处理后第二影像数据写回外部存储器。According to another object of the present invention, a frame adjustment method that can reduce cache usage is proposed. The frame adjustment method is used to process a source frame and a destination frame in an external memory. The frame adjustment method is used in a display controller. The display controller includes a first memory and a second memory. The frame adjustment method includes the following steps: first, The image data of the source frame part is read to obtain a first image data and stored in the first memory. Next, read the image data of the target frame part to obtain a second image data, and store it in the second memory. Next, the first image data is processed to generate processed first image data. Then, superimpose the processed first image data to the second image data in the second memory to obtain a processed second image data. Finally, it is determined whether the processed second image data still needs to be reprocessed, and if it still needs to be reprocessed, the processed second image data is written back to the external memory.
为使本发明的上述目的、特征、和优点能更明显易懂,下文特举一较佳实施例,并结合附图详细说明如下。In order to make the above-mentioned purpose, features, and advantages of the present invention more comprehensible, a preferred embodiment is specifically cited below, and is described in detail with reference to the accompanying drawings.
附图说明 Description of drawings
图1示出了显示控制器的示意图。Figure 1 shows a schematic diagram of a display controller.
图2示出了依本发明提出的显示控制器的方块图。FIG. 2 shows a block diagram of a display controller proposed in accordance with the present invention.
图3示出了来源帧与目的帧各像素影像数据的示意图。FIG. 3 shows a schematic diagram of image data of each pixel of a source frame and a destination frame.
图4A示出了来源帧迭合至目的帧的示意图。FIG. 4A shows a schematic diagram of superimposing a source frame to a destination frame.
图4B示出了相对于图4A将来源帧经移动后迭合至目的帧的示意图。FIG. 4B is a schematic diagram of shifting the source frame to the destination frame compared to FIG. 4A .
图5示出了相对于图4A将来源帧经左右镜射后迭合至目的帧的示意图。FIG. 5 shows a schematic diagram of superimposing the source frame to the destination frame after left-right mirroring relative to FIG. 4A .
图6示出了相对于图4A来源帧经顺时针旋转九十度后迭合至目的帧的示意图。FIG. 6 shows a schematic diagram of the source frame rotated 90 degrees clockwise with respect to FIG. 4A and superimposed to the target frame.
图7示出了相对于图4A将来源帧经放大后迭合至目的帧的示意图。FIG. 7 shows a schematic diagram of superimposing the source frame to the target frame after zooming in relative to FIG. 4A .
图8示出了帧调整方法的流程图。Fig. 8 shows a flow chart of the frame adjustment method.
附图符号说明Description of reference symbols
10:外部存储器10: External memory
20:总线20: bus
30:显示控制器30: Display Controller
40:显示器40: display
50:可减少使用高速缓存的显示控制器50: Display controller that reduces cache usage
110:来源帧110: source frame
120:目的帧120: destination frame
510:存储器控制器510: memory controller
520:内部存储器520: internal memory
522:第一存储器522: First memory
524:第二存储器524: Second memory
530:帧管理电路530: frame management circuit
具体实施方式 Detailed ways
显示控制器的功能是将需迭合至目的帧的来源帧经移动、缩放、镜射或旋转处理后,再迭合至目的帧。本发明的概念是在不影响前述处理功能下藉由改变硬件设计的方式,以减少配置于显示控制器中的内部存储器,将可有效地节省显示控制器的生产成本。The function of the display controller is to move, scale, mirror or rotate the source frame to be superimposed to the target frame, and then superimpose it to the target frame. The concept of the present invention is to reduce the internal memory configured in the display controller by changing the way of hardware design without affecting the aforementioned processing functions, which can effectively save the production cost of the display controller.
请参照图2,图2示出了依本发明提出的显示控制器的方块图。显示控制器50通过总线20自外部存储器10中存取影像数据,并将影像数据处理完毕后输出至一具有n行像素×m列像素的显示器40以形成一具有n行像素×m列像素的显示画面,n与m是不为零的正整数。外部存储器10例如可以为一同步动态随机存取存储器(Synchronous Dynamic Random MemoryAccess,SDRAM)。外部存储器10中存有目的帧120的影像数据与来源帧110的影像数据,目的帧120例如为手机功能选项画面中的选单背景,来源帧110例如为选单中的各选项图样。Please refer to FIG. 2 , which shows a block diagram of a display controller according to the present invention. The
显示控制器50包括存储器控制器510、内部存储器520以及帧管理电路530。存储器控制器510自外部存储器10中选择读取目的帧120中部分的影像数据D0以产生一第二影像数据D1,第二影像数据D1例如为目的帧120的一列影像数据。存储器控制器510读取来源帧110中部分的影像数据S0以产生一第一影像数据S1,第一影像数据S1例如可以为来源帧110的一列影像数据。而帧管理电路530则具有调整来源帧110的大小、旋转、镜射、平移以及两帧迭合的能力。The
内部存储器520例如为高速缓存,内部存储器520包括第一存储器522与第二存储器524。内部存储器520的第一存储器522与第二存储器524不需存放整个显示画面,第一存储器522的容量大小取决于所支持的来源帧的最大宽度。若来源帧最大宽度为M,即来源帧的一列最多具有M个像素,则第一存储器522可以储存2M个像素。第二存储器524的容量大小取决于显示器40的显示画面的行数。即显示画面的一列具有几个像素。若显示画面为N行,即显示画面的一列具有N个像素。所以内部所需的高速缓存522及524容量仅需分别足够存放来源帧的二列像素及目的帧的一列像素即可,如此便足以供显示控制器50对帧进行各种处理。第一存储器522用以储存第一影像数据S1。第二存储器524用以储存第二影像数据D1。The
帧管理电路530将第一影像数据S1经处理后,产生一处理后第一影像数据S2(未示出了于图中),使处理后第一影像数据S2迭合至第二存储器524中的第二影像数据D1,以得到一处理后第二影像数据D2。当第二存储器524中的处理后第二影像数据D2仍需再处理时,显示控制器50将处理后第二影像数据D2写回外部存储器10。若处理后第二影像数据D2不需再经处理,则存储器控制器510将处理后第二影像数据D2输出至显示器40。The
请参照图3,其示出了来源帧与目的帧各像素影像数据的示意图。来源帧110例如可以为一具有4行像素×2列像素的帧,其第一列的各像素影像数据由左至右依序为P11、P21、P31、P41,其第二列的各像素影像数据由左至右依序为P12、P22、P32、P42。目的帧120为具有n行像素×m列像素的帧,其第一列的像素影像数据由左至右依序为Q11、Q21、Q31至Qn1,其第二列的像素影像数据由左至右依序为Q12、Q22、Q32至Qn2,并依此类推至第m列。目的帧120的各像素数据分别对应至一像素位置,举例来说,目的帧120中第二行第二列的像素数据Q22其像素位置即为(2,2)。显示控制器50负责将来源帧110的各像素数据经处理后迭合至目的帧120,显示控制器50的处理包括先将来源帧110调整大小、旋转、镜射或移动后再重迭至目的帧。后面将分别说明。Please refer to FIG. 3 , which shows a schematic diagram of image data of each pixel of the source frame and the destination frame. The
请参照图4A及图4B,图4A示出了来源帧迭合至目的帧的示意图,图4B示出了相对于图4A将来源帧经移动后迭合至目的帧的示意图。举图4B为例而言,若欲将具有4行像素×2列像素的来源帧110迭合至具有n行像素×m列像素的目的帧120,且来源帧110迭合至目的帧120中的像素位置分别为(2,2)、(3,2)、(4,2)、(5,2)、(2,3)、(3,3)、(4,3)及(5,3)。显示控制器50的存储器控制器510通过总线20依序读取目的帧120中第一列的影像数据Q11、Q21至Qn1,以得到第二影像数据D1并将其储存于第二存储器524中。存储器控制器510通过总线20依序读取来源帧110中第一列的影像数据P11、P21、P31、P41,以得到第一影像数据S1并将其储存于第一存储器522中。此时第一影像数据S1若不需经其它处理,则以第一影像数据S1为处理后的第一影像数据S2。Please refer to FIG. 4A and FIG. 4B , FIG. 4A shows a schematic diagram of superimposing a source frame to a destination frame, and FIG. 4B shows a schematic diagram of superimposing a source frame to a destination frame after shifting relative to FIG. 4A . Taking FIG. 4B as an example, if the
由于来源帧110中第一列的影像数据P11、P21、P31、P41欲迭合至目的帧120中第二列,目的帧120的第二列即为此时目的帧的对应位置,因此帧管理电路530不会将来源帧110中第一列的影像数据P11、P21、P31、P41迭合至目的帧中第一列的影像数据,而直接将目的帧120的第二影像数据D1做为处理后第二影像数据D2输出至显示器40的第一列像素以显示影像。直至存储器控制器510读取目的帧120中第二列的影像数据Q12、Q22至Qn2,以得到第二影像数据D1并将其储存于第二存储器524中。帧管理电路530才将处理后第一影像数据S2迭合至第二存储器524中的第二影像数据D1,且自第二影像数据D1中的第二个像素Q22起依序迭合,以得到处理后第二影像数据D2,即影像数据Q12、P11、P21、P31、P41、Q62至Qn2。显示控制器50将处理后第二影像数据D2输出至显示器40的第二列像素以显示影像。来源帧110中第二列的影像数据,亦如上述的做法迭合至对应的目的帧120的列影像数据,而完成将来源帧迭合至目的帧的操作,至于目的帧第四列以后的影像则如其第一列的影像,因无迭合且不需经其它处理,而可直接输出至显示显示器40。Since the image data P11, P21, P31, and P41 in the first row of the
而将来源帧110经移动后迭合至目的帧120的操作,即是使来源帧110的影像数据迭合至移动后目的帧对应的位置,以完成显示控制器50将来源帧移动后迭合至目的帧的处理操作。The operation of superimposing the
请参照图5,其示出了相对于图4A将来源帧经左右镜射后迭合至目的帧的示意图。举例来说,若欲将来源帧110先经左右镜射后,再迭合至一个具有n行像素×m列像素的目的帧120,而来源帧110的像素的影像数据P11、P21、P31、P41、P12、P22、P32、P42分别迭合至目的帧120中的像素位置为(4,1)、(3,1)、(2,1)、(1,1)、(4,2)、(3,2)、(2,2)、(1,2)。显示控制器50的存储器控制器510通过总线20依序读取目的帧120中第一列的影像数据Q11、Q21至Qn1,以得到第二影像数据D1并将其储存于第二存储器524中。为了达到将来源帧110左右镜射后迭合至目的帧120,存储器控制器510通过总线20依来源帧110左右镜射后的顺序,读取来源帧110中第一列的影像数据P41、P31、P21、P11以得到第一影像数据S1,第一影像数据S1反转来源帧110中第一列的像素序列而得,显示控制器50并将第一影像数据S1储存于第一存储器522中。若第一影像数据S1不需经其它处理,此时以第一影像数据S1为处理后第一影像数据S2。Please refer to FIG. 5 , which shows a schematic diagram of superimposing the source frame to the destination frame after left-right mirroring relative to FIG. 4A . For example, if the
帧管理电路530将处理后第一影像数据S2迭合至第二存储器524中的第二影像数据D1,且自第二影像数据D1中的第一个像素Q11起依序迭合,以得到处理后的第二影像数据D2。显示控制器50将处理后的第二影像数据D2输出至显示器40的第一列像素以显示影像。来源帧110中第二列的影像数据,亦如上述的做法迭合至对应的目的帧120的列影像数据,以完成显示控制器50将来源帧左右镜射后迭合至目的帧的处理操作。The
请参照图6,其示出了相对于图4A来源帧经顺时针旋转九十度后迭合至目的帧的示意图。举例来说,若将具有4行像素×2列像素的来源帧110先经顺时针旋转九十度后,再迭合至一个具有n行像素×m列像素的目的帧120。来源帧110迭合至目的帧120中的位置分别为(1,1)、(1,2)、(1,3)、(1,4)、(2,1)、(2,2)、(2,3)、(2,4)。显示控制器50的存储器控制器510通过总线20依序读取目的帧120中第一列的影像数据Q11、Q21至Qn1,以得到第二影像数据D1并将其储存于第二存储器524中。存储器控制器510通过总线20依来源帧110顺时针旋转九十度后的顺序读取来源帧110中第一行的影像数据P12与P11,以得到第一影像数据S1并将其储存于第一存储器522中。此时第一影像数据S1若不需经其它影像上的处理,则以第一影像数据S1为处理后第一影像数据S2。Please refer to FIG. 6 , which shows a schematic diagram of the source frame rotated 90 degrees clockwise relative to FIG. 4A and superimposed to the destination frame. For example, if the
帧管理电路530将处理后第一影像数据S2迭合至第二存储器524中的第二影像数据D1,且自第二影像数据D1中的第一个像素Q11起依序迭合,以得到处理后第二影像数据D2,即图6中所示的第一列影像数据P12、P11、Q31、Q41至Qn1。显示控制器50将迭合后的影像数据输出至显示器40的第一列像素以显示影像。来源帧110中其它各列的影像数据,亦如上述的做法迭合至对应的目的帧120的列影像数据,以完成显示控制器50将来源帧顺时针旋转九十度后迭合至目的帧的处理操作。The
请参照图7,其示出了相对于图4A来源帧经放大后迭合至目的帧的示意图。显示控制器50除前述的镜射、旋转、平移的处理功能外,还可以将来源帧110经调整大小后迭合至目的帧120。由于放大或缩小需要利用来源帧的二列像素做线性内插才可以得到处理后的一列影像数据,所以第一存储器522中会同时存在来源帧110的二列影像数据。举例来说,若欲将具有4行像素×2列像素的来源帧110先经放大两倍后,再迭合至一个具有n行像素×m列像素的目的帧120,且来源帧110迭合至目的帧120中的像素位置分别为(1,1)、(2,1)、(3,1)、(4,1)、(5,1)、(6,1)、(7,1)、(8,1)、(1,2)、(2,2)、(3,2)、(4,2)、(5,2)、(6,2)、(7,2)、(8,2)、(1,3)、(2,3)、(3,3)、(4,3)、(5,3)、(6,3)、(7,3)、(8,3)、(1,4)、(2,4)、(3,4)、(4,4)、(5,4)、(6,4)、(7,4)、(8,4)。Please refer to FIG. 7 , which shows a schematic view of the source frame in FIG. 4A after being enlarged and superimposed to the target frame. In addition to the aforementioned processing functions of mirroring, rotation, and translation, the
显示控制器50的存储器控制器510通过总线20依序读取目的帧120中第一列的影像数据Q11、Q21至Qn1,以得到第二影像数据D1并将其储存于第二存储器524中。存储器控制器510通过总线20读取来源帧110中第一列及第二列影像数据P11、P21、P31、P41与P12、P22、P33、P42,以得到二列影像数据S1并将其储存于第一存储器522中。The
帧管理电路530以线性内差的方式从左到右依序决定目的帧该列的每个像素迭合的第一影像数据S2。例如与Q11迭合的是P11,与Q21迭合的P11’则是P11与P21内插的结果,并可依此类推。帧管理电路530将处理后第一影像数据S2迭合至第二存储器524中的第二影像数据D1,且自第二影像数据D1中的第一个像素Q11起依序迭合,以得到处理后第二影像数据D2。因此时的处理后第二影像数据D2不需再处理,显示控制器50将处理后第二影像数据D2输出至显示器40的第二列像素以显示影像。The
接着,显示控制器50的存储器控制器510通过总线20依序读取目的帧120中第二列的影像数据Q12、Q22至Qn2,以得到第二影像数据D1并将其储存于第二存储器524中。由于要与目的帧第二列迭合的仍是来源帧的第一列和第二列内插结果,且第一列和第二列已存在于第一存储器522中,所以不需要再读取来源帧。帧管理电路530以线性内差的方式于来源帧110第一列的影像数据与第二列的影像数据间插入仿真像素的影像数据,使得到处理后第一影像数据S2为仿真像素的影像数据P11”、P11’”、P21”、P21’”、P31”、P31’”、P41”及P41’”。帧管理电路530将处理后第一影像数据S2迭合至第二存储器524中的第二影像数据D1,且自第二影像数据D1中的第一个像素Q12起依序迭合,以得到处理后第二影像数据D2。显示控制器50将处理后第二影像数据D2输出至显示器40的第二列像素以显示影像。来源帧110中其它各列的影像数据,亦如上述的做法迭合至对应的目的帧120的列影像数据,以完成显示控制器50将来源帧放大两倍后迭合至目的帧的处理操作。Next, the
前述显示控制器50对来源帧110进行调整大小、旋转、镜射或移动后再重迭至目的帧等处理操作,并不局限于一个来源帧,藉由前述的技术亦可对多个来源帧进行调整大小、旋转、镜射或移动后再重迭至目的帧等处理操作。则每当经迭合后得到的处理后影像数据D2,若仍需经帧迭合的操作或其它处理,则将处理后影像数据D2再输至外部存储器10。The
请参照图8,其示出了帧调整方法的流程图。帧调整方法用以处理一外部存储器中的一来源帧与一目的帧,帧调整方法用于一显示控制器,显示控制器包括一第一存储器与一第二存储器,帧调整方法包括如下步骤:首先如步骤81所示,读取来源帧110部分的影像数据以得到第一影像数据S1,并储存至第一存储器522中。接着如步骤82所示,读取目的帧120部分的影像数据以得到第二影像数据D1,并储存至第二存储器524中。跟着如步骤83所示,处理第一影像数据S1后,以产生处理后第一影像数据S2。然后如步骤84所示,迭合处理后第一影像数据S2至第二存储器524中的第二影像数据D1,以得到处理后第二影像数据D2。最后如步骤85所示,判断处理后第二影像数据D2是否仍需再处理,若是,将处理后第二影像数据写回外部存储器10;若否,则将处理后第二影像数据输出至显示器40。其中,第二影像数据D1例如为目的帧的一列的影像数据。第一影像数据S1例如为来源帧的一列或一行的影像数据。Please refer to FIG. 8 , which shows a flow chart of the frame adjustment method. The frame adjustment method is used to process a source frame and a destination frame in an external memory. The frame adjustment method is used in a display controller. The display controller includes a first memory and a second memory. The frame adjustment method includes the following steps: First, as shown in
本发明上述实施例所披露的一种可减少高速缓存的显示控制器及帧调整方法。藉由前述的电路设计,使得显示控制器中的高速缓存不需存放整个显示画面。本发明的显示控制器中高速缓存的容量大小仅需能储存一列显示画面即可,而实现成本降低的功效。The above embodiments of the present invention disclose a display controller and a frame adjustment method capable of reducing cache memory. With the aforementioned circuit design, the cache memory in the display controller does not need to store the entire display frame. The capacity of the cache memory in the display controller of the present invention only needs to be able to store a row of display images, thereby achieving the effect of cost reduction.
除此之外,本发明还具有提升读取效率的优点。藉由存储器控制器在读入来源帧的同时,亦同时处理旋转的操作,可使得各帧的读取,最多只有一次非连续的读取。进而提升存储器控制器读取外部存储器的效能。In addition, the present invention also has the advantage of improving reading efficiency. When the memory controller reads the source frame, it also handles the rotation operation at the same time, so that each frame can be read at most only once non-sequentially. Further, the performance of the memory controller to read the external memory is improved.
综上所述,虽然本发明已以一较佳实施例披露如上,然其并非用以限定本发明,本领域的技术人员在不脱离本发明的精神和范围的前提下可作各种的更动与润饰,因此本发明的保护范围以本发明的权利要求为准。In summary, although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention, and those skilled in the art can make various modifications without departing from the spirit and scope of the present invention. Movement and retouching, so the protection scope of the present invention shall be determined by the claims of the present invention.
Claims (23)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101180939A CN100447858C (en) | 2005-10-25 | 2005-10-25 | Display controller capable of reducing use of cache and frame adjusting method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101180939A CN100447858C (en) | 2005-10-25 | 2005-10-25 | Display controller capable of reducing use of cache and frame adjusting method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1956052A CN1956052A (en) | 2007-05-02 |
CN100447858C true CN100447858C (en) | 2008-12-31 |
Family
ID=38063338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101180939A Expired - Fee Related CN100447858C (en) | 2005-10-25 | 2005-10-25 | Display controller capable of reducing use of cache and frame adjusting method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100447858C (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08171364A (en) * | 1994-12-16 | 1996-07-02 | Matsushita Electric Ind Co Ltd | Liquid crystal drive |
JPH09218666A (en) * | 1996-02-13 | 1997-08-19 | Matsushita Electric Ind Co Ltd | Liquid crystal display panel drive device |
CN1222720A (en) * | 1997-11-26 | 1999-07-14 | 摩托罗拉公司 | Liquid crystal display controller |
CN1302017A (en) * | 1999-12-24 | 2001-07-04 | 仁宝电脑工业股份有限公司 | Cache memory system with double cache mapped memory |
JP2003072158A (en) * | 2001-08-30 | 2003-03-12 | Kyocera Corp | Control circuits and electronic equipment |
JP2003280604A (en) * | 2002-03-22 | 2003-10-02 | Seiko Epson Corp | Image display device |
CN1538376A (en) * | 2003-04-16 | 2004-10-20 | ������������ʽ���� | Display image frame layer without using any additional display memory |
US20040268072A1 (en) * | 2003-06-26 | 2004-12-30 | Nec Corporation | Information processing device |
-
2005
- 2005-10-25 CN CNB2005101180939A patent/CN100447858C/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08171364A (en) * | 1994-12-16 | 1996-07-02 | Matsushita Electric Ind Co Ltd | Liquid crystal drive |
JPH09218666A (en) * | 1996-02-13 | 1997-08-19 | Matsushita Electric Ind Co Ltd | Liquid crystal display panel drive device |
CN1222720A (en) * | 1997-11-26 | 1999-07-14 | 摩托罗拉公司 | Liquid crystal display controller |
CN1302017A (en) * | 1999-12-24 | 2001-07-04 | 仁宝电脑工业股份有限公司 | Cache memory system with double cache mapped memory |
JP2003072158A (en) * | 2001-08-30 | 2003-03-12 | Kyocera Corp | Control circuits and electronic equipment |
JP2003280604A (en) * | 2002-03-22 | 2003-10-02 | Seiko Epson Corp | Image display device |
CN1538376A (en) * | 2003-04-16 | 2004-10-20 | ������������ʽ���� | Display image frame layer without using any additional display memory |
US20040268072A1 (en) * | 2003-06-26 | 2004-12-30 | Nec Corporation | Information processing device |
Also Published As
Publication number | Publication date |
---|---|
CN1956052A (en) | 2007-05-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110050250B (en) | Monitor-synchronized image regularization | |
US11740470B2 (en) | Low latency distortion unit for head mounted displays | |
CN103377030B (en) | image rotation control method and device | |
WO2017024964A1 (en) | Object-associated image quick preview method and device | |
US20070019005A1 (en) | Method and apparatus for efficient image rotation | |
KR100846881B1 (en) | Display controller and frame control method that can reduce cache memory | |
JP2011053671A (en) | Semiconductor integrated circuit | |
EP2424253A2 (en) | Information processing apparatus, program and information processing method | |
CN116974475A (en) | Data caching method and device and electronic equipment | |
JP4388962B2 (en) | Animation creating method and apparatus | |
CN112188262B (en) | Image processing method, device and system and computer readable medium | |
JP4286192B2 (en) | Image processing apparatus and image processing method | |
CN104571796B (en) | Information processing method and electronic equipment | |
JP4031996B2 (en) | Digital still camera with memory device | |
CN108280801A (en) | Method, apparatus and programmable logic device are remapped based on bilinear interpolation | |
CN100447858C (en) | Display controller capable of reducing use of cache and frame adjusting method thereof | |
JP5675278B2 (en) | Data processing apparatus and image processing apparatus | |
JP2015099959A (en) | Apparatus and method of image processing, and electronic apparatus | |
US12327296B2 (en) | Cache-based warp engine | |
CN112825243A (en) | Image display method and device, video processor and image display system | |
CN107168660B (en) | Image processing cache system and method | |
US20240054597A1 (en) | Method and system for overlapping sliding window segmentation of image based on fpga | |
JP2005346044A (en) | Image signal processing circuit and image display apparatus | |
CN116228540A (en) | Image processing method, device, storage medium and electronic equipment | |
JP2013126130A (en) | Image processing system, image processing method, and image processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081231 Termination date: 20171025 |
|
CF01 | Termination of patent right due to non-payment of annual fee |