[go: up one dir, main page]

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 PDF

Info

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
Application number
CNB2005101180939A
Other languages
Chinese (zh)
Other versions
CN1956052A (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.)
Quanta Computer Inc
Original Assignee
Quanta Computer Inc
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 Quanta Computer Inc filed Critical Quanta Computer Inc
Priority to CNB2005101180939A priority Critical patent/CN100447858C/en
Publication of CN1956052A publication Critical patent/CN1956052A/en
Application granted granted Critical
Publication of CN100447858C publication Critical patent/CN100447858C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

A display controller and a frame adjusting method thereof are provided to reduce the use of a cache. The display controller includes a memory controller, a first memory, a second memory, and a frame management circuit. The memory controller reads the image data of the source frame portion to obtain first image data, and reads the image data of the destination frame portion to obtain second image data. The first memory is used for storing first image data. The second memory is used for storing second image data. The frame management circuit is used for processing the first image data to generate processed first image data, and superposing the processed first image data to the second image data in the second memory to obtain processed second image data. And if the processed second image data needs to be processed again, the display controller writes the processed second image data back to the external memory.

Description

可减少使用高速缓存的显示控制器及其帧调整方法 Display controller capable of reducing cache usage and frame adjustment method thereof

技术领域 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 display controller 30 accesses frame image data from the external memory 10 through the bus 20 . The external memory 10 is a synchronous dynamic random access memory (Synchronous Dynamic Random Memory Access, SDRAM). Several frames are stored in the external memory 10 , and the display controller 30 reads the frames from the external memory 10 and processes the frames, superimposes the processed image data of each frame, and outputs them to the display 40 to generate a picture. The frame processing operation of the display controller 30 includes rotating, mirroring, zooming in, zooming out or moving the frame, and then performing frame overlapping. In order to perform the aforementioned processing operations, the display controller 30 must randomly access the image data of each frame in the external memory 10 . In the process of processing each frame, a frame buffer with the same size as the screen of the display 40 is required to store the screens that have not been processed by the display controller 30 .

若将帧缓冲区置于外部存储器10中,则当显示控制器30欲对尚未处理完毕的画面进行处理时,显示控制器30需至外部存储器10中的帧缓冲区读取未处理完毕的画面并处理。由于同步动态随机存取存储器的存取速度较慢,因此,显示控制器30在存取帧缓冲区的过程中,将耗费相当长的存取时间。If the frame buffer is placed in the external memory 10, then when the display controller 30 intends to process the unprocessed picture, the display controller 30 needs to read the unprocessed picture from the frame buffer in the external memory 10 and process. Since the access speed of the SDRAM is relatively slow, the display controller 30 will spend a relatively long access time in the process of accessing the frame buffer.

为了避免上述的情况发生,因此在显示控制器30内部配置高速缓存(Cache Memory)做为帧缓冲区,而此高速缓存必需能储存整个显示画面。显示控制器30先将整个帧的影像数据储存于高速缓存中,再运用矩阵运算的方式进行计算,最后根据矩阵运算结果与影像数据以产生所需的显示画面。In order to avoid the above situation, a cache memory (Cache Memory) is configured inside the display controller 30 as a frame buffer, and this cache memory must be able to store the entire display screen. The display controller 30 first stores the image data of the whole frame in the cache memory, and then calculates by matrix operation, and finally generates the required display screen according to the result of the matrix operation and the image data.

然而,由于帧缓冲区需要存放整个显示画面,因此一个能储存整个显示画面的高速缓存,需要相当庞大的存储器容量。此具有相当大小的高速缓存,虽然能降低显示控制器的存取时间,却也使得传统显示控制器的生产成本亦随之提高,而降低了市场上的竞争力。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 display controller 50 accesses the image data from the external memory 10 through the bus 20, and outputs the processed image data to a display 40 having n rows of pixels×m columns of pixels to form a display 40 having n rows of pixels×m columns of pixels Display screen, n and m are non-zero positive integers. The external memory 10 can be, for example, a synchronous dynamic random access memory (Synchronous Dynamic Random Memory Access, SDRAM). The external memory 10 stores the image data of the destination frame 120 and the image data of the source frame 110. The destination frame 120 is, for example, the menu background in the function option screen of the mobile phone, and the source frame 110 is, for example, each option pattern in the menu.

显示控制器50包括存储器控制器510、内部存储器520以及帧管理电路530。存储器控制器510自外部存储器10中选择读取目的帧120中部分的影像数据D0以产生一第二影像数据D1,第二影像数据D1例如为目的帧120的一列影像数据。存储器控制器510读取来源帧110中部分的影像数据S0以产生一第一影像数据S1,第一影像数据S1例如可以为来源帧110的一列影像数据。而帧管理电路530则具有调整来源帧110的大小、旋转、镜射、平移以及两帧迭合的能力。The display controller 50 includes a memory controller 510 , an internal memory 520 and a frame management circuit 530 . The memory controller 510 selects and reads a part of the image data D0 of the target frame 120 from the external memory 10 to generate a second image data D1 . The second image data D1 is, for example, a row of image data of the target frame 120 . The memory controller 510 reads part of the image data S0 in the source frame 110 to generate a first image data S1 , for example, the first image data S1 may be a column of image data in the source frame 110 . The frame management circuit 530 has the ability to adjust the size, rotate, mirror, translate and overlap the source frame 110 .

内部存储器520例如为高速缓存,内部存储器520包括第一存储器522与第二存储器524。内部存储器520的第一存储器522与第二存储器524不需存放整个显示画面,第一存储器522的容量大小取决于所支持的来源帧的最大宽度。若来源帧最大宽度为M,即来源帧的一列最多具有M个像素,则第一存储器522可以储存2M个像素。第二存储器524的容量大小取决于显示器40的显示画面的行数。即显示画面的一列具有几个像素。若显示画面为N行,即显示画面的一列具有N个像素。所以内部所需的高速缓存522及524容量仅需分别足够存放来源帧的二列像素及目的帧的一列像素即可,如此便足以供显示控制器50对帧进行各种处理。第一存储器522用以储存第一影像数据S1。第二存储器524用以储存第二影像数据D1。The internal memory 520 is, for example, a cache, and the internal memory 520 includes a first memory 522 and a second memory 524 . The first memory 522 and the second memory 524 of the internal memory 520 do not need to store the entire display frame, and the capacity of the first memory 522 depends on the maximum width of the supported source frame. If the maximum width of the source frame is M, that is, a column of the source frame has at most M pixels, then the first memory 522 can store 2M pixels. The capacity of the second memory 524 depends on the number of lines of the display screen of the display 40 . That is, one column of the display screen has several pixels. If the display screen has N rows, that is, one column of the display screen has N pixels. Therefore, the capacity of the internal caches 522 and 524 is only enough to store two columns of pixels of the source frame and one column of pixels of the destination frame respectively, which is enough for the display controller 50 to perform various processing on the frames. The first memory 522 is used for storing the first image data S1. The second memory 524 is used for storing the second image data D1.

帧管理电路530将第一影像数据S1经处理后,产生一处理后第一影像数据S2(未示出了于图中),使处理后第一影像数据S2迭合至第二存储器524中的第二影像数据D1,以得到一处理后第二影像数据D2。当第二存储器524中的处理后第二影像数据D2仍需再处理时,显示控制器50将处理后第二影像数据D2写回外部存储器10。若处理后第二影像数据D2不需再经处理,则存储器控制器510将处理后第二影像数据D2输出至显示器40。The frame management circuit 530 processes the first image data S1 to generate a processed first image data S2 (not shown in the figure), so that the processed first image data S2 is superimposed into the second memory 524 The second image data D1 to obtain a processed second image data D2. When the processed second image data D2 in the second memory 524 still needs to be processed again, the display controller 50 writes the processed second image data D2 back to the external memory 10 . If the processed second image data D2 does not need further processing, the memory controller 510 outputs the processed second image data D2 to the display 40 .

请参照图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 source frame 110 can be, for example, a frame with 4 rows of pixels×2 columns of pixels, and the image data of each pixel in the first column is P11, P21, P31, P41 in sequence from left to right, and the image data of each pixel in the second column Data from left to right are P12, P22, P32, P42. The target frame 120 is a frame with n rows of pixels×m columns of pixels, the pixel image data of the first column are Q11, Q21, Q31 to Qn1 from left to right, and the pixel image data of the second column are from left to right The sequence is Q12, Q22, Q32 to Qn2, and so on to the mth column. Each pixel data of the target frame 120 corresponds to a pixel position, for example, the pixel position of the pixel data Q22 in the second row and second column in the target frame 120 is (2, 2). The display controller 50 is responsible for superimposing each pixel data of the source frame 110 to the destination frame 120 after processing. frame. They will be described separately later.

请参照图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 source frame 110 with 4 rows of pixels×2 columns of pixels is to be superimposed to the destination frame 120 with n rows of pixels×m columns of pixels, and the source frame 110 is superimposed into the destination frame 120 The pixel positions of are (2, 2), (3, 2), (4, 2), (5, 2), (2, 3), (3, 3), (4, 3) and (5, 3). The memory controller 510 of the display controller 50 sequentially reads the image data Q11 , Q21 to Qn1 of the first column in the target frame 120 through the bus 20 to obtain the second image data D1 and stores it in the second memory 524 . The memory controller 510 sequentially reads the image data P11 , P21 , P31 , P41 of the first row in the source frame 110 through the bus 20 to obtain the first image data S1 and stores it in the first memory 522 . At this time, if the first image data S1 does not need other processing, the first image data S1 is used as the processed first image data S2.

由于来源帧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 source frame 110 are to be superimposed to the second row of the destination frame 120, the second row of the destination frame 120 is the corresponding position of the destination frame at this time, so the frame management The circuit 530 does not superimpose the image data P11, P21, P31, P41 of the first column in the source frame 110 to the image data of the first column in the destination frame, but directly processes the second image data D1 of the destination frame 120 The latter second image data D2 is output to the first row of pixels of the display 40 to display the image. Until the memory controller 510 reads the image data Q12 , Q22 to Qn2 of the second row in the target frame 120 to obtain the second image data D1 and store it in the second memory 524 . The frame management circuit 530 overlaps the processed first image data S2 to the second image data D1 in the second memory 524, and sequentially overlaps from the second pixel Q22 in the second image data D1 to obtain The processed second image data D2 is the image data Q12, P11, P21, P31, P41, Q62 to Qn2. The display controller 50 outputs the processed second image data D2 to the second row of pixels of the display 40 to display the image. The image data of the second column in the source frame 110 is also superimposed to the column image data of the corresponding target frame 120 as described above, and the operation of superimposing the source frame to the target frame is completed. The image is like the image in the first column, and can be directly output to the display monitor 40 because there is no overlapping and no other processing is required.

而将来源帧110经移动后迭合至目的帧120的操作,即是使来源帧110的影像数据迭合至移动后目的帧对应的位置,以完成显示控制器50将来源帧移动后迭合至目的帧的处理操作。The operation of superimposing the source frame 110 to the destination frame 120 after being moved is to superimpose the image data of the source frame 110 to the position corresponding to the moved destination frame, so as to complete the superimposition after the source frame is moved by the display controller 50 Processing operations to the destination frame.

请参照图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 source frame 110 is to be mirrored left and right first, and then superimposed into a target frame 120 having n rows of pixels×m columns of pixels, and the image data P11, P21, P31, P41, P12, P22, P32, and P42 are respectively superimposed to the pixel positions in the target frame 120 as (4, 1), (3, 1), (2, 1), (1, 1), (4, 2) , (3,2), (2,2), (1,2). The memory controller 510 of the display controller 50 sequentially reads the image data Q11 , Q21 to Qn1 of the first column in the target frame 120 through the bus 20 to obtain the second image data D1 and stores it in the second memory 524 . In order to overlap the source frame 110 to the target frame 120 after left and right mirroring, the memory controller 510 reads the image data P41 and P31 of the first column in the source frame 110 through the bus 20 according to the sequence after the source frame 110 is mirrored. . . If the first image data S1 does not need other processing, the first image data S1 is taken as the processed first image data S2 at this time.

帧管理电路530将处理后第一影像数据S2迭合至第二存储器524中的第二影像数据D1,且自第二影像数据D1中的第一个像素Q11起依序迭合,以得到处理后的第二影像数据D2。显示控制器50将处理后的第二影像数据D2输出至显示器40的第一列像素以显示影像。来源帧110中第二列的影像数据,亦如上述的做法迭合至对应的目的帧120的列影像数据,以完成显示控制器50将来源帧左右镜射后迭合至目的帧的处理操作。The frame management circuit 530 superimposes the processed first image data S2 to the second image data D1 in the second memory 524, and sequentially superimposes from the first pixel Q11 in the second image data D1 to obtain processed The subsequent second image data D2. The display controller 50 outputs the processed second image data D2 to the first row of pixels of the display 40 to display the image. The image data of the second row in the source frame 110 is also superimposed to the corresponding column image data of the destination frame 120 as described above, so as to complete the processing operation of the display controller 50 mirroring the source frame left and right and superimposing it to the destination frame .

请参照图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 source frame 110 with 4 rows of pixels×2 columns of pixels is first rotated 90 degrees clockwise, and then overlapped to a destination frame 120 with n rows of pixels×m columns of pixels. The positions where the source frame 110 is superimposed on the destination frame 120 are (1,1), (1,2), (1,3), (1,4), (2,1), (2,2), (2,3), (2,4). The memory controller 510 of the display controller 50 sequentially reads the image data Q11 , Q21 to Qn1 of the first column in the target frame 120 through the bus 20 to obtain the second image data D1 and stores it in the second memory 524 . The memory controller 510 reads the image data P12 and P11 of the first row in the source frame 110 through the bus 20 according to the order of the source frame 110 rotated clockwise by 90 degrees to obtain the first image data S1 and store it in the first memory 522. At this time, if the first image data S1 does not need to be processed on other images, the first image data S1 is taken as the processed first image data S2.

帧管理电路530将处理后第一影像数据S2迭合至第二存储器524中的第二影像数据D1,且自第二影像数据D1中的第一个像素Q11起依序迭合,以得到处理后第二影像数据D2,即图6中所示的第一列影像数据P12、P11、Q31、Q41至Qn1。显示控制器50将迭合后的影像数据输出至显示器40的第一列像素以显示影像。来源帧110中其它各列的影像数据,亦如上述的做法迭合至对应的目的帧120的列影像数据,以完成显示控制器50将来源帧顺时针旋转九十度后迭合至目的帧的处理操作。The frame management circuit 530 superimposes the processed first image data S2 to the second image data D1 in the second memory 524, and sequentially superimposes from the first pixel Q11 in the second image data D1 to obtain processed The latter second image data D2 is the first row of image data P12 , P11 , Q31 , Q41 to Qn1 shown in FIG. 6 . The display controller 50 outputs the overlapped image data to the first row of pixels of the display 40 to display the image. The image data of other columns in the source frame 110 are also superimposed to the column image data of the corresponding destination frame 120 as described above, so that the display controller 50 rotates the source frame clockwise by 90 degrees and then superimposes it to the destination frame processing operations.

请参照图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 display controller 50 can also resize the source frame 110 and superimpose it to the destination frame 120 . Because zooming in or out requires two columns of pixels in the source frame to perform linear interpolation to obtain a column of processed image data, the first memory 522 simultaneously stores two columns of image data in the source frame 110 . For example, if a source frame 110 with 4 rows of pixels×2 columns of pixels is to be enlarged twice, and then overlapped to a target frame 120 with n rows of pixels×m columns of pixels, and the source frame 110 is overlapped The pixel positions in the target frame 120 are respectively (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 ).

显示控制器50的存储器控制器510通过总线20依序读取目的帧120中第一列的影像数据Q11、Q21至Qn1,以得到第二影像数据D1并将其储存于第二存储器524中。存储器控制器510通过总线20读取来源帧110中第一列及第二列影像数据P11、P21、P31、P41与P12、P22、P33、P42,以得到二列影像数据S1并将其储存于第一存储器522中。The memory controller 510 of the display controller 50 sequentially reads the image data Q11 , Q21 to Qn1 of the first column in the target frame 120 through the bus 20 to obtain the second image data D1 and stores it in the second memory 524 . The memory controller 510 reads the first column and the second column image data P11, P21, P31, P41 and P12, P22, P33, P42 in the source frame 110 through the bus 20 to obtain the two column image data S1 and store it in in the first memory 522.

帧管理电路530以线性内差的方式从左到右依序决定目的帧该列的每个像素迭合的第一影像数据S2。例如与Q11迭合的是P11,与Q21迭合的P11’则是P11与P21内插的结果,并可依此类推。帧管理电路530将处理后第一影像数据S2迭合至第二存储器524中的第二影像数据D1,且自第二影像数据D1中的第一个像素Q11起依序迭合,以得到处理后第二影像数据D2。因此时的处理后第二影像数据D2不需再处理,显示控制器50将处理后第二影像数据D2输出至显示器40的第二列像素以显示影像。The frame management circuit 530 sequentially determines the first image data S2 of each pixel in the column of the target frame in a linear interpolation manner from left to right. For example, P11 is superposed with Q11, and P11' superimposed with Q21 is the result of interpolation between P11 and P21, and so on. The frame management circuit 530 superimposes the processed first image data S2 to the second image data D1 in the second memory 524, and sequentially superimposes from the first pixel Q11 in the second image data D1 to obtain processed The latter second image data D2. Therefore, the processed second image data D2 does not need further processing, and the display controller 50 outputs the processed second image data D2 to the second row of pixels of the display 40 to display an image.

接着,显示控制器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 memory controller 510 of the display controller 50 sequentially reads the image data Q12, Q22 to Qn2 of the second column in the target frame 120 through the bus 20 to obtain the second image data D1 and store it in the second memory 524 middle. Since the interpolation results of the first column and the second column of the source frame are still to be overlapped with the second column of the target frame, and the first column and the second column already exist in the first memory 522, so there is no need to read source frame. The frame management circuit 530 inserts the image data of dummy pixels between the image data of the first column and the image data of the second row of the source frame 110 in a linear interpolation manner, so that the processed first image data S2 is the image data of dummy pixels P11", P11'", P21", P21'", P31", P31'", P41" and P41'". The frame management circuit 530 superimposes the processed first image data S2 to the second image data D1 in the second memory 524, and sequentially superimposes from the first pixel Q12 in the second image data D1 to be processed The latter second image data D2. The display controller 50 outputs the processed second image data D2 to the second row of pixels of the display 40 to display the image. The image data of other columns in the source frame 110 are also superimposed to the corresponding column image data of the destination frame 120 as described above, so as to complete the processing operation of the display controller 50 to double the source frame and superimpose it to the destination frame .

前述显示控制器50对来源帧110进行调整大小、旋转、镜射或移动后再重迭至目的帧等处理操作,并不局限于一个来源帧,藉由前述的技术亦可对多个来源帧进行调整大小、旋转、镜射或移动后再重迭至目的帧等处理操作。则每当经迭合后得到的处理后影像数据D2,若仍需经帧迭合的操作或其它处理,则将处理后影像数据D2再输至外部存储器10。The aforementioned display controller 50 performs processing operations such as resizing, rotating, mirroring, or moving the source frame 110 and then overlaps it to the target frame. Perform processing operations such as resizing, rotating, mirroring, or moving and overlapping to the target frame. Then, whenever the processed image data D2 obtained after overlapping still needs frame overlapping or other processing, the processed image data D2 is then output to the external memory 10 .

请参照图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 step 81 , the image data of the source frame 110 is read to obtain the first image data S1 and stored in the first memory 522 . Next, as shown in step 82 , the image data of the target frame 120 is read to obtain the second image data D1 and stored in the second memory 524 . Then, as shown in step 83 , the first image data S1 is processed to generate the processed first image data S2 . Then, as shown in step 84 , the processed first image data S2 is superimposed to the second image data D1 in the second memory 524 to obtain the processed second image data D2 . Finally, as shown in step 85, it is judged whether the processed second image data D2 still needs to be processed again, if so, the processed second image data is written back to the external memory 10; if not, the processed second image data is output to the display 40. Wherein, the second image data D1 is, for example, a row of image data of the target frame. The first image data S1 is, for example, image data of a column or a row of the source frame.

本发明上述实施例所披露的一种可减少高速缓存的显示控制器及帧调整方法。藉由前述的电路设计,使得显示控制器中的高速缓存不需存放整个显示画面。本发明的显示控制器中高速缓存的容量大小仅需能储存一列显示画面即可,而实现成本降低的功效。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)

1.一种显示控制器,与一外部存储器电连接,该外部存储器用以储存一目的帧与至少一来源帧,该显示控制器包括:1. A display controller electrically connected to an external memory for storing a destination frame and at least one source frame, the display controller comprising: 一存储器控制器,用以读取该来源帧中的部分影像数据以得到一第一影像数据,并读取该目的帧中的部分影像数据以得到一第二影像数据;A memory controller, used to read part of the image data in the source frame to obtain a first image data, and read part of the image data in the destination frame to obtain a second image data; 一内部存储器,包括:an internal memory including: 一第一存储器,用以储存该第一影像数据;及a first memory for storing the first image data; and 一第二存储器,用以储存该第二影像数据;以及a second memory for storing the second image data; and 一帧管理电路,用以将该第一影像数据经处理后以产生一处理后第一影像数据,使该处理后第一影像数据迭合至该第二存储器中的该第二影像数据,以得到一处理后第二影像数据;a frame management circuit, used for processing the first image data to generate a processed first image data, so that the processed first image data is superimposed on the second image data in the second memory, so that obtaining a processed second image data; 其中,若该处理后第二影像数据仍需再处理,该显示控制器将该处理后第二影像数据写回该外部存储器。Wherein, 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. 2.如权利要求1所述的显示控制器,其中该第二影像数据为该目的帧的一列影像数据。2. The display controller as claimed in claim 1, wherein the second image data is a row of image data of the target frame. 3.如权利要求2所述的显示控制器,其中该第一影像数据为该来源帧的一列影像数据。3. The display controller as claimed in claim 2, wherein the first image data is a row of image data of the source frame. 4.如权利要求1所述的显示控制器,其中当显示控制器欲将该来源帧经调整大小后迭合至该目的帧时,则该显示控制器将该第一影像数据储存至该第一存储器中,该帧管理电路还将该第一存储器中的该第一影像数据调整大小后以产生该处理后第一影像数据,并迭合至该第二存储器中以得到该处理后第二影像数据。4. The display controller as claimed in claim 1, wherein when the display controller intends to resize the source frame and overlap it with the destination frame, the display controller stores the first image data in the second In a memory, the frame management circuit also resizes the first image data in the first memory to generate the processed first image data, and overlaps them into the second memory to obtain the processed second image data. Image data. 5.如权利要求1所述的显示控制器,其中该来源帧具有M行像素的容量,该第一存储器具有2M个像素的容量,M为不为零的正整数。5. The display controller as claimed in claim 1, wherein the source frame has a capacity of M rows of pixels, the first memory has a capacity of 2M pixels, and M is a non-zero positive integer. 6.如权利要求1所述的显示控制器,其中该目的帧具有N行像素的容量,该第二存储器具有N个像素的容量,N为不为零的正整数。6. The display controller as claimed in claim 1, wherein the target frame has a capacity of N rows of pixels, the second memory has a capacity of N pixels, and N is a non-zero positive integer. 7.如权利要求1所述的显示控制器,其中若显示控制器欲将该来源帧经旋转后迭合至该目的帧,该第一影像数据为该来源帧的一行影像数据,该第一影像数据为该处理后第一影像数据,该第二影像数据为该目的帧的一列影像数据。7. The display controller as claimed in claim 1, wherein if the display controller intends to rotate the source frame and superimpose it on the target frame, the first image data is a line of image data of the source frame, and the first The image data is the processed first image data, and the second image data is a row of image data of the target frame. 8.如权利要求1所述的显示控制器,其中当显示控制器欲将该来源帧经左右镜射后迭合至该目的帧,该第一影像数据是以该来源帧的一列影像数据反转像素序列而得,该第一影像数据为该处理后第一影像数据,该第二影像数据为该目的帧的一列影像数据。8. The display controller as claimed in claim 1, wherein when the display controller intends to overlap the source frame to the target frame after left-right mirroring, the first image data is reflected by a row of image data of the source frame The first image data is the processed first image data, and the second image data is a row of image data of the target frame. 9.如权利要求1所述的显示控制器,其中若显示控制器欲将该来源帧经移动后迭合至该目的帧一对应位置,当该存储器控制器读取的该第二影像数据是对应该对应位置时,该帧管理电路将该处理后第一影像数据迭合至该第二影像数据。9. The display controller as claimed in claim 1, wherein if the display controller intends to move the source frame and superimpose it to a corresponding position of the destination frame, when the second image data read by the memory controller is When corresponding to the corresponding position, the frame management circuit overlaps the processed first image data with the second image data. 10.如权利要求1所述的显示控制器,其中该外部存储器为一同步动态随机存取存储器。10. The display controller as claimed in claim 1, wherein the external memory is a synchronous dynamic random access memory. 11.如权利要求1所述的显示控制器,其中当该处理后第二影像数据不需再经处理,则该存储器控制器将该第二存储器中的该处理后第二影像数据输出至一显示器以显示。11. The display controller as claimed in claim 1, wherein when the processed second image data does not need to be processed, the memory controller outputs the processed second image data in the second memory to a monitor to display. 12.一种帧调整方法,用于一显示控制器以处理一外部存储器中的一来源帧与一目的帧,该帧调整方法包括:12. A frame adjustment method for a display controller to process a source frame and a destination frame in an external memory, the frame adjustment method comprising: 读取该来源帧中的部分影像数据以得到一第一影像数据,并储存至该显示控制器的一第一存储器中;reading part of the image data in the source frame to obtain a first image data, and storing it in a first memory of the display controller; 读取该目的帧中的部分影像数据以得到一第二影像数据,并储存至该显示控制器的一第二存储器中;reading part of the image data in the target frame to obtain a second image data, and storing it in a second memory of the display controller; 处理该第一影像数据后,以产生一处理后第一影像数据;After processing the first image data, a processed first image data is generated; 迭合该处理后第一影像数据至该第二存储器中的该第二影像数据,以得到一处理后第二影像数据;以及superimposing the processed first image data to the second image data in the second memory to obtain a processed second image data; and 判断该处理后第二影像数据是否仍需再处理,若是,将该处理后第二影像数据写回该外部存储器。It is judged whether the processed second image data still needs to be processed again, and if so, the processed second image data is written back to the external memory. 13.如权利要求12所述的帧调整方法,其中该第二影像数据为该目的帧的一列影像数据。13. The frame adjustment method as claimed in claim 12, wherein the second image data is a row of image data of the target frame. 14.如权利要求13所述的帧调整方法,其中该第一影像数据为该来源帧的一列影像数据。14. The frame adjustment method as claimed in claim 13, wherein the first image data is a row of image data of the source frame. 15.如权利要求12所述的帧调整方法,其中若欲将该来源帧经调整大小后迭合至该目的帧时,还包括步骤:15. The frame adjustment method as claimed in claim 12, wherein if the source frame is resized and superimposed to the target frame, further comprising the steps of: 调整该第一存储器中的该第一影像数据的大小,以产生该处理后第一影像数据。The size of the first image data in the first memory is adjusted to generate the processed first image data. 16.如权利要求12所述的帧调整方法,其中该来源帧具有M行像素的容量,该第一存储器具有2M个像素的容量,M为不为零的正整数。16. The frame adjustment method as claimed in claim 12, wherein the source frame has a capacity of M rows of pixels, the first memory has a capacity of 2M pixels, and M is a non-zero positive integer. 17.如权利要求12所述的帧调整方法,其中该目的帧具有N行像素的容量,该第二存储器具有N个像素的容量,N为不为零的正整数。17. The frame adjustment method according to claim 12, wherein the target frame has a capacity of N rows of pixels, the second memory has a capacity of N pixels, and N is a non-zero positive integer. 18.如权利要求12所述的帧调整方法,其中若欲将该来源帧经旋转后迭合至该目的帧,该第一影像数据为该来源帧的一行影像数据,该第一影像数据为该处理后第一影像数据,该第二影像数据为该目的帧的一列影像数据。18. The frame adjustment method according to claim 12, wherein if the source frame is to be rotated and superimposed to the target frame, the first image data is a line of image data of the source frame, and the first image data is The processed first image data and the second image data are a row of image data of the target frame. 19.如权利要求12所述的帧调整方法,其中若欲将该来源帧经左右镜射后迭合至该目的帧,该第一影像数据是以该来源帧的一列影像数据反转像素序列而得,该第一影像数据为该处理后第一影像数据,该第二影像数据为该目的帧的一列影像数据。19. The frame adjustment method as claimed in claim 12, wherein if the source frame is to be mirrored left and right and superimposed to the target frame, the first image data is a row of image data of the source frame to reverse the pixel sequence Therefore, the first image data is the processed first image data, and the second image data is a row of image data of the target frame. 20.如权利要求12所述的帧调整方法,其中若该显示控制器欲将该来源帧经移动后迭合至该目的帧的一对应位置,当该第二影像数据是对应该对应位置时,则该显示控制器读取该来源帧以得到该第一影像数据,并使该第一影像数据为该处理后第一影像数据以迭合至该第二影像数据。20. The frame adjustment method as claimed in claim 12, wherein if the display controller intends to move the source frame and superimpose it to a corresponding position of the target frame, when the second image data corresponds to the corresponding position , the display controller reads the source frame to obtain the first image data, and makes the first image data the processed first image data to be superimposed on the second image data. 21.如权利要求12所述的帧调整方法,其中该目的帧具有N行像素的容量,该第一存储器与第二存储器分别具有N个像素的容量,N为不为零的正整数。21. The frame adjustment method according to claim 12, wherein the target frame has a capacity of N rows of pixels, the first memory and the second memory have a capacity of N pixels respectively, and N is a non-zero positive integer. 22.如权利要求12所述的帧调整方法,其中该外部存储器为一同步动态随机存取存储器。22. The frame adjustment method as claimed in claim 12, wherein the external memory is a synchronous dynamic random access memory. 23.如权利要求12所述的帧调整方法,其中判断该处理后第二影像数据是否仍需再处理步骤中,若该处理后第二影像数据不需再处理,则该显示控制器将该处理后第二影像数据输出至一显示器以显示。23. The frame adjustment method as claimed in claim 12, wherein in the step of judging whether the processed second image data still needs to be processed, if the processed second image data does not need to be processed again, the display controller will The processed second image data is output to a display for display.
CNB2005101180939A 2005-10-25 2005-10-25 Display controller capable of reducing use of cache and frame adjusting method thereof Expired - Fee Related CN100447858C (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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