Method and device for adjusting tearing effect TE signal
By adjusting the start time of the TE signal and dynamically adjusting the difference between the TE signal and the Vsync signal according to the coordinates of the image frame data, the problem of abnormal display in partial refresh scenarios in high refresh rate display devices is solved and the complete refresh of the data is ensured. and screen effects.
Patent Information
- Application Number
- CN202410807235.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-20
AI Technical Summary
In high refresh rate display devices, especially in partial refresh scenarios, existing technology is difficult to guarantee the display effect of the screen, which may cause the current image frame data to not be completely refreshed, causing display abnormalities.
By adjusting the start time of the tearing effect TE signal according to the coordinates of the first image frame data, the difference between it and the vertical synchronization Vsync signal changes dynamically, thereby avoiding overwriting the image frame data that has not yet been refreshed and ensuring complete data refresh.
It effectively solves the display abnormality problem, ensures the screen display effect and user experience, and ensures that the image frame data is completely displayed within the refresh cycle.
Smart Images

Figure CN118646908A
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and more specifically, to a method and device for adjusting a tearing effect TE signal. Background Art
[0002] Currently, the mobile industry processor interface (MIPI) interface is mainly used as the transmission interface between the application processor (AP) and the display chip on mobile devices (e.g., terminal devices). The "command mode" of the MIPI transmission interface is to send a tearing effect (TE) signal through the display chip to indicate whether the AP can send data to the display chip. With high refresh rates (e.g., 120Hz, 144Hz) gradually becoming mainstream on mobile devices, while improving display response time and display smoothness, high refresh rates also bring higher challenges to the display output performance of the AP. In some cases, the AP may not be able to guarantee that a frame of data is completely sent to the display chip within the display time of a frame (e.g., when the refresh rate is 120Hz, the display time of a frame is 8.3ms). For example, it may be because the instantaneous load of the double data rate (DDR) is too large, resulting in a frame of data being unable to be completely sent within 8.3ms, which may cause display abnormalities. To solve this problem, the existing solution is to use a built-in buffer space in the display chip to cache a frame of data, and then send the TE signal to the AP in advance, so that the AP can send data earlier than the "signal for display screen refresh data" (for example, the vertical synchronization (Vsync) signal), that is, to ensure that the AP has more time to send data.
[0003] Since multiple frames of video data include dynamic images and static images, there are two display scenarios when displaying images: "global refresh" and "local refresh". By using "local refresh" on part of the screen, power consumption can be reduced. For example, the area where the video is played is refreshed normally, and the static area of other content is not refreshed, and the previous static content is maintained. This local refresh can reduce the power consumption of the display chip and panel by reducing the amount of refreshed data. However, in the local refresh scenario, if the coordinates of the local refresh corresponding to a frame are located in the later part of a frame content, then in the above existing solution, the TE signal is sent to the AP in advance so that the AP has more time to send data. This solution may cause the current image frame data to not be displayed on the screen, and the next image frame data has been written to the buffer, so that the screen has displayed the content of the next image frame data within the display cycle of the current image frame, resulting in the current image frame data not being completely refreshed, so there will still be display abnormalities.
[0004] Therefore, in the scenario of partial refresh, how to ensure the display effect of the screen becomes a technical problem that needs to be solved. Summary of the invention
[0005] The present application provides a method for adjusting a tearing effect TE signal, adjusting the start time of a TE signal corresponding to the first image frame data according to the coordinates of the first image frame data, and sending the TE signal based on the adjusted start time of the TE signal, thereby ensuring the display effect of the screen.
[0006] In a first aspect, a method for adjusting a tearing effect TE signal is provided. For example, the method may be executed by a display chip, or may also be executed by a component (eg, a circuit) of the display chip.
[0007] The method includes: adjusting the start time of a tearing effect TE signal corresponding to the first image frame data according to the coordinates corresponding to the first image frame data, wherein the first difference between the start time of the adjusted TE signal corresponding to the first image frame data and the start time of the vertical synchronization Vsync signal corresponding to the first image frame data is variable. The first difference is related to the coordinates corresponding to the first image frame data. According to the start time of the adjusted TE signal, a tearing effect TE signal is sent, and the tearing effect TE signal is used to indicate the sending of the first image frame data, wherein the start time of the adjusted TE signal makes the first image frame data not overwrite the data of the current image frame data that has not been refreshed on the display screen, and the current image frame data is the previous image frame data of the first image frame data, and the first image frame data is received.
[0008] In the present application, the first image frame data may be global refresh data of the display screen, or may be local refresh data of the display screen. Specifically, the first image frame data may be flexibly switched based on business needs without limitation.
[0009] It should be noted that the "first image frame data" in the present application can be understood as any image frame data, or as each image frame data in the scheme. For example, if the scheme is understood from a timing perspective, the first image frame data can be the Nth image frame data, or the N+1th image frame data, or the N+2th image frame data, and so on. At this time, it is equivalent to that the difference #1 (an example of the first difference) between the start time of the TE signal corresponding to the Nth image frame number and the corresponding Vsync signal is variable, and the difference #1 is related to the coordinates corresponding to the Nth image frame data. Similarly, the difference #2 (another example of the first difference) between the start time of the TE signal corresponding to the N+1th image frame data and the corresponding Vsync signal is variable, and the difference #2 is related to the coordinates corresponding to the N+1th image frame data.
[0010] For example, assuming that the rate at which the AP writes data to the graphics random access memory (GRAM) is V1, and the rate at which the display chip reads data from the GRAM is V2, assuming that the number of rows of the display screen is H rows in total, and the starting coordinate of the first image frame data is y1, then when ensuring normal display, the maximum value of the TE signal earlier than the Vsync signal is P,
[0011] Based on the above technical solution, in the present application, according to the coordinates of the first image frame data, the start time of the TE signal corresponding to the first image frame data is adjusted, the TE signal is sent based on the adjusted start time of the TE signal, and the first image frame data is received. It can be ensured that after the refresh is started on the screen, the storage space corresponding to the data that has not been refreshed on the screen for the current image frame data will not write new image frame data, thereby solving the problem of display abnormality and ensuring the screen display effect and user service experience.
[0012] In combination with the first aspect, in a possible implementation manner, the first difference is less than or equal to P and greater than or equal to 0, where P is the maximum value of the TE signal being earlier than the Vsync signal while ensuring normal display.
[0013] In combination with the first aspect, in a possible implementation, when the first image frame data is global refresh data of the display screen, the first difference is M, where M is less than or equal to P, and P is the maximum value of the TE signal earlier than the Vsync signal while ensuring normal display.
[0014] In the present application, M is the maximum value of the first difference when the system configuration ensures normal display.
[0015] In combination with the first aspect, in a possible implementation method, when the first image frame data is local refresh data of the display screen, the first difference is N, N is less than M, M is less than or equal to P, and P is the maximum value of the TE signal earlier than the Vsync signal while ensuring normal display.
[0016] Exemplarily, P and M can be time granularity, for example, M (or P) is 1ms; Exemplarily, P and M can also be row granularity, for example, M (or P) is 300 rows. It can also be understood that the number of rows and the time of advance are actually equivalent, and the two can be converted to each other.
[0017] In combination with the first aspect, in a possible implementation method, when all parameters in the display screen system are the same (for example, the display frame rate, the rate at which the AP sends data, etc.), when the starting point coordinates of the first image frame data show an increasing trend, the first difference shows a decreasing trend, or, when the starting point coordinates of the first image frame data show a decreasing trend, the first difference shows an increasing trend.
[0018] Exemplarily, it is assumed that the Nth image frame data, the N+1th image frame data, and the N+2th image frame data can all be regarded as the first image frame data, and it is assumed that the coordinates of the Nth image frame data are [1000-2000], the coordinates of the N+1th image frame data are [1800-2000], and the coordinates of the N+2th image frame data are [1600-2000]. It is assumed that the first difference between the start time of the TE signal corresponding to the Nth image frame data and the start time of the Vsync signal corresponding to it is k1, for example, 1ms; the first difference between the start time of the TE signal corresponding to the N+1th image frame data and the start time of the Vsync signal corresponding to it is k2, for example, 500us; the first difference between the start time of the TE signal corresponding to the N+2th image frame data and the start time of the Vsync signal corresponding to it is k3, for example, 600us; it can be seen that k2<k3<k1. This is because, when the starting point coordinates of the first image frame data are larger, it means that the local refresh data is later. At this time, the first difference should be reduced. It can also be understood that the TE signal corresponding to the first image frame data should be started later. Otherwise, it is very likely that the first image frame data will overwrite the unrefreshed content of the image frame data currently being refreshed cached in the GRAM.
[0019] In summary, in the present application, the first difference between the start time of the TE signal corresponding to each image frame data and the start time of the Vsync signal corresponding thereto can be dynamically changed, or the first difference can be dynamically adjusted. Specifically, the first difference can be adjusted based on the coordinates corresponding to each image frame data. In the present application, since the start time of the TE signal corresponding to each image frame data can be dynamically adjusted, the display effect of the display screen can be guaranteed and abnormal display can be avoided.
[0020] In a second aspect, the present application proposes a device for adjusting a tearing effect TE signal, the device being used to perform the method of the first aspect. Specifically, the device may include a unit and / or module, such as a transceiver module and / or a processing module, for performing the method of the first aspect proposed in the present application. Exemplarily, the device may be a display chip.
[0021] In a third aspect, the present application provides a display device, the device comprising: at least one processor, configured to execute a computer program or instruction stored in a memory to perform the method of the first aspect. Optionally, the device further comprises a memory, configured to store a computer program or instruction. Optionally, the device further comprises a communication interface, and the processor reads the computer program or instruction stored in the memory through the communication interface.
[0022] In one implementation, the display device includes means for implementing the functions of each method of the first aspect described above.
[0023] In one implementation, the display device includes the apparatus provided by the second aspect above.
[0024] In a fourth aspect, the present application provides a processor, comprising: an input circuit, an output circuit and a processing circuit. The processing circuit is used to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method of the first aspect.
[0025] In the specific implementation process, the processor can be one or more chips, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, a gate circuit, a trigger, and various logic circuits. The input signal received by the input circuit can be received and input by, for example, but not limited to, a transceiver, and the signal output by the output circuit can be, for example, but not limited to, output to a transmitter and transmitted by the transmitter, and the input circuit and the output circuit can be the same circuit, which is used as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation methods of the processor and various circuits.
[0026] For the operations such as sending and acquiring / receiving involved in the processor, unless otherwise specified, or unless they conflict with their actual function or internal logic in the relevant description, they can be understood as operations such as processor output, reception, input, etc., or as sending and receiving operations performed by the radio frequency circuit and antenna, and this application does not limit this.
[0027] In a fifth aspect, a processing device is provided, comprising a processor and a memory. The processor is used to read instructions stored in the memory, and can receive signals through a transceiver and transmit signals through a transmitter to execute the method of the first aspect.
[0028] Optionally, the number of the processors is one or more, and the number of the memories is one or more.
[0029] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.
[0030] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips respectively. The embodiment of the present application does not limit the type of memory and the setting method of the memory and the processor.
[0031] It should be understood that the related data interaction process, for example, sending the first information may be a process of outputting the first information from the processor, and receiving the capability information may be a process of receiving the input capability information by the processor. Specifically, the data output by the processor may be output to the transmitter, and the input data received by the processor may come from the transceiver. The transmitter and the transceiver may be collectively referred to as a transceiver.
[0032] The processing device in the fifth aspect may be one or more chips. The processor in the processing device may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated in the processor or located outside the processor and exist independently.
[0033] In a sixth aspect, a computer-readable storage medium is provided, wherein the computer-readable medium stores a program code for execution by a device, wherein the program code includes a method for executing the above-mentioned first aspect.
[0034] In a seventh aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method of the first aspect.
[0035] In an eighth aspect, a chip system is provided, comprising a processor for calling and running a computer program from a memory, so that a device equipped with the chip system executes the method of the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a schematic diagram of global refresh and local refresh of a display screen provided by the present application.
[0037] Figure 2 It is a schematic block diagram of a system architecture applicable to the present application.
[0038] Figure 3 It is a schematic diagram of an existing solution provided by this application.
[0039] Figure 4 This is another schematic diagram of an existing solution provided by the present application in different scenarios.
[0040] Figure 5 It is a schematic flowchart of a method 500 for adjusting a TE signal provided in the present application.
[0041] Figure 6 It is a schematic diagram of a method for adjusting a TE signal provided in the present application.
[0042] Figure 7 It is a schematic block diagram of a device 700 for adjusting a TE signal provided in the present application.
[0043] Figure 8 It is a schematic block diagram of a display device 800 provided in the present application. DETAILED DESCRIPTION
[0044] In order to facilitate understanding of the technical solution of the present application, the following first briefly introduces some of the professional terms involved in the present application.
[0045] 1. Tearing effect (TE): Within an image frame, the read pointer and write pointer of the frame memory overlap, resulting in the phenomenon that parts of the old and new images appear on the display screen.
[0046] 2. TE signal: It is a signal generated by the display driver integrated circuit (DDIC) to prevent the tearing problem when refreshing the image during the image display process. When the next image frame is ready to be refreshed, the DDIC chip generates a TE signal and synchronizes it to the application processor (AP). After the corresponding AP detects the trigger edge of the TE signal, it can send the next image frame data to the DDIC chip.
[0047] 3. Vertical synchronization (Vsync) signal: A signal used to indicate the end of scanning the previous image frame and the start of scanning the next image frame. The frequency value of this signal, also known as the frame rate, is the number of image frames that the DDIC can display per second. Usually, one or more TE signal cycles can exist in one Vsync signal cycle.
[0048] In the following schematic diagrams of the present application, the TE signal period is the same as the Vsync signal period.
[0049] 4. Refresh rate: It is defined as the frequency at which the display panel displays images per second, measured in Hertz (Hz). For example, when the refresh rate is 120Hz, it means that 120 frames are displayed in 1 second, that is, 120 refreshes in 1 second.
[0050] 5. Refresh cycle: the time required for the display to display one frame of image. For example, when the refresh rate is 120Hz, the refresh time of one frame is 8.3ms.
[0051] 6. Display screen refresh: Since multiple frames of video data include dynamic and static images, when the display driver displays the image, there are "global refresh" and "local refresh". In the related art, for a specific display interface, for example, Figure 1 As shown in (a), the shaded area is playing a video, i.e., the refresh area. It can be seen that the interface is displayed on the full screen of the terminal device. This can be understood as the "global refresh" scene of the display screen. At this time, the coordinates of the full screen refresh are [1, H]. Figure 1 As shown in (b) of the figure, the interface is playing a video, where the shaded area is the playback area of the video. Figure 1In the display interface (b) in the figure, the terminal device can reduce power consumption by partially refreshing part of the screen. For example, the area where the video is played is refreshed normally, and the content in other areas of the display screen is not refreshed, and the previous static content is maintained. This scene can be understood as a "partial refresh" scene, and the coordinates of the partial refresh are [y1, y2]. This partial refresh method reduces the power consumption of the display chip and panel by reducing the amount of refreshed data.
[0052] In the embodiment of the present application, the display device may be any device with a display screen. For example, the device includes but is not limited to: a device that provides voice / data to a user, such as a handheld device with a wireless connection function, a vehicle-mounted device, etc. For example, it can also be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home (such as a game console, a smart TV, a smart speaker, a smart refrigerator, and fitness equipment, etc.), a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a transport vehicle with wireless communication function, a communication module, a roadside unit with terminal function side unit, RSU), terminal equipment in a 5G network, or terminal equipment in a future evolved public land mobile communication network (public land mobile network, PLMN), etc., and the embodiments of the present application are not limited to this.
[0053] As an example but not limitation, in the embodiment of the present application, the display device can also be a wearable device. Wearable devices can also be called wearable smart devices, which are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and independent of smartphones to achieve complete or partial functions, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
[0054] In addition, in the embodiment of the present application, the display device can also be a terminal device in the IoT system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.
[0055] Figure 2 is a schematic block diagram of a system architecture applicable to this application, such as Figure 2 As shown, normally, the display chip will send a TE signal to the application processor (AP). After the AP receives the TE signal, the display output module in the AP will send the image frame data to the graphics random access memory (GRAM) in the display chip, and then the display chip will control the display screen to refresh each image frame data. It should be understood that when the next image frame data is sent, the data in the current GRAM will be overwritten by the content of the next image frame data. For example, once the Nth image frame data starts to be sent, the N-1th image frame data cached in the GRAM can be overwritten by the Nth image frame data from the beginning, for example, starting from the 1st row, and the N-1th image frame data stored in the GRAM will be overwritten within one Vsync signal display cycle.
[0056] It should be noted that Figure 2 The specific names of the modules may vary. For example, in some scenarios, the "display chip" may be named "display module", the "application processor" may be named "processor", etc. The present application does not limit the specific names of the modules. As long as the functions of the above modules can be implemented in the display device, the technical solutions provided in the present application can be implemented.
[0057] The mobile industry processor interface (MIPI) interface is mainly used in current mobile devices (for example, terminal devices) as the transmission interface between the application processor (AP) and the display chip. The "command mode" of the MIPI transmission interface is to send a TE signal through the display chip to indicate whether the AP can send image frame data to the display chip. As high refresh rates (for example, 120Hz, 144Hz) on display devices gradually become mainstream, while improving display response time and display smoothness, high refresh rates also bring higher challenges to the display output performance of the AP. In some extreme performance display frames, the AP may not be able to guarantee that a frame of data is completely sent to the display chip within the refresh time of a frame (for example, when the refresh rate is 120Hz, the refresh time of a frame is 8.3ms), which may cause display anomalies. For example, Figure 3 As shown in (a), an abnormal event occurs in the data transmission duration corresponding to the Nth image frame data. It can be seen that when the Vsync signal corresponding to the original N+1th image frame data is activated, the Nth image frame data has not yet been completely transmitted (for example, it may be because the instantaneous load of DDR is too large to cause a frame of data to be completely sent within 8.3ms, that is, the image quality content of a frame is too complex, resulting in the inability to send a frame of data within 8.3ms). Therefore, when the TE signal corresponding to the original N+1th image frame data is activated, the remaining data of the Nth image frame data is still sent. Since the Nth image frame data has not been completely transmitted, after the TE signal corresponding to the Nth image frame data is activated, the data stored in the GRAM at this time is part of the content of the currently transmitted Nth image frame data and the content of the N-1th image frame data that has not been covered. Therefore, in this scenario, part of the display screen will display the current image frame data (for example, the Nth image frame data), and the other part of the display screen will still display the previous image frame data (for example, the N-1th image frame data). Figure 3 As shown in (b) in .
[0058] In order to solve the display abnormality problem described above, the existing solution is to build a buffer space in the display chip to cache a frame of data, and then send the TE signal to the AP in advance, so that the AP can send data earlier than the "signal for display screen refresh data" (for example, the Vsync signal), that is, to ensure that the AP has more time to send data.
[0059] According to the above solution, in the global refresh scenario, the display abnormality problem can be well solved, such as Figure 4As shown in (a) in FIG. 1 , since the start time of the TE signal is T1 time period earlier than the start time of the Vsync signal (for example, T1 is 1 ms, it can be seen that T1 is greater than Figure 3 In (a), T0 (for example, T0 is 100us) is assumed to display a frame of data for 8.3ms (that is, the display period of the Vsync signal is 8.3ms). At this time, the time for the AP to send a frame of data without abnormal display increases from (8.3+T0)ms to (8.3+T1)ms (for example, the time for the AP to transmit data increases from 8.4ms to 9.3ms). Figure 4 It can be seen from (a) that, since the AP can send data in advance by T1 time period, the Nth image frame data is sent before the Vsync signal corresponding to the original N+1th image frame data is started, and the content of the Nth image frame data is also stored in the GRAM, and the screen can display normally at this time. In addition, it can be seen that when the TE signal corresponding to the original N+1th image frame data is started, the remaining part of the Nth image frame data is still sent (therefore, the Nth image frame data is still displayed within the display period of the Vsync signal corresponding to the original N+1th image frame data, which can also be understood as the frame rate being slowed down), and the N+1th image frame data will not be sent, so the screen display is normal.
[0060] As before Figure 1 From the scenarios introduced in , we can see that the global refresh scenario is used in some time periods and the local refresh scenario is used in other time periods. In most cases, the system will frequently switch between these two scenarios. Figure 4 Solution (a) in the above will have problems when switching from a global refresh scenario to a local refresh scenario. Assume that in a local refresh scenario, if the local refresh coordinates corresponding to a certain image frame are located in the relatively later part of a frame content, then the above solution of sending the TE signal to the AP in advance by T1 time period so that the AP has (8.3+T1) ms to send data may result in the previous image frame data not being refreshed on the screen before the next image frame data has been written to the GRAM, causing the screen to refresh the current image frame data (for example, the Nth image frame data) while the next local image frame data (for example, the N+1th image frame data) is also refreshed, which will also cause display abnormalities. Figure 4As shown in (b), it can be seen that the N+1th image frame data is a local refresh data. Assuming that the N+1th image frame data is to refresh the next 200 rows of the Nth image frame data (for example, the number of rows of the display screen is 2000 rows in total), it can be seen that since the TE signal corresponding to the N+1th image frame data is within the refresh time period of the Vsync signal corresponding to the Nth image frame data, when the N+1th TE signal is started, the AP can send data to the GRAM in the display chip, so the N+1th image frame data will be cached at the corresponding position in the GRAM. At this time, the data of the last 200 rows of the Nth image frame data has not been refreshed yet, and the N+1th image frame data will be refreshed, resulting in the Nth image frame data not being completely refreshed. The above phenomenon is also equivalent to showing the N+1th frame picture to the user in advance, but the Nth frame picture has never been completely displayed to the user. Therefore, in the scenario of local refresh, how to ensure the display effect of the screen becomes a technical problem that needs to be solved.
[0061] In view of this, the present application proposes a method for adjusting the TE signal, adjusting the start time of the TE signal corresponding to the first image frame data according to the coordinates of the first image frame data, sending the TE signal based on the adjusted start time of the TE signal, and receiving the first image frame data. It can be ensured that after the refresh is started on the screen, the storage space corresponding to the data that has not been refreshed on the screen for the current image frame data will not write new image frame data, thereby solving the problem of display abnormality and ensuring the screen display effect and user service experience.
[0062] Combine the following Figure 2 The system architecture shown provides a detailed introduction to the technical solution proposed in this application. Figure 5 is a schematic flow chart of an image processing method 500 proposed in this application, such as Figure 5 As shown, the method includes:
[0063] 510. The AP sends coordinates corresponding to the first image frame data to the display chip.
[0064] Correspondingly, the display chip receives the coordinates corresponding to the first image frame data.
[0065] In the present application, the first image frame data may be global refresh data of the display screen, or may be local refresh data of the display screen, and may be flexibly switched based on business needs without limitation.
[0066] 520. The display chip adjusts the start time of the TE signal corresponding to the first image frame data according to the coordinates corresponding to the first image frame data.
[0067] In the present application, the first difference between the start time of the adjusted TE signal corresponding to the first image frame data and the start time of the Vsync signal corresponding to the first image frame data can be based on the coordinate change corresponding to the first image frame data.
[0068] It should be noted that the "first image frame data" in the present application can be understood as any image frame data, or as each image frame data in the scheme. For example, if the scheme is understood from a timing perspective, the first image frame data can be the Nth image frame data, or the N+1th image frame data, or the N+2th image frame data, and so on. At this time, it is equivalent to that the difference #1 (an example of the first difference) between the start time of the TE signal corresponding to the Nth image frame number and the corresponding Vsync signal is variable, and the difference #1 is related to the coordinates corresponding to the Nth image frame data. Similarly, the difference #2 (another example of the first difference) between the start time of the TE signal corresponding to the N+1th image frame data and the corresponding Vsync signal is variable, and the difference #2 is related to the coordinates corresponding to the N+1th image frame data.
[0069] For example, assuming that the rate at which the AP writes data to the GRAM is V1, and the rate at which the display chip reads data from the GRAM is V2, and assuming that the number of rows of the display screen is H, and the starting coordinate of the first image frame data is y1, then to ensure normal display, the maximum value of the TE signal earlier than the Vsync signal is P, It should be noted that the calculation formula for P is not limited in the present application. The formula is only exemplary, and any variation of the formula or the same idea of calculating P falls within the protection scope of the present application.
[0070] In the present application, M is the maximum value of the first difference when the system configuration ensures normal display, and M is less than or equal to P. In the present application, the value of the first difference varies between 0 and M as the coordinates corresponding to the first image frame data change.
[0071] Exemplarily, P and M can be time granularity, for example, M (or P) is 1ms; Exemplarily, P and M can also be row granularity, for example, M (or P) is 300 rows. It can also be understood that the number of rows and the time of advance are actually equivalent, and the two can be converted to each other.
[0072] In a possible implementation, when various parameters in the display screen are the same (for example, display frame rate, AP data transmission rate, etc.), when the starting point coordinates of the first image frame data show an increasing trend, the first difference value shows a decreasing trend, or when the starting point coordinates of the first image frame data show a decreasing trend, the first difference value shows an increasing trend. Figure 6 As shown, Figure 6 The Nth image frame data, the N+1th image frame data, and the N+2th image frame data can all be regarded as the first image frame data. Assuming that the coordinates of the Nth image frame data are [1000-2000], the coordinates of the N+1th image frame data are [1800-2000], and the coordinates of the N+2th image frame data are [1600-2000]. It can be seen that the first difference between the three image frame data and the corresponding Vsync signal is k1 (for example, 1ms), k2 (for example, 500ms), and k3 (for example, 600ms), respectively. It can be seen that k2<k3<k1. This is because, when the starting point coordinates of the first image frame data are larger, it means that the local refresh data is later. At this time, the first difference should be reduced. It can also be understood that the TE signal corresponding to the first image frame data should be started later, otherwise, it is very likely that the first image frame data will overwrite the content that has not been refreshed in the image frame data currently being refreshed cached in the GRAM.
[0073] In another possible implementation, in a scenario where the display screen is globally refreshed, the first difference may be M; and in a scenario where the display screen is partially refreshed, the first difference may be 0.
[0074] 530, the display chip sends the TE signal to the AP according to the adjusted start time of the TE signal.
[0075] Correspondingly, the AP receives the TE signal from the display chip.
[0076] 540. The AP sends the first image frame data to the display chip according to the TE signal.
[0077] Correspondingly, the display chip receives the first image frame data from the AP.
[0078] In the present application, if the Nth image frame data (for example, the previous image frame number of the first image frame data) has not been sent when the TE signal is received, the remaining part of the Nth image frame data continues to be sent within the sending cycle, without not sending the N+1th image frame (which can also be understood as the first image frame data). For example, the N+1th image frame data can be sent after the next TE signal is started.
[0079] Based on the above technical solution, in the present application, the start time of the TE signal corresponding to the first image frame data can be adjusted according to the coordinates of the first image frame data, so that the first image frame data sent based on the adjusted start time of the TE signal will not overwrite the unrefreshed content in the current image frame data, thereby ensuring the display effect of the display screen and improving the user experience.
[0080] Those skilled in the art should be aware that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0081] The embodiment of the present application can divide the functional modules of the device for adjusting the TE signal according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.
[0082] Figure 7 1 is a schematic block diagram of a device 700 for adjusting a TE signal provided by the present application. As shown in the figure, the device 700 may include: a transceiver unit 710 and a processing unit 720.
[0083] Among them, the above-mentioned modules are respectively used to execute the steps of the above-mentioned methods, which will not be repeated here.
[0084] It should also be understood that the apparatus 700 herein is embodied in the form of a functional unit. The term "unit" herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.
[0085] The apparatus 700 of each of the above schemes has the function of implementing the corresponding steps of the above method 500. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions; for example, the determination unit and the like can be replaced by a processor to respectively perform the transceiver operations and related processing operations in each method embodiment. In addition, the determination unit can be a processing circuit.
[0086] Figure 88 is a schematic block diagram of a display device 800 provided in an embodiment of the present application. As shown in the figure, the device 800 includes: at least one processor 820. The processor 820 is coupled to the memory and is used to execute instructions stored in the memory to send signals and / or receive signals. Optionally, the device 800 also includes a memory 830 for storing instructions. Optionally, the device 800 also includes a transceiver 810, and the processor 820 controls the transceiver 810 to send signals and / or receive signals.
[0087] It should be understood that the processor 820 and the memory 830 may be combined into one processing device, and the processor 820 is used to execute the program code stored in the memory 830 to implement the above functions. In specific implementation, the memory 830 may also be integrated into the processor 820 or independent of the processor 820.
[0088] It should also be understood that the transceiver 810 may include a transceiver (or receiver) and a transmitter (or transmitter). The transceiver may further include an antenna, and the number of antennas may be one or more. The transceiver 810 may also be a communication interface or an interface circuit.
[0089] Specifically, the processor 820 in the device 800 may correspond to the processing unit 720 in the apparatus 700. The transceiver 810 in the device 800 may correspond to the transceiver unit 710 in the apparatus 700.
[0090] As a solution, the device 800 is used to implement the steps corresponding to the display chip and the AP in the above method 500 embodiment.
[0091] For example, the processor 820 is configured to execute the computer program or instructions stored in the memory 830 to implement each step in the above method 500 .
[0092] In this embodiment, a computer program product including instructions is also provided, and the computer program product may be software or a program product including instructions that can be run on a computing device cluster or stored in any available medium. When the computer program product is run by a computing device cluster, the computing device cluster executes the method provided above, or the computing device cluster implements the function of the apparatus provided above.
[0093] In this embodiment, a computer-readable storage medium is also provided, and the computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid-state hard disk), etc. The computer-readable storage medium includes instructions, and when the instructions in the computer-readable storage medium are executed on a computing device, the computing device executes the method provided above.
[0094] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0095] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0096] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0097] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0098] In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0099] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0100] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for adjusting a tearing effect TE signal, characterized in that: include: According to the coordinates corresponding to the first image frame data, adjusting the start time of the tearing effect TE signal corresponding to the first image frame data, wherein a first difference between the start time of the adjusted TE signal corresponding to the first image frame data and the start time of the vertical synchronization Vsync signal corresponding to the first image frame data is variable, and the first difference is related to the coordinates corresponding to the first image frame data; sending the tearing effect TE signal according to the adjusted start time of the TE signal, wherein the tearing effect TE signal is used to indicate the sending of the first image frame data, wherein the adjusted start time of the TE signal makes it possible for the first image frame data not to overwrite data of the current image frame data that has not been refreshed on the display screen, and the current image frame data is the image frame data previous to the first image frame data; Receive the first image frame data.
2. The method according to claim 1, characterized in that The first difference is less than or equal to P and greater than or equal to 0, wherein P is a maximum value of the TE signal being earlier than the Vsync signal while ensuring normal display.
3. The method according to claim 1 or 2, characterized in that: When the first image frame data is global refresh data of the display screen, the first difference is M, wherein M is less than or equal to P, and P is the maximum value of the TE signal being earlier than the Vsync signal while ensuring normal display.
4. The method according to claim 1 or 2, characterized in that: When the first image frame data is local refresh data of the display screen, the first difference is N, N is less than M, M is less than or equal to P, and P is the maximum value of the TE signal earlier than the Vsync signal while ensuring normal display.
5. The method according to any one of claims 1 to 4, characterized in that When the starting point coordinates of the first image frame data show an increasing trend, the first difference value shows a decreasing trend; or, when the starting point coordinates of the first image frame data show a decreasing trend, the first difference value shows an increasing trend.
6. A device for adjusting a tearing effect TE signal, characterized in that: include: A transceiver unit and a processing unit, wherein: The processing unit is used to adjust the start time of the tearing effect TE signal corresponding to the first image frame data according to the coordinates corresponding to the first image frame data, wherein a first difference between the start time of the adjusted TE signal corresponding to the first image frame data and the start time of the vertical synchronization Vsync signal corresponding to the first image frame data is variable, and the first difference is related to the coordinates corresponding to the first image frame data; The processing unit is used to control the transceiver unit to send the tearing effect TE signal according to the adjusted start time of the TE signal, and the tearing effect TE signal is used to indicate the sending of the first image frame data, wherein the adjusted start time of the TE signal makes it possible for the first image frame data not to overwrite the data of the current image frame data that has not been refreshed on the display screen, and the current image frame data is the image frame data before the first image frame data; The transceiver unit is used to receive the first image frame data.
7. The device according to claim 6, characterized in that The first difference is less than or equal to P and greater than or equal to 0, wherein P is a maximum value of the TE signal being earlier than the Vsync signal while ensuring normal display.
8. The device according to claim 6 or 7, characterized in that When the first image frame data is global refresh data of the display screen, the first difference is M, wherein M is less than or equal to P, and P is the maximum value of the TE signal being earlier than the Vsync signal while ensuring normal display.
9. The device according to claim 6 or 7, characterized in that When the first image frame data is local refresh data of the display screen, the first difference is N, N is less than M, M is less than or equal to P, and P is the maximum value of the TE signal earlier than the Vsync signal while ensuring normal display.
10. The device according to any one of claims 6 to 9, characterized in that When the starting point coordinates of the first image frame data show an increasing trend, the first difference value shows a decreasing trend; or, when the starting point coordinates of the first image frame data show a decreasing trend, the first difference value shows an increasing trend.
11. A display device, characterized in that: The method comprises a first module, wherein the first module is used to execute the method according to any one of claims 1 to 5.
12. A chip system, characterized in that: It comprises a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip system executes the method described in any one of claims 1 to 5.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 5.
14. A computer program product, characterized in that The method comprises instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Image frame rate control method and related product
CN114153415A
Method and device for generating tearing effect signal and display driving integrated circuit
CN115547223A
Conveyor belt tearing detection method, controller, storage medium and processor
CN117115100A
Image Processing Method Based on Vertical Sychronization Signal and Electronic Device
US20240021176A1
Cited By
Working parameter adjustment method and device, electronic equipment and readable storage medium
CN119252215A
Image processing method and device, electronic equipment and readable storage medium
CN119364080A
Image processing methods, apparatuses, electronic devices, and readable storage media
CN119364080B
Tearing effect (TE) signal adjustment method and apparatus
WO2025261329A1
Image transmission and display method, and electronic device
WO2026065343A1
