Method for controlling display device and related transition frame generation circuit and display device controller
The dedicated hardware mechanism for generating transition frames addresses CPU-related inefficiencies in display devices, enhancing performance and display quality by offloading transition frame generation, thus achieving smoother transitions with reduced resource consumption.
Patent Information
- Application Number
- US19/454423
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-22
- Filing Date
- 2026-01-21
- Publication Date
- 2026-11-26
AI Technical Summary
Conventional methods relying on the CPU to generate transition frames for smooth transitions in display devices lead to excessive resource consumption, performance bottlenecks, and display quality issues, such as stuttering and screen tearing, due to high computational load and bandwidth demands.
A dedicated hardware mechanism, the transition frame generation circuit, extracts partial pixel data from frame buffer memories to generate transition frames, reducing CPU load and bandwidth consumption.
This approach enhances display quality and system performance by offloading transition frame generation to hardware, minimizing CPU burden and improving resource efficiency, while enabling smoother transitions with reduced power consumption.
Smart Images

Figure US20260378007A1-D00000_ABST
Abstract
Description
BACKGROUND OF THE INVENTIONField of the Invention
[0001] The present invention relates to control technology for display devices, and more particularly, to a method for controlling a display device that uses a dedicated hardware circuit to generate transition frames, and a related transition frame generation circuit and display device controller.2. Description of the Prior Art
[0002] In display devices widely used today in electronic equipment such as in-vehicle infotainment systems, medical instruments, consumer electronics, and smart wearable devices, achieving smooth dynamic transitions between different display frames is often necessary to enhance the human-computer interaction experience. For instance, when displayed content switches from one frame to another, a visual effect of panning or sliding is simulated by continuously displaying a series of intermediate transition frames. In the conventional art, presenting a smooth transition effect on a display device typically relies on the system's central processing unit (CPU) (or graphics processing unit (GPU)) to perform a large amount of image data processing. Specifically, when a smooth transition from a current frame to a target frame is required, not only do pixel data for the current and the target frame need to be prepared or generated by the CPU, but pixel data for all transition frames that constitute the sliding animation between them also need to be calculated, synthesized, or moved by the CPU.
[0003] In a typical implementation, the system is configured with at least two frame buffer memories, often called buffer A and buffer B, to perform a so-called Ping-Pong operation to ensure display continuity. This operational flow is roughly as follows. First, the CPU writes complete pixel data of the first frame (e.g., a current frame or a first transition frame) into the buffer A. Once the buffer A is ready, the display device controller reads the pixel data from the buffer A and transmits it to the display device. In the meanwhile, the CPU continues to prepare pixel data for a next frame and writes it into the buffer B. After the display device controller completes the transmission of pixel data from the buffer A, it switches to reading data from the buffer B for display, while the CPU, in turn, writes the pixel data for another next frame into the buffer A. This flow repeats alternately until all frames (including the current frame, all transition frames, and the target frame) are displayed in sequence.
[0004] However, the aforementioned solution, which relies on comprehensive CPU intervention to generate or process every transition frame, has the following drawbacks. First, it imposes an excessive resource burden on the CPU and consumes a huge amount of bandwidth. Since the pixel data for each transition frame must be directly or indirectly generated by the CPU and written into the frame buffer, the CPU is occupied for long periods and at high intensity, especially when a large number of transition frames are needed to pursue finer and smoother sliding effects. These repetitive pixel processing and data writing operations not only consume a large number of CPU computing cycles but also occupy a significant amount of data transmission bandwidth between the CPU and memory, thereby affecting the efficiency of the CPU in executing other system-level or application-level tasks. Second, it has high demands on the processing speed of the CPU, easily creating a performance bottleneck and affecting display quality. To meet the refresh rate requirement of the display panel and ensure the fluency of the visual effect, the CPU must complete the data preparation and writing for a transition frame in a very short time. If the processing speed of the CPU is insufficient, or if delays occur due to the execution of other higher-priority tasks, it may not be able to provide the pixel data for the next frame to the display device controller in time. In such cases, the display device controller may be forced to repeatedly display the previous frame, leading to display stuttering and incoherence, failing to achieve the expected smooth transition effect, and in severe cases, it may even cause screen tearing or other visual artifacts. Third, it limits the flexibility of system design and overall performance. In many embedded systems or in applications sensitive to cost and power consumption, over-reliance on CPU resources to achieve complex visual effects means that a higher-specification, higher-cost CPU may need to be configured, or compromises must be made between functionality and performance. In addition, long-term high-load operation of the CPU is also not conducive to the power consumption control of the system.
[0005] In summary, existing approaches that mainly use the CPU to compute and prepare transition frame data to achieve smooth transition are deficient in terms of system resource consumption, performance dependency, and stability of the display effect. Such approach fails to fully meet the continuous pursuit of high efficiency and high-quality visual experience in modern electronic devices. Therefore, there is an need in the art for an improved solution that can effectively reduce the CPU's burden and improve the efficiency of generating display transition effects.SUMMARY OF THE INVENTION
[0006] In view of the above conventional art, existing approaches that use CPU to generate transition frames for smooth transition effects commonly face problems such as heavy computational load, massive memory bandwidth consumption, and limited processing speed, which affect display quality and overall system performance. To effectively address these shortcomings, it is one of object of the present invention to provide a method for controlling a display device, a related transition frame generation circuit, and a display device controller comprising the transition frame generation circuit. The core feature of present invention is the use of a dedicated hardware mechanism to efficiently and automatically generate required transition frames.
[0007] More specifically, in the present invention, the CPU (or the graphics processing unit) only needs to prepare pixel data for a current frame as well as a target frame, and accordingly write them into predetermined frame buffer memories. Subsequently, all transition frames are primarily generated by a dedicated hardware circuit (i.e., the transition frame generation circuit integrated in the display device controller). The transition frame generation circuit includes a data extraction module and a frame generation module, which directly extract partial pixel data from the respective frame buffer memories storing the current and target frames, based on a moving direction of content to be displayed and dynamically adjusted offsets. The transition frame generation circuit then reassembles the partial data into complete transition frames, which are then transmitted to the display device.
[0008] According to one embodiment, a method for controlling a display device is provided. The method comprises: generating a current frame and a target frame; writing the current frame and the target frame into a first frame buffer memory and a second frame buffer memory according to a moving direction corresponding to content to be displayed; extracting a specific portion of the current frame and a specific portion of the target frame from the first and second frame buffer memories to generate a first transition frame according to a first offset; and transmitting the first transition frame to the display device.
[0009] According to one embodiment, a display device controller is provided. The display device controller comprises: a transition frame generation circuit and a data transmission circuit. The transition frame generation circuit comprises a data extraction module and a frame generation module. The data extraction module is configured to extract pixel data of a current frame and a target frame from a first frame buffer memory and a second frame buffer memory, wherein the data extraction module respectively extracts a specific portion of the current frame and a specific portion of the target frame according to a first offset, and wherein the first offset corresponds to a moving direction of content to be displayed. The frame generation module is configured to generate a first transition frame based on the specific portion extracted from the current frame and the specific portion extracted from the target frame. The data transmission circuit is configured to transmit the first transition frame to a display device.
[0010] These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG. 1 illustrates a block diagram of a transition frame generation architecture according to an embodiment of the present invention.
[0012] FIG. 2 illustrates an operational principle of the transition frame generation circuit according to an embodiment of the present invention.
[0013] FIG. 3 illustrates another operational principle of the transition frame generation circuit according to an embodiment of the present invention.
[0014] FIG. 4 illustrates still another operational principle of the transition frame generation circuit according to an embodiment of the present invention.
[0015] FIG. 5 illustrates yet another operational principle of the transition frame generation circuit according to an embodiment of the present invention.
[0016] FIG. 6 illustrates a flowchart of a method for controlling a display device according to an embodiment of the present invention.DETAILED DESCRIPTION
[0017] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present embodiments. It will be apparent, however, to one having ordinary skill in the art that the specific detail need not be employed to practice the present embodiments. In other instances, well-known materials or methods have not been described in detail in order to avoid obscuring the present embodiments.
[0018] Reference throughout this specification to “one embodiment”, “an embodiment” or “some embodiments” means that a particular feature, structure or characteristic described in connection with the embodiment or example is included in at least one embodiment of the present embodiments. Thus, appearances of the phrases “in one embodiment”, “in an embodiment” or “in some embodiments” in various places throughout this specification are not necessarily all referring to the same embodiment(s). Furthermore, the particular features, structures or characteristics may be combined in any suitable combinations and / or sub-combinations in one or more embodiments.
[0019] Please refer to FIG. 1, which illustrates a block diagram of a transition frame generation architecture according to one embodiment of the present invention. As shown, an image processing circuit 100 is configured to generate a current frame Frame_CR and a target frame Frame_TG, which are stored in a first frame buffer memory 210 and a second frame buffer memory 220, respectively. The current frame Frame_CR can be selectively stored into one of the first frame buffer memory 210 and the second frame buffer memory 220, while the target frame Frame_TG can be stored into the other. A display device controller 200 is configured to transmit the current frame Frame_CR and the target frame Frame_TG to a display device 300, and further generates transition frames between the current frame Frame_CR and the target frame Frame_TG for the display device 300, thereby achieving a smooth transition display effect. The display device 300 is configured to display visual content based on the received current frame Frame_CR, target frame Frame_TG, and all transition frames therebetween.
[0020] In one embodiment, the image processing circuit 100, the display device controller 200, and the display device 300 can be part of an in-vehicle infotainment system. Furthermore, the image processing circuit 100 may be a circuit block / module responsible for image processing within a central processing unit (CPU) of the in-vehicle infotainment system, or a dedicated graphics processing unit (GPU) in the system. Additionally, the display device 300 may be a liquid crystal display (LCD) or an organic light-emitting diode (OLED) display.
[0021] In some embodiments, the first frame buffer memory 210 and the second frame buffer memory 220 can be implemented in different memory configurations based on system design requirements and cost considerations. For example, the first frame buffer memory 210 and the second frame buffer memory 220 can be separate and independent memories (e.g., dedicated video random-access memory (RAM) or reserved areas from system memory) within the in-vehicle infotainment system for frame data. In some embodiments, the first frame buffer memory 210 and the second frame buffer memory 220 can also be buffers dynamically or statically allocated from a larger shared system memory within the in-vehicle infotainment system (e.g., managed by a memory management unit or a specific driver).
[0022] The display device controller 200 includes a transition frame generation circuit 205 and a data transmission circuit 208. The transition frame generation circuit 205 is configured to generate one or more transition frames between the current frame Frame_CR and the target frame Frame_TG. The data transmission circuit 208 is configured to transmit the current frame Frame_CR, the target frame Frame_TG, and the one or more transition frames generated by the transition frame generation circuit 205 to the display device 300. The transition frame generation circuit 205 further includes a data extraction module 206 and a frame generation module 207. The data extraction module 206, based on at least one of a moving direction DIR (which may be specified by the image processing circuit 100) corresponding to the content to be displayed, a horizontal offset OFST_H, and a vertical offset OFST_V, extracts pixel data of a specific portion of the current frame Frame_CR and a specific portion of the target frame Frame_TG from the first frame buffer memory 210 and the second frame buffer memory 220. The frame generation module 207 then generates the one or more transition frames based on the specific portion of pixel data extracted from the current frame Frame_CR and the specific portion of pixel data extracted from the target frame Frame_TG.
[0023] Please refer further to an embodiment shown in FIG. 2, which illustrates an operational principle of the transition frame generation circuit 205. In this embodiment, the transition frame generation circuit 205 is configured to generate a transition frame Frame_TRA1 when the content (e.g., objects, icons, UI…) on the display device 300 moves from left to right. When the content on the display device 300 moves from left to right, the image processing circuit 100 writes the target frame Frame_TG into the first frame buffer memory 210 and the current frame Frame_CR into the second frame buffer memory 220. At this time, the transition frame generation circuit 205 uses a portion of the target frame Frame_TG to generate the left half of the transition frame Frame_TRA1, and a portion of the current frame Frame_CR to generate the right half of the transition frame Frame_TRA1. Specifically, when generating each transition frame, the image processing circuit 100 specifies a horizontal offset OFST_H. Based on the horizontal offset OFST_H, the transition frame generation circuit 205 extracts pixel data from specific columns of each row of the target frame Frame_TG to generate the left half of Frame_TRA1, and extracts pixel data from specific columns of each row of the current frame Frame_CR to generate the right half of Frame_TRA1.
[0024] Assuming the horizontal offset OFST_H = k, the data extraction module 206 of the transition frame generation circuit 205 will skip the first k columns of pixel data in each row of the target frame Frame_TG. Starting from the (k+1)th column of each row, the data extraction module 206 extracts (W-k) consecutive columns of pixel data from each row of the target frame Frame_TG to serve as the left half of the transition frame Frame_TRA1 (where W is the number of pixels in the horizontal direction of the first transition frame Frame_TRA1 or the horizontal resolution of the first transition frame Frame_TRA1). On the other hand, the data extraction module 206 starts from the first column of each row of the current frame Frame_CR and extracts k consecutive columns of pixel data from each row of the current frame Frame_CR to serve as the right half of the transition frame Frame_TRA1. Following this principle, the frame generation module 207 of the transition frame generation circuit 205 will generate the pixel data for the transition frame Frame_TRA1 row by row. When the frame generation module 207 has completed generating a specific number of rows of pixel data for the transition frame Frame_TRA1 (e.g., the upper half of the transition frame Frame_TRA1), the transition frame generation circuit 205 notifies the image processing circuit 100. In response thereto, the image processing circuit 100 will specify a new horizontal offset OFST_H for generating the next transition frame Frame_TRA2 (not shown).
[0025] Since the ultimate purpose of generating transition frames is to progressively replace the current frame Frame_CR with the target frame Frame_TG, the proportion of pixel data from the target frame Frame_TG needs to increase in the next transition frame Frame_TRA2 compared to the previous transition frame Frame_TRA1, while the proportion of pixel data from the current frame Frame_CR needs to decrease. To achieve this, the image processing circuit 100 will decrease the horizontal offset OFST_H for generating the transition frame Frame_TRA2. Consequently, when generating the transition frame Frame_TRA2, the data extraction module 206 will skip fewer columns of pixel data from the target frame Frame_TG (i.e., extract more columns of pixel data from it). Due to the reduced horizontal offset OFST_H, the data extraction module 206 will extract fewer columns of pixel data from the current frame Frame_CR in generating the transition frame Frame_TRA2. This principle also applies to the generation of subsequent transition frames like the transition frames Frame_TRA3, Frame_TRA4, etc. (not shown).
[0026] Please refer to an embodiment shown in FIG. 3 which illustrates another operational principle of the transition frame generation circuit 205. In this embodiment, the transition frame generation circuit 205 is configured to generate a transition frame Frame_TRB1 when the content (e.g., objects, icons, UI…) on the display device 300 moves from right to left. When the content on the display device 300 moves from right to left, the image processing circuit 100 writes the current frame Frame_CR into the first frame buffer memory 210 and the target frame Frame_TG into the second frame buffer memory 220. The transition frame generation circuit 205 then uses a portion of the current frame Frame_CR to generate the left half of the transition frame Frame_TRB1, and a portion of the target frame Frame_TG to generate the right half of the transition frame Frame_TRB1. Based on the horizontal offset OFST_H specified by the image processing circuit 100, the transition frame generation circuit 205 extracts pixel data from specific columns of each row of the current frame Frame_CR to generate the left half of the transition frame Frame_TRB1, and extracts pixel data from specific columns of each row of the target frame Frame_TG to generate the right half of the transition frame Frame_TRB1.
[0027] Assuming the horizontal offset OFST_H = k, the data extraction module 206 of the transition frame generation circuit 205 will skip the first k columns of pixel data in each row of the current frame Frame_CR. Starting from the (k+1)th column of each row, the data extraction module 206 extracts (W-k) consecutive columns of pixel data from each row of the current frame Frame_CR to serve as the left half of the transition frame Frame_TRB1 (where W is the number of pixels in the horizontal direction of the transition frame Frame_TRB1 or the horizontal resolution of the transition frame Frame_TRB1). On the other hand, the data extraction module 206 starts from the first column of each row of the target frame Frame_TG and extracts k consecutive columns of pixel data from each row of the target frame Frame_TG to serve as the right half of the transition frame Frame_TRB1. Following this principle, the frame generation module 207 of the transition frame generation circuit 205 generates the pixel data for the transition frame Frame_TRB1 row by row. When the frame generation module 207 has completed generating a specific number of rows of pixel data for the transition frame Frame_TRB1 (e.g., the upper half of the transition frame Frame_TRB1), the transition frame generation circuit 205 notifies the image processing circuit 100, which then specifies a new horizontal offset OFST_H for generating the next transition frame Frame_TRB2 (not shown).
[0028] To progressively replace the current frame Frame_CR with the target frame Frame_TG, the proportion of pixel data from the target frame Frame_TG in the transition frame Frame_TRB2 needs to be higher than that in the transition frame Frame_TRB1. Also, the proportion of pixel data from the current frame Frame_CR in the transition frame Frame_TRB2 needs to be lower than that in the transition frame Frame_TRB1. To achieve this, the image processing circuit 100 will increase the horizontal offset OFST_H for generating the transition frame Frame_TRB2. This causes the data extraction module 206 to skip more columns of the current frame Frame_CR (i.e., extract fewer columns of pixel data from it) in generating the transition frame Frame_TRB2. Due to the increased horizontal offset OFST_H, the data extraction module 206 extracts more columns of pixel data from the target frame Frame_TG in generating the transition frame Frame_TRB2. This principle also applies to the generation of subsequent transition frames like the transition frames Frame_TRB3, Frame_TRB4, etc. (not shown).
[0029] Please refer further to an embodiment shown in FIG. 4, which illustrates still another operational principle of the transition frame generation circuit 205. In this embodiment, the transition frame generation circuit 205 is configured to generate a transition frame Frame_TRC1 when the content (e.g., objects, icons, UI…) on the display device 300 moves from top to bottom. When the content moves from top to bottom, the image processing circuit 100 writes the target frame Frame_TG into the first frame buffer memory 210 and the current frame Frame_CR into the second frame buffer memory 220. The transition frame generation circuit 205 then uses a portion of the target frame Frame_TG to generate the upper half of the transition frame Frame_TRC1 and a portion of the current frame Frame_CR to generate the lower half of the transition frame Frame_TRC1. Specifically, when generating each transition frame, the image processing circuit 100 specifies a vertical offset OFST_V. Based on this vertical offset OFST_V, the transition frame generation circuit 205 extracts pixel data from specific rows of the target frame Frame_TG to generate the upper half of the transition frame Frame_TRC1 and from specific rows of the current frame Frame_CR to generate the lower half of the transition frame Frame_TRC1.
[0030] Assuming the vertical offset OFST_V = j, the data extraction module 206 of the transition frame generation circuit 205 will skip the first j rows of pixel data of the target frame Frame_TG. Starting from the (j+1)th row, the data extraction module 206 extracts (H-j) consecutive rows of pixel data from the target frame Frame_TG to serve as the upper half of the transition frame Frame_TRC1 (where H is the number of pixels in the vertical direction or the vertical resolution of the transition frame Frame_TRC1). On the other hand, the data extraction module 206 starts from the first row of the current frame Frame_CR and extracts j consecutive rows of pixel data of the current frame Frame_CR to serve as the lower half of the transition frame Frame_TRC1. Following this principle, the frame generation module 207 generates the pixel data for the transition frame Frame_TRC1 row by row. When the frame generation module 207 has completed generating a specific number of rows of pixel data for the transition frame Frame_TRC1 (e.g., the upper half of the transition frame Frame_TRC1), the transition frame generation circuit 205 notifies the image processing circuit 100. In response thereto, the image processing circuit 100 specifies a new vertical offset OFST_V for the next transition frame Frame_TRC2 (not shown).
[0031] To progressively replace the current frame Frame_CR with the target frame Frame_TG, the proportion of pixel data from the target frame Frame_TG needs to increase in the next transition frame Frame_TRC2 compared to the previous transition frame Frame_TRC1, while the proportion of pixel data from the current frame Frame_CR needs to decrease. To achieve this, the image processing circuit 100 will decrease the vertical offset OFST_V for generating the transition frame Frame_TRC2. Consequently, when generating the transition frame Frame_TRC2, the data extraction module 206 will skip fewer rows of pixel data from the target frame Frame_TG (i.e., extract more rows of pixel data from it). Due to the reduced vertical offset OFST_V, the data extraction module 206 will extract fewer rows of pixel data from the current frame Frame_CR in generating the transition frame Frame_TRC2. This principle also applies to the generation of subsequent transition frames like the transition frames Frame_TRC3, Frame_TRC4, etc. (not shown).
[0032] Please refer further to an embodiment shown in FIG. 5, which illustrates yet another operational principle of the transition frame generation circuit 205. In this embodiment, the transition frame generation circuit 205 is configured to generate a transition frame Frame_TRD1 when the content (e.g., objects, icons, UI…) on the display device 300 moves from bottom to top. When the content moves from bottom to top, the image processing circuit 100 writes the current frame Frame_CR into the first frame buffer memory 210 and the target frame Frame_TG into the second frame buffer memory 220. The transition frame generation circuit 205 then uses a portion of the current frame Frame_CR to generate the upper half of the transition frame Frame_TRD1 and a portion of the target frame Frame_TG to generate the lower half of the transition frame Frame_TRD1. Specifically, based on the vertical offset OFST_V specified by the image processing circuit 100, the transition frame generation circuit 205 extracts pixel data from specific rows of the current frame Frame_CR to generate the upper half of the transition frame Frame_TRD1, and extracts pixel data from specific rows of the target frame Frame_TG to generate the lower half of the transition frame Frame_TRD1.
[0033] Assuming the vertical offset OFST_V = j, the data extraction module 206 of the transition frame generation circuit 205 will skip the first j rows of pixel data of the current frame Frame_CR. Starting from the (j+1)th row, the data extraction module 206 extracts (H-j) consecutive rows of pixel data from the current frame Frame_CR to serve as the upper half of the transition frame Frame_TRD1 (where H is the number of pixels in the vertical direction or the vertical resolution of the transition frame Frame_TRD1). On the other hand, the data extraction module 206 starts from the first row of the target frame Frame_TG and extracts j consecutive rows of pixel data to serve as the lower half of transition frame Frame_TRD1. Following this principle, the frame generation module 207 generates the pixel data for transition frame Frame_TRD1 row by row. When the frame generation module 207 has completed generating a specific number of rows of pixel data for the transition frame Frame_TRD1 (e.g., the upper half of the transition frame Frame_TRD1), the transition frame generation circuit 205 notifies the image processing circuit 100, which then specifies a new vertical offset OFST_V for generating the next transition frame Frame_TRD2 (not shown).
[0034] To progressively replace the current frame Frame_CR with the target frame Frame_TG, the proportion of pixel data from the target frame Frame_TG in the transition frame Frame_TRD2 needs to be higher than that in the transition frame Frame_TRD1. Also, the proportion of pixel data from the current frame Frame_CR in the transition frame Frame_TRD2 needs to be lower than that in the transition frame Frame_TRD1. To achieve this, the image processing circuit 100 will increase the vertical offset OFST_V for generating the transition frame Frame_TRD2. This causes the data extraction module 206 to skip more rows of the current frame Frame_CR (i.e., extract fewer rows of pixel data from it) in generating the transition frame Frame_TRD2. Due to the increased vertical offset OFST_V, the data extraction module 206 extracts more rows of pixel data from the target frame Frame_TG in generating the transition frame Frame_TRD2. This principle applies to the generation of subsequent transition frames like the transition frames Frame_TRD3, Frame_TRD4, etc. (not shown).
[0035] Based on the above embodiments, the transition frame generation mechanism and related display device control of the present invention can be further summarized into the following method for controlling a display device. Please refer to a flowchart in FIG. 6, which illustrates a method for controlling a display device according to an embodiment of the present invention. The flow includes the following steps:
[0036] S101: generating a current frame and a target frame;
[0037] S102: writing the current frame and the target frame into a first frame buffer memory and a second frame buffer memory according to a moving direction corresponding to content to be displayed;
[0038] S103: extracting a specific portion of the current frame and a specific portion of the target frame from the first and second frame buffer memories to generate a first transition frame according to a first offset; and
[0039] S104: transmitting the first transition frame to the display device.
[0040] Since the detailed principles, specific operations, and related implementation variations of the above steps have been explained in detail in the preceding description of embodiments, they will not be repeated here. A person skilled in the art of the present invention should be able to implement the method of controlling the display device of the present invention based on the above steps after fully understanding the foregoing descriptions. It should be noted that the aforementioned flow may be enhanced by adding other additional steps or by making appropriate variations and adjustments to better achieve a smooth transition display effect on the display device, thereby further improving the user experience.
[0041] In summary, the present invention can effectively offload the heavy task of transition frame generation from the CPU to a dedicated hardware, thereby significantly reducing the CPU's computational load and constant pressure on system memory bandwidth, and avoiding display stuttering or delay problems caused by CPU performance bottlenecks. Also, this approach can improve the utilization efficiency of system resources, enhance overall response speed, and allow for the achievement of high-quality and diverse smooth visual transition effects with lower system complexity and reduced power consumption.
[0042] Embodiments in accordance with the present embodiments can be implemented as an apparatus, method, or computer program product. Accordingly, the present embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects that can all generally be referred to herein as a “module” or “system.” Furthermore, the present embodiments may take the form of a computer program product embodied in any tangible medium of expression having computer-usable program code embodied in the medium. In terms of hardware, the present invention can be accomplished by applying any of the following technologies or related combinations: an individual operation logic with logic gates capable of performing logic functions according to data signals, and an application specific integrated circuit (ASIC), a programmable gate array (PGA) or a field programmable gate array (FPGA) with a suitable combinational logic.
[0043] The flowchart and block diagrams in the flow diagrams illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present embodiments. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It is also noted that each block of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. These computer program instructions can be stored in a computer-readable medium that directs a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function / act specified in the flowchart and / or block diagram block or blocks.
[0044] Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Claims
1. A method for controlling a display device, comprising:generating a current frame and a target frame;writing the current frame and the target frame into a first frame buffer memory and a second frame buffer memory according to a moving direction corresponding to content to be displayed;extracting a specific portion of the current frame and a specific portion of the target frame from the first and second frame buffer memories to generate a first transition frame according to a first offset; andtransmitting the first transition frame to the display device.
2. The method of claim 1, wherein the step of writing the current frame and the target frame into the first frame buffer memory and the second frame buffer memory comprises:when the moving direction corresponds to left-to-right or top-to-bottom, writing the target frame into the first frame buffer memory and writing the current frame into the second frame buffer memory; andwhen the moving direction corresponds to right-to-left or bottom-to-top, writing the target frame into the second frame buffer memory and writing the current frame into the first frame buffer memory.
3. The method of claim 1, wherein the step of generating the first transition frame according to the first offset comprises:when the first offset is k, starting from a (k+1)th column of each row of one of the target frame or the current frame in the first buffer memory, extracting (W-k) consecutive columns of pixel data from each row of the one of the target frame or the current frame, to serve as a left half of the first transition frame, wherein W is a number of pixels of the first transition frame in a horizontal direction; andwhen the first offset is k, starting from a first column of each row of the other one of the target frame or the current frame in the second buffer memory, extracting k consecutive columns of pixel data from each row of the other one of the target frame of the current frame to serve as a right half of the first transition frame.
4. The method of claim 1, wherein the step of generating the first transition frame according to the first offset comprises:when the first offset is j, starting from a (j+1)th row of one of the target frame or the current frame, extracting (H-j) consecutive rows of pixel data from the one of the target frame or the current frame in the first buffer memory, to serve as a upper half of the first transition frame, wherein H is a number of pixels of the first transition frame in a vertical direction; andwhen the first offset is j, starting from a first row of the other one of the target frame or the current frame, extracting j consecutive rows of pixel data of the other one of the target frame of the current frame in the second buffer memory to serve as a lower half of the first transition frame.
5. The method of claim 1, further comprising:generating a second offset for generating a second transition frame according to the moving direction.
6. The method of claim 5, further comprising:generating the second offset after completing generation of pixel data for a specific number of rows of the first transition frame.
7. The method of claim 5, further comprising:when the moving direction corresponds to left-to-right or top-to-bottom, the second offset is lower than the first offset; andwhen the moving direction corresponds to right-to-left or bottom-to-top, the second offset is higher than the first offset.
8. A transition frame generation circuit, comprising:a data extraction module, configured to extract pixel data of a current frame and a target frame from a first frame buffer memory and a second frame buffer memory, wherein the data extraction module respectively extracts a specific portion of the current frame and a specific portion of the target frame according to a first offset, and the first offset corresponds to a moving direction of content to be displayed; anda frame generation module, configured to generate a first transition frame based on the specific portion extracted from the current frame and the specific portion extracted from the target frame.
9. The transition frame generation circuit of claim 8, wherein:when the first offset is k, the data extraction module starts from a (k+1)th column of each row of one of the target frame or the current frame in the first buffer memory, and extracts (W-k) consecutive columns of pixel data from each row of the one of the target frame or the current frame to serve as a left half of the first transition frame; and the data extraction module starts from a first column of each row of the other one of the target frame or the current frame in the second buffer memory, and extracts k consecutive columns of pixel data from each row of the other one of the target frame of the current frame to serve as a right half of the first transition frame;where W is a number of pixels of the first transition frame in a horizontal direction.
10. The transition frame generation circuit of claim 8, wherein:when the first offset is j, the data extraction module starts from a (j+1)th row of one of the target frame or the current frame in the first buffer memory, and extracts (H-j) consecutive rows of pixel data from the one of the target frame or the current frame to serve as a upper half of the first transition frame; and the data extraction module starts from a first row of the other one of the target frame or the current frame in the second buffer memory, and extracts j consecutive rows of pixel data from the other one of the target frame of the current frame to serve as a lower half of the first transition frame;where H is a number of pixels of the first transition frame in a vertical direction.
11. A display device controller, comprising:a transition frame generation circuit, comprising:a data extraction module, configured to extract pixel data of a current frame and a target frame from a first frame buffer memory and a second frame buffer memory, wherein the data extraction module respectively extracts a specific portion of the current frame and a specific portion of the target frame according to a first offset, and wherein the first offset corresponds to a moving direction of content to be displayed; anda frame generation module, configured to generate a first transition frame based on the specific portion extracted from the current frame and the specific portion extracted from the target frame;a data transmission circuit, configured to transmit the first transition frame to a display device.
12. The display device controller of claim 11, wherein:when the first offset is k, the data extraction module starts from a (k+1)th column of each row of one of the target frame or the current frame in the first buffer memory, and extracts (W-k) consecutive columns of pixel data from each row of the one of the target frame or the current frame to serve as a left half of the first transition frame; and the data extraction module starts from a first column of each row of the other one of the target frame or the current frame in the second buffer memory, and extracts k consecutive columns of pixel data from each row of the other one of the target frame of the current frame to serve as a right half of the first transition frame;where W is a number of pixels of the first transition frame in a horizontal direction.
13. The display device controller of claim 11, wherein:when the first offset is j, the data extraction module starts from a (j+1)th row of one of the target frame or the current frame in the first buffer memory, and extracts (H-j) consecutive rows of pixel data from the one of the target frame or the current frame to serve as a upper half of the first transition frame; and the data extraction module starts from a first row of the other one of the target frame or the current frame in the second buffer memory, and extracts j consecutive rows of pixel data from the other one of the target frame of the current frame to serve as a lower half of the first transition frame;where H is a number of pixels of the first transition frame in a vertical direction.
