CN-112435636-B - Display control method, device, equipment and storage medium
Abstract
The invention provides a display control method, a display control device, display control equipment and a computer readable medium. The display control method comprises the steps of calculating an average brightness value of a display picture of the display device, calculating attenuation parameters according to a specified method when the average brightness value exceeds a specified value, and carrying out attenuation operation on a supply current of the display device according to the attenuation parameters so as to control the brightness of the display device. The invention can better avoid the overlarge brightness of the display equipment, thereby causing unnecessary increase of power consumption and being beneficial to realizing accurate brightness control with smaller resource cost.
Inventors
- ZHANG LU
- GONG RENMIN
Assignees
- 北京集创北方科技股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20201127
Claims (5)
- 1. A display control method, comprising: calculating an average brightness value of a display picture of the display device; When the average brightness value exceeds a specified value, calculating an attenuation parameter according to a specified method; According to the attenuation parameters, carrying out attenuation operation on the power supply current of the display equipment so as to control the brightness of the display equipment; the calculating the average brightness value of the display picture comprises the following steps: Acquiring an original brightness value of each sub-pixel in all sub-pixels of the display device in a display picture; Calculating the average brightness value of the display picture according to the original brightness value; Wherein, according to the attenuation parameter, the attenuation operation is performed on the power supply current of the display device, so as to control the brightness of the display device, and the method comprises the following steps: multiplying the original brightness value by the attenuation parameter to obtain an attenuation brightness value; according to the attenuation brightness value, carrying out attenuation operation on the power supply current of the sub-pixel, so as to control the brightness of the sub-pixel and further control the brightness of the display equipment; after the obtaining the original brightness value of each sub-pixel in all sub-pixels of the display device in the display screen, the method includes: gamma correction is carried out on the original brightness value of the sub-pixel; Wherein, the calculating the average brightness value of the display picture according to the original brightness value includes: calculating the average brightness value of the display picture according to the original brightness values of all the sub-pixels after gamma correction; Wherein after multiplying the original luminance value by the decay parameter, obtaining a decay luminance value comprises: performing degamma correction on the attenuated brightness value of the sub-pixel; Wherein, according to the decaying brightness value, carrying out a decaying operation on the power supply current of the sub-pixel, so as to control the brightness of the sub-pixel, and further control the brightness of the display device, including: performing a decay operation on the supply current of the sub-pixel according to the decay luminance value subjected to the gamma correction, thereby controlling the luminance of the sub-pixel and further controlling the luminance of the display device; the gamma correction of the original luminance value of the sub-pixel includes: Determining a gamma value of the display device; Calculating a value of a power function taking the original brightness value as a base and taking the gamma value as an exponent to obtain the original brightness value subjected to gamma correction; wherein the performing degamma correction on the decaying brightness value of the sub-pixel includes: Calculating a value of a power function taking the decaying brightness value as a base and taking the reciprocal of the gamma value as an exponent to obtain the decaying brightness value subjected to gamma correction; After calculating the decay parameter according to a prescribed method when the average brightness exceeds a prescribed value, comprising: Determining a gamma value of the display device; calculating a value of a power function taking the attenuation parameter as a base and taking the reciprocal of the gamma value as an exponent to obtain a corrected attenuation parameter; wherein multiplying the original luminance value by the decay parameter to obtain a decay luminance value comprises: multiplying the original brightness value by the corrected attenuation parameter to obtain an attenuation brightness value; The calculating a value of a power function based on the attenuation parameter and based on the inverse of the gamma value to obtain a corrected attenuation parameter, including: calculating a value of a power function taking the attenuation parameter as a base and taking the inverse of the gamma value as an exponent by a linear interpolation method to obtain the corrected attenuation parameter.
- 2. The display control method according to claim 1, wherein the prescribed method is defined by a linear function whose independent variable is the average luminance value and whose slope is negative.
- 3. A display control apparatus for performing the display control method according to any one of claims 1 to 2, comprising: a first calculating module for calculating an average brightness value of a display screen of the display device; the second calculation module is used for calculating attenuation parameters according to a specified method when the average brightness value exceeds a specified value; and the attenuation module is used for carrying out attenuation operation on the power supply current of the display equipment according to the attenuation parameters so as to control the brightness of the display equipment.
- 4. A display control apparatus comprising: A processor; A memory; An application program stored in the memory and configured to be executed by the processor, the application program comprising instructions for performing the display control method according to any one of claims 1-2.
- 5. A computer-readable medium storing a computer program for executing the display control method according to any one of claims 1-2.
Description
Display control method, device, equipment and storage medium Technical Field The present invention relates to the field of display technologies, and in particular, to a display control method, apparatus, device, and computer storage medium. Background In a conventional display driver IC (integrated circuit), there is an algorithm for controlling the luminance of a display. For example, in an OLED display in which a display material is self-luminous and has a high luminance characteristic, in order to reduce system power consumption, a module for attenuating current exists in a display drive IC, and a main function is to attenuate unnecessary display luminance when current (luminance) is high. However, the existing attenuation algorithm has the problems of inaccurate brightness control, high calculation cost and the like. Disclosure of Invention In view of the foregoing, embodiments of the present invention are directed to providing a display control method, apparatus, device, and computer storage medium that have accurate brightness control and low computation overhead. The invention provides a display control method which comprises the steps of calculating an average brightness value of a display picture of display equipment, calculating attenuation parameters according to a specified method when the average brightness value exceeds a specified value, and carrying out attenuation operation on supply current of the display equipment according to the attenuation parameters so as to control the brightness of the display equipment. According to one embodiment of the invention, the prescribed method is defined by a linear function whose independent variable is the average luminance value and whose slope is negative. According to one embodiment of the invention, calculating the average luminance value of the display screen includes obtaining an original luminance value of each of all sub-pixels of the display device in the display screen, and calculating the average luminance value of the display screen based on the original luminance values. The method comprises the steps of multiplying an original brightness value by the attenuation parameter to obtain an attenuation brightness value, and carrying out attenuation operation on the power supply current of the sub-pixels according to the attenuation brightness value to control the brightness of the sub-pixels and further control the brightness of the display device. According to one embodiment of the present invention, after obtaining the original luminance value of each of all the sub-pixels of the display device in the display screen, gamma correction is included on the original luminance value of the sub-pixel. The method comprises the steps of calculating the average brightness value of the display picture according to the original brightness value, wherein the average brightness value of the display picture is calculated according to the gamma corrected original brightness values of all the sub-pixels. After the original brightness value is multiplied by the attenuation parameter to obtain the attenuation brightness value, the method comprises the step of performing degamma correction on the attenuation brightness value of the sub-pixel. The method comprises the steps of carrying out attenuation operation on the power supply current of the sub-pixels according to the attenuation brightness value, so as to control the brightness of the sub-pixels and further control the brightness of the display equipment. According to one embodiment of the invention, gamma correction is performed on the original brightness value of the sub-pixel, which comprises determining the gamma value of the display device, and calculating the value of a power function based on the original brightness value and the gamma value as an exponent to obtain the gamma corrected original brightness value. The method comprises the steps of calculating a value of a power function taking the attenuated brightness value as a base and taking the inverse of the gamma value as an exponent, and obtaining the attenuated brightness value subjected to gamma correction. According to a specific embodiment of the invention, after calculating the attenuation parameter according to a prescribed method when the average brightness exceeds a prescribed value, the method comprises determining a gamma value of the display device, and calculating a value of a power function based on the attenuation parameter and exponentiating to the inverse of the gamma value to obtain a corrected attenuation parameter. Wherein multiplying the original luminance value by the decay parameter to obtain a decay luminance value comprises multiplying the original luminance value by the modified decay parameter to obtain a decay luminance value. According to one embodiment of the invention, the value of the power function based on the attenuation parameter and the inverse of the gamma value is calculated to obtain a corrected attenuation