Display method, circuit, device and storage medium based on input-output matching

CN122535936APending Publication Date: 2026-08-07VERISILICON MICROELECTRONICS (SHANGHAI) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
VERISILICON MICROELECTRONICS (SHANGHAI) CO LTD
Filing Date
2024-12-05
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

When the image is scaled or the input display timing standard stream changes, the parameters of the output display timing standard stream may not be divisible, resulting in a mismatch between the input and output frame rate and line rate, which affects the normal output and display of image data.

Method used

By adjusting the blanking parameters of the output display timing standard stream, such as the blanking time in the vertical and horizontal directions, the timing of the input and output is matched. This includes adjusting the waterline and blanking time to adapt to the image scaling factor, thereby achieving adaptive control of frame rate and line rate.

Benefits of technology

It effectively reduces the impact of frame rate and line rate mismatch on image output and display quality, thus improving the image output and display quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122535936A_ABST
    Figure CN122535936A_ABST
Patent Text Reader

Abstract

The application provides a display method, circuit, device and storage medium based on input-output matching. The display method based on input-output matching comprises the following steps: obtaining an input display timing standard stream and an output display timing standard stream; determining whether the input display timing standard stream and the output display timing standard stream match; if the input display timing standard stream and the output display timing standard stream do not match, adjusting blanking of the output display timing standard stream, so that the time at which the output display timing standard stream controls pixel output matches the time at which the input display timing standard stream controls pixel input; wherein the blanking comprises at least one of vertical front blanking, vertical rear blanking, horizontal front blanking and horizontal rear blanking. The method can improve the output and display quality of an image.
Need to check novelty before this filing date? Find Prior Art

Description

Display methods, circuits, devices, and storage media based on input-output matching Technical Field

[0001] This application relates to the field of display, and more specifically, provides a display method, circuit, device, and storage medium based on input-output matching. Background Technology

[0002] When the display panel displays an image, it controls the input and output of pixels in each row and column according to the display timing standard flow, thereby displaying the image.

[0003] The display timing standard stream includes an input display timing standard stream and an output display timing standard stream, which control the input and output of pixels respectively. The configuration parameters of the output display timing standard stream are all fixed parameters, that is, software-configured latch registers for hardware. The values ​​of the configuration parameters of the output display timing standard stream need to be rounded. For example, the output display timing standard stream includes VBP (Vertical Back Porch), VFP (Vertical Front Porch), HBP (Horizontal Back Porch), and HFP (Horizontal Front Porch), which usually need to be rounded.

[0004] When image scaling is performed, the output display timing standard stream also needs to be scaled. Or, when the input display timing standard stream changes, the output display timing standard stream needs to be adaptively adjusted accordingly. Regardless of scaling or adaptive adjustment, the parameter values ​​of the configuration parameters in the output display timing standard stream may not be divisible. The configuration parameters of the output display timing standard stream will be rounded. At this time, the parameters of the input display timing standard stream and the output display timing standard stream may not be aligned. This may result in a mismatch between the pixel input rate controlled by the input display timing standard stream and the pixel output rate controlled by the output display timing standard stream. For example, frame rate mismatch and line rate mismatch may occur, affecting the normal output and display of image data. Summary of the Invention

[0005] In view of this, this application aims to provide a display method, circuit, device, and storage medium based on input-output matching to improve the quality of image output and display.

[0006] In a first aspect, embodiments of this application provide a display method based on input-output matching, comprising: acquiring an input display timing standard stream and an output display timing standard stream; determining whether the input display timing standard stream and the output display timing standard stream match; if the input display timing standard stream and the output display timing standard stream do not match, adjusting the blanking of the output display timing standard stream so that the output display timing standard stream controls the pixel output time to match the input display timing standard stream controls the pixel input time.

[0007] After image scaling, the input display timing standard stream and the output display timing standard stream may become mismatched, resulting in inconsistent pixel input and output speeds, i.e., inconsistent line rates and frame rates. Blanking includes the interval time required for a frame or line of pixels to be scanned and then re-scanned; adjusting the blanking duration can adjust the pixel input and output speeds. Therefore, in this embodiment, to address the mismatch between the input and output display timing standard streams, the blanking of the output display timing standard stream can be adjusted. This adjusts the timing of pixel output control by the output display timing standard stream, matching the timing of pixel input control by the input display timing standard stream. This achieves adaptive frame rate control and adjustment, thereby adjusting the output rate to match the input rate (i.e., matching line rates and frame rates), reducing the impact of inconsistent frame rates and mismatched line rates on output image quality and display effects, and improving image output and display quality.

[0008] In one embodiment, the output display timing standard stream is obtained by scaling the input display timing standard stream by a preset image scaling factor. Determining whether the input display timing standard stream and the output display timing standard stream match includes: determining a first total number of cycles for the input display timing standard stream based on its vertical and horizontal parameters; determining a second total number of cycles based on the image scaling factor, the vertical and horizontal parameters of the output display timing standard stream; calculating the cycle interval between the input display timing standard stream and the output display timing standard stream based on the first and second total number of cycles; and determining whether the input display timing standard stream and the output display timing standard stream match based on the cycle interval and a preset threshold. If the cycle interval exceeds the preset threshold, the input display timing standard stream and the output display timing standard stream are determined to be mismatched; if the cycle interval does not exceed the preset threshold, the input display timing standard stream and the output display timing standard stream are determined to match.

[0009] When scaling the image, the input display timing standard stream also needs to be scaled; that is, the output display timing standard stream is obtained by scaling the input display timing standard stream image. Specifically, when the input and output display timing standard streams match, the product of the total number of cycles in the output display timing standard stream and the image scaling factor (i.e., the second total number of cycles) matches the first total number of cycles in the input display timing standard stream. Therefore, in the embodiments of this application, the first and second total number of cycles can be calculated, their cycle interval can be calculated, and it can be determined whether the difference in the cycle interval between the two is within a preset threshold range, thereby determining whether the input and output display timing standard streams match. This method is simple to calculate and helps improve the efficiency of determining whether the two match.

[0010] In one embodiment, the blanking includes vertical back blanking; the pixels obtained by image scaling are temporarily stored in a buffer before being output; the buffer includes a pre-configured waterline, and when the number of rows of pixels temporarily stored in the buffer reaches the waterline, the buffer outputs the temporarily stored pixels and ends the vertical back blanking of the output display timing standard stream; adjusting the blanking of the output display timing standard stream includes: obtaining the image scaling factor; adjusting the waterline based on the image scaling factor to adjust the vertical back blanking.

[0011] After image scaling, the input pixels are temporarily stored in a buffer. When the number of pixels stored in the buffer reaches a certain number of rows (i.e., the waterline), the output is performed, thus ending the vertical back-canceling of the display timing standard stream. Therefore, the vertical back-canceling is equal to the temporary storage time of the pixel row in the buffer. In this embodiment, the waterline of the buffer can be adjusted according to the image scaling factor to adjust the temporary storage time of the pixels, thereby adjusting the vertical back-canceling, so that the output rate of the pixels matches the input rate of the pixels, reducing the frame rate mismatch and improving the output and display quality of the image.

[0012] In one embodiment, the image scaling factor includes a vertical image scaling factor in the vertical direction; adjusting the waterline based on the image scaling factor includes: if the vertical image scaling factor is a reduction of X times, then adjusting the waterline to a first preset value; where X is a positive integer; if the vertical image scaling factor is an increase of X times, then adjusting the waterline to M; wherein, when X is less than or equal to a second preset value, M is equal to X, and when X is greater than the second preset value, M is equal to the second preset value; the first preset value is less than the second preset value.

[0013] When the vertical image scaling factor is reduced by a factor of X, the output display timing standard stream will also be reduced by a factor of X. If the waterline remains unchanged, it will take a long time for the buffer to store enough pixels before outputting. Therefore, in the embodiments of this application, the waterline can be adjusted to a smaller first preset value, so that the vertical back-cancellation ends as soon as possible to match the input display timing standard stream. Conversely, when the vertical image scaling factor is increased by a factor of X, the waterline can be raised to temporarily store more output pixels, so that the vertical back-cancellation ends later. Specifically, on the one hand, when the image scaling factor is less than the second preset value, M = X, in order to match the waterline with the scaling factor, so as to avoid the situation where the waterline is too high and the output display timing standard stream does not match the input display timing standard stream. On the other hand, when the image scaling factor exceeds the second preset value (X is greater than the second preset value), M is made equal to the second preset value, so as to reduce the situation where the waterline is too high and the temporary storage time of the output display timing standard stream reduces the real-time performance of the image output.

[0014] In one embodiment, the blanking includes horizontal forward blanking and horizontal backward blanking; adjusting the blanking of the output display timing standard stream includes: acquiring a target data amount, the target data amount being the amount of pixel data stored in a buffer under the control of the input display timing standard stream; the pixels are temporarily stored in the buffer before being output; calculating a target difference between the target data amount and a preset data amount; the preset data amount representing the amount of pixel data in the buffer output under the control of the output display timing standard stream; adjusting at least one of the horizontal forward blanking and the horizontal backward blanking based on the target difference, so that the required duration for the buffer to output the target data amount of the output display timing standard stream matches the required duration for the output display timing standard stream to output the preset data amount.

[0015] When the input display timing standard stream and the output display timing standard stream are mismatched, there is an interval in the total cycle of the input display timing standard stream and the output display timing standard stream. During this interval, the buffer will still store or output data. If the output display timing standard stream controls the pixel output rate unchanged, the data buffered in the buffer (the pixels to be output) will gradually accumulate or decrease. Therefore, it is necessary to speed up or slow down the data output rate so that the input display timing standard stream controls the pixel input rate and the output display timing standard stream controls the pixel output rate. In the embodiments of this application, at least one of horizontal forward blanking and horizontal backward blanking can be used. Horizontal forward blanking and horizontal backward blanking can control the waiting time before and after the output of a single row of pixels. Therefore, by adjusting horizontal forward blanking and horizontal backward blanking, the waiting time required for each row of pixel output can be reduced, thereby adjusting the frequency of output pixels. Thus, by adjusting horizontal forward blanking and horizontal backward blanking, the time for the output display timing standard stream to control the pixel output can be matched with the time for the input display timing standard stream to control the pixel input, improving the quality of image output and display.

[0016] In one embodiment, adjusting at least one of the horizontal forward caching and the horizontal backward caching based on the target difference includes: if the target difference indicates that the target data volume is greater than the preset data volume, then proportionally reducing at least one of the horizontal forward caching and the horizontal backward caching according to the ratio of the target difference to the preset data volume; if the target difference indicates that the target data volume is less than the preset data volume, then proportionally increasing at least one of the horizontal forward caching and the horizontal backward caching according to the ratio of the target difference to the preset data volume.

[0017] In this embodiment, if the target difference indicates that the target data amount is greater than the preset data amount, it indicates that the input rate of the display timing standard flow control pixel is greater than the output rate of the display timing standard flow control pixel. Therefore, at least one of the horizontal forward blanking and horizontal backward blanking can be reduced proportionally to increase the output pixel rate. Conversely, if the difference indicates that the target data amount is less than the preset data amount, it indicates that the input rate of the display timing standard flow control pixel is lower than the output rate of the display timing standard flow control pixel. At least one of the horizontal forward blanking and horizontal backward blanking can be increased proportionally to slow down the output pixel rate. This allows the output time of the display timing standard flow control pixel to match the input time of the display timing standard flow control pixel, improving the quality of image output and display.

[0018] In one embodiment, the blanking includes vertical forward blanking, and the blanking of the output display timing standard stream is adjusted by: adjusting the end time of the vertical forward blanking to be consistent with a preset duration after the end of the input display timing standard stream, wherein the preset duration after the end of the input display timing standard stream represents the preset end time of the output display timing standard stream.

[0019] After the vertical forward blanking of the output display timing standard stream ends, the output of pixels for the next frame image will cease. When the input and output display timing standard streams are matched, the output display timing standard stream should end after a preset delay following the end of the input display timing standard stream, in order to begin outputting pixels for the next frame image. Therefore, in this embodiment, the vertical forward blanking of the output display timing standard stream can be adjusted to match the preset delay following the end of the input display timing standard stream, thereby ensuring that the time for the output display timing standard stream to control pixel output matches the time for the input display timing standard stream to control pixel input.

[0020] In one embodiment, adjusting the end time of the vertical forward blanking to be consistent with the preset duration after the input display timing standard stream ends includes: if the output display timing standard stream has not ended its vertical forward blanking after the input display timing standard stream has ended for the preset duration, then: the vertical forward blanking ends immediately, or the vertical forward blanking ends after the current row of output display timing standard streams has finished outputting; if the vertical forward blanking of the output display timing standard stream ends after the input display timing standard stream ends, but before the preset duration after the input display timing standard stream ends, then the vertical forward blanking is extended to the end time corresponding to the preset duration after the input display timing standard stream ends.

[0021] In this embodiment of the application, by controlling the end time of the vertical forward blanking, the end time of the output display timing standard stream can be made consistent with the preset time after the input display timing standard stream, thereby matching the output time of the output display timing standard stream control pixel output with the input time of the input display timing standard stream control pixel input.

[0022] In one embodiment, after adjusting the blanking of the output display timing standard stream, the method further includes: obtaining the period interval; calculating the total duration of the output display timing standard stream in a preset non-fixed direction based on the adjusted blanking; the non-fixed direction being either a horizontal or vertical direction; dividing the period interval equally based on the total duration in the non-fixed direction to obtain an equalization result; adjusting the blanking of the output display timing standard stream in a fixed direction for subsequent frames based on the equalization result; the fixed direction being either the horizontal or vertical direction other than the non-fixed direction.

[0023] In this embodiment, the blanking in the non-fixed direction may still change after adjustment. Therefore, the blanking in the fixed direction of the output display timing standard stream in subsequent frames can be adjusted so that the pixels can be stably output according to the adjusted blanking during the subsequent display process, without having to frequently adjust the blanking of the output display timing standard stream.

[0024] In one embodiment, the fixed-direction blanking includes pre-blanking and post-blanking. Adjusting the blanking of the output display timing standard stream in the fixed direction based on the average distribution result includes: allocating the average distribution result to the pre-blanking according to a first weight and allocating the average distribution result to the post-blanking according to a second weight; the first weight is the ratio of the pre-blanking to the fixed-direction blanking; the second weight is the ratio of the post-blanking to the fixed-direction blanking.

[0025] In this embodiment, the results are evenly distributed to the front and back blanking according to the first and second weights, which makes the blanking distribution more uniform, thereby making the anti-interference ability stronger and reducing the impact of excessively long single blanking time on image output and display quality.

[0026] Secondly, embodiments of this application provide a display control circuit based on input-output matching, comprising: an input-output circuit; and a matching circuit connected to the input-output circuit; the matching circuit is used to implement the display method based on input-output matching as described in any of the first aspects based on the input display timing standard stream and the output display timing standard stream provided by the input-output circuit.

[0027] Thirdly, embodiments of this application provide a display device, including: a display panel; and a display control unit, including the input-output matching-based display control circuit described in the second aspect, wherein the display control unit is used to control an image to be displayed on the display panel based on the input display timing standard stream and the output display timing standard stream provided by the input-output matching-based display control circuit.

[0028] Fourthly, embodiments of this application provide a readable storage medium storing a program that, when the computer program is run on a processor, causes the processor to perform the input-output matching-based display method as described in any of the first aspects. Attached Figure Description

[0029] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0030] Figure 1 is a flowchart of a display method based on input-output matching provided in an embodiment of this application;

[0031] Figure 2 is a schematic diagram showing the relationship between image scaling and display timing standard stream provided in an embodiment of this application;

[0032] Figure 3 is a schematic diagram of a display timing standard stream provided in an embodiment of this application;

[0033] Figure 4 is a schematic diagram of vertical direction back blanking adjustment provided in an embodiment of this application;

[0034] Figure 5 is a schematic diagram of horizontal blanking adjustment provided in an embodiment of this application;

[0035] Figure 6 is a schematic diagram of vertical forward blanking adjustment provided in one embodiment of this application;

[0036] Figure 7 is a schematic diagram of intra-frame adjustment and inter-frame adjustment provided in an embodiment of this application;

[0037] Figure 8 is a schematic diagram of a display control circuit based on input-output matching provided in an embodiment of this application.

[0038] Icons: Input / output circuit 810; Input display timing standard stream buffer 811; Scaling circuit 812; Output display timing standard stream buffer 813; Display timing standard stream output circuit 814; Display control circuit 820. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0040] First, this application provides a display method based on input-output matching, which can be implemented by a processor program or by a circuit including one or more devices.

[0041] If the display method based on input-output matching is implemented by a processor program, the processor can be a data processing core of a GPU (Graphics Processing Unit), CPU (Central Processing Unit), AI (Artificial Intelligence), NPU (Neural Network Processing Unit), ISP (Image Signal Processor), DPU (Display Processing Unit), VPU (Video Processing Unit), or DSP (Digital Signal Processor), or a processor chip applied to scenarios such as large-scale data computation. The above are merely examples and should not be construed as limiting this application.

[0042] Please refer to Figure 1. Figure 1 is a flowchart of a display method based on input-output matching according to an embodiment of this application. The display method based on input-output matching includes:

[0043] S110, acquire the input display timing standard stream and the output display timing standard stream.

[0044] The display timing stream is a clock signal that consists of multiple cycles. Each cycle controls the input and output of pixels. The display timing stream includes an input display timing stream and an output display timing stream. The input display timing stream controls the input of pixels, and the output display timing stream controls the output of pixels.

[0045] Please refer to Figure 2, which is a schematic diagram of the relationship between image scaling and display timing standard stream provided in an embodiment of this application.

[0046] For situations where image scaling is required:

[0047] First, the image is input according to the input display timing standard stream. When image scaling is applied, the image is scaled according to the scaling factor, and the pixels of the scaled image are temporarily stored in a buffer (or image line buffer). Simultaneously, since the number of pixels in the output image changes proportionally, the output display timing standard stream also needs to be adjusted proportionally. For example, if the number of pixels in the output image decreases, the output display timing standard stream needs to have its clock cycles reduced to decrease the number of pixels controlled for output. The adjustment ratio is the image scaling factor. For example, if the image is enlarged by X times, the input display timing standard stream also needs to be enlarged by X times to obtain the output display timing standard stream; if the image is reduced by X times, the input display timing standard stream also needs to be reduced by X times to obtain the output display timing standard stream. This iterative adjustment of the output display timing standard stream is achieved. Finally, the pixel output is controlled according to the adjusted output display timing standard stream.

[0048] For cases where image scaling is not performed:

[0049] The input display timing standard stream can be directly used as the output display timing standard stream for output. In this case, the input display timing standard stream equals the output display timing standard stream. Pixels in the image are input and output based on both the input and output timing standard streams.

[0050] Please refer to Figure 3, which is a schematic diagram of a display timing standard stream provided in an embodiment of this application.

[0051] When outputting an image, it is output pixel by pixel, first outputting pixels to form pixel rows, and then multiple pixel rows to form an image. Whether inputting or outputting a display timing standard stream, both include vertical parameters (or field signals, field parameters) and horizontal parameters. The horizontal parameters control the input / output of pixel rows and line breaks, while the vertical parameters control the input / output of one frame and the switching between different frames. As shown in Figure 3, the visible area is the image including the output pixels / pixel rows.

[0052] The input or output of a pixel row is controlled by horizontal parameters, which include: Hsync (Horizontal Sync Region), HBP, Hact (Horizontal Active Region), and HFP. The total number of horizontal parameters for inputting or outputting the display timing standard stream is Htotal, where Htotal = Hsync + HBP + Hact + HFP.

[0053] Similarly, the input or output of an image frame is controlled by vertical parameters, including VBP, VFP, Vact (Vertical Active Region), and Vsync (Vertical Sync Region). The total number of vertical parameters inputting or outputting the display timing standard stream is Vtotal, where Vtotal = Vsync + VBP + Vact + VFP. Among these parameters, VBP, VFP, HFP, and HBP can be collectively referred to as blanking. The aforementioned content regarding the display timing standard stream can be found in existing technologies and will not be elaborated upon here.

[0054] S120, determine whether the input display timing standard stream and the output display timing standard stream match.

[0055] The actual output display timing standard stream is obtained by scaling and rounding the input display timing standard stream. Therefore, in the embodiments of this application, matching does not mean that the input display timing standard stream and the output display timing standard stream are completely equal, but rather that the actual output display timing standard stream, after being adjusted according to the image scaling factor, is the same as or differs from the input display timing standard stream within a preset range. Alternatively, the parameter values ​​(without rounding) obtained by scaling the input display timing standard stream are the same as or differ from the parameter values ​​(rounded) of the actual output display timing standard stream within a preset range.

[0056] When the image is scaled, the output display timing standard stream is also scaled proportionally. If the input display timing standard stream is an integer, the scaled output display timing standard stream will contain a decimal, which will then be rounded up or down. For example:

[0057] The input display timing standard stream includes: Hsync_i = 10 cycles; HBP_i = 19 cycles; Hact_i = 512 cycles; HFP_i = 39 cycles; Vsync_i = 6; VBP_i = 35; Vact_i = 128; VFP_i = 21. Therefore, the total cycle of the input display timing standard stream is Htotal_i * Vtotal_i = 580 * 190 = 110200 cycles. Here, 'i' is short for 'input,' and the aforementioned parameters are all parameters of the input display timing standard stream. 'cycle' represents the period.

[0058] If the horizontal image is scaled down by a factor of 4 and the vertical image is scaled down by a factor of 2, then the scaled output display timing standard stream includes: Hsync_o = 2 cycles; HBP_o = 4 cycles; Hact_o = 128 cycles; HFP_o = 9 cycles. Vsync_o = 3; VBP_o = 17; Vact_o = 64; VFP_o = 10. Therefore, the output Htotal_o * Vtotal_o = 143 * 94 = 13442 cycles. Here, 'o' is short for output, and the aforementioned parameters are all parameters of the output display timing standard stream.

[0059] As mentioned earlier, the horizontal and vertical parameters of the output display timing standard stream are scaled down according to the horizontal and vertical parameters of the input display timing standard stream and their corresponding image scaling factors. For example, if the input display timing standard stream has Hsync_i = 10 cycles, the output display timing standard stream, after being scaled down by a factor of 4, should have a value of 2.5, which, after rounding down, results in Hsync_o = 2 cycles. The other parameters are handled similarly.

[0060] If image scaling is performed without rounding, the total number of cycles required for the output display timing standard stream is 110200cycle / (2×4)=13775cycle. However, the actual total number of cycles for the output display timing standard stream after rounding is 13442cycle. It can be seen that there is an interval of 333 cycles between the two. This interval will cause the input pixel rate to be inconsistent with the output pixel rate, that is, the input display timing standard stream and the output display timing standard stream are mismatched.

[0061] Therefore, in one embodiment of this application, determining whether the input display timing standard stream and the output display timing standard stream match may include: determining a first total number of cycles of the input display timing standard stream based on the vertical and horizontal parameters of the input display timing standard stream; determining a second total number of cycles based on the image scaling factor, the vertical and horizontal parameters of the output display timing standard stream; calculating the cycle interval between the input display timing standard stream and the output display timing standard stream based on the first total number of cycles and the second total number of cycles; and determining whether the input display timing standard stream and the output display timing standard stream match according to the cycle interval and a preset threshold.

[0062] In this embodiment, if the period interval exceeds a preset threshold, it can be determined that the input display timing standard stream and the output display timing standard stream do not match; if the period interval does not exceed the preset threshold, it can be determined that the input display timing standard stream and the output display timing standard stream match.

[0063] As mentioned earlier, the first total number of cycles = Htotal_i * Vtotal_i = (Hsync_i + HBP_i + Hact_i + HFP_i) * (Vsync_i + VBP_i + Vact_i + VFP_i). The second total number of cycles = Htotal_o * Vtotal_o = (Hsync_o + HBP_o + Hact_o + HFP_o) * (Vsync_o + VBP_o + Vact_o + VFP_o), where each parameter in the output display timing standard stream is obtained by scaling each parameter in the input display timing standard stream according to the corresponding image scaling factor and then rounding it down.

[0064] Specifically, if the first total number of cycles and the second total number of cycles are not equal, it indicates a mismatch in the input and output rates of the control pixels between the input display timing standard stream and the output display timing standard stream. Therefore, the first total number of cycles and the second total number of cycles can be directly compared; if they are different, it can be determined that the input display timing standard stream and the output display timing standard stream are mismatched.

[0065] In other embodiments, the difference between the first total number of cycles and the second total number of cycles can be calculated to obtain the cycle interval between the input display timing standard stream and the output display timing standard stream. This cycle interval is then compared with a preset threshold. If the cycle interval exceeds the preset threshold, it can be determined that the input display timing standard stream and the output display timing standard stream are mismatched. For example, in the aforementioned embodiment, the cycle interval is 333 cycles. If it exceeds the preset threshold, it can be determined that there is a mismatch between the input display timing standard stream and the output display timing standard stream. The preset threshold can be 0. If a small interval exists, the impact on the actual image output is small; therefore, the preset threshold can also be a small value, such as 3, 5, 10, etc., without limitation.

[0066] S130, if the input display timing standard stream and the output display timing standard stream do not match, adjust the blanking of the output display timing standard stream so that the output display timing standard stream controls the time of the pixel output and the input display timing standard stream controls the time of the pixel input.

[0067] As mentioned earlier, if the input display timing standard stream and the output display timing standard stream are mismatched, it may cause a mismatch between the rate at which the pixels are controlled to input and the rate at which they are controlled to output. If the rate at which the pixels are controlled to input or output rows is mismatched, a line rate mismatch may occur. If the rate at which the images are controlled to input or output frames is mismatched, a frame rate mismatch may occur. Both line rate mismatch and frame rate mismatch will affect the output and display quality of the image. Therefore, if the input display timing standard stream and the output display timing standard stream are mismatched, the input and output rates of the pixels must be adjusted to match.

[0068] The output display timing standard stream is obtained by scaling the input display timing standard stream. If the input display timing standard stream changes, the output display timing standard stream will also change. Therefore, the output display timing standard stream can be adjusted.

[0069] The output display timing standard stream includes Hsync, Hact, Vsync, and Vact, which control pixel output. Adjusting these parameters may cause abnormal pixel output. For blanking in the output display timing standard stream, there is no pixel output during the blanking period. Blanking is a waiting time after pixel output. For example, if pixel output is from left to right, horizontal blanking (horizontal forward blanking, horizontal backward blanking) includes the waiting time for a row of pixels to return from the end of the row to the next row. Vertical blanking (vertical forward blanking, vertical backward blanking) includes the time for the electron gun to return from the lower right corner to the upper left corner of a frame. The blanking time allocated to the electron gun usually has a margin of safety. Therefore, the rate of outputting a row of pixels or a frame can be adjusted by adjusting the blanking of the output display timing standard stream. This allows the output display timing standard stream to control pixel output time to match the input display timing standard stream to control pixel input time, and also to match the output display timing standard stream to control the output of a frame to match the input of a frame.

[0070] As shown in Figure 2, after the image is scaled, the pixels are not directly output. Instead, they are stored in a buffer. When the number of pixels reaches a certain number of rows, the pixels stored in the buffer are then output. During this waiting period, the output display timing standard stream simultaneously performs vertical back-blinding, ending when the pixels are output from the buffer. Therefore, adjusting the time for storing pixels in the buffer is equivalent to adjusting the vertical back-blinding.

[0071] The buffer stores pixels in rows, such as one, two, or more rows. The upper limit for the number of pixel rows stored in the buffer is a watermark, which is pre-configured. When the number of pixel rows temporarily stored in the buffer reaches the watermark, the buffer outputs the temporarily stored pixel rows and ends the output, displaying the vertical back-blinding of the timing standard stream. In other words, the watermark affects the number of pixel rows stored, thus affecting the pixel storage time, and consequently, the vertical back-blinding. Therefore, the vertical back-blinding can be adjusted by adjusting the watermark.

[0072] In one embodiment of this application, adjusting the blanking of the output display timing standard stream may include: obtaining the image scaling factor; adjusting the waterline based on the image scaling factor to adjust the vertical direction before blanking.

[0073] As mentioned above, the output display timing standard stream is obtained by scaling the input display timing standard stream by the image scaling factor. Therefore, in this embodiment, the waterline can also be adjusted by the image scaling factor so that the time for storing pixels in the buffer increases or decreases proportionally. This method is equivalent to adjusting the vertical direction and then blanking.

[0074] Please refer to Figure 4, which is a schematic diagram of vertical blanking adjustment provided in an embodiment of this application. As shown in Figure 4, the configured output display timing standard stream is the output display timing standard stream without blanking adjustment, while the actual output display timing standard stream is the output display timing standard stream after blanking adjustment (the same applies below). In the vertical direction, a complete input display timing standard stream and output display timing standard stream include Vsync, VBP, Vact, and VFP. After the input display timing standard stream starts executing with a certain delay, the output display timing standard stream also starts executing. For ease of understanding, when the input display timing standard stream and output display timing standard stream are matched, the length of each stage is consistent (in actual scenarios, the duration of the input display timing standard stream and the duration of the output display timing standard stream are proportional), as shown in Figure 4 of the actual output display timing standard stream. However, in the embodiments of this application, by adjusting the waterline to adjust the vertical direction after blanking, the length of VBP increases or decreases. The increase or decrease in length is shown in the triangular area. By adjusting the vertical direction after blanking, the time for outputting one row of pixels based on the output display timing standard stream can be increased or decreased, thereby reducing the difference between the time for the output display timing standard stream to control pixel output and the time for the input display timing standard stream to control pixel input, so that the two are matched.

[0075] In one embodiment of this application, adjusting the waterline based on the image scaling factor may include: if the vertical image scaling factor is a reduction of X times, then the waterline is adjusted to a first preset value. If the vertical image scaling factor is a magnification of X times, then the waterline is adjusted to M; wherein, when X is less than or equal to a second preset value, M equals X, and when X is greater than the second preset value, M equals the second preset value;

[0076] The first preset value, the second preset value, X, and M are all positive integers, with the first preset value being less than the second preset value. For example, the first preset value is any one of 2, 3, or 4, and the second preset value is 8. In this embodiment, when the vertical image scaling factor represents shrinkage, the waterline is adjusted to store 2 to 4 rows of pixels; when the vertical image scaling factor represents magnification and the magnification factor is X, the waterline is adjusted to store X rows of pixels, and at most no more than 8 rows of pixels, i.e., M = X and M is less than or equal to 8.

[0077] In this embodiment, if the image is scaled down, the output display timing standard stream should also be shortened. Therefore, the vertical back-cancellation is adjusted to a smaller first preset value, so that the vertical back-cancellation ends as quickly as possible to match the input display timing standard stream. Conversely, when the vertical image scaling factor is X times, the waterline can be raised to temporarily store more output pixels, thus delaying the end of the vertical back-cancellation. When the image scaling factor is less than the second preset value, M = X, in order to match the waterline with the scaling factor, avoiding a situation where the waterline is too high and the output display timing standard stream does not match the input display timing standard stream. If the image scaling factor exceeds the second preset value (X is greater than the second preset value), M is made equal to the second preset value to reduce the situation where the waterline is too high and the temporary storage time of the output display timing standard stream reduces the real-time performance of the image output.

[0078] Furthermore, if the vertical back blanking of the input display timing standard stream changes, the vertical back blanking of the output display timing standard stream can also be adjusted to make the output display timing standard stream change along with the input display timing standard stream, thus achieving adaptive adjustment of the frame rate.

[0079] In one embodiment, adjusting the blanking of the output display timing standard stream may further include: acquiring a target data volume; calculating a target difference between the target data volume and a preset data volume; and adjusting at least one of horizontal forward blanking and horizontal backward blanking based on the target difference, so that the required duration of the output display timing standard stream that buffers the output target data volume matches the required duration of the output display timing standard stream that buffers the preset data volume.

[0080] In this embodiment, the target data volume is the amount of pixel data stored in the buffer under the control of the input display timing standard stream, and the preset data volume represents the amount of pixel data output by the buffer under the control of the output display timing standard stream. As shown in Figure 2, during Hact, pixels will be continuously written to the buffer and output. The amount of pixels output controlled by Hact is the preset data volume. During Hact, the actual amount of data stored in the buffer can be recorded to obtain the target data volume.

[0081] When the input display timing standard stream and the output display timing standard stream are matched, the number of pixels buffered in the buffer is dynamically balanced. If the target data volume is greater than the preset data volume, the number of pixels buffered in the buffer will gradually increase. Conversely, if the target data volume is less than the preset data volume, the number of pixels buffered in the buffer will gradually decrease. The increase or decrease of pixels in the buffer will affect the output and display of the image and reduce the display effect.

[0082] Therefore, in the embodiments of this application, the output of pixels in the buffer can be accelerated or slowed down according to the difference between the target data amount and the preset data amount, so that the output of pixels in the buffer can be balanced with the input, so that the required duration of the output display timing standard stream of the target data amount output by the buffer matches the required duration of the output display timing standard stream of the preset data amount.

[0083] As shown in Figure 2, the horizontal forward caching and the horizontal backward caching are used to affect the waiting time for the next pixel row to be output after the current pixel row has been completely output. Therefore, the output of pixels can be accelerated or slowed down by adjusting the horizontal forward caching and the horizontal backward caching.

[0084] The target difference between the target data amount and the preset data amount can be used to characterize whether the buffer is in a state of faster output pixels or faster storage pixels. Therefore, at least one of horizontal forward culling and horizontal backward culling can be adjusted according to the target difference.

[0085] As shown in Figure 5, which is a schematic diagram of horizontal blanking adjustment according to an embodiment of this application, the triangular area represents the difference in blanking before and after adjustment. In Figure 5, the total amount of data output based on the output display timing standard stream remains unchanged, that is, the total amount of pixel data output by the buffer during Hact (preset data amount) remains unchanged. If the amount of data stored in the buffer based on the input display timing standard stream (target data amount) is less than the amount of data output based on the output display timing standard stream (preset data amount), at least one of HBP or HFP can be increased, thereby extending the waiting time of the output display timing standard stream. During this period, the buffer can store more pixels based on the input display timing standard stream, thereby balancing input and output. Conversely, if the amount of data stored in the buffer based on the input display timing standard stream (target data amount) is more than the amount of data output based on the output display timing standard stream (preset data amount), at least one of HBP or HFP can be decreased, thereby shortening the waiting time of the output display timing standard stream, accelerating the data output frequency, and balancing input and output.

[0086] In embodiments of this application, adjusting at least one of the horizontal forward and backward blanking based on a target difference may include: if the target difference indicates that the target data volume is greater than a preset data volume, then proportionally reducing at least one of the horizontal forward and backward blanking based on the ratio of the target difference to the preset data volume; if the target difference indicates that the target data volume is less than the preset data volume, then proportionally increasing at least one of the horizontal forward and backward blanking based on the ratio of the target difference to the preset data volume.

[0087] In this embodiment, the increase or decrease ratio is the ratio of the target difference to the preset data volume. In the above embodiment, if both horizontal forward and horizontal backward blanking are adjusted simultaneously, the sum of the adjustments for horizontal forward and horizontal backward blanking equals the target difference.

[0088] In this embodiment, adjusting the horizontal forward blanking and the horizontal backward blanking proportionally can effectively reduce the situation where the amount of data stored in the buffer pixel continuously increases or decreases due to excessive adjustment of the horizontal forward blanking and the horizontal backward blanking.

[0089] In one embodiment, adjusting the blanking of the output display timing standard stream may further include: adjusting the end time of the vertical forward blanking to be consistent with the preset duration after the input display timing standard stream ends.

[0090] Please refer to Figure 6, which is a schematic diagram of vertical forward blanking adjustment provided in one embodiment of this application. In this embodiment, the preset delay is the delay between the input display timing standard stream and the output display timing standard stream, as shown in the delay in Figures 4 and 6. When the input display timing standard stream and the output display timing standard stream are matched, the output display timing standard stream should also end after a preset delay after the input display timing standard stream ends.

[0091] Vertical forward blanking is the final stage of the output display timing standard stream corresponding to one frame of image. Once vertical forward blanking is complete, the output display timing standard stream for the next frame of image is entered. Therefore, if the input display timing standard stream and the output display timing standard stream do not match, the vertical forward blanking can be adjusted to make them match.

[0092] In the embodiments of this application, adjusting the vertical forward blanking can be done by adjusting the end time of the vertical forward blanking to be consistent with the preset duration after the input display timing standard stream ends. In other words, the vertical forward blanking is adjusted so that the vertical forward blanking ends at the same time after the preset duration after the input display timing standard stream ends.

[0093] In one embodiment, adjusting the end time of the vertical forward blanking to match a preset duration after the input display timing standard stream ends may include: if the output display timing standard stream has not ended its vertical forward blanking after the preset duration after the input display timing standard stream ends, then: immediately end the vertical forward blanking, or end the vertical forward blanking after the current row of output display timing standard streams has finished outputting. If the vertical forward blanking of the output display timing standard stream ends after the input display timing standard stream ends, but before the preset duration after the input display timing standard stream ends, then extend the vertical forward blanking to the end time corresponding to the preset duration after the input display timing standard stream ends.

[0094] As shown in Figure 6, in the output display timing standard stream corresponding to the second frame image, regardless of whether VFP decreases or increases, the end time of the output display timing standard stream VFP is equal to the end time of the input display timing standard stream plus the time corresponding to the preset duration (Delay).

[0095] Therefore, by adjusting the vertical forward blanking, the output display timing standard stream can be made to end together with the input display timing standard stream after the preset delay. Both then enter the control of the next frame's image pixels, thus ensuring that the total duration of the input display timing standard stream and the output display timing standard stream are consistent.

[0096] In the above embodiments, when adjusting the vertical forward blanking, vertical backward blanking, horizontal forward blanking, and horizontal backward blanking, one can be adjusted at a time, or multiple can be adjusted simultaneously; no limitation is imposed here.

[0097] The above-mentioned vertical forward blanking, vertical backward blanking, horizontal forward blanking, and horizontal backward blanking are all intra-frame adjustments, that is, adjustments are made to one frame of the image. The image output is a continuous series of multiple frames. Therefore, in order to ensure that the output time of the display timing standard flow control pixel matches the input time of the input display timing standard flow control pixel, inter-frame adjustments are also required for each frame of the image.

[0098] In one embodiment of this application, inter-frame adjustment may be to make the blanking of the output display timing standard stream corresponding to each subsequent frame image consistent with the blanking of the current output display timing standard stream.

[0099] In another embodiment of this application, after adjusting the blanking of the output display timing standard stream, the method may further include: obtaining the period interval; calculating the total duration of the output display timing standard stream in a preset non-fixed direction based on the adjusted blanking; dividing the period interval equally based on the total duration in the non-fixed direction to obtain the equalization result; and adjusting the blanking of the output display timing standard stream in a fixed direction for each subsequent frame based on the equalization result.

[0100] The period interval is derived from the aforementioned first total number of periods and second total number of periods, namely: The fixed direction and the non-fixed direction are preset directions. If the fixed direction is horizontal, the non-fixed direction is vertical, and vice versa.

[0101] In this embodiment, the change frequency of blanking in the fixed direction is low, so the blanking change amount in the non-fixed direction can be allocated to the fixed direction to reduce the adjustment frequency of blanking, thereby enabling subsequent image output with the adjusted blanking stability.

[0102] Therefore, the total duration of the output display timing standard stream in a preset non-fixed direction can be calculated based on the adjusted blanking. For example, if the horizontal direction is a non-fixed direction, the output display timing standard stream in the horizontal direction obtained based on the adjusted blanking can be expressed as H = Hsync_o + HBP_r + Hact_o + HFP_r, where r represents the adjusted blanking and H is the output display timing standard stream in the horizontal direction obtained by the adjusted blanking.

[0103] The total duration of the non-fixed direction is divided into equal period intervals, which can be expressed as: E = gap / H, where gap is the period interval. Then, the total adjustment required for the blanking of the display timing standard stream in the vertical direction in subsequent frames is E, where E can be allocated to the vertical front blanking and the vertical back blanking respectively.

[0104] Fixed-direction blanking includes front blanking and back blanking. If the fixed direction is vertical, then fixed-direction blanking includes vertical front blanking and vertical back blanking. If the fixed direction is horizontal, then fixed-direction blanking includes horizontal front blanking and horizontal back blanking.

[0105] In one embodiment of this application, adjusting the blanking of the display timing standard stream in a fixed direction for subsequent frames based on the average distribution result may include: allocating the average distribution result to the preceding blanking according to a first weight and allocating the average distribution result to the following blanking according to a second weight.

[0106] In this embodiment, the first weight is the ratio of the front blanking to the blanking in the fixed direction; the second weight is the ratio of the back blanking to the blanking in the fixed direction. For example, taking the horizontal direction as the fixed direction, the first weight w1 = HFP / (HFP+HBP), and the second weight w2 = HBP / (HFP+HBP). The same applies to the vertical direction.

[0107] Distributing the required hidden surface removal adjustment (equal distribution) according to the first and second weights can make the adjustment of hidden surface removal more uniform, which is convenient for subsequent adjustments and reduces the possibility of not being able to adjust a certain hidden surface removal in the future.

[0108] Please refer to Figure 7, which is a schematic diagram of intra-frame adjustment and inter-frame adjustment provided in an embodiment of this application. Frame0, Frame1, and Frame2 represent display timing standard streams for different frames, CFG represents a configured fixed display timing standard stream, and Real represents the display timing standard stream adjusted by the method provided in this embodiment.

[0109] Under normal circumstances, the total length of the input display timing standard stream and the output display timing standard stream is the same. However, if the output display timing standard stream remains unchanged after the input display timing standard stream becomes longer or shorter, and the initial output display timing standard stream is still used, the output time of a pixel may differ from the input time of the pixel, resulting in a region of triangular length. In the embodiments of this application, after intra-frame adjustment of blanking, the length of the output display timing standard stream can be consistent with that of the input display timing standard stream, as shown in Input Frame1 and Output Frame1 Real. At the same time, corresponding inter-frame adjustments are made to the output display timing standard stream of subsequent frames to ensure that the length of the output display timing standard stream of subsequent frames is consistent with that of the input display timing standard stream.

[0110] By adjusting the blanking of the display timing standard stream in a fixed direction for each subsequent frame, the display timing standard stream in each subsequent frame can control the pixel output according to the adjusted display timing standard stream of the current frame, thus achieving inter-frame control. This eliminates the need to calculate and adjust the display timing standard stream of each subsequent frame one by one according to the method provided in the aforementioned embodiment, reducing the adjustment frequency, improving the stability of pixel output, and thereby improving the quality of image output and display.

[0111] Based on the same inventive concept, this application also provides a display control circuit based on input-output matching. Please refer to Figure 8, which is a schematic diagram of a display control circuit based on input-output matching provided in an embodiment of this application. The display control circuit based on input-output matching includes: an input-output circuit 810 and a matching circuit 820.

[0112] The input / output circuit 810 is used to provide an input display timing standard stream and an output display timing standard stream.

[0113] Matching circuit 820, connected to input / output circuit 810, is used to implement the input / output matching-based display method as provided in any of the foregoing embodiments based on the input display timing standard stream and output display timing standard stream provided by the input / output circuit.

[0114] In one embodiment, the matching circuit 820 is used to acquire the input display timing standard stream and the output display timing standard stream, and determine whether the input display timing standard stream and the output display timing standard stream match; if the input display timing standard stream and the output display timing standard stream do not match, the blanking of the output display timing standard stream is adjusted so that the time of the pixel output controlled by the output display timing standard stream matches the time of the pixel input controlled by the input display timing standard stream; wherein, the blanking includes at least one of vertical forward blanking, vertical backward blanking, horizontal forward blanking, and horizontal backward blanking.

[0115] In one embodiment, the input / output circuit 810 includes an input display timing standard stream buffer 811, a scaling circuit 812, an output display timing standard stream buffer 813, and an output timing standard stream output circuit 814 connected in sequence. The input display timing standard stream buffer 811 is used to store the input timing standard stream buffer, the scaling circuit 812 is used to scale the timing standard stream buffer, the output display timing standard stream buffer 813 is used to store the output timing standard stream buffer, and the output timing standard stream output circuit 814 is used to output the output timing standard stream buffer stored in the output display timing standard stream buffer 813.

[0116] The matching circuit 820 is connected to the output display timing standard stream buffer 813 and the output timing standard stream output circuit 814 respectively. The display control circuit 820 can obtain the output display timing standard stream stored in the output display timing standard stream buffer 813 and adjust it. After adjustment, it is output through the output timing standard stream output circuit 814.

[0117] The output display timing standard stream is obtained by scaling the input display timing standard stream by a preset image scaling factor, and the scaling remarks configured in the scaling circuit 812 are the preset image scaling factor. The matching circuit 820 is further configured to determine a first total number of cycles of the input display timing standard stream based on its vertical and horizontal parameters; determine a second total number of cycles based on the image scaling factor, the vertical and horizontal parameters of the output display timing standard stream; calculate the cycle interval between the input display timing standard stream and the output display timing standard stream based on the first and second total number of cycles; and determine whether the input display timing standard stream and the output display timing standard stream match based on the cycle interval and a preset threshold. If the cycle interval is greater than the preset threshold, it is determined that the input display timing standard stream and the output display timing standard stream do not match.

[0118] In one embodiment, pixels obtained from image scaling are temporarily stored in a buffer (or image line buffer) before being output. The buffer includes a pre-configured watermark. When the number of rows of pixels temporarily stored in the buffer reaches the watermark, the buffer outputs the temporarily stored pixel rows and ends the output of the vertical direction blanking of the display timing standard stream. Matching circuit 820 is also used to connect to the buffer storing the pixels. Matching circuit 820 is used to obtain the image scaling factor; and adjust the watermark based on the image scaling factor to adjust the vertical direction blanking.

[0119] In one embodiment, the image scaling factor includes a vertical image scaling factor in the vertical direction. The matching circuit 820 can also be used to: if the vertical image scaling factor is a reduction of X times, then adjust the waterline to a first preset value; X is a positive integer; if the vertical image scaling factor is a magnification of X times, then adjust the waterline to M; wherein, when X is less than or equal to a second preset value, M is equal to X, and when X is greater than the second preset value, M is equal to the second preset value; the first preset value is less than the second preset value.

[0120] In one embodiment, blanking includes horizontal forward blanking and horizontal backward blanking; the matching circuit 820 can also be used to: acquire a target data amount, the target data amount being the amount of pixel data stored in the buffer under the control of the input display timing standard stream; calculate a target difference between the target data amount and a preset data amount; the preset data amount representing the amount of pixel data output by the buffer under the control of the output display timing standard stream; adjust at least one of the horizontal forward blanking and the horizontal backward blanking based on the target difference, so that the required duration of the output display timing standard stream outputting the target data amount by the buffer matches the required duration of the output display timing standard stream outputting the preset data amount.

[0121] In one embodiment, the matching circuit 820 can be specifically used to: if the target difference indicates that the target data amount is greater than the preset data amount, then proportionally reduce at least one of the horizontal forward blanking and the horizontal backward blanking according to the ratio of the target difference to the preset data amount; if the target difference indicates that the target data amount is less than the preset data amount, then proportionally increase at least one of the horizontal forward blanking and the horizontal backward blanking according to the ratio of the target difference to the preset data amount.

[0122] In one embodiment, the blanking includes a vertical forward blanking matching circuit 820, which can be used to adjust the end time of the vertical forward blanking to be consistent with a preset duration after the end of the input display timing standard stream, wherein the preset duration after the end of the input display timing standard stream represents the preset end time of the output display timing standard stream.

[0123] In one embodiment, the matching circuit 820 can be used to: immediately end the vertical forward blanking if the output display timing standard stream has not ended vertically before the preset duration ends after the input display timing standard stream ends, or end the vertical forward blanking after the current row output display timing standard stream is output; if the vertical forward blanking of the output display timing standard stream ends after the input display timing standard stream ends but before the preset duration after the input display timing standard stream ends, then extend the vertical forward blanking to the time corresponding to the preset duration after the input display timing standard stream ends.

[0124] In one embodiment, the matching circuit 820 can also be used to obtain the period interval; calculate the total duration of the output display timing standard stream in a preset non-fixed direction based on the adjusted blanking; the non-fixed direction is either the horizontal direction or the vertical direction; divide the period interval equally based on the total duration in the non-fixed direction to obtain an equalization result; adjust the blanking of the output display timing standard stream in a fixed direction for each subsequent frame based on the equalization result; the fixed direction is either the horizontal direction or the vertical direction other than the non-fixed direction.

[0125] In one embodiment, the fixed-direction blanking includes pre-blanking and post-blanking. The matching circuit 820 is specifically used to allocate the equalization result to the pre-blanking according to a first weight and to allocate the equalization result to the post-blanking according to a second weight. The first weight is the ratio of the pre-blanking to the fixed-direction blanking; the second weight is the ratio of the post-blanking to the fixed-direction blanking.

[0126] Based on the same inventive concept, embodiments of this application also provide a display device, which includes a display panel and a display control unit.

[0127] In embodiments of this application, the display control unit includes the aforementioned input-output matching-based display control circuit to control the display of images on the display panel based on the input display timing standard stream and output display timing standard stream provided by the input-output matching-based display control circuit.

[0128] Based on the same inventive concept, embodiments of this application also provide a readable storage medium storing a program thereon, which, when executed by one or more processors, causes the processors to perform the methods provided in the above embodiments.

[0129] The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that integrates one or more available media. The available medium can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs (digital video discs)), or semiconductor media (e.g., SSDs (solid state disks)).

[0130] If the large language data management method is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, external hard drives, ROM, RAM, magnetic disks, or optical disks.

[0131] The technical features of the above embodiments can be freely combined without conflict, and the resulting embodiments are covered within the protection scope of this application.

[0132] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0133] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A display method based on input-output matching, characterized by, include: Acquire the input display timing standard stream and the output display timing standard stream; Determine whether the input display timing standard stream and the output display timing standard stream match; If the input display timing standard stream and the output display timing standard stream do not match, the blanking of the output display timing standard stream is adjusted so that the output display timing standard stream controls the timing of the pixel output to match the timing of the input display timing standard stream controls the timing of the pixel input.

2. The display method based on input-output matching according to claim 1, characterized in that, The output display timing standard stream is obtained by scaling the input display timing standard stream by a preset image scaling factor; The step of determining whether the input display timing standard stream and the output display timing standard stream match includes: The first total number of cycles of the input display timing standard stream is determined based on the vertical and horizontal parameters of the input display timing standard stream; The second total number of cycles is determined based on the image scaling factor, the vertical parameters and the horizontal parameters of the output display timing standard stream; Calculate the period interval between the input display timing standard stream and the output display timing standard stream based on the first total number of cycles and the second total number of cycles; The system determines whether the input display timing standard stream and the output display timing standard stream match based on the period interval and a preset threshold. If the period interval exceeds the preset threshold, the system determines that the input display timing standard stream and the output display timing standard stream do not match. If the period interval does not exceed the preset threshold, the system determines that the input display timing standard stream and the output display timing standard stream match.

3. The display method based on input-output matching according to claim 2, characterized by, The blanking includes vertical blanking; The pixels obtained by scaling the image are temporarily stored in a buffer before being output; The buffer includes a pre-configured waterline. When the number of rows of pixels temporarily stored in the buffer reaches the waterline, the buffer outputs the temporarily stored pixel rows and ends the output display timing standard stream vertical direction blanking. Adjusting the blanking of the output display timing standard stream includes: Obtain the image scaling factor; The waterline is adjusted based on the image scaling factor to adjust the vertical direction and then disappear.

4. The display method based on input-output matching according to claim 3, characterized by, The image scaling factor includes the vertical image scaling factor in the vertical direction; The step of adjusting the waterline based on the image scaling factor includes: If the vertical image scaling factor is a reduction of X times, then the waterline is adjusted to a first preset value; where X is a positive integer. If the vertical image scaling factor is X times, then the waterline is adjusted to M; wherein, when X is less than or equal to a second preset value, M is equal to X, and when X is greater than the second preset value, M is equal to the second preset value; the first preset value is less than the second preset value.

5. The display method based on input-output matching according to claim 2, characterized by, The blanking includes horizontal forward blanking and horizontal backward blanking; Adjusting the blanking of the output display timing standard stream includes: The target data volume is obtained, which is the amount of pixel data stored in the buffer under the control of the input display timing standard stream; the pixels are temporarily stored in the buffer before being output. Calculate the target difference between the target data volume and the preset data volume; the preset data volume represents the amount of data of the pixels output by the buffer under the control of the output display timing standard stream; Based on the target difference, adjust at least one of the horizontal forward blanking and the horizontal backward blanking so that the required duration of the output display timing standard stream of the target data quantity output by the buffer matches the required duration of the output display timing standard stream of the preset data quantity.

6. The display method based on input-output matching according to claim 5, wherein, The adjustment of at least one of the horizontal forward culling and the horizontal backward culling based on the target difference includes: If the target difference indicates that the target data volume is greater than the preset data volume, then at least one of the horizontal forward culling and the horizontal backward culling is reduced proportionally according to the ratio of the target difference to the preset data volume. If the target difference indicates that the target data volume is less than the preset data volume, then at least one of the horizontal forward culling and the horizontal backward culling is increased proportionally according to the ratio of the target difference to the preset data volume.

7. The display method based on input-output matching according to claim 2, wherein The blanking includes vertical forward blanking, and the adjustment of the blanking of the output display timing standard stream includes: The end time of the vertical forward blanking is adjusted to be consistent with the preset duration after the end of the input display timing standard stream, where the preset duration after the end of the input display timing standard stream represents the preset end time of the output display timing standard stream.

8. The display method based on input-output matching according to claim 7, characterized by, Adjusting the end time of the vertical forward blanking to be consistent with the preset duration after the end of the input display timing standard stream includes: If the vertical forward blanking has not ended after the preset duration of the input display timing standard stream, then: the vertical forward blanking ends immediately, or the vertical forward blanking ends after the current row of output display timing standard stream has finished outputting; If the vertical forward blanking of the output display timing standard stream ends after the input display timing standard stream ends and before the preset duration after the input display timing standard stream ends, then the vertical forward blanking will be extended to the time corresponding to the preset duration after the input display timing standard stream ends.

9. The display method based on input-output matching according to claim 2, wherein, After adjusting the blanking of the output display timing standard stream, the method further includes: Obtain the period interval; The total duration of the output display timing standard stream in a preset non-fixed direction is calculated based on the adjusted blanking; the non-fixed direction is either horizontal or vertical. The period interval is divided equally based on the total duration in the non-fixed direction to obtain the equalization result; Based on the average distribution result, the blanking of the display timing standard stream in each subsequent frame is adjusted in a fixed direction; the fixed direction is the other one between the horizontal direction and the vertical direction, excluding the non-fixed direction.

10. The display method based on input-output matching according to claim 9, wherein, The fixed-direction blanking includes front blanking and back blanking. The adjustment of the blanking in the fixed direction of the output display timing standard stream for subsequent frames based on the equalization result includes: The average distribution result is allocated to the front annihilation according to the first weight and the average distribution result is allocated to the back annihilation according to the second weight; The first weight is the ratio of the front blanking to the blanking in the fixed direction; the second weight is the ratio of the back blanking to the blanking in the fixed direction.

11. A display control circuit based on input-output matching, characterized by, include: Input / output circuits; A matching circuit is connected to the input / output circuit. The matching circuit is used to implement the input-output matching-based display method as described in any one of claims 1-10, based on the input display timing standard stream and the output display timing standard stream provided by the input-output circuit.

12. A display device, characterized by comprising: include: Display panel; The display control unit includes the input-output matching-based display control circuit as described in claim 11, wherein the display control unit is used to control the display of an image on the display panel based on the input display timing standard stream and the output display timing standard stream provided by the input-output matching-based display control circuit.

13. A readable storage medium, characterized in that, The readable storage medium stores a program that, when run on a processor, causes the processor to perform the input-output matching-based display method as described in any one of claims 1-10.