CN117593985A - Data processing method, system, display controller, display and display driver - Google Patents

Data processing method, system, display controller, display and display driver Download PDF

Info

Publication number
CN117593985A
CN117593985A CN202311605588.9A CN202311605588A CN117593985A CN 117593985 A CN117593985 A CN 117593985A CN 202311605588 A CN202311605588 A CN 202311605588A CN 117593985 A CN117593985 A CN 117593985A
Authority
CN
China
Prior art keywords
display
line
line image
image
display driver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311605588.9A
Other languages
Chinese (zh)
Inventor
谢文龙
秦元河
马晖
杨春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hainan Qiantang Shilian Information Technology Co ltd
Original Assignee
Hainan Qiantang Shilian Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hainan Qiantang Shilian Information Technology Co ltd filed Critical Hainan Qiantang Shilian Information Technology Co ltd
Priority to CN202311605588.9A priority Critical patent/CN117593985A/en
Publication of CN117593985A publication Critical patent/CN117593985A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2007Display of intermediate tones
    • G09G3/2018Display of intermediate tones by time modulation using two or more time intervals
    • G09G3/2022Display of intermediate tones by time modulation using two or more time intervals using sub-frames
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2007Display of intermediate tones
    • G09G3/2074Display of intermediate tones using sub-pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/393Arrangements for updating the contents of the bit-mapped memory
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2310/00Command of the display device
    • G09G2310/02Addressing, scanning or driving the display screen or processing steps related thereto
    • G09G2310/0264Details of driving circuits
    • G09G2310/0267Details of drivers for scan electrodes, other than drivers for liquid crystal, plasma or OLED displays

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention provides an image data processing method, an image data processing device, electronic equipment and a readable storage medium, and relates to the technical field of image data processing, wherein in the method provided by the invention, a display controller extracts one or more lines of pixel data from cached image frame data according to the resolution of the image frame data, converts the line or more lines of pixel data into a line image signal and stores the line image signal in a line cache area of a display driver; the display driver draws a corresponding line image based on the line image signal; after the line image is drawn, the display controller detects the current scanning state of the display; in the case where it is determined that the display has completed scanning of the previous line image, the display drive transmits the drawn line image to the display. Therefore, the display driver sends a new line image after determining that the display has completed scanning of the last line image, and the situation that the drawing speed of the display driver is higher than the refresh speed of the display and the picture replacement speed of the display driver is faster than the display so as to cause continuous tearing of the picture can be avoided.

Description

Data processing method, system, display controller, display and display driver
Technical Field
The present invention relates to the field of image data processing technologies, and in particular, to a data processing method, a data processing system, a display controller, a display, and a display driver.
Background
In the processing process of image data, an image frame is firstly placed in a frame buffer by a display driver, after one frame of image is generated, the display driver sends a start signaling to a display controller, the display controller reads data in the frame buffer through an AXI bus, and the data is carried in a DMA mode, so that tearing is avoided, and the requirement of each subsequent module on the data amount is generally buffered for one frame and then processed. After passing through the modules of the display controller, the image frames are finally converted into parallel line field video signals, and the display interface performs interface conversion (eDP, HDMI, LVDS, MIPI) on the video signals and sends the signals to the display.
If the refresh rate of the display and the image rendering rate of the display driver are matched in the ideal case, the frame swapping is performed just when the display driver generates a new image and the display scans for the last frame of image. However, in a scenario where the image drawing speed of the display drive and the refresh speed of the display do not match (either too fast or too slow), screen tearing may occur. Specifically, the frame rate of the display drive is higher than the refresh rate of the display, the display drive picture replacement speed is faster than the display, and the picture is continuously torn. The frame rate of the display drive is lower than the refresh rate of the display, the picture replacement speed is slower than that of the display, the display needs to repeatedly display the previous frame, and the display is replaced until half of the display is replaced, so that picture tearing occurs.
As can be seen, a new data processing method is needed.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are directed to a data processing method, system, display controller, display and display driver that overcome or at least partially solve the foregoing problems.
To solve the above problems, in a first aspect, an embodiment of the present invention discloses an image data processing method, including:
the display controller extracts one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converts the line or more lines of pixel data into line image signals and stores the line image signals in a line cache area of the display driver;
the display driver draws a corresponding line image based on the line image signal;
after the line image is drawn, the display controller detects the current scanning state of the display;
the display driver sends the rendered row image to the display with the display currently in a row-synchronized state that characterizes the display as having completed scanning of the previous row image.
Optionally, the method further comprises:
after the display scans and finishes a line image, the display controller detects whether the display driver draws and finishes a new line image;
in the case that the display driver does not draw a new line image, the display controller extends the line synchronization state of the display;
and when the display drive draws a new line image, ending the line synchronization state of the display, and receiving the line image from the front buffer area by the display and scanning and displaying.
In order to solve the above problem, in a second aspect, an embodiment of the present invention further discloses a data processing method, applied to a display controller, where the method includes:
extracting one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converting the line or more lines of pixel data into line image signals, and storing the line image signals in a line cache area of a display driver;
determining whether the display driver draws a completed line image based on the line image signal;
detecting the current scanning state of the display under the condition that the display drive draws the line image;
and controlling the display driver to send the drawn line image to the display under the condition that the display is currently in a line synchronous state, wherein the line synchronous state represents that the display finishes scanning of the previous line image.
Optionally, the method comprises:
after the display scans and completes a line image, detecting whether the display driver draws and completes a new line image;
in the case where the display driver does not draw a complete new line image, the line synchronization state of the display is extended until the display receives a new line image from the display driver.
In order to solve the above problem, in a third aspect, an embodiment of the present invention further discloses a data processing method, which is applied to a display, and the method includes:
extending the line synchronization state based on an extended control instruction of the display controller;
under the condition that the line image from the front buffer area of the display driver is received, ending the synchronous state, and scanning and displaying the received line image;
the extension control instruction of the display controller is sent after the display controller detects that the display driver does not draw a new line image.
In order to solve the above problem, in a fourth aspect, an embodiment of the present invention further discloses a data processing method, applied to display driving, where the method includes:
receiving a row image signal, and drawing a corresponding row image based on the row image signal;
after the line image is drawn, based on a sending instruction sent by the display controller, sending the drawn line image to the display, wherein the sending instruction is sent by the display controller under the condition that the display is detected to be in a line synchronization state, and the line synchronization state characterizes that the display finishes scanning of the previous line image.
In order to solve the above problems, in a fifth aspect, an embodiment of the present invention further discloses a data processing system, where the data processing system includes a display controller, a display driver, and a display;
the display controller extracts one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converts the line or more lines of pixel data into line image signals and stores the line image signals in a line cache area of a display driver;
the display driver draws a corresponding line image based on the line image signal;
after the display draws the line image, the display controller detects the current scanning state of the display:
the display driver sends the rendered row image to the display with the display currently in a row-synchronized state that characterizes the display as having completed scanning of the previous row image.
In order to solve the above-mentioned problem, a sixth aspect of the present invention further discloses a display controller configured to implement the steps of: extracting one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converting the line or more lines of pixel data into line image signals, and storing the line image signals in a line cache area of a display driver;
determining whether the display driver draws a completed line image based on the line image signal;
detecting the current scanning state of the display under the condition that the display drive draws the line image;
and controlling the display driver to send the drawn line image to the display under the condition that the display is currently in a line synchronous state, wherein the line synchronous state represents that the display finishes scanning of the previous line image.
In order to solve the above-mentioned problem, in a seventh aspect, an embodiment of the present invention further discloses a display configured to implement the steps of:
extending the line synchronization state based on an extended control instruction of the display controller;
under the condition that the line image from the front buffer area of the display driver is received, ending the synchronous state, and scanning and displaying the received line image;
the extension control instruction of the display controller is sent after the display controller detects that the display driver does not draw a new line image.
In order to solve the above-mentioned problem, in an eighth aspect, an embodiment of the present invention further discloses a display driver configured to implement the steps of: receiving a row image signal, and drawing a corresponding row image based on the row image signal;
after the line image is drawn, based on a sending instruction sent by the display controller, sending the drawn line image to the display, wherein the sending instruction is sent by the display controller under the condition that the display is detected to be in a line synchronization state, and the line synchronization state characterizes that the display finishes scanning of the previous line image.
In the data processing method provided by the embodiment of the invention, the display controller extracts one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converts the line or more lines of pixel data into a line image signal, and stores the line image signal in a line cache area of a display driver. Therefore, in the embodiment of the present invention, the image frame data may be transmitted by using the line image signal as a unit, and in the subsequent transmission and display process of the line image signal, in order to avoid the tearing phenomenon in the display process, it is further proposed that: the display driver draws a corresponding line image based on the line image signal; after the line image is drawn, the display controller detects the current scanning state of the display; the display driver sends the rendered row image to the display with the display currently in a row-synchronized state that characterizes the display as having completed scanning of the previous row image. Therefore, in the data processing method provided by the embodiment of the invention, the display driver sends the new line image after determining that the display finishes the scanning of the previous line image, so that the drawing speed of the display driver is higher than the refreshing speed of the display, and the picture replacing speed of the display driver is faster than the display, so that the picture is prevented from being continuously torn.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of an image data processing method of the present invention;
FIG. 2 is a flow chart of steps of an embodiment of an image data processing method of the present invention;
FIG. 3 is a flowchart illustrating steps of an embodiment of an image data processing method of the present invention;
fig. 4 is a flowchart illustrating steps of an embodiment of an image data processing method according to the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
First, related terms involved in the embodiments of the present invention will be explained:
direct memory access (DMA, direct Memory Access) is a function provided by some computer bus architectures that enables data to be sent directly from an attached device (e.g., disk drive) to the memory of a computer motherboard.
Line synchronization (HSYNC): line synchronization is to let the gun controller know that a new line of pixels is to be started next.
Referring to fig. 1, which is a flowchart illustrating steps of an embodiment of an image data processing method according to the present invention, the data processing method provided by the embodiment of the present invention may include the following steps:
s101, the display controller extracts one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converts the line or lines of pixel data into line image signals and stores the line image signals in a line cache area of a display driver.
S102, the display driver draws corresponding row images based on the row image signals.
S103, after the line image drawing is completed, the display controller detects the current scanning state of the display.
And S104, under the condition that the display is currently in a line synchronization state, the display driver sends the drawn line image to the display, and the line synchronization state represents that the display finishes scanning of the previous line image.
In the embodiment of the present invention, in step S101, the resolution of the current image frame data may be first determined, and the number of pixels included in one line of pixel data may be determined according to the resolution. For example: the resolution of the current image frame is 1080p, it may be determined that one frame of image frame data includes 1080 lines of pixel data, and one line of pixel data includes 1920 pixels.
In the embodiment of the invention, after the pixel data amount in the cached image frame data reaches one line of pixel data, one line of pixel data can be extracted and converted into a line image signal.
In the embodiment of the present invention, after the amount of pixel data in the buffered image frame data reaches the amount of pixel data included in one frame of image frame data, one or more lines of pixel data may be extracted, and each line of extracted pixel data may be converted into a line image signal. Specifically, one frame of image frame data may be converted into a plurality of line image signals, and for example, 1080p images may be converted into 1080 line image signals.
In the embodiment of the invention, the image frame data may be data obtained from a bus and buffered to a frame buffer.
In the embodiment of the invention, the acquired data frames can be carried into the processing module by DMA in the unit of frames so as to process the image frames.
In the embodiment of the present invention, first, image frame data may be transmitted in units of a line of pixels, specifically: the display controller extracts one or more lines of pixel data from the buffered image frame data according to the resolution of the image frame data, converts the line image data into a line image signal, and stores the line image signal in a line buffer of the display driver.
After the unit degradation processing (processing degradation performed in units of frames becomes processing performed in units of one line of pixels), a tearing phenomenon may still occur, but in this case, tearing of one frame of picture is no longer performed, but tearing of one line of pixels is performed. Specifically, after the line processing is adopted, the frame rate of the display driver is unchanged, the data line number does not change in a unit time, the refresh line number does not change in a unit time, that is, the drawing speed of the display driver does not basically change, and the problem of tearing of the picture may still exist.
In the embodiment of the present invention, for ease of understanding, the subsequent steps are described with respect to drawing and scanning of one line image signal.
In the embodiment of the invention, after the display driver finishes drawing the line image, a signaling can be sent to the display controller to instruct the display controller to send the line image to the display, the display controller can detect the current scanning state of the display, and the drawn line image is sent to the display for scanning display under the condition that the current scanning state of the display controller is determined to be the line synchronous state.
In the embodiment of the invention, after the display finishes scanning and displaying a line image, the display enters a line synchronization state to wait for a new line image, so that in the embodiment of the invention, when the display is in the line synchronization state, the display can be determined to finish scanning the previous line image. When the display is in a line scanning state, determining that the display does not finish scanning of the previous line image, waiting, and when the display finishes scanning of the previous line image, sending a new line image after entering a line synchronization state.
Therefore, in the data processing method provided by the embodiment of the invention, the display driver sends the new line image after determining that the display finishes the scanning of the previous line image, so that the drawing speed of the display driver is higher than the refreshing speed of the display, and the picture replacing speed of the display driver is faster than the display, so that the picture is prevented from being continuously torn.
In the embodiment of the present invention, the step S102 may specifically include:
s1021, drawing a corresponding first line image based on the first line image signal and storing the first line image in the front buffer.
S1022, drawing the corresponding second line image based on the second line image signal, and storing the second line image into the rear buffer.
In this case, the step S104 includes:
and under the condition that the display is currently in a line synchronous state, replacing the first line image in the front buffer area with the second line image in the rear buffer area, and transmitting the second line image in the front buffer area.
In the embodiment of the invention, a double-buffer mechanism can be adopted in the display driver, firstly, based on a first line image signal, a corresponding first line image is drawn and stored in a front buffer area, and the first line image is sent, meanwhile, based on a second line image signal, a corresponding second line image is drawn and stored in a rear buffer area, and when determining that a new line image can be sent, the second line image in the rear buffer area is used for replacing the first line image in the front buffer area, and the second line image in the front buffer area is sent.
In the event that it is determined that the display has not completed the previous line image scan, the replacement of images in the front and rear buffers is paused and the second line image is repeatedly drawn based on the second line image signal. When it is determined that a new line image can be sent, replacing a first line image in a front buffer area with a second line image in the rear buffer area, sending the second line image in the front buffer area, acquiring a new line image signal, drawing a corresponding line image, and storing the new line image in the rear buffer area.
Therefore, in the embodiment of the invention, the display driver adopts a double-buffer mechanism, under the condition that the display is determined to not finish the scanning of the previous line image, the replacement of images in the front buffer and the rear buffer is paused, and the second line image is continuously drawn repeatedly based on the second line image signal, so that the scanning speed of the display is prevented from being lower than the drawing speed of the display driver, and the rear buffer is replaced by a new line image drawn by the newly received line image signal under the condition that the display is not yet sent.
The embodiment of the invention also provides another image data processing method, which further comprises the following steps:
s1, after the display scans and completes one line image, the display controller detects whether the display driver draws and completes a new line image.
S2, when the display drive does not draw a new line image, the display controller prolongs the line synchronization state of the display.
And S3, when the display driving drawing is completed on the new line image, ending the line synchronization state of the display, and receiving the line image from the front buffer area by the display and scanning and displaying.
In the embodiment of the present invention, in order to avoid continuous tearing of the frame caused by the fact that the drawing speed of the display drive is lower than the refresh speed of the display and the replacement speed of the display drive frame is slower than the display, the steps S1 to S3 are also provided.
In the embodiment of the invention, after the display finishes scanning one line image, the display controller can also detect whether the display driver finishes drawing a new line image.
When the display controller determines that the display driver finishes the new line image, the display controller can instruct the display to extend the line synchronization state and wait for the new line image to be sent, and when the display controller determines that the display driver finishes the new line image, the display controller can instruct the display to finish the line synchronization state, receive the new line image and perform scanning display.
Therefore, the method provided by the embodiment of the invention can control the time for sending the drawn new line image by the display drive based on the display controller and control the time length of the line synchronization state of the display, so that the display can realize that the display drive draws one line image, and the display scans and displays the line image, thereby avoiding the tearing phenomenon of the current image no matter whether the drawing speed of the display drive is higher than the refreshing speed of the display, the display drive picture replacing speed is faster than the display, or the drawing speed of the display drive is lower than the refreshing speed of the display, and the display drive picture replacing speed is slower than the display. Therefore, even if the drawing speed of the display drive is unstable, the drawing speed of the display drive is matched with the scanning speed of the display, and the phenomenon of tearing of the line image is avoided.
For example, assuming that after the display driver finishes drawing a first line image, the first line image may be stored in a front buffer and sent, while drawing a second line image, where the drawing speed of the display driver is faster, after the second line image is finished, the display controller detects the state of the display, and determines that the display has not finished scanning the first line image, then the display driver temporarily does not replace the second line image and the first line image, and the display controller may control the line synchronization time of the display to be the shortest time, instruct the display driver to perform front-back buffer replacement after the display finishes line synchronization, send the second line image to the display, and simultaneously, the display driver continues drawing a third line image, where the drawing speed of the display driver is slower, and after the display driver has not finished scanning the second line image, the display controller only prolongs the line synchronization time, waits for the third line image, until the display driver finishes the third line image, and after the display driver finishes the third line image, and immediately sends the display driver to determine that the display has performed the front buffer replacement.
Referring to fig. 2, there is shown a flowchart of steps of an embodiment of an image data processing method according to the present invention, where the method is applied to a display controller, and the method includes:
s201, extracting one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converting the line or lines of pixel data into line image signals, and storing the line image signals in a line cache area of a display driver.
S202, it is determined whether the display drive draws a completed line image based on the line image signal.
S203, detecting the current scanning state of the display under the condition that the display driving draws the line image;
s204, under the condition that the display is currently in a line synchronization state, controlling the display driver to send the drawn line image to the display, wherein the line synchronization state represents that the display finishes scanning of the previous line image.
In the embodiment of the invention, the display controller can realize communication between the drawing state of the display drive and the scanning state of the display, control the drawing speed of the display drive to be suitable for the scanning speed of the display, and avoid the phenomenon of tearing of the row image.
In an alternative embodiment, the method further comprises:
s206, after the display scans and completes one line image, detecting whether the display driver draws and completes a new line image.
S207, in a case where the display drive does not draw a new line image, the line synchronization state of the display is extended until the display receives a new line image from the display drive.
In the embodiment of the invention, the time for transmitting the new line image after drawing is finished based on the display controller and the time for controlling the line synchronization state of the display can be controlled, so that the display can finish drawing one line image no matter whether the drawing speed of the display driver is higher than the refresh speed of the display, the replacement speed of the display driving picture is higher than the display, or the drawing speed of the display driver is lower than the refresh speed of the display and the replacement speed of the display driving picture is slower than the display, and the display can scan and display the line image to avoid the tearing phenomenon of the current image. Therefore, even if the drawing speed of the display drive is unstable, the drawing speed of the display drive is matched with the scanning speed of the display, and the phenomenon of tearing of the line image is avoided.
Referring to fig. 3, a flowchart illustrating steps of an embodiment of an image data processing method according to the present invention is shown, where the method is applied to a display, and the method includes:
s301, based on the extension control instruction of the display controller, the line synchronization state is extended.
S302, when a line image is received from the front buffer of the display driver, the synchronization state is ended, and the received line image is scanned and displayed.
And S303, the extension control instruction of the display controller is sent after the display controller detects that the display drive does not draw a new line image.
In the embodiment of the invention, the display can determine the extension line synchronization time based on the instruction of the display controller, maintain the line synchronization state until receiving a new line image from the front buffer area of the display driver, compress the line synchronization time to the shortest based on the instruction of the display controller, and timely receive the new line image which is determined to be drawn.
In the embodiment of the invention, the line synchronization time length of the display can be adjusted so as to adapt to the drawing speed of the display drive, the line synchronization time length is prolonged under the condition of slower drawing speed of the display drive, the picture is prevented from being torn, the line synchronization time length is compressed to the shortest under the condition of faster drawing speed of the display drive, the scanning speed is improved, the overall display speed is improved, and the user experience is further optimized.
Referring to fig. 4, there is shown a flowchart of steps of an embodiment of an image data processing method according to the present invention, where the method is applied to a display driver, and the method includes:
s401, receiving a row image signal, and drawing a corresponding row image based on the row image signal.
And S402, after the line image is drawn, transmitting the drawn line image to the display based on a transmitting instruction transmitted by the display controller, wherein the transmitting instruction is transmitted by the display controller under the condition that the display is detected to be in a line synchronization state, and the line synchronization state represents that the display has completed scanning of the previous line image.
In the embodiment of the invention, after the display driver finishes drawing the line image, the state of the display is determined based on the display controller, whether the display finishes scanning the previous line image is determined, and under the condition that the display does not finish scanning the previous line image, a new line image is not sent temporarily, and the next line image is not drawn, so that the drawing speed of the display is adapted to the scanning speed of the display, and the picture tearing of the line image is avoided.
Based on the same inventive concept, the embodiment of the invention also provides a data processing system, which comprises a display controller, a display driver and a display;
the display controller extracts one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converts the line or more lines of pixel data into line image signals and stores the line image signals in a line cache area of a display driver;
the display driver draws a corresponding line image based on the line image signal;
after the display draws the line image, the display controller detects the current scanning state of the display:
the display driver sends the rendered row image to the display with the display currently in a row-synchronized state that characterizes the display as having completed scanning of the previous row image.
Based on the same inventive concept, a display controller is also provided in an embodiment of the present invention, the display controller being configured to implement the steps of: extracting one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converting the line or more lines of pixel data into line image signals, and storing the line image signals in a line cache area of a display driver;
determining whether the display driver draws a completed line image based on the line image signal;
detecting the current scanning state of the display under the condition that the display drive draws the line image;
and controlling the display driver to send the drawn line image to the display under the condition that the display is currently in a line synchronous state, wherein the line synchronous state represents that the display finishes scanning of the previous line image.
Based on the same inventive concept, a display is also provided in an embodiment of the present invention, the display being configured to implement the steps of:
extending the line synchronization state based on an extended control instruction of the display controller;
under the condition that the line image from the front buffer area of the display driver is received, ending the synchronous state, and scanning and displaying the received line image;
the extension control instruction of the display controller is sent after the display controller detects that the display driver does not draw a new line image.
Based on the same inventive concept, a display driver is also presented in an embodiment of the present invention, the display driver being configured to implement the steps of: receiving a row image signal, and drawing a corresponding row image based on the row image signal;
after the line image is drawn, based on a sending instruction sent by the display controller, sending the drawn line image to the display, wherein the sending instruction is sent by the display controller under the condition that the display is detected to be in a line synchronization state, and the line synchronization state characterizes that the display finishes scanning of the previous line image.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable image data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable image data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable image data processing terminal apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable image data processing terminal device to cause a series of operational steps to be performed on the computer or other programmable terminal device to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal device provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing has described in detail the method, apparatus, electronic device and readable storage medium for processing image data, and specific examples have been applied to illustrate the principles and embodiments of the present invention, and the above examples are only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A method of data processing, the method comprising:
the display controller extracts one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converts the line or more lines of pixel data into line image signals and stores the line image signals in a line cache area of the display driver;
the display driver draws a corresponding line image based on the line image signal;
after the line image is drawn, the display controller detects the current scanning state of the display;
the display driver sends the rendered row image to the display with the display currently in a row-synchronized state that characterizes the display as having completed scanning of the previous row image.
2. The data processing method of claim 1, wherein the method further comprises:
after the display scans and finishes a line image, the display controller detects whether the display driver draws and finishes a new line image;
in the case that the display driver does not draw a new line image, the display controller extends the line synchronization state of the display;
and when the display drive draws a new line image, ending the line synchronization state of the display, and receiving the line image from the front buffer area by the display and scanning and displaying.
3. A data processing method for use with a display controller, the method comprising:
extracting one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converting the line or more lines of pixel data into line image signals, and storing the line image signals in a line cache area of a display driver;
determining whether the display driver draws a completed line image based on the line image signal;
detecting the current scanning state of the display under the condition that the display drive draws the line image;
and controlling the display driver to send the drawn line image to the display under the condition that the display is currently in a line synchronous state, wherein the line synchronous state represents that the display finishes scanning of the previous line image.
4. A data processing method according to claim 1, characterized in that the method comprises:
after the display scans and completes a line image, detecting whether the display driver draws and completes a new line image;
in the case where the display driver does not draw a complete new line image, the line synchronization state of the display is extended until the display receives a new line image from the display driver.
5. A data processing method for application to a display, the method comprising:
extending the line synchronization state based on an extended control instruction of the display controller;
under the condition that the line image from the front buffer area of the display driver is received, ending the synchronous state, and scanning and displaying the received line image;
the extension control instruction of the display controller is sent after the display controller detects that the display driver does not draw a new line image.
6. A data processing method for use in a display driver, the method comprising:
receiving a row image signal, and drawing a corresponding row image based on the row image signal;
after the line image is drawn, based on a sending instruction sent by the display controller, sending the drawn line image to the display, wherein the sending instruction is sent by the display controller under the condition that the display is detected to be in a line synchronization state, and the line synchronization state characterizes that the display finishes scanning of the previous line image.
7. A data processing system, wherein the data processing system comprises a display controller, a display driver and a display;
the display controller extracts one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converts the line or more lines of pixel data into line image signals and stores the line image signals in a line cache area of a display driver;
the display driver draws a corresponding line image based on the line image signal;
after the display draws the line image, the display controller detects the current scanning state of the display:
the display driver sends the rendered row image to the display with the display currently in a row-synchronized state that characterizes the display as having completed scanning of the previous row image.
8. A display controller, wherein the display controller is configured to implement the steps of: extracting one or more lines of pixel data from the cached image frame data according to the resolution of the image frame data, converting the line or more lines of pixel data into line image signals, and storing the line image signals in a line cache area of a display driver;
determining whether the display driver draws a completed line image based on the line image signal;
detecting the current scanning state of the display under the condition that the display drive draws the line image;
and controlling the display driver to send the drawn line image to the display under the condition that the display is currently in a line synchronous state, wherein the line synchronous state represents that the display finishes scanning of the previous line image.
9. A display, wherein the display is configured to implement the steps of:
extending the line synchronization state based on an extended control instruction of the display controller;
under the condition that the line image from the front buffer area of the display driver is received, ending the synchronous state, and scanning and displaying the received line image;
the extension control instruction of the display controller is sent after the display controller detects that the display driver does not draw a new line image.
10. A display driver, wherein the display driver is configured to implement the steps of: receiving a row image signal, and drawing a corresponding row image based on the row image signal;
after the line image is drawn, based on a sending instruction sent by the display controller, sending the drawn line image to the display, wherein the sending instruction is sent by the display controller under the condition that the display is detected to be in a line synchronization state, and the line synchronization state characterizes that the display finishes scanning of the previous line image.
CN202311605588.9A 2023-11-28 2023-11-28 Data processing method, system, display controller, display and display driver Pending CN117593985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311605588.9A CN117593985A (en) 2023-11-28 2023-11-28 Data processing method, system, display controller, display and display driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311605588.9A CN117593985A (en) 2023-11-28 2023-11-28 Data processing method, system, display controller, display and display driver

Publications (1)

Publication Number Publication Date
CN117593985A true CN117593985A (en) 2024-02-23

Family

ID=89919681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311605588.9A Pending CN117593985A (en) 2023-11-28 2023-11-28 Data processing method, system, display controller, display and display driver

Country Status (1)

Country Link
CN (1) CN117593985A (en)

Similar Documents

Publication Publication Date Title
CN108449566B (en) Video frame rate compensation by adjusting vertical blanking
US20200145607A1 (en) Image processing system, image display method, display device and storage medium
CN103347163A (en) Ultra high definition video image processing and transmitting system and method thereof
US9286851B2 (en) Display panel driving device and driving method for saving electrical energy thereof
US7880713B2 (en) Method of increasing efficiency of video display and related apparatus
US20210280148A1 (en) Dynamic frame rate mechanism for display device
CN111752520A (en) Image display method, image display device, electronic equipment and computer readable storage medium
KR101446808B1 (en) System and method for setting display unit of monitor
CN113327535A (en) Adjusting method and adjusting system for display picture of display panel
US9019249B2 (en) Display panel driving device and driving method thereof for saving electrical energy
US20140111526A1 (en) Terminal device and display apparatus
CN117593985A (en) Data processing method, system, display controller, display and display driver
US8207993B2 (en) Display driver and display driving method for processing gray-level compensation
CN110992862B (en) Method for executing display control on electronic equipment, main processor and display panel
JP2015096920A (en) Image processor and control method of image processing system
US9691355B2 (en) Method of reading data, method of transmitting data and mobile device thereof
US6515672B1 (en) Managing prefetching from a data buffer
US10965841B2 (en) Receiving device, video recording system and method for reducing video latency in video recording system
CN108243293B (en) Image display method and system based on virtual reality equipment
CN117424989A (en) Image data processing method, device, electronic equipment and readable storage medium
US8237694B2 (en) Method and circuit for controlling timings of display devices using a single data enable signal
CN117255164A (en) Data processing method, device, electronic equipment and readable storage medium
CN110753194A (en) Dual-screen different display method, storage medium and electronic equipment
US11605366B2 (en) LCC (low cost controllerless) graphics processing
CN117424990A (en) Data transmission method, device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication