Display control device and method, medium and equipment

By determining the number of underloaded pixels in the display control device and generating corresponding write control signals, the problem of underloading pixel values ​​in the buffer is solved, and the normal display is quickly restored after the underload is over, improving the quality of the display screen and User experience.

CN119473103APending Publication Date: 2025-02-18XG TECHNOLOGIES PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411533676.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the display module, there may be an underload problem in the pixel value in the buffer, resulting in interruption in the display screen or tear in the picture image, affecting the user's visual experience.

Method used

The number of underloaded pixels is determined by setting a first determination unit in the display control device, and a write control signal is generated based on the number, and whether the current input pixel value is written to the buffer is controlled. Meanwhile, the second control unit determines the target pixel value of the current pixel to be displayed based on the number of underloaded pixels and the buffer status.

Benefits of technology

Effectively avoid the pixel values ​​in the underload stage being stored in the buffer, so that the accurate pixel values ​​can be read and displayed in time after the underload is over, ensuring that the display screen quickly switches from the underload state to the normal state, and improving the display screen Quality and user's visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473103A_ABST
    Figure CN119473103A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a display control device and method, a medium and equipment, and the device comprises a first determination unit which is used for determining the number of under-load pixels; the first control unit is used for generating a write control signal corresponding to the current input pixel value according to the number of the under-load pixels, and transmitting the write control signal and the current input pixel value to the buffer; the write control signal comprises an enabling state and a disenabling state; the buffer is used for executing an operation corresponding to the write control signal on the current input pixel value according to the write control signal; and the second control unit is used for determining a target pixel value corresponding to the current pixel to be displayed according to at least one of the number of the under-load pixels and the state of the buffer, and transmitting the target pixel value to the display screen for displaying. According to the embodiment of the invention, the accuracy of the display content of the non-underload pixel region in the display picture can be ensured, the quality of the display picture is effectively improved, and the visual experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to display technology, and in particular to a display control device, method, medium and equipment. Background Art

[0002] In some systems on chips (SoC, also known as system-level chips) with display functions, the display module is a functional module that can be connected to a display screen (panel) for image (or video) display. In the display module, the display processor (Display Processor Unit, DPU) can read image data from the memory to the image processing unit. The image processing unit is a processing unit that processes the image data into pixel data required by the display screen. For example, the image processing unit may include a graphics processing unit (GPU) and / or other image processing related processing units. The pixel values ​​of the display screen are obtained after processing by the image processing unit, and the pixel values ​​are stored in a buffer for displaying the corresponding screen on the display screen. However, there may be an underflow problem in the pixel values ​​in the buffer, resulting in the display screen having no available pixel values ​​when the pixel to be updated (referred to as the current pixel) needs to display new data, resulting in display interruption or screen image tearing and other problems. For example, in the related art, during the display of any frame, if a pixel in the frame begins to be underloaded, the pixel values ​​from the pixel to the last pixel of the frame are all 0, causing the display of the frame to be interrupted and a large black area to appear, affecting the user's visual experience. Summary of the invention

[0003] Embodiments of the present disclosure provide a display control apparatus, method, medium, and device, which can improve the quality of displayed images and thus enhance the visual experience of users.

[0004] According to a first aspect of an embodiment of the present disclosure, a display control device is provided, comprising: a first determination unit for determining the number of underload pixels; a first control unit for generating a write control signal corresponding to a current input pixel value according to the number of underload pixels, and transmitting the write control signal and the current input pixel value to a buffer; the write control signal comprises two states, an enabled state and a disabled state; the buffer is for performing an operation corresponding to the write control signal on the current input pixel value according to the write control signal; and a second control unit for determining a target pixel value corresponding to a current pixel to be displayed according to at least one of the number of underload pixels and the state of the buffer, and transmitting the target pixel value to a display screen for display.

[0005] A second aspect of the embodiments of the present disclosure provides a display control method, including: determining the number of underload pixels; generating a write control signal corresponding to a current input pixel value based on the number of underload pixels; the write control signal including two states of enable and disable; performing an operation corresponding to the write control signal on the current input pixel value based on the write control signal; determining a target pixel value corresponding to a current pixel to be displayed based on at least one of the number of underload pixels and a state of a buffer, and transmitting the target pixel value to a display screen for display.

[0006] According to a third aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the display control method described in any of the above embodiments of the present disclosure.

[0007] According to a fourth aspect of the embodiments of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing executable instructions of the processor; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the display control method described in any of the above embodiments of the present disclosure; or, the electronic device comprises: the display control device described in any of the above embodiments.

[0008] A fifth aspect of the embodiments of the present disclosure provides a computer program product. When instructions in the computer program product are executed by a processor, the display control method provided by any of the above embodiments of the present disclosure is executed.

[0009] Based on the display control device, method, medium and equipment provided by the above-mentioned embodiments of the present disclosure, the first control unit controls whether the current input pixel value is written into the buffer through a write control signal according to the number of underloaded pixels, and the input pixel value in the underloaded stage may not be written into the buffer, and the input pixel value may be written into the buffer after the underloaded ends. Therefore, the buffer of the present disclosure does not store the pixel value corresponding to the pixel in the underloaded stage, but only stores the pixel value corresponding to the pixel in the non-underloaded stage, so that after the underloaded ends, the pixel value corresponding to the current pixel can be read from the buffer in time for display, so that the display screen can quickly switch from the underloaded state to the normal display state, thereby ensuring the accuracy of the display content of the non-underloaded pixel position in the display screen, and effectively improving the quality of the display screen. In addition, when an underloaded situation occurs, the second control unit in the present disclosure can determine the target pixel value corresponding to the current pixel according to at least one of the number of underloaded pixels and the state of the buffer, so as to realize the display of the pixels in the underloaded stage based on the target pixel value, avoid the display effect of a black screen, and further improve the user's visual experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is an exemplary application scenario of the display control device provided by the present disclosure;

[0011] Figure 2 is a structural schematic diagram of a display control device provided by an exemplary embodiment of the present disclosure;

[0012] Figure 3 is a structural schematic diagram of a display control device provided by another exemplary embodiment of the present disclosure;

[0013] Figure 4 is a structural schematic diagram of a display control device provided by yet another exemplary embodiment of the present disclosure;

[0014] Figure 5 is a structural schematic diagram of a display control device provided by another exemplary embodiment of the present disclosure;

[0015] Figure 6 is a structural schematic diagram of a display control device provided by yet another exemplary embodiment of the present disclosure;

[0016] Figure 7 is a schematic diagram of a preset range around a current pixel provided by an exemplary embodiment of the present disclosure;

[0017] Figure 8 It is a schematic diagram of display effect of a display control method in the related art;

[0018] Fig. 9 is a schematic diagram of a display effect corresponding to a display control device provided by an exemplary embodiment of the present disclosure;

[0019] Fig.10 is a structural schematic diagram of a display control device provided by another exemplary embodiment of the present disclosure;

[0020] Fig.11 is a schematic diagram of a display control device provided by another exemplary embodiment of the present disclosure;

[0021] Fig.12 is a flowchart of a display control method provided by an exemplary embodiment of the present disclosure;

[0022] Fig.13 is a flowchart of a display control method provided by another exemplary embodiment of the present disclosure;

[0023] Fig.14 is a flowchart of a display control method provided by yet another exemplary embodiment of the present disclosure;

[0024] Fig.15 is a flowchart of a display control method provided by another exemplary embodiment of the present disclosure;

[0025] Fig.16 is a flowchart of a display control method provided by yet another exemplary embodiment of the present disclosure;

[0026] Fig.17 It is a structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] To explain the present disclosure, example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. It should be understood that the present disclosure is not limited to the example embodiments.

[0028] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0029] SUMMARY OF THE DISCLOSURE

[0030] In the process of implementing the present disclosure, the inventors found that in the display module in the chip, the display processor (Display Processor Unit, which can be referred to as: DPU) can read image data from a memory (such as Double Data Rate Synchronous Dynamic Random Access Memory (DDR SDRAM or DDR)) to the image processing unit, and obtain the pixel value of the screen displayed on the display screen after processing by the image processing unit, and store the pixel value in a buffer for displaying the corresponding screen on the display screen. The image processing unit can perform layer overlay, color processing, image scaling and other processing on the image data to obtain the pixel value corresponding to the pixel in the display screen. However, due to control signal timing problems or other reasons, the pixel value in the buffer may be underflow, resulting in the display screen having no available pixel value when the pixel to be updated (referred to as the current pixel) needs to display new data, thereby causing display interruption or screen image tearing and other problems.

[0031] Regarding the situation of pixel underload, in the related technology, during the display process of a frame of picture, if a pixel in the frame begins to be underloaded, the pixel values ​​of all pixels between the underloaded pixel and the last pixel of the frame are set to 0, so that the display of the frame is interrupted and a large black area appears, affecting the user's visual experience.

[0032] Exemplary Overview

[0033] Figure 1 This is an exemplary application scenario of the display control device provided by the present disclosure. Figure 1As shown, the integrated circuit 10 includes a memory 12, a display processor 13 and a display control device 20 of the present disclosure. The display processor 13 is connected to the memory 12 and the display control device 20 respectively. The display control device 20 is connected to a display screen 30. The display processor 13 reads image data from the memory 12 to an image processing unit 131 in the display processor 13, and obtains pixel values ​​of an image to be displayed on the display screen 30 through processing by the image processing unit 131. The display processor 13 transmits the obtained pixel values ​​to the display control device 20 as input pixel values ​​of the display control device 20, and the display control device 20 uses each input pixel value obtained as a current input pixel value, controls the cache of the current input pixel value, and controls the output of the target pixel value corresponding to the current pixel to be displayed to the display screen 30.

[0034] Specifically, the display control device 20 includes a first determination unit 21, a first control unit 22, a buffer 23, and a second control unit 24. The first determination unit 21 is used to determine the number of underloaded pixels; the first control unit 22 is used to generate a write control signal corresponding to the current input pixel value according to the number of underloaded pixels, and transmit the write control signal and the current input pixel value to the buffer 23; the write control signal includes two states, enabled and disabled; the buffer 23 is used to perform an operation corresponding to the write control signal on the current input pixel value according to the write control signal; the second control unit 24 is used to determine the target pixel value corresponding to the current pixel to be displayed according to at least one of the number of underloaded pixels and the state of the buffer 23, and transmit the target pixel value to the display screen 30 for display.

[0035] In the display control device disclosed in the present invention, the first control unit 22 controls whether the current input pixel value is written into the buffer 23 through a write control signal according to the number of underloaded pixels, and the input pixel value in the underloaded stage may not be written into the buffer 23. When the underload ends, the input pixel value is written into the buffer 23. Therefore, the buffer 23 of the present invention does not store the pixel values ​​corresponding to the pixels in the underloaded stage, but only stores the pixel values ​​corresponding to the pixels in the non-underloaded stage, so that after the underload ends, the pixel value corresponding to the current pixel can be read from the buffer 23 in time for display, so that the display screen can quickly switch from the underloaded state to the normal display state, thereby ensuring the accuracy of the display content of the non-underloaded pixel position in the display screen, and effectively improving the quality of the display screen. In addition, when an underload occurs, the target pixel value corresponding to the current pixel can be determined according to at least one of the number of underloaded pixels and the storage state of the buffer 23 in the present invention, so as to realize the display of the pixels in the underloaded stage based on the target pixel value, avoid the display effect of a black screen, and further improve the user experience.

[0036] It should be noted that the display control device 20 of the present disclosure is not limited to Figure 1In the configuration mode in the figure, the display control device 20 can be independent of the display processor 13, or can be integrated into the display processor 13. For example, in practical applications, the components of the display control device 20 can be arranged in the display processor 13. That is, the display processor 13 and the components of the display control device 20 in the figure can be integrated into the display processor 13, and the image processing unit 131 or other related components in the display processor 13 can be connected to the first control unit 22 to transmit the input pixel value obtained by the image processing unit 131 to the first control unit 22.

[0037] Exemplary Devices

[0038] Figure 2 1 is a schematic diagram of the structure of a display control device provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices, such as vehicle-mounted computing platforms (vehicle-mounted terminals), mobile phones, tablets, etc., and can be specifically applied to chips on electronic devices. Figure 2 As shown, the apparatus of the embodiment of the present disclosure may include: a first determination unit 21 , a first control unit 22 , a buffer 23 and a second control unit 24 .

[0039] The first determining unit 21 is configured to determine the number of underloaded pixels.

[0040] The first control unit 22 is used to generate a write control signal corresponding to the current input pixel value according to the number of underloaded pixels, and transmit the write control signal and the current input pixel value to the buffer 23.

[0041] The write control signal includes two states: enable and disable.

[0042] The buffer 23 is used to perform an operation corresponding to the write control signal on the current input pixel value according to the write control signal.

[0043] The second control unit 24 is used to determine a target pixel value corresponding to a current pixel to be displayed according to at least one of the number of underloaded pixels and the state of the buffer 23, and transmit the target pixel value to the display screen 30 for display.

[0044] In some optional embodiments, the number of underloaded pixels may refer to the difference between the number of pixels displayed in the current frame picture being updated by the display screen 30 and the number of input pixel values ​​obtained by the display control device 20 from the image processing unit 131. For example, the current frame picture has a total of 100 (10*10) pixels (only for exemplary explanation, not for limitation of the display screen display picture), starting from the upper left corner of the display screen 30, each pixel is displayed (or updated) in order from left to right and from top to bottom. If the current pixel to be displayed at the current moment is the 41st pixel (i.e., the pixel in the 4th row and the 1st column), and the display control device 20 does not send the pixel value corresponding to the current pixel to the display screen 30 (i.e., the current pixel has not been displayed), the number of displayed pixels is 40, which may include pixels in the underload stage (or underload state). If 35 input pixel values ​​have been obtained from the image processing unit 131 at this time, it means that there are still 5 displayed pixels that are still in the underload state, and the number of underloaded pixels is 5. The number of underloaded pixels can indicate whether the underload has ended at the current moment. For example, if the number of underloaded pixels is greater than or equal to 0, it indicates that the current state is still in the underload stage. If the number of underloaded pixels is less than 0, it indicates that the current state is in the non-underload stage (or non-underload state). This is because the input pixel values ​​obtained from the image processing unit 131 are obtained in accordance with the preset order of pixels in the current frame (for example, starting from the upper left corner, in the order of pixels from left to right and from top to bottom), and the display screen displays the current frame of the picture in accordance with the preset order of pixels. For pixels in the underload stage, if the accurate pixel value cannot be read from the buffer 23, the pixel value of the pixel can be determined by other means for display. Therefore, the difference between the number of displayed pixels and the number of input pixel values ​​obtained can determine the number of underloaded pixels.

[0045] In some optional embodiments, the number of underloaded pixels may refer to the difference between the cumulative number of read operations and the cumulative number of write operations on the buffer 23 within the display time range of a frame of the picture. Each input pixel value corresponds to a write operation, and each pixel displayed during the picture display process of the display screen 30 corresponds to a read operation. In the case of underload, the actual pixel value of the pixel to be displayed cannot be read through the read operation.

[0046] In some optional embodiments, the current input pixel value is a pixel value obtained by processing the image data corresponding to the current frame by the image processing unit 131. If there is no underload condition currently, the current input pixel value may be a pixel value corresponding to the current pixel to be displayed, or a pixel value corresponding to a pixel after the current pixel. If the current condition is underloaded, the current input pixel value is a pixel value corresponding to a pixel displayed before the current pixel. For example, when the underload starts to occur at the 30th pixel, until the current pixel to be displayed is the 41st pixel, if the input pixel value is continuously obtained from the image processing unit 131 before the second control unit 24 performs the read operation on the buffer 23, the current input pixel value obtained at the beginning is the pixel value corresponding to the 30th pixel, that is, the image processing unit 131 transmits the pixel value corresponding to the 30th pixel, the pixel value corresponding to the 31st pixel, ..., the pixel value corresponding to the 41st pixel and the subsequent pixel values ​​to the display control device 20 in sequence, and the display control device 20 discards the pixel values ​​corresponding to the 30th pixel to the 40th pixel respectively, and does not write them into the buffer 23, writes the pixel value corresponding to the 41st pixel into the buffer 23, and reads the pixel value corresponding to the 41st pixel from the buffer 23 through the second control unit 24, which is the target pixel value corresponding to the current pixel. If the second control unit 24 performs the read operation on the buffer 23 before the pixel value corresponding to the 41st pixel is written into the buffer 23, the current pixel is in the underload state.

[0047] In some optional embodiments, the write control signal includes two states, an enable state and a disable state. The write control signal in the enable state is used to indicate that the current input pixel value is written into the buffer 23, and the write control signal in the disable state is used to prevent the current input pixel value from being written into the buffer 23. Wherein, preventing the current input pixel value from being written into the buffer 23 includes discarding the current input pixel value. If it is determined that the current state is in the underload stage according to the number of underload pixels, a write control signal in the disable state is generated. If it is determined that the current state is in the non-underload stage, a write control signal in the enable state is generated. The operations corresponding to the write control signal include: a first operation corresponding to the write control signal in the enable state and a second operation corresponding to the write control signal in the disable state. The first operation is to write the current input pixel value into the buffer 23. The second operation is to prevent the current input pixel value from being written into the buffer 23. That is, the input pixel values ​​corresponding to the pixels that have been displayed during the underload phase are no longer written into the buffer 23, and are not written into the buffer 23 until the input pixel values ​​corresponding to the pixels after the underload ends, so that the pixel values ​​cached in the buffer 23 are pixel values ​​that can be directly read by the second control unit 24 and displayed on the display screen, and are accurate pixel values ​​corresponding to the pixels to be displayed. For example, if the write control signal corresponding to the current input pixel value is an enabled write control signal, and the current input pixel value is the first input pixel value with an enabled write control signal after the underload ends, then the current input pixel value is the pixel value corresponding to the current pixel to be displayed. After the current input pixel value is written into the buffer 23, the second control unit 24 can directly read the pixel value from the buffer 23 and send it to the display screen for display. Subsequent input pixel values ​​are sequentially written into the buffer 23, and the second control unit 24 sequentially reads pixel values ​​from the buffer 23 and sends them to the display screen for display.

[0048] In some optional embodiments, the state of the buffer 23 may include two states: empty and non-empty. The buffer 23 is used to cache pixel values ​​to be displayed on the screen. If it is necessary to read the pixel value corresponding to the current pixel from the buffer 23 for display, and the state of the buffer 23 is empty, indicating that the current pixel is underloaded, the target pixel value corresponding to the current pixel can be determined by other means. For example, a preconfigured preset value is used as the target pixel value corresponding to the current pixel. If the state of the buffer 23 is non-empty, the actual pixel value corresponding to the current pixel can be obtained from the buffer 23 as the target pixel value corresponding to the current pixel.

[0049] In some optional embodiments, since both the number of underloaded pixels and the state of the buffer 23 can indicate whether the current moment is in the underload stage, the target pixel value corresponding to the current pixel to be displayed can be determined according to at least one of the number of underloaded pixels and the state of the buffer 23. If the current moment is in the underload stage, the target pixel value corresponding to the current pixel can be determined by other means. If the current moment is in the non-underload stage, the accurate pixel value corresponding to the current pixel can be obtained from the buffer 23 as the target pixel value corresponding to the current pixel.

[0050] In some optional embodiments, the target pixel value corresponding to the current pixel may be determined according to the number of underloaded pixels.

[0051] In some optional embodiments, the target pixel value corresponding to the current pixel may be determined according to the state of the buffer 23 .

[0052] In some optional embodiments, the target pixel value corresponding to the current pixel may be determined in combination with the number of underloaded pixels and the state of the buffer 23 .

[0053] In some optional embodiments, the number of underloaded pixels may be determined in any feasible manner, for example, the number of underloaded pixels may be determined based on the number of read operations and the number of write operations to the buffer 23. For another example, the number of underloaded pixels may be determined based on the number of currently displayed pixels and the number of input pixel values ​​obtained. The specific manner of determining the number of underloaded pixels is not limited.

[0054] In some optional embodiments, the first determination unit 21 may be implemented in any feasible manner, for example, the first determination unit 21 may be implemented by a hardware logic device, or by software, or by a combination of hardware and software.

[0055] In some optional embodiments, the first control unit 22 may be implemented in any feasible manner, for example, the first control unit 22 may be implemented by a hardware logic device, or by software, or by a combination of hardware and software.

[0056] In some optional embodiments, the buffer 23 may be any type of buffer, for example, the buffer 23 may be a First In First Out (FIFO) buffer, or other buffers that can control the order of input and output.

[0057] In some optional embodiments, the second control unit 24 may be implemented in any feasible manner, for example, the second control unit 24 may be implemented by a hardware logic device, or by software, or by a combination of hardware and software.

[0058] In some optional embodiments, the second control unit 24 can be implemented by a controller (or microcontroller). The controller (or microcontroller) is pre-configured with corresponding control logic, and the controller (or microcontroller) is connected to the buffer 23 and the register (for storing preset values ​​or reference pixel values). When the controller (or microcontroller) needs to output the target pixel value to the display screen 30, the target pixel value is determined according to at least one of the input underload pixel number and the state of the buffer 23. Optionally, the controller (or microcontroller) can determine the target pixel value according to at least one of the underload pixel number and the state of the buffer 23 in response to the read signal. The read signal can be generated by the display processor 13 or the display control device 20, for example.

[0059] In some optional embodiments, the second control unit 24 can be implemented by at least one of hardware such as a comparator, a register, and an output control subunit (such as a data selector). For example, the comparator is used to compare the number of underloaded pixels with a second preset value, and in response to the number of underloaded pixels being greater than or equal to the second preset value, output a first signal to the output control subunit, the output control subunit is connected to the register, the register stores a preset value or a reference pixel value, and the output control subunit obtains the target pixel value from the register in response to the first signal and outputs it to the display screen 30. In response to the number of underloaded pixels being less than the second preset value, the comparator outputs a second signal, the output control subunit is also connected to the buffer 23, and the output control subunit reads the target pixel value from the buffer 23 in response to the second signal. Optionally, the first signal is 1 or a high-level signal, and the second signal is 0 or a low-level signal; or the first signal is 0 or a low-level signal, and the second signal is 1 or a high-level signal.

[0060] In some optional embodiments, the second control unit 24 may also implement corresponding functions through other hardware or hardware combinations, and is not limited to the above-mentioned implementation methods.

[0061] In some optional embodiments, each unit and the buffer 23 of the display control device 20 of the embodiment of the present disclosure may be reset once for each frame to ensure accurate display of each frame.

[0062] In the display control device provided in this embodiment, the first control unit 22 controls whether the current input pixel value is written into the buffer 23 through a write control signal according to the number of underloaded pixels, and the input pixel value in the underloaded stage may not be written into the buffer 23. When the underload ends, the input pixel value is written into the buffer 23. Therefore, the buffer 23 of the present disclosure does not store the pixel value corresponding to the pixel in the underloaded stage, but only stores the pixel value corresponding to the pixel in the non-underloaded stage, so that after the underload ends, the pixel value corresponding to the current pixel can be read from the buffer 23 in time for display, so that the display screen can quickly switch from the underloaded state to the normal display state, thereby ensuring the accuracy of the display content of the non-underloaded pixel position in the display screen, and effectively improving the quality of the display screen. In addition, when an underload occurs, the present disclosure can determine the target pixel value corresponding to the current pixel according to at least one of the number of underloaded pixels and the storage state of the buffer 23, so as to realize the display of the pixels in the underloaded stage based on the target pixel value, avoid the display effect of a black screen, and further improve the user experience.

[0063] Figure 3 is a structural schematic diagram of a display control device provided by another exemplary embodiment of the present disclosure.

[0064] In some optional embodiments, in the above Figure 2 Based on the embodiment shown, Figure 3 As shown, the first determination unit 21 may include: a first accumulator 211 , a second accumulator 212 and a subtractor 213 .

[0065] The first accumulator 211 is used to accumulate the number of read operations on the buffer 23 within a first time range to obtain a current accumulated number of read operations.

[0066] The second accumulator 212 is used to accumulate the number of write operations to the buffer 23 within the first time range to obtain the current accumulated number of write operations.

[0067] The subtractor 213 is used to determine the number of underloaded pixels according to the current accumulated number of read operations and the current accumulated number of write operations.

[0068] In some optional embodiments, the first time range may be a display time range of a frame of picture. The first time range may be determined according to the picture refresh frequency of the display screen. Alternatively, the first time range may refer to a time range from the start pixel of the current frame of picture to the completion of the display of the last pixel.

[0069] In some optional embodiments, the number of read operations of the buffer 23 is the number of times a read operation signal (which can be expressed as Read) is sent to the buffer 23. The number of write operations of the buffer 23 is the number of times a write operation signal (which can be expressed as Write) is sent to the buffer 23. The display of each pixel corresponds to a read operation signal, so the current cumulative number of read operation signals (i.e., the current cumulative number of read operations) represents the number of pixels displayed in the current frame. Each time an input pixel value is obtained from the image processing unit, a write operation signal needs to be initiated to the buffer 23, so the current cumulative number of write operation signals (i.e., the current cumulative number of write operations) represents the number of input pixel values ​​obtained. The relationship between the current cumulative number of read operations and the current cumulative number of write operations can represent whether it is currently in the underload stage, and the number of underload pixels (or the current number of underload pixels) can be determined based on the current cumulative number of read operations and the current cumulative number of write operations. That is, at each moment (or each clock cycle), the number of read operations on the buffer 23 within the first time range can be accumulated in real time according to the read operation signal to obtain the current accumulated number of read operations, and the number of write operations on the buffer 23 within the first time range can be accumulated in real time according to the write operation signal to obtain the current accumulated number of write operations. Then, the number of underload pixels is determined in real time according to the current accumulated number of read operations and the current accumulated number of write operations to ensure the real-time and accuracy of the number of underload pixels. Specifically, the subtractor 213 can calculate the difference between the current accumulated number of read operations and the current accumulated number of write operations as the number of underload pixels. In the underload stage, the number of underload pixels is greater than or equal to 0, and in the non-underload stage, the number of underload pixels is less than 0.

[0070] In some optional embodiments, the read operation signal and the write operation signal can be Figure 1 The display processor 13 shown generates. That is, when the display processor 13 obtains the input pixel value processed by the image processing unit, it generates a write operation signal, and the write operation signal is transmitted to the second accumulator 212. The second accumulator 212 accumulates the number of write operation signals to obtain the current accumulated number of write operations. When the display processor 13 determines that the pixel value needs to be sent to the display screen, it generates a read operation signal, and the read operation signal is transmitted to the first accumulator 211. The first accumulator 211 accumulates the number of read operation signals to obtain the current accumulated number of read operations.

[0071] In some optional embodiments, the first accumulator 211 and the second accumulator 212 may be implemented in any feasible manner, such as hardware, software, hardware combined with software, etc., as long as the accumulation of the number of read operations and the number of write operations can be achieved.

[0072] In some optional embodiments, the subtractor 213 may be implemented in any feasible manner, such as hardware, software, hardware combined with software, etc., as long as the subtraction function can be implemented.

[0073] In the embodiment of the present disclosure, by accumulating the number of read operations and write operations on the buffer 23, the number of underloaded pixels at the current moment can be accurately obtained in real time, so that the operation mode of the current input pixel value can be accurately controlled to avoid writing the pixel value of the displayed pixel into the buffer 23, thereby avoiding the misalignment of the display screen. For example, if the pixel value of the displayed pixel is written into the buffer 23, when the pixel value is output to the display screen, the pixel value of the displayed pixel will be displayed as the pixel value of the subsequent pixel, such as being displayed as the pixel value of the current pixel, and the pixel value of the current pixel will be displayed as the pixel value of the next pixel. This is a case of misalignment of one pixel. If multiple or all pixel values ​​that have been displayed during the underload stage are written into the buffer 23, it will cause the subsequent multiple pixels to be misaligned in sequence, which is easy to cause a more obvious misalignment of the display screen, affecting the user's visual experience. The embodiment of the present disclosure can avoid this situation and ensure the accurate display of pixels after the underload ends.

[0074] In some optional embodiments, the first accumulator 211 and the second accumulator 212 may be replaced by a first counter and a second counter.

[0075] Figure 4 is a structural diagram of a display control device provided by yet another exemplary embodiment of the present disclosure.

[0076] In some optional embodiments, based on any of the above embodiments, Figure 4 As shown, the first control unit 22 may include: a write control subunit 221 and an output subunit 222 .

[0077] The write control subunit 221 is used to generate a write control signal according to the relationship between the number of underloaded pixels and a first preset value.

[0078] The output subunit 222 is used to transmit the write control signal and the current input pixel value to the buffer.

[0079] The first preset value may be determined according to a method for determining the number of underloaded pixels. The method for determining the number of underloaded pixels may include: determining the number of underloaded pixels according to the number of read operations and the number of write operations on the buffer 23 (hereinafter referred to as method 1), and determining the number of underloaded pixels according to the number of currently displayed pixels and the number of input pixel values ​​obtained (hereinafter referred to as method 2).

[0080] In the case where the number of underloaded pixels is determined by method 1, the first preset value is zero (0). The magnitude relationship between the number of underloaded pixels and the first preset value may include that the number of underloaded pixels is greater than the first preset value and that the number of underloaded pixels is less than or equal to the first preset value. If the number of underloaded pixels is greater than the first preset value, it indicates that the current input pixel value is the pixel value corresponding to the pixel in the underload stage, and a write control signal corresponding to the underload stage (i.e., a write control signal in a non-enabled state) is generated. If the number of underloaded pixels is less than or equal to the first preset value, it indicates that the current input pixel value is the pixel value corresponding to the pixel in the non-underload stage. A write control signal corresponding to the non-underload stage (i.e., a write control signal in an enabled state) is generated.

[0081] In the case of determining the number of underloaded pixels by the second method, the first preset value may be -1 or 0. If the first preset value is 0, the size relationship between the number of underloaded pixels and the first preset value may include that the number of underloaded pixels is greater than or equal to the first preset value, and the number of underloaded pixels is less than the first preset value. If the number of underloaded pixels is greater than or equal to 0, it means that the number of displayed pixels is greater than or equal to the number of input pixel values ​​(including the current input pixel value) obtained, that is, the current input pixel value is the pixel value corresponding to the displayed pixel, and there is no need to write to the buffer 23, and the write control subunit 221 generates a write control signal in a non-enabled state. If the number of underloaded pixels is less than 0, it means that the number of input pixel values ​​obtained is greater than the number of displayed pixels, and the current input pixel value is the pixel value corresponding to the pixel that is not displayed (for example, the current pixel to be displayed), and it needs to be written to the buffer 23, and the write control subunit 221 generates a write control signal in an enabled state. If the first preset value is -1, the size relationship between the number of underloaded pixels and the first preset value may include that the number of underloaded pixels is greater than the first preset value, and the number of underloaded pixels is less than or equal to the first preset value. If the number of underloaded pixels is greater than the first preset value, the write control subunit 221 generates a write control signal in a disabled state. If the number of underloaded pixels is less than or equal to the first preset value, the write control subunit 221 generates a write control signal in an enabled state.

[0082] In some optional embodiments, the write control subunit 221 may be implemented in any feasible manner, for example, based on hardware logic devices, based on software, based on hardware combined with software, etc. For example, taking a hardware logic device as an example, the write control subunit 221 may include a comparator, the first input terminal of the comparator inputs the number of underloaded pixels, the second input terminal of the comparator inputs a first preset value, and the first output terminal of the comparator outputs a write control signal according to the magnitude relationship between the input values ​​of the first input terminal and the second input terminal.

[0083] In some optional embodiments, the output subunit 222 may be implemented in any feasible manner. For example, the output subunit 222 may be an interface or a transmission line connected to the buffer 23 to transmit the current input pixel value and the write control signal to the buffer 23 .

[0084] In some optional embodiments, the current input pixel value may be transmitted to the data input terminal of the buffer 23, and the write control signal may be transmitted to the enable terminal of the buffer 23. When the enable terminal is valid (ie, the enable terminal is in an enabled state), the buffer 23 writes the current input pixel value into the buffer 23. When the enable terminal is invalid (ie, the enable terminal is in a non-enabled state), even if the buffer 23 obtains the current input pixel value, the write operation cannot be performed, which is equivalent to discarding the current input pixel value and failing to write into the buffer 23.

[0085] In some optional embodiments, after performing the corresponding operation on the current input pixel value, the second accumulator 212 accumulates the current write operation and triggers the real-time update of the number of underloaded pixels. The second control unit 24 determines to use the reference pixel value or the pixel value cached in the buffer 23 as the target pixel value according to the real-time number of underloaded pixels. After the second control unit 24 outputs the target pixel value, the first accumulator 211 accumulates the current read operation and triggers the real-time update of the number of underloaded pixels. Similarly, by accumulating the number of read operations and the number of write operations on the buffer 23, the number of underloaded pixels is determined, and the cache control of the input pixel value and the output control of the target pixel value are realized.

[0086] In the disclosed embodiment, the operation of the buffer 23 is controlled by writing a control signal, and in the underload stage, the buffer 23 is prevented from writing the current input pixel value into the cache area. In the non-underload stage, the buffer 23 is instructed to write the current input pixel value into the cache area, thereby achieving effective control of the buffer 23 and avoiding writing the input pixel value in the underload stage into the buffer 23, thereby ensuring that the pixel value cached in the buffer 23 is the accurate pixel value of the pixel to be displayed on the display screen, and can be directly read and sent to the display screen for display.

[0087] In some optional embodiments, the write control subunit 221 may be specifically used for:

[0088] In response to the number of underloaded pixels being greater than the first preset value, a first control signal indicating disabling is generated to prevent the current input pixel value from being cached in the buffer 23. In response to the number of underloaded pixels being less than or equal to the first preset value, a second control signal indicating enabling is generated to instruct the current input pixel value to be cached in the buffer 23.

[0089] Wherein, when the number of underloaded pixels is determined by the above-mentioned method 1, the first preset value is 0. When the number of underloaded pixels is determined by the above-mentioned method 2, the first preset value is -1. Taking the first preset value as 0 as an example, if the number of underloaded pixels is greater than the first preset value, it means that the current cumulative number of read operations is greater than the current cumulative number of write operations. If the current cumulative number of read operations is greater than the current cumulative number of write operations, it means that there are still displayed pixels that have not obtained input pixel values. This also means that the current input pixel value is the pixel value corresponding to the displayed pixel and does not need to be written into the buffer 23. The write control subunit 221 generates a write control signal indicating non-enablement (also referred to as a non-enablement state). The write control signal indicating non-enablement is referred to as a first control signal, which is used to prevent the current input pixel value from being cached in the buffer 23. On the contrary, if the number of underloaded pixels is less than or equal to the first preset value, the current cumulative number of read operations is less than or equal to the current cumulative number of write operations, and the current input pixel value is the pixel value corresponding to the pixel that is not displayed, the write control subunit 221 generates a write control signal indicating enable (also known as the enable state), and the write control signal indicating enable is called the second control signal, which is used to indicate that the current input pixel value is cached in the cache.

[0090] In the embodiment of the present disclosure, a first control signal indicating non-enablement is used to prevent the current input pixel value corresponding to the displayed pixel from being written into the buffer 23, and a second control signal indicating enablement is used to indicate that the current input pixel value corresponding to the undisplayed pixel (the undisplayed pixel may include the current pixel to be displayed, or include the current pixel and at least one subsequent pixel) is written into the buffer 23, thereby ensuring the accuracy and validity of the pixel values ​​cached in the buffer 23.

[0091] In some optional embodiments, based on any of the above embodiments, the second control unit 24 may be specifically used for:

[0092] In response to the number of underloaded pixels being greater than or equal to the second preset value, the reference pixel value is used as the target pixel value corresponding to the current pixel; or, in response to the number of underloaded pixels being less than the second preset value, the target pixel value corresponding to the current pixel is obtained from the buffer 23.

[0093] Among them, the second preset value is 0, and the reference pixel value can be a preconfigured preset value, or a pixel value determined in real time based on stored historical pixel values ​​(or historical input pixel values). If the number of underloaded pixels is greater than or equal to the second preset value, it is determined that the current state is in the underload stage, and the accurate pixel value corresponding to the current pixel cannot be obtained from the buffer 23. Therefore, the reference pixel value is used as the target pixel value corresponding to the current pixel, and the target pixel value is transmitted to the display screen 30 for display. If the number of underloaded pixels is less than the second preset value, it means that the current state is in the non-underload stage, and the target pixel value corresponding to the current pixel can be obtained from the buffer 23 and transmitted to the display screen 30 for display.

[0094] In some optional embodiments, the second control unit 24 may cache the last input pixel value before the underload as a historical pixel value. In this case, the last input pixel value obtained may be cached, and if there is a new input pixel value, the new input pixel value may be cached, and the most recently obtained input pixel value may always be cached as a historical pixel value.

[0095] In some optional embodiments, the second control unit 24 can cache multiple or multiple rows of input pixel values ​​close to the current moment as historical pixel values. In an underload situation, the historical pixel values ​​corresponding to pixels in a preset range around the current pixel can be used as reference pixel values.

[0096] In the embodiment of the present disclosure, in an underload situation, the second control unit 24 can transmit the reference pixel value as the target pixel value corresponding to the current pixel to the display screen for display, so as to ensure that the display screen can complete the display of the current pixel and effectively avoid display interruption.

[0097] In some optional embodiments, the second control unit 24 may be specifically configured to:

[0098] In response to the state of the buffer 23 being empty, the reference pixel value is used as the target pixel value. Alternatively, in response to the state of the buffer 23 being non-empty, the target pixel value corresponding to the current pixel is obtained from the buffer 23.

[0099] Among them, since the current input pixel value corresponding to the displayed pixel is discarded and not written into the buffer 23 because it is controlled according to the write control signal during the process of writing pixel values ​​into the buffer 23, the pixel value cached by the buffer 23 is a pixel value that can be directly read by the second control unit 24 and transmitted to the display screen 30 for display, so the state of the buffer 23 can represent whether it is currently in an underload state. If the state of the buffer 23 is empty, it means that it is in an underload state, and the reference pixel value is used as the target pixel value. If the state of the buffer 23 is not empty, the accurate target pixel value corresponding to the current pixel can be read from the buffer 23.

[0100] In the embodiment of the present disclosure, in an underload situation, the reference pixel value can be used as the target pixel value corresponding to the current pixel and transmitted to the display screen for display, so as to ensure that the display screen can complete the display of the current pixel and effectively avoid display interruption.

[0101] Figure 5 is a structural diagram of a display control device provided by yet another exemplary embodiment of the present disclosure.

[0102] In some optional embodiments, based on any of the above embodiments, the device of the embodiment of the present disclosure may further include: a second determination unit 25, used to determine the reference pixel value according to the first pixel position information corresponding to the current pixel on the display screen.

[0103] The second control unit 24 may also be configured to determine a target pixel value according to at least one of the number of underrun pixels and the state of the buffer 23 , and the reference pixel value.

[0104] In some optional embodiments, the first pixel position information corresponding to the current pixel on the display screen may include the pixel number or row and column number of the current pixel. For example, if the current pixel is the nth pixel, the first pixel position information may be n, or if the current pixel is the pixel in the Mth row and the Nth column, the first pixel position information may be (M, N). The specific representation method of the first position information is not limited.

[0105] In some optional embodiments, the second control unit 24 determines the reference pixel value from the accurate historical pixel values ​​of the historical pixels according to the first pixel position information and the positional relationship between the displayed pixel (or historical pixel) and the current pixel.

[0106] In some optional embodiments, the second control unit 24 obtains the historical input pixel value corresponding to at least one displayed pixel around the current pixel according to the first pixel position information, and determines the reference pixel value corresponding to the current pixel based on the at least one historical input pixel value. For example, any historical input pixel value among the at least one historical input pixel value can be used as the reference pixel value of the current pixel. For another example, the reference pixel value corresponding to the current pixel can be determined by averaging, interpolation, etc. based on the at least one historical input pixel value, so that the display color of the current pixel is close to that of the surrounding pixels.

[0107] In some optional embodiments, the second control unit 24 is used to determine the target pixel value according to the number of underloaded pixels, the second preset value and the reference pixel value. Specifically, the target pixel value is determined according to the magnitude relationship between the number of underloaded pixels and the second preset value and the reference pixel value. If the number of underloaded pixels is greater than or equal to the second preset value, the reference pixel value is used as the target pixel value corresponding to the current pixel. If the number of underloaded pixels is less than the second preset value, the accurate pixel value is obtained from the buffer 23 as the target pixel value corresponding to the current pixel.

[0108] In some optional embodiments, the second control unit 24 is used to determine the target pixel value according to the state of the buffer 23 and the reference pixel value. Specifically, if the state of the buffer 23 is empty, the reference pixel value is used as the target pixel value. If the state of the buffer 23 is not empty, the target pixel value corresponding to the current pixel is obtained from the buffer 23.

[0109] In some optional embodiments, the second control unit 24 is used to determine the target pixel value according to the number of underloaded pixels and the second preset value, the state of the buffer 23 and the reference pixel value. For example, if the number of underloaded pixels is greater than or equal to the second preset value and the state of the buffer 23 is empty, the reference pixel value is used as the target pixel value corresponding to the current pixel.

[0110] In some optional embodiments, the second determination unit 25 may be implemented in any feasible manner, such as based on hardware logic devices, based on software, based on a combination of hardware and software, etc.

[0111] In the disclosed embodiment, a reference pixel value is determined based on the first pixel position information of the current pixel on the display screen, so that the reference pixel value can be relatively closer to the accurate pixel value corresponding to the current pixel, thereby further improving the accuracy of the displayed content in the underloaded area of ​​the picture, thereby enhancing the user's visual experience.

[0112] Figure 6 is a structural diagram of a display control device provided by yet another exemplary embodiment of the present disclosure.

[0113] In some optional embodiments, such as Figure 6 As shown, the second determining unit 25 may include: a storage subunit 251 and a position determining subunit 252 .

[0114] The storage subunit 251 is used to store a preset number of historical input pixel values.

[0115] The position determination subunit 252 is used to determine the target storage position of the reference pixel value in the storage subunit 251 according to the first pixel position information corresponding to the current pixel on the display screen 30;

[0116] The storage subunit 251 is further configured to obtain a reference pixel value from a preset number of historical input pixel values ​​according to a target storage location.

[0117] The preset number may be any number. The historical input pixel values ​​include the most recently obtained input pixel values. For example, each time an input pixel value is obtained, the input pixel value is stored. If the preset number is fixed, the earliest stored historical input pixel value is deleted and the new input pixel value is stored to ensure the timeliness of the historical input pixel value. For example, based on a time window, the storage of the most recent preset number of historical input pixel values ​​is ensured. Alternatively, based on a first-in, first-out rule, the earliest stored historical input pixel value is removed and the new input pixel value is stored.

[0118] In some optional embodiments, the preset number is determined according to the number of pixels included in each row of a frame, for example, the preset number is the number of pixels of at least two rows of pixels, so as to ensure that in the event of underload, historical input pixel values ​​of pixels at closer positions can be found around the current pixel.

[0119] In some optional embodiments, the storage subunit 251 may be implemented by using any type of memory, for example, the storage subunit 251 is a register, a buffer, etc., which is not specifically limited.

[0120] In some optional embodiments, Figure 1 The display processor 13 shown stores the current input pixel value obtained each time in the storage subunit 251, or the display control device 20 of the embodiment of the present disclosure stores the current input pixel value in the storage subunit 251 after obtaining the current input pixel value each time. For example, the first control unit 22 stores the current input pixel value obtained each time in the storage subunit 251.

[0121] In some optional embodiments, the position determination subunit 252 determines the target storage position according to the first pixel position information and the preconfigured processing logic for determining the target storage position of the reference pixel value. For example, the first pixel position information is the number of rows and columns (M, N) corresponding to the current pixel, and the preset number is the number of pixels of two rows of pixels. If the historical input pixel value corresponding to any one of the neighboring pixels (such as the upper neighboring pixel) of the left neighboring pixel, the upper left neighboring pixel, the upper neighboring pixel and the upper right neighboring pixel of the current pixel is set as the reference pixel value corresponding to the current pixel, then the number of rows and columns corresponding to the neighboring pixel is determined according to the first pixel position information, and based on the number of rows and columns corresponding to the neighboring pixel, the historical input pixel value corresponding to the neighboring pixel is obtained from the stored preset number of historical input pixel values, so as to obtain the reference pixel value corresponding to the current pixel. Alternatively, if the storage positions of the stored preset number of historical input pixel values ​​have a certain order, then the storage position of the historical input pixel value corresponding to the neighboring pixel is determined as the target storage position according to the number of pixels between the neighboring pixel and the last displayed pixel before the underload. The specific method of determining the target storage position is not limited.

[0122] In some optional embodiments, the position determination subunit 252 may be implemented in any feasible manner, such as implementing the position determination subunit 252 based on a hardware logic device, implementing the position determination subunit 252 based on a combination of hardware and software, or implementing the position determination subunit 252 based on software, so as to realize the functions of the position determination subunit 252.

[0123] The disclosed embodiment stores a preset number of historical input pixel values ​​to determine a reference pixel value of a current pixel, so that the reference pixel value is closer to the accurate pixel value of the current pixel, thereby improving the accuracy of displaying content in the underloaded area and further enhancing the user's visual experience.

[0124] In some optional embodiments, the location determination subunit 252 may be specifically used for:

[0125] Based on the first pixel position information of the current pixel, the second pixel position information of the first pixel within a preset range around the current pixel is determined; based on the relative position relationship between the second pixel position information of the first pixel and the first pixel position information of the current pixel, the storage position of the historical input pixel value corresponding to the first pixel in the storage subunit 251 is determined as the target storage position.

[0126] In some optional embodiments, the preset range around the current pixel is determined according to the positional relationship between the current pixel and the displayed pixels. For example, for the case where the first pixel in any row is the current pixel, since there is no pixel column on the left side of the pixel, the preset range may include at least one pixel of the upper neighboring pixel and the upper right neighboring pixel of the current pixel, or on the basis of including the upper neighboring pixel and the upper right neighboring pixel, it may also include more peripheral pixels, and the specific restrictions are not made. For the case where the last pixel in any row is the current pixel, there is no pixel column on the right side of the pixel, the preset range may include at least one pixel of the upper neighboring pixel, the upper left neighboring pixel, and the left neighboring pixel of the current pixel, or it may also include more peripheral pixels, for example, the preset range may also include the upper neighboring pixel of the upper neighboring pixel of the current pixel. For the case where other pixels except the first pixel and the last pixel in any row are the current pixel, the left neighboring pixel, the upper left neighboring pixel, the upper neighboring pixel and the upper right neighboring pixel of the current pixel may all have historical input pixel values, therefore, the preset range may include at least one pixel of the left neighboring pixel, the upper left neighboring pixel, the upper neighboring pixel and the upper right neighboring pixel, or it may also include more peripheral pixels.

[0127] In some optional embodiments, the number of first pixels may be one or more. For the case of multiple first pixels, the second pixel position information corresponding to each first pixel is obtained. The representation of the second pixel position information is similar to that of the first pixel position information. The relative position relationship between the second pixel position information and the first pixel position information includes a relative row and column relationship. For example, the first pixel position information of the current pixel is the Mth row and the Nth column, expressed as (M, N), and the left neighboring pixel of the current pixel is the first pixel, then the second pixel position information of the first pixel is (M, N-1). Similarly, the second pixel position information of the upper left neighboring pixel of the current pixel is (M-1, N-1), the second pixel position information of the upper neighboring pixel of the current pixel is (M-1, N), and the second pixel position information of the upper right neighboring pixel of the current pixel is (M-1, N+1).

[0128] In some optional embodiments, the position determination subunit 252 can determine the order of the historical input pixel value of the first pixel in the stored preset number of historical input pixel values ​​based on the relative position relationship between the second pixel position information and the first pixel position information, and then based on the mapping relationship between the order and the storage position, determine the storage position of the historical input pixel value corresponding to the first pixel in the storage subunit 251 as the target storage position.

[0129] In an embodiment of the present disclosure, in an underload situation, the historical input pixel value of the first pixel within a preset range around the current pixel is used as the reference pixel value corresponding to the current pixel, so that the reference pixel value is closer to the actual pixel value of the current pixel, thereby improving the accuracy of the pixel values ​​of the pixels in the underload area.

[0130] In some optional embodiments, when storing each historical input pixel value, the correspondence between the storage location of the historical input pixel value and the pixel position information is stored, and then the target storage location can be determined from the correspondence according to the second pixel position information.

[0131] In some optional embodiments, when the storage positions of the preset number of historical input pixel values ​​stored have a certain order, the pixel position information corresponding to the last historical input pixel value (the most recently obtained input pixel value) can be stored. Then, in combination with the relative position relationship between the second pixel position information of the first pixel and the pixel position information corresponding to the last historical input pixel value, the storage position of the historical input pixel value corresponding to the first pixel is determined as the target storage position. For example, the first pixel is the 85th pixel, the last historical input pixel value stored is the historical input pixel value corresponding to the 90th pixel, the preset number is 20, and the storage positions are sequentially represented as p1, p2, ..., p20, and the storage position of the last historical input pixel value is p20. In order, the storage position p15 separated by 5 storage positions from p20 is the storage position of the historical input pixel value corresponding to the first pixel. That is, the difference between the pixel number of the last stored historical input pixel value and the pixel number of the first pixel (for example, 90-85=5) can be calculated, and the storage position number of the last stored historical input pixel value is subtracted from the difference to obtain the storage position number of the historical input pixel value corresponding to the first pixel, and then the target storage position is obtained.

[0132] In some optional embodiments, the location determination subunit 252 is further configured to:

[0133] In response to the absence of a historical input pixel value corresponding to the first pixel in the storage subunit 251 , a target storage location is determined from a preset number of storage locations of historical input pixel values ​​in a preset manner.

[0134] If the underload time is long, the number of pixels in the underload stage exceeds the preset number of stored pixels, and the first pixels in the preset range around the current pixel may all be in the current underload stage, then the historical input pixel value corresponding to the first pixel may not exist in the storage subunit 251. In this case, the reference pixel value can be determined from the preset number of stored historical input pixel values ​​in a preset manner. The preset manner may include, for example, any of the following: randomly selecting a historical input pixel value as the reference pixel value, using the historical input pixel value of a pixel closest to the current pixel as the reference pixel value, and using the last stored historical input pixel value before the current underload as the reference pixel value.

[0135] In the embodiment of the present disclosure, when there is no historical input pixel value corresponding to the first pixel in the storage subunit 251, a reference pixel value is determined from a preset number of stored historical input pixel values ​​in a preset manner to ensure that the current pixel can be displayed and avoid display interruption.

[0136] In some optional embodiments, Figure 7FIG. 1 is a schematic diagram of a preset range around a current pixel provided by an exemplary embodiment of the present disclosure. Figure 7 As shown, the current pixel is represented as P, and the left neighboring pixel P1, the upper left neighboring pixel P2, the upper neighboring pixel P3 and the upper right neighboring pixel P4 of the current pixel are determined as the preset range around the current pixel. The historical input pixel value corresponding to any pixel among P1, P2, P3 and P4 can be determined as the reference pixel value of the current pixel P.

[0137] Figure 8 It is a schematic diagram of the display effect of a display control method in the prior art, such as Figure 8 As shown, the image data (the corresponding actual visualized image is a gray circle with a white background as shown in the figure) is stored in DDR 41. After a frame (current frame) begins to be displayed, the display processor 42 reads the image data from DDR 41, and after being processed by the image processing unit, the pixel value is written into FIFO 43. The display processor 42 reads the pixel value from FIFO 43 and starts to send normal pixel values ​​to the display screen 30. At a certain moment, FIFO 43 is underloaded, and the display processor 42 starts to send 0 to the display screen 30 until the frame ends, resulting in the lower half of the frame being a black area, which seriously affects the image quality and reduces the user's visual experience.

[0138] Fig. 9 FIG. 1 is a schematic diagram of a display effect corresponding to a display control device provided by an exemplary embodiment of the present disclosure. Fig. 9 As shown, the display control device 20 controls the target pixel value sent to the display screen 30. After a frame of the picture begins, the display control device 20 starts to send normal pixel values ​​to the display screen 30. When a certain moment (or a certain pixel) is reached, the buffer 23 in the display control device 20 is underloaded, and the display control device 20 starts to send reference pixel values ​​to the display screen 30. The reference pixel value in the figure is determined based on the historical input pixel value of the first pixel within a preset range around the current pixel. Therefore, in the underload area (the dotted area, the dotted line is to highlight the underload area, not the actual display content), the color can be kept the same or similar to the surrounding area to avoid the generation of a more obvious black area in the underload area. After the underload ends, the display control device 20 promptly sends normal pixel values ​​(i.e., the actual pixel values ​​obtained from the buffer 23) to the display screen 30 to accurately display the content of the lower half of the frame. It can be seen that in Fig. 9 The image data in Figure 8 When the image data is the same, Figure 8The related technology shown in the figure, the display control device 20 of the embodiment of the present disclosure can, on the one hand, promptly resume sending normal pixel values ​​to the display screen 30 after the underload ends, so that the subsequent pixel area of ​​the current frame displays accurate picture content, avoiding the subsequent pixel area from being displayed as a black area, and avoiding the misalignment of the lower half area after the underload ends, thereby greatly improving the quality of the displayed picture, thereby effectively improving the user's visual experience. On the other hand, in the underload area, each pixel is displayed as the same or similar color as the pixels around it, avoiding the underload area from being displayed as a black area as a whole, such as Fig. 9 For the gray circular area, there is an error between the displayed color and the actual color of pixels at the junction of different colors in the underload area. For the user, the gray circular area can still be seen as a whole, further improving the user's visual experience.

[0139] In some optional embodiments, Fig.10 FIG. 1 is a schematic diagram of the structure of a display control device provided by another exemplary embodiment of the present disclosure. Fig.10 As shown, the output end of the subtractor 213 is connected to the write control subunit 221, and the storage subunit 251 is connected to the second control unit 24. In the display process of the current frame, for the current pixel to be displayed at the current moment, the number of underloaded pixels can be obtained through the subtractor 213, and the write control subunit 221 generates a write control signal according to the number of underloaded pixels, and transmits it to the output subunit 222. The current input pixel value is also transmitted to the output subunit 222. The output subunit 222 transmits the current input pixel value and the write control signal to the buffer 23, and the buffer 23 performs an operation corresponding to the write control signal on the current input pixel value according to the write control signal. When the state of the buffer 23 is not empty, the buffer 23 outputs the pixel value to the second control unit 24. When the second control unit 24 obtains the pixel value from the buffer 23, it transmits the pixel value as the target pixel value corresponding to the current pixel to the display screen 30 for display. The current input pixel value will also be stored in the storage subunit 251. The position determination subunit 252 determines the target storage position of the reference pixel value based on the first pixel position information of the current pixel, and transmits the target storage position to the storage subunit 251. The storage subunit 251 obtains the reference pixel value based on the target storage position and transmits it to the second control unit 24. When the second control unit 24 cannot obtain the pixel value from the cache 23 or the number of underload pixels is greater than the first preset value, the reference pixel value is used as the target pixel value corresponding to the current pixel, and the target pixel value is transmitted to the display screen 30 for display.

[0140] In the disclosed embodiment, by controlling the write and output of the buffer 23, it is ensured that the pixel values ​​cached in the buffer 23 are all pixel values ​​that are not currently displayed. If the buffer 23 is not empty, the cached pixel values ​​at least include the pixel value of the current pixel to be displayed. If the buffer 23 includes multiple pixel values, it also includes the accurate pixel values ​​corresponding to the pixels after the current pixel. It is only necessary to transmit the pixel values ​​cached in the buffer 23 to the display screen 30 in sequence for display to ensure that each pixel displayed is accurate and valid. On the other hand, in the case of underload, combined with the pixel position information of the current pixel, the historical input pixel values ​​of the pixels in the preset range around the current pixel are used to determine the reference pixel value of the current pixel, and the reference pixel value is used as the target pixel value of the current pixel to be displayed on the screen, so that the pixel value of each pixel in the underload area is closer to the actual pixel value of the pixel, which can avoid the underload area being an obvious black area, thereby improving the quality of the overall picture and further improving the user's visual experience.

[0141] In some optional embodiments, Fig.11 FIG. 1 is a schematic diagram of a display control device provided by another exemplary embodiment of the present disclosure. Fig.11 As shown, the display control device 20 is arranged in the display processor 13, and the first control unit 22 is connected to the image processing unit 131. The second control unit 24 is connected to the display screen 30, and the second control unit 24 implements the buffering of the input pixel value, and outputs the target pixel value corresponding to the current pixel to be displayed. The specific principle can be referred to the above embodiment, which will not be repeated here. In practical applications, the various components in the display control device 20 can be partially arranged in the display processor 13, and the other parts can be arranged outside the display processor 13 independently of the display processor 13. For example, the buffer 23 can be arranged outside the display processor 13, and the second control unit 24 can be arranged outside the display processor 13, which is not specifically limited.

[0142] The above-mentioned embodiments of the present disclosure may be implemented separately or in any combination without conflict. The specific configuration may be based on actual needs and the present disclosure does not limit this.

[0143] Exemplary Methods

[0144] Fig.12 : is a flowchart of a display control method provided by an exemplary embodiment of the present disclosure. The method of this embodiment can be used in electronic devices, such as vehicle-mounted terminals, mobile phones, tablets and other electronic devices. The method of this embodiment can be implemented by the display control device provided by any of the above embodiments. Alternatively, the method of this embodiment is implemented by a processor. Fig.12 As shown, the method of the embodiment of the present disclosure may include the following steps:

[0145] Step 510, determining the number of underloaded pixels.

[0146] Step 520: Generate a write control signal corresponding to the current input pixel value according to the number of underloaded pixels.

[0147] The write control signal includes two states: enable and disable.

[0148] Step 530: According to the write control signal, perform an operation corresponding to the write control signal on the current input pixel value.

[0149] Step 540 , determining a target pixel value corresponding to a current pixel to be displayed according to at least one of the number of underloaded pixels and the state of the buffer.

[0150] Step 550: transmit the target pixel value to the display screen for display.

[0151] It should be noted that step 540 and steps 520 and 530 may be performed in any order.

[0152] Fig.13 is a flowchart of a display control method provided by another exemplary embodiment of the present disclosure.

[0153] In some optional embodiments, in the above Fig.12 Based on the embodiment shown, Fig.13 As shown, determining the number of underloaded pixels in step 510 may include:

[0154] Step 5110, accumulate the number of read operations on the cache within the first time range to obtain the current accumulated number of read operations.

[0155] Step 5120, accumulate the number of write operations to the cache within the first time range, and obtain the current accumulated number of write operations.

[0156] It should be noted that step 5110 and step 5120 may be performed in any order.

[0157] Step 5130, determining the number of underloaded pixels based on the current accumulated number of read operations and the current accumulated number of write operations.

[0158] Fig.14 is a flowchart of a display control method provided by yet another exemplary embodiment of the present disclosure.

[0159] In some optional embodiments, based on any of the above embodiments, Fig.14 As shown, step 520 of generating a write control signal corresponding to the current input pixel value according to the number of underloaded pixels may include:

[0160] Step 5210: Generate a write control signal according to the relationship between the number of underloaded pixels and the first preset value.

[0161] In some optional embodiments, the write control signal and the current input pixel value may be transmitted to a buffer, so that the buffer performs an operation corresponding to the write control signal on the current input pixel value according to the write control signal.

[0162] In some optional embodiments, generating a write control signal according to the magnitude relationship between the number of underloaded pixels and the first preset value in step 5210 may specifically include:

[0163] In response to the number of underloaded pixels being greater than a first preset value, a first control signal indicating disabling is generated to prevent the current input pixel value from being cached in the buffer; or, in response to the number of underloaded pixels being less than or equal to the first preset value, a second control signal indicating enabling is generated to indicate that the current input pixel value is cached in the buffer.

[0164] In some optional embodiments, based on any of the above embodiments, determining the target pixel value corresponding to the current pixel to be displayed according to at least one of the number of underloaded pixels and the state of the buffer in step 540 may specifically include:

[0165] In response to the number of underloaded pixels being greater than or equal to a second preset value, the reference pixel value is used as the target pixel value corresponding to the current pixel; or, in response to the number of underloaded pixels being less than the second preset value, the target pixel value corresponding to the current pixel is obtained from the buffer.

[0166] In some optional embodiments, based on any of the above embodiments, determining the target pixel value corresponding to the current pixel to be displayed according to at least one of the number of underloaded pixels and the state of the buffer in step 540 may specifically include:

[0167] In response to the buffer being empty, the reference pixel value is used as the target pixel value; or, in response to the buffer being non-empty, the target pixel value corresponding to the current pixel is obtained from the buffer.

[0168] Fig.15 It is a flowchart of a display control method provided by another exemplary embodiment of the present disclosure.

[0169] In some optional embodiments, based on any of the above embodiments, Fig.15 As shown, the method of the embodiment of the present disclosure may also include:

[0170] Step 610: Determine a reference pixel value according to first pixel position information corresponding to the current pixel on the display screen.

[0171] Determining the target pixel value corresponding to the current pixel to be displayed according to at least one of the number of underloaded pixels and the state of the buffer in step 540 may include:

[0172] Step 5410, determining a target pixel value based on at least one of the number of underrun pixels and the state of the buffer, and a reference pixel value.

[0173] Fig.16 is a flowchart of a display control method provided by yet another exemplary embodiment of the present disclosure.

[0174] In some optional embodiments, such as Fig.16 As shown, step 610 of determining the reference pixel value according to the first pixel position information corresponding to the current pixel on the display screen may include:

[0175] Step 6110: Determine a target storage location for the reference pixel value based on first pixel location information corresponding to the current pixel on the display screen.

[0176] Step 6120, obtaining a reference pixel value from a preset number of stored historical input pixel values ​​according to the target storage location.

[0177] In some optional embodiments, determining the target storage location of the reference pixel value according to the first pixel location information corresponding to the current pixel on the display screen in step 6110 may specifically include:

[0178] Based on the first pixel position information of the current pixel, the second pixel position information of the first pixel within a preset range around the current pixel is determined; based on the relative position relationship between the second pixel position information of the first pixel and the first pixel position information of the current pixel, the storage position of the historical input pixel value corresponding to the first pixel in the storage subunit is determined as the target storage position.

[0179] In some optional embodiments, the method of the embodiment of the present disclosure may further include:

[0180] In response to the absence of a historical input pixel value corresponding to the first pixel in the stored preset number of historical input pixel values, a target storage location is determined from storage locations of the stored preset number of historical input pixel values ​​in a preset manner.

[0181] Any display control method provided in the embodiments of the present disclosure may be executed by any appropriate electronic device with data processing capabilities, including but not limited to: electronic devices such as terminal devices and servers. Alternatively, any display control method provided in the embodiments of the present disclosure may be executed by a processor, such as the processor executing any display control method mentioned in the embodiments of the present disclosure by calling corresponding instructions stored in a memory. This will not be described in detail below.

[0182] The beneficial technical effects corresponding to the exemplary embodiment of the method can be found in the corresponding beneficial technical effects of the above exemplary device part, which will not be repeated here.

[0183] Exemplary Electronic Devices

[0184] Fig.17 It is a structural diagram of an electronic device provided by an embodiment of the present disclosure, including at least one processor 91 and a memory 92.

[0185] The processor 91 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 90 to execute the display control methods and / or other desired functions of the various embodiments of the present disclosure.

[0186] The memory 92 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 91 may execute one or more computer program instructions to implement the display control method and / or other desired functions of the various embodiments of the present disclosure described above.

[0187] In one example, the electronic device 90 may further include: an input device 93 and an output device 94 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0188] The input device 93 may also include, for example, a touch screen, a microphone, various sensors, and the like. Sensors may include, for example, image sensors (such as cameras, cameras, etc.), laser radars, millimeter-wave radars, ultrasonic radars, positioning sensors, pressure sensors, air quality sensors, temperature sensors, and the like. Image sensors, laser radars, millimeter-wave radars, ultrasonic radars, and the like may be used to sense the surrounding environment, that is, to detect dynamic and static objects in the surrounding environment. Dynamic and static objects may include, for example, static objects such as lane lines, curbs, arrows, signs, trees, and buildings, as well as dynamic objects such as surrounding vehicles, pedestrians, and cyclists. Positioning sensors are used to realize the positioning of movable devices (such as self-vehicles, robots, etc.) where electronic devices are located. Positioning sensors may include, for example, inertial measurement units (Inertial Measurement Unit, referred to as: IMU), global positioning systems (Global Positioning System, referred to as: GPS), and the like. Pressure sensors may be used to detect seat pressure. Temperature sensors may be used to detect the temperature in the vehicle cabin. Air quality sensors may be used to detect the air quality in the vehicle cabin.

[0189] The output device 94 can output various information to the outside, and may include, for example, a display, a speaker, a communication network and a remote output device connected thereto, and the like.

[0190] Of course, to simplify, Fig.17 Only some of the components related to the present disclosure in the electronic device 90 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 90 may also include any other appropriate components.

[0191] In some optional embodiments, the electronic device 90 may also include a display control device 20 provided in any of the above embodiments of the present disclosure, and the processor 91 is used to read executable instructions from the memory 92 and execute the instructions to control the display control device 20 to implement the display control method described in any of the above embodiments of the present disclosure.

[0192] Exemplary computer program products and computer-readable storage media

[0193] In addition to the above methods and devices, embodiments of the present disclosure may also provide a computer program product, including computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the methods of various embodiments of the present disclosure described in the above “Exemplary Methods” section.

[0194] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0195] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor executes the steps in the method of various embodiments of the present disclosure described in the above “Exemplary Method” section.

[0196] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium is, for example, but not limited to, a system, device or device including electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0197] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and cannot be considered as necessary for each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, rather than limitation, and the above details do not limit the present disclosure to being implemented by adopting the above specific details.

[0198] Those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present disclosure claims and their equivalents, the present disclosure is also intended to include these modifications and variations.

Claims

1. A display control device, comprising: A first determining unit, configured to determine the number of underloaded pixels; A first control unit, configured to generate a write control signal corresponding to a current input pixel value according to the number of underloaded pixels, and transmit the write control signal and the current input pixel value to a buffer; the write control signal includes two states: enabled and disabled; The buffer is used to perform an operation corresponding to the write control signal on the current input pixel value according to the write control signal; The second control unit is used to determine a target pixel value corresponding to a current pixel to be displayed according to at least one of the number of underloaded pixels and the state of the buffer, and transmit the target pixel value to the display screen for display.

2. The device according to claim 1, wherein: The first determining unit includes: A first accumulator, used to accumulate the number of read operations on the buffer within a first time range to obtain a current accumulated number of read operations; A second accumulator, used to accumulate the number of write operations to the buffer within the first time range to obtain a current accumulated number of write operations; A subtractor is used to determine the number of underloaded pixels according to the current accumulated number of read operations and the current accumulated number of write operations.

3. The device according to claim 1, wherein: The first control unit comprises: A write control subunit, configured to generate the write control signal according to a magnitude relationship between the number of underloaded pixels and a first preset value; The output subunit is used to transmit the write control signal and the current input pixel value to the buffer.

4. The device according to claim 3, wherein: The write control subunit is specifically used for: In response to the number of underloaded pixels being greater than the first preset value, generating a first control signal indicating disabling, for preventing the current input pixel value from being cached in the buffer; or, In response to the number of under-loaded pixels being less than or equal to the first preset value, a second control signal indicating enable is generated to instruct to cache the current input pixel value in the buffer.

5. The device according to claim 1, wherein: The second control unit is specifically used for: In response to the relationship between the number of underloaded pixels and the second preset value satisfying a first condition, taking the reference pixel value as the target pixel value corresponding to the current pixel; or, In response to the relationship between the number of underloaded pixels and the second preset value satisfying a second condition, a target pixel value corresponding to the current pixel is acquired from the buffer.

6. The device according to claim 1, wherein: The second control unit is specifically used for: In response to the buffer being empty, taking the reference pixel value as the target pixel value; or, In response to the state of the buffer being non-empty, obtaining a target pixel value corresponding to the current pixel from the buffer.

7. The device according to any one of claims 1 to 6, further comprising: A second determining unit, configured to determine a reference pixel value according to first pixel position information corresponding to the current pixel on the display screen; The second control unit is further configured to determine the target pixel value according to at least one of the underload pixel number and the state of the buffer, and the reference pixel value.

8. The device according to claim 7, wherein: The second determining unit includes: A storage subunit, used to store a preset number of historical input pixel values; a position determination subunit, configured to determine a target storage position of the reference pixel value in the storage subunit according to the first pixel position information corresponding to the current pixel on the display screen; The storage subunit is further configured to obtain the reference pixel value from the preset number of historical input pixel values ​​according to the target storage location.

9. The device according to claim 8, wherein: The position determination subunit is specifically used for: Determine, according to the first pixel position information of the current pixel, second pixel position information of a first pixel within a preset range around the current pixel; According to the relative position relationship between the second pixel position information of the first pixel and the first pixel position information of the current pixel, a storage position of the historical input pixel value corresponding to the first pixel in the storage subunit is determined as the target storage position.

10. A display control method, comprising: Determine the number of underloaded pixels; generating a write control signal corresponding to a current input pixel value according to the number of underloaded pixels; The write control signal includes two states: enable and disable; According to the write control signal, performing an operation corresponding to the write control signal on the current input pixel value; According to at least one of the number of underloaded pixels and the state of the buffer, a target pixel value corresponding to the current pixel to be displayed is determined, and the target pixel value is transmitted to the display screen for display.

11. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the method according to claim 10.

12. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the method of claim 10; or, The electronic device comprises: The display control device according to any one of claims 1 to 9.