Embodiments of this disclosure generally relate to the field of display technologies, and more specifically, to a method and an apparatus for compensating for brightness of a display panel, and a device.
In recent years, with continuous improvement of resolution and a refresh rate of a display panel, a higher requirement is imposed on a rendering capability of a graphics card. When a rendering frame rate of the graphics card is inconsistent with the refresh rate of the display panel, problems such as frame freezing, tearing, and a delay occur. In view of this, graphics card manufacturers gradually put forward a variable refresh rate (VRR) technology. In the VRR technology, the refresh rate of the display panel is dynamically adjusted to match the rendering frame rate of the graphics card, so as to resolve problems such as a picture delay and frame freezing caused by vertical synchronization when the rendering frame rate of the graphics card is less than the refresh rate of the display panel.
In the VRR technology, duration of a vertical active interval (Vactive) is fixed, and duration of a vertical blanking interval (Vblank) is variable. The refresh rate of the display panel is adjusted by adjusting the duration of the vertical blanking interval. In an example of a liquid crystal display (LCD) panel, a charging time of each row of pixel capacitors at a low refresh rate is the same as a charging time of each row of pixel capacitors at a high refresh rate. That is, at different refresh rates, when a thin film transistor (TFT) is just turned off, there is a consistent pixel voltage at two ends of a liquid crystal, and therefore consistent brightness is achieved. However, after the TFT is turned off, the duration of the vertical blanking interval at the low refresh rate is longer. Therefore, a holding time of a voltage of the pixel capacitor is longer than that at the high refresh rate. However, a longer holding time indicates severer current leakage of the pixel capacitor, resulting in a decrease in a voltage at two ends of a liquid crystal capacitor, and lower brightness than that at the high refresh rate. Therefore, when the refresh rate of the display panel changes, a still picture is displayed between high brightness and low brightness due to current leakage of the capacitor. When a relative value of a brightness change exceeds 1% of a Weber's constant, human eyes can feel a noticeable flicker.
Therefore, the VRR technology poses a new challenge to the display panel: The display panel needs to have high display consistency within a predetermined refresh rate change range. Currently, most display panels have a problem of picture flickering when the refresh rate is dynamically adjusted. Such picture flickering makes a user feel visual jitter and fatigue, affecting user experience.
In view of the foregoing problem, embodiments of this disclosure are intended to provide a solution for compensating for brightness of a display panel.
According to a first aspect of this disclosure, a method for compensating for brightness of a display panel is provided. The method includes: timing a vertical blanking interval in a current frame on the display panel; and determining, in response to that a timing time of the vertical blanking interval reaches a first threshold time, a first value used to perform first compensation on brightness of the display panel during the vertical blanking interval in the current frame. A compensation value used to compensate for the brightness of the display panel during the vertical blanking interval in the current frame is determined in real time during the vertical blanking interval in the current frame, so that a brightness change caused by current leakage can be compensated for by adjusting a related analog voltage in a timely manner. Therefore, there is no delay between brightness compensation and current leakage, to fundamentally resolve picture flickering and improve user experience of the display panel.
In some implementations, the method further includes: determining, in response to that the timing time of the vertical blanking interval reaches a second threshold time, a second value used to perform second compensation on the brightness of the display panel during the vertical blanking interval in the current frame, where the second threshold time is greater than the first threshold time, and the second compensation is later than the first compensation. In this manner, the brightness of the display panel during the vertical blanking interval may be compensated for in a segment-based compensation manner, so that a brightness variation is further reduced, to ensure that the brightness variation is less than a threshold at which a flicker can be observed by human eyes.
In some implementations, the display panel includes a first subpixel of a first pixel unit, and the method further includes: determining a target grayscale value of the first subpixel in a next frame based on the timing time of the vertical blanking interval and an original grayscale value of the first subpixel in the next frame, where the next frame is located after the current frame in a display order, and the target grayscale value is used to compensate for brightness of the first subpixel during a vertical active interval in the next frame. In this manner, different grayscale values may be compensated for to different degrees during the vertical active interval in the next frame, so that a brightness difference and a chrominance difference between different refresh rates may be well compensated for, to resolve a flickering problem caused by the brightness difference and the chrominance difference.
In some implementations, the next frame closely follows the current frame in the display order, and the determining a target grayscale value includes: performing the following operations in response to that the timing time of the vertical blanking interval reaches a third threshold time: obtaining a first candidate grayscale value of the first subpixel for the third threshold time; obtaining a second candidate grayscale value of the first subpixel for a fourth threshold time, where the fourth threshold time is greater than the third threshold time; and determining the target grayscale value based on the first candidate grayscale value and the second candidate grayscale value in response to that duration of the vertical blanking interval is between the third threshold time and the fourth threshold time. In this manner, after the duration of the vertical blanking interval is accurately determined, that is, after a refresh rate of the current frame is accurately determined, different grayscale values may be compensated for to different degrees during the vertical active interval in the next frame based on the duration, so that a brightness difference and a chrominance difference between different refresh rates may be well compensated for, to resolve a flickering problem caused by the brightness difference and the chrominance difference.
In some implementations, the obtaining a first candidate grayscale value includes: determining a compensation grayscale value as the first candidate grayscale value based on the third threshold time and the original grayscale value, where the compensation grayscale value is used to compensate for the original grayscale value when the duration is equal to the third threshold time. In this manner, a compensation grayscale value that is used to compensate for the original grayscale value and that is used for a specific threshold time may be efficiently determined.
In some implementations, the obtaining a first candidate grayscale value includes: obtaining a polarity of the first subpixel based on a location of the first subpixel on the display panel; and determining a compensation grayscale value as the first candidate grayscale value based on the third threshold time, the original grayscale value, and the polarity of the first subpixel, where the compensation grayscale value is used to compensate for the original grayscale value when the duration is equal to the third threshold time. In this manner, a polarity difference between subpixels may be considered in brightness compensation during the vertical active interval in the next frame, so that targeted compensation may be provided for pixel capacitors of subpixels with different polarities, and a brightness difference between different regions on the display panel 140 may be more precisely compensated for based on analog compensation.
In some implementations, the determining the target grayscale value based on the first candidate grayscale value and the second candidate grayscale value includes: performing interpolation on the first candidate grayscale value and the second candidate grayscale value, to obtain the target grayscale value corresponding to the duration. In this manner, the target grayscale value for the refresh rate of the current frame may be accurately obtained, to improve effect of digital compensation.
In some implementations, the third threshold time is equal to the first threshold time, and the fourth threshold time is equal to the second threshold time.
In some implementations, the determining a target grayscale value includes: obtaining a scaling factor for the original grayscale value of the first subpixel based on a location of the first subpixel on the display panel; and scaling the original grayscale value based on the scaling factor, to determine the target grayscale value. In this manner, a difference between different locations on the display panel may be considered in brightness compensation during the vertical active interval in the next frame, so that a brightness difference between different regions on the display panel may be more precisely compensated for based on analog compensation.
In some implementations, the determining a first value includes: determining an analog compensation value as the first value by using the first threshold time, where the analog compensation value is used to compensate for the brightness of the display panel when the duration of the vertical blanking interval is equal to the first threshold time.
In some implementations, the timing a vertical blanking interval includes: timing a display control signal used for the display panel.
In some implementations, the display control signal includes at least one of the following: a horizontal synchronization HSYNC signal, a vertical synchronization VSYNC signal, or a data enable DE signal.
According to a second aspect of this disclosure, an electronic apparatus is provided. The electronic apparatus includes: a timing module, configured to time a vertical blanking interval in a current frame on a display panel; and a first value determining module, configured to determine, in response to that a timing time of the vertical blanking interval reaches a first threshold time, a first value used to perform first compensation on brightness of the display panel during the vertical blanking interval in the current frame. A compensation value used to compensate for the brightness of the display panel during the vertical blanking interval in the current frame is determined in real time during the vertical blanking interval in the current frame, so that a brightness change caused by current leakage can be compensated for by adjusting a related analog voltage in a timely manner. Therefore, there is no delay between brightness compensation and current leakage, to fundamentally resolve picture flickering and improve user experience of the display panel.
In some implementations, the electronic apparatus further includes a second value determining module, configured to determine, in response to that the timing time of the vertical blanking interval reaches a second threshold time, a second value used to perform second compensation on the brightness of the display panel during the vertical blanking interval in the current frame, where the second threshold time is greater than the first threshold time, and the second compensation is later than the first compensation. In this manner, the brightness of the display panel during the vertical blanking interval may be compensated for in a segment-based compensation manner, so that a brightness variation is further reduced, to ensure that the brightness variation is less than a threshold at which a flicker can be observed by human eyes.
In some implementations, the display panel includes a first subpixel of a first pixel unit, and the electronic apparatus further includes a target grayscale value determining module, configured to determine a target grayscale value of the first subpixel in a next frame based on the timing time of the vertical blanking interval and an original grayscale value of the first subpixel in the next frame, where the next frame is located after the current frame in a display order, and the target grayscale value is used to compensate for brightness of the first subpixel during a vertical active interval in the next frame. In this manner, different grayscale values may be compensated for to different degrees during the vertical active interval in the next frame, so that a brightness difference and a chrominance difference between different refresh rates may be well compensated for, to resolve a flickering problem caused by the brightness difference and the chrominance difference.
In some implementations, the next frame closely follows the current frame in the display order, and the target grayscale value determining module is further configured to perform the following operations in response to that the timing time of the vertical blanking interval reaches a third threshold time: obtaining a first candidate grayscale value of the first subpixel for the third threshold time; obtaining a second candidate grayscale value of the first subpixel for a fourth threshold time, where the fourth threshold time is greater than the third threshold time; and determining the target grayscale value based on the first candidate grayscale value and the second candidate grayscale value in response to that duration of the vertical blanking interval is between the third threshold time and the fourth threshold time. In this manner, after the duration of the vertical blanking interval is accurately determined, that is, after a refresh rate of the current frame is accurately determined, different grayscale values may be compensated for to different degrees during the vertical active interval in the next frame based on the duration, so that a brightness difference and a chrominance difference between different refresh rates may be well compensated for, to resolve a flickering problem caused by the brightness difference and the chrominance difference.
According to a third aspect of this disclosure, an electronic device is provided. The electronic device includes: the electronic apparatus according to the second aspect of this disclosure; and a drive circuit, configured to: receive a first value, and apply a drive signal to a display panel based on the first value. A compensation value used to compensate for brightness of the display panel during a vertical blanking interval in a current frame is determined in real time during the vertical blanking interval in the current frame, so that a brightness change caused by current leakage can be compensated for by adjusting a related analog voltage in a timely manner. Therefore, there is no delay between brightness compensation and current leakage, to fundamentally resolve picture flickering and improve user experience of the display panel.
In some implementations, the drive signal includes at least one of the following: an array common ACOM voltage signal or a shared common SVCM voltage signal. Current leakage may be compensated for in real time during the vertical blanking interval in the current frame by using the ACOM voltage signal and the SVCM voltage signal. Therefore, there is no delay between brightness compensation and current leakage, to fundamentally resolve picture flickering and improve user experience of the display panel.
The summary is provided to describe a selection of concepts in a simplified form. The concepts are further described in the following descriptions of embodiments. The summary is neither intended to identify key features or main features of this disclosure, nor intended to limit the scope of this disclosure.
The foregoing and other objectives, features, and advantages of embodiments of this disclosure become easy to understand by reading the following detailed descriptions with reference to the accompanying drawings. In the accompanying drawings, several embodiments of this disclosure are shown by way of example and not limitation.
The following describes preferred embodiments of this disclosure in more detail with reference to the accompanying drawings. Although preferred embodiments of this disclosure are shown in the accompanying drawings, it should be understood that this disclosure may be implemented in various forms and should not be limited by embodiments described herein. Instead, these embodiments are provided to make this disclosure more thorough and complete and to fully convey the scope of this disclosure to a person skilled in the art.
The term “including” and variants thereof used in this specification indicate open inclusion, that is, “including but not limited to”. Unless otherwise stated, the term “or” means “and/or”. The term “based on” means “at least partially based on”. The terms “an example embodiment” and “an embodiment” mean “at least one example embodiment”. The term “another embodiment” means “at least one other embodiment”. Terms such as “upper”, “lower”, “front”, and “rear” that indicate a placement or location relationship are based on an orientation or a location relationship shown in the accompanying drawings, are merely used to describe a principle of this disclosure, and do not indicate or imply that a specified element needs to have a specific orientation or be constructed or operated in a specific orientation, and therefore cannot be understood as a limitation on this disclosure.
As described above, for a display panel to which a VRR technology is applied, duration of a vertical blanking interval changes due to different refresh rates. Therefore, brightness of the display panel changes, and a picture flicker that can be observed by human eyes may occur.
There are the following two conventional solutions for resolving flickering of a displayed picture: In a first solution, the refresh rate is detected in real time, brightness at a maximum refresh rate is used as a reference, and brightness of grayscales at different refresh rates is adjusted to the reference brightness through compensation. In a second solution, duration of a vertical blanking interval in a current frame period is obtained in real time, and a gamma voltage compensation value is delivered when the duration reaches a predetermined threshold.
However, the two conventional solutions each have a corresponding problem. For example, for the first solution, refresh rate detection is performed in a vertical blanking interval in a previous frame, while brightness compensation takes effect in a vertical active interval in a current frame. Therefore, there is a delay between current leakage and compensation, and picture flickering cannot be fundamentally resolved. In addition, in an extreme scenario in which the refresh rate is switched between a maximum value and a minimum value, a flickering degree may be increased.
For the second solution, because gamma voltage-based compensation takes effect only in a vertical active interval in a next frame, even if the gamma voltage compensation value is repeatedly delivered in the vertical blanking interval in the current frame, only a compensation value delivered last time takes effect in the vertical active interval in the next frame. That is, in the second solution, the brightness of the display panel cannot be compensated for in a timely manner in the vertical blanking interval in the current frame. Therefore, there is also a delay between current leakage and compensation, and picture flickering cannot be fundamentally resolved. In addition, in an extreme scenario in which the refresh rate is switched between a maximum value and a minimum value, a flickering degree may also be increased. Furthermore, because current leakage of a pixel capacitor is a slow process, compensation at an end of the vertical blanking interval in the second solution may aggravate flickering.
Embodiments of this disclosure provide a solution for compensating for brightness of a display panel. According to embodiments of this disclosure, a vertical blanking interval in a current frame is timed, and when a predetermined threshold time is reached, a corresponding compensation value is delivered to compensate for brightness of the display panel in a timely manner during the vertical blanking interval in the current frame.
It is understood from the following descriptions that in a solution according to embodiments of this disclosure, a compensation value used to compensate for the brightness of the display panel during the vertical blanking interval in the current frame is determined in real time during the vertical blanking interval in the current frame, so that a brightness change caused by current leakage can be compensated for by adjusting a related analog voltage in a timely manner. Therefore, there is no delay between brightness compensation and current leakage, to fundamentally resolve picture flickering and improve user experience of the display panel.
As shown in
The drive circuit 130 generates, based on the received timing control signal, a drive signal for controlling the display panel 140. In some embodiments, the drive signal may include a gamma voltage signal. In some embodiments, the drive signal may include an array common (ACOM) voltage signal. For example, for a vertical alignment (VA) panel, an ACOM voltage is a common voltage connected to lower plates of all subpixel storage capacitors on an array side. In some embodiments, the drive signal may alternatively include a shared common (SVCM) voltage signal. For example, for a VA panel, an SVCM voltage is a common voltage connected to a lower plate of a shared capacitor in a sub-region of each subpixel.
As shown in
It should be understood that a structure of the display panel 140 in
In block 202, the electronic apparatus 120 times a vertical blanking interval in a current frame on the display panel 140. In some embodiments, the electronic apparatus 120 may time the vertical blanking interval by timing a display control signal used for the display panel 140. The display control signal includes but is not limited to a horizontal synchronization (HSYNC) signal, a vertical synchronization (VSYNC) signal, or a data enable (DE) signal.
As described above, when a VRR technology is applied, for an (N−1)th frame, an Nth frame, and an (N+1)th frame shown in
For ease of description, the following describes the solution in embodiments of this disclosure with reference to
In block 204, the electronic apparatus 120 determines, in response to that a timing time of the vertical blanking interval Vblank reaches a first threshold time, a first value used to perform first compensation on brightness of the display panel 140 during the vertical blanking interval Vblank in the current frame. With reference to
In some embodiments, a plurality of threshold times, that is, a plurality of moments Ta to Td in
Table 1 below is an example analog compensation table for the ACOM voltage signal.
A plurality of refresh rates corresponding to the plurality of predetermined threshold times are shown in the first column, and ACOM voltage compensation values for the corresponding refresh rates are shown in the second column. It should be understood that the values shown in Table 1 are merely examples. The scope of this disclosure is not limited in this aspect.
For example, when the timing reaches the moment Ta, the electronic apparatus 120 may obtain the analog compensation value −16 for the refresh rate 122 Hz corresponding to the moment Ta from the analog compensation table, and deliver the analog compensation value as the first value to a drive circuit 130 connected downstream to the electronic apparatus 120, to generate a corresponding ACOM voltage to compensate for current leakage, so as to compensate for the brightness of the display panel 140 in a timely manner during the vertical blanking interval Vblank. In this manner, there is no delay between brightness compensation of the display panel 140 and current leakage, to fundamentally resolve picture flickering. It should be understood that a plurality of analog signals may be simultaneously used to compensate for the brightness of the display panel 140. The scope of this disclosure is not limited in this aspect.
It should be noted that in the embodiment shown in
It should be noted that in addition to the lookup table, a correspondence between the threshold time and the corresponding analog compensation value may alternatively be stored and indicated in any other appropriate manner, for example, according to a fitting formula. The scope of this disclosure is not limited in this aspect.
In block 206, the electronic apparatus 120 determines, in response to that the timing time of the vertical blanking interval Vblank reaches a second threshold time, a second value used to perform second compensation on the brightness of the display panel 140 during the vertical blanking interval Vblank in the current frame, where the second threshold time is greater than the first threshold time, and the second compensation is later than the first compensation. With reference to
In some embodiments, when the current frame corresponds to the Nth frame, the electronic apparatus 120 may further respectively determine, in a manner similar to the foregoing manner when the timing time reaches other predetermined moments (for example, a moment Tc and a moment Td) later than the moment Tb, a third value and a fourth value used to perform third compensation and fourth compensation on the brightness of the display panel 140 during the vertical blanking interval Vblank in the current frame.
In some embodiments, block 206 may be omitted. That is, compensation is performed only once for each vertical blanking interval Vblank. For example, compensation is performed only when the timing time reaches the moment Ta, and no compensation is performed at another moment. In this manner, an operation amount and bandwidth occupation of the electronic apparatus 120 may be reduced.
In block 208, the electronic apparatus 120 determines a target grayscale value of a subpixel in a next frame based on the timing time of the vertical blanking interval Vblank and an original grayscale value of the subpixel in the next frame, where the next frame is located after the current frame in a display order, and the target grayscale value is used to compensate for brightness of the subpixel during a vertical active interval Vactive in the next frame. For example, when the current frame corresponds to the (N−1)th frame, both the Nth frame and the (N+1)th frame are located after the current frame in the display order. Therefore, both the Nth frame and the (N+1)th frame may be used as next frames. In the context of this disclosure, such brightness compensation performed based on the grayscale value is also referred to as “digital compensation”.
The inventor finds, through research, that when the brightness of the entire display panel 140 is compensated for by using an analog voltage such as an ACOM voltage or an SVCM voltage after the timing time of the vertical blanking interval Vblank reaches the threshold time, at a compensation moment, current leakage times of pixel capacitors located in different rows of the display panel 140 are slightly different. For example, in a vertical direction, a current leakage time of a pixel capacitor located in a last row of the display panel 140 is shorter than a current leakage time of a pixel capacitor located in a first row of the display panel 140. Therefore, compensation effect of the analog voltage for brightness in different regions on the display panel 140 is inconsistent. In this case, regional compensation may be performed on the brightness for different locations on the display panel 140 in digital compensation. In the following, a first subpixel of a first pixel unit included on the display panel 140 is used as an example for description.
In some embodiments, the electronic apparatus 120 may obtain a scaling factor for an original grayscale value of the first subpixel based on a location of the first subpixel on the display panel 140. For example, the display panel 140 may be divided into K sub-regions in the vertical direction in advance, where K may be any positive integer. Then, a scaling factor for a grayscale value of a subpixel in each sub-region is predetermined through experimental debugging or calculation. The electronic apparatus 120 may determine, based on the location of the first subpixel on the display panel 140, a sub-region in which the first subpixel is located, to obtain the scaling factor for the original grayscale value of the first subpixel. Then, the electronic apparatus 120 may scale the original grayscale value based on the scaling factor, to determine a target grayscale value for the first subpixel. In this manner, a difference between different locations on the display panel 140 may be considered in brightness compensation during the vertical active interval Vactive in the next frame, so that a brightness difference between different regions on the display panel 140 may be more precisely compensated for based on analog compensation.
In some embodiments, the next frame closely follows the current frame in the display order. For example, in
In block 402, the electronic apparatus 120 performs the following operations in response to that a timing time of a vertical blanking interval Vblank reaches a third threshold time: obtaining a first candidate grayscale value of a first subpixel for the third threshold time; and obtaining a second candidate grayscale value of the first subpixel for a fourth threshold time, where the fourth threshold time is greater than the third threshold time. It should be noted that in the context of this disclosure, the terms “first threshold time”, “second threshold time”, “third threshold time”, and “fourth threshold time” do not indicate an order of the threshold times. The scope of this disclosure is not limited in this aspect. For example, the third threshold time may be greater than the first threshold time, may be less than the first threshold time, or may be equal to the first threshold time.
With reference to
In some embodiments, the electronic apparatus 120 may determine a compensation grayscale value as the first candidate grayscale value based on the third threshold time and an original grayscale value, where the compensation grayscale value is used to compensate for the original grayscale value when duration is equal to the third threshold time. For example, a plurality of threshold times, that is, a plurality of moments Ta to Td in
In some embodiments, a lookup table of an original grayscale value and a compensation grayscale value for a specific moment (for example, the moment Ta) may be used as a reference lookup table, an offset value between a compensation grayscale value for the same original grayscale value at another moment and the compensation grayscale value at the moment Ta is determined, and the offset value is stored as an offset lookup table. For example, when the timing reaches the moment Tb, the electronic apparatus 120 may determine a reference compensation grayscale value used for the original grayscale value at the moment Ta from the reference lookup table based on the original grayscale value of the first subpixel in the next frame, and determine an offset value for the original grayscale value from the offset lookup table, to determine, based on the reference compensation grayscale value and the offset value, a compensation grayscale value used for the original grayscale value at the moment Tb. In this manner, occupation of a storage capacity of a memory may be reduced.
The inventor finds, through research, that for a display panel 140 that includes subpixels with a positive polarity and a negative polarity, current leakage amounts of pixel capacitors of subpixels with different polarities may be slightly different. Because an ACOM voltage and an SVCM voltage are common voltages connected to all subpixels, targeted compensation cannot be provided for the pixel capacitors of subpixels with different polarities in analog compensation. In this case, polarity compensation may be performed on brightness for subpixels with different polarities in digital compensation.
In some embodiments, a positive polarity pixel compensation table and a negative polarity pixel compensation table for different threshold times may be determined in a manner similar to the manner described above with reference to the RGB table and by additionally considering a polarity of a subpixel. The positive polarity pixel compensation table stores a compensation grayscale value used to compensate for each original grayscale value when the subpixel has a positive polarity, and the negative polarity pixel compensation table stores a compensation grayscale value used to compensate for each original grayscale value when the subpixel has a negative polarity.
The electronic apparatus 120 may obtain a polarity of the first subpixel based on a location of the first subpixel on the display panel 140; and determine a compensation grayscale value as the first candidate grayscale value based on the third threshold time, an original grayscale value, and the polarity of the first subpixel, where the compensation grayscale value is used to compensate for the original grayscale value when duration is equal to the third threshold time. For example, when the timing time of the vertical blanking interval Vblank reaches the moment Ta, the electronic apparatus 120 may determine the polarity of the first subpixel by searching a polarity template based on the location of the first subpixel. For example, the first subpixel has a positive polarity in this case. Then, the electronic apparatus 120 may obtain the compensation grayscale value used for the original grayscale value of the first subpixel from a positive polarity pixel compensation table for the moment Ta. In this manner, a polarity difference between subpixels may be considered in brightness compensation during the vertical active interval Vactive in the next frame, so that targeted compensation may be provided for pixel capacitors of subpixels with different polarities, and a brightness difference between different regions on the display panel 140 may be more precisely compensated for based on analog compensation.
In some embodiments, the electronic apparatus 120 may determine a compensation grayscale value as the second candidate grayscale value based on the fourth threshold time and the original grayscale value in a manner similar to the manner described above with reference to the first candidate grayscale value. Details are not described herein in this disclosure.
In some embodiments, in response to that the timing time of the vertical blanking interval Vblank reaches the moment Tb, the electronic apparatus 120 may obtain candidate grayscale values of the first subpixel for the moment Tb and the moment Tc, in response to that the timing time of the vertical blanking interval Vblank reaches the moment Tc, the electronic apparatus 120 may obtain candidate grayscale values of the first subpixel for the moment Tc and the moment Td, and so on, until the vertical blanking interval Vblank in a current frame ends.
In block 404, the electronic apparatus 120 determines a target grayscale value based on the first candidate grayscale value and the second candidate grayscale value in response to that the duration of the vertical blanking interval Vblank is between the third threshold time and the fourth threshold time. For ease of description, an example in which the current frame corresponds to the (N−1)th frame is used. In this case, the vertical blanking interval Vblank ends between the moment Ta and the moment Tb (shown by a gray arrow in
In some embodiments, the electronic apparatus 120 may perform interpolation on the first candidate grayscale value and the second candidate grayscale value, to obtain the target grayscale value corresponding to the duration. In response to that the vertical blanking interval Vblank ends between the moment Ta and the moment Tb, the electronic apparatus 120 may perform, for example, linear interpolation on the first candidate grayscale value and the second candidate grayscale value obtained in block 402, to obtain a grayscale value corresponding to an end moment of the vertical blanking interval Vblank as the target grayscale value. In this manner, the target grayscale value for a refresh rate of the current frame may be accurately obtained, to improve effect of digital compensation. For example, the electronic apparatus may deliver the determined target grayscale value to a drive circuit 130 connected downstream to the electronic apparatus 120, to generate a corresponding gamma voltage, so as to display image data for the next frame during the vertical active interval Vactive in the next frame based on a grayscale value obtained through compensation.
In addition, in the case of linear interpolation, it is advantageous to evenly distribute the plurality of time thresholds for digital compensation in terms of time. Therefore, accuracy of the target grayscale value obtained through linear interpolation may be improved, to further ensure the effect of digital compensation.
It should be noted that the electronic apparatus 120 may alternatively determine the target grayscale value in any other appropriate manner, for example, directly use the first candidate grayscale value or the second candidate grayscale value as the target grayscale value. The scope of this disclosure is not limited in this aspect.
In some embodiments, the determined target grayscale value may be further adjusted for different locations on the display panel 140 based on regional compensation described above, to more precisely compensate for a brightness difference between different regions on the display panel 140.
In the foregoing various digital compensation manners, after the duration of the vertical blanking interval Vblank is accurately determined, that is, after the refresh rate of the current frame is accurately determined, different grayscale values may be compensated for to different degrees during the vertical active interval Vactive in the next frame based on the duration, so that a brightness difference and a chrominance difference between different refresh rates may be well compensated for, to resolve a flickering problem caused by the brightness difference and the chrominance difference.
It may be learned from the foregoing descriptions provided with reference to
Example implementations of the method according to this disclosure are described in detail above with reference to
In some embodiments, the apparatus may further include a second value determining module. The second value determining module is configured to determine, in response to that the timing time of the vertical blanking interval reaches a second threshold time, a second value used to perform second compensation on the brightness of the display panel during the vertical blanking interval in the current frame, where the second threshold time is greater than the first threshold time, and the second compensation is later than the first compensation.
In some embodiments, the display panel includes a first subpixel of a first pixel unit, and the apparatus may further include a target grayscale value determining module. The target grayscale value determining module is configured to determine a target grayscale value of the first subpixel in a next frame based on the timing time of the vertical blanking interval and an original grayscale value of the first subpixel in the next frame, where the next frame is located after the current frame in a display order, and the target grayscale value is used to compensate for brightness of the first subpixel during a vertical active interval in the next frame.
In some embodiments, the next frame closely follows the current frame in the display order, and the target grayscale value determining module is further configured to perform the following operations in response to that the timing time of the vertical blanking interval reaches a third threshold time: obtaining a first candidate grayscale value of the first subpixel for the third threshold time; and obtaining a second candidate grayscale value of the first subpixel for a fourth threshold time, where the fourth threshold time is greater than the third threshold time. The target grayscale value determining module is further configured to determine the target grayscale value based on the first candidate grayscale value and the second candidate grayscale value in response to that duration of the vertical blanking interval is between the third threshold time and the fourth threshold time.
The modules and/or units included in the apparatus may be implemented in various manners, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more modules may be implemented through software and/or firmware, for example, machine-executable instructions stored in a storage medium. In addition to the machine-executable instructions or as an alternative, some or all of the units in the apparatus may be at least partially implemented by one or more hardware logic components. In an example instead of a limitation, example types of hardware logic components that may be used include a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), an application-specific standard part (ASSP), a system on chip (SoC), a complex programmable logic device (CPLD), and the like.
Some or all of the modules and/or units shown in
In addition, although operations are described in a particular order, it should be understood as that it is required that the operations are performed in the shown particular order or in sequence, or it is required that all the operations shown in the figures need to be performed to achieve an expected result. In a specific environment, multi-task and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the foregoing descriptions, these should not be construed as limiting the scope of this disclosure. Some features described in the context of an individual embodiment may alternatively be implemented in combination in a single implementation. On the contrary, various features described in the context of a single implementation may alternatively be implemented in a plurality of implementations individually or in any appropriate sub-combination.
Although the subject matter is described in a language specific to structural features and/or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the particular features or actions described above. On the contrary, the particular features and actions described above are merely example forms for implementing the claims.
This application is a continuation of International Application No. PCT/CN2022/074822, filed on Jan. 28, 2022, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2022/074822 | Jan 2022 | WO |
Child | 18785373 | US |