Image display method, display driving chip and image display device

CN121366535BActive Publication Date: 2026-08-11SHENZHEN SITAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

目前,相关技术中往往利用高性能处理器实现图像镜像,然而这种方式会造成较大的功耗,消耗较多的显示驱动芯片资源

Benefits of technology

[0054]本公开提供的图像显示方法中,响应主机发送的镜像指令,利用寄存器将镜像指令对应的第一图像数据按照第一顺序写入帧缓存中,得到第二图像数据;利用扫描模块,按照第二顺序读取帧缓存中的第二图像数据,得到第三图像数据,将读取出的第三图像数据按照第三顺序写入扫描模块中,得到第四图像数据;利用扫描模块,将第四图像数据按照第四顺序加载至显示模组的像素阵列中,驱动显示模组显示对第一图像数据进行镜像后的镜像图像;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121366535B_ABST
    Figure CN121366535B_ABST
Patent Text Reader

Abstract

This disclosure provides an image display method, a display driver chip, and an image display device. The image display method is applied to the display driver chip and includes: responding to a mirroring command sent by a host, using a register to write first image data corresponding to the mirroring command into a frame buffer in a first order to obtain second image data; using a scanning module to read the second image data from the frame buffer in a second order to obtain third image data, and writing the read third image data into the scanning module in a third order to obtain fourth image data; using the scanning module to load the fourth image data into the pixel array of a display module in a fourth order, and driving the display module to display a mirrored image after mirroring the first image data, wherein at least two of the first, second, third, and fourth orders are different orders. This disclosure can display mirrored images and reduces the consumption of display driver chip resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of image display technology, specifically to an image display method, a display driver chip, and an image display device. Background Technology

[0002] With the widespread application of digital imaging, displays often need to show mirrored images after flipping, which requires display driver chips to support image mirroring or flipping. Currently, related technologies often utilize high-performance processors to achieve image mirroring; however, this method results in significant power consumption and consumes considerable display driver chip resources. Summary of the Invention

[0003] The main objective of this disclosure is to provide an image display method, a display driver chip, and an image display device.

[0004] To achieve the above objectives, the first aspect of this disclosure provides an image display method applied to a display driver chip, the display driver chip including registers, a frame buffer, and a scanning module, the image display method comprising:

[0005] In response to the mirroring command sent by the host, the first image data corresponding to the mirroring command is written into the frame buffer in a first order using the register to obtain the second image data;

[0006] Using the scanning module, the second image data in the frame buffer is read in the second order to obtain the third image data. The read third image data is then written into the scanning module in the third order to obtain the fourth image data.

[0007] Using a scanning module, the fourth image data is loaded into the pixel array of the display module in a fourth order, driving the display module to display a mirror image of the first image data. Among the first, second, third, and fourth orders, there are at least two different orders.

[0008] Optionally, the scanning module includes a column sequencer and a row selection line;

[0009] The third image data, read out, is written into the scanning module in a third order to obtain the fourth image data, which includes:

[0010] The read third image data is written into the column sequencer of the scanning module in the third order to obtain the fourth image data.

[0011] Furthermore, using the scanning module, the fourth image data is loaded into the pixel array of the display module in a fourth order, including:

[0012] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is loaded into the pixel array of the display module in the fourth order.

[0013] Optionally, the mirroring command includes a vertical mirroring command and / or a horizontal mirroring command;

[0014] First order, second order, third order, and fourth order, including at least two of the following:

[0015] Arrange the rows from top to bottom, sequentially from the first pixel to the last pixel of each row;

[0016] Arrange the rows from bottom to top, sequentially from the first pixel to the last pixel of each row;

[0017] Arrange the rows in reverse order from the last pixel to the first pixel of each row, from top to bottom.

[0018] Order by row from bottom to top, reverse the order from the last pixel to the first pixel of each row;

[0019] Among them, reading sequentially from the first pixel to the last pixel of each row from top to bottom is called direct reading, writing sequentially from the first pixel to the last pixel of each row from top to bottom is called direct writing, and loading sequentially from the first pixel to the last pixel of each row from top to bottom is called direct loading.

[0020] Optionally, when the mirroring instruction is a vertical mirroring instruction, the first image data corresponding to the vertical mirroring instruction is directly written into the frame buffer using a register to obtain the second image data;

[0021] Using the scanning module, the second image data in the frame buffer is read directly to obtain the third image data. The read third image data is then written directly into the column sequencer of the scanning module to obtain the fourth image data.

[0022] When the row selection enable signal is received, the row selection line in the scanning module is used to load the fourth image data in the column sequencer into the pixel array of the display module row by row from bottom to top, from the first pixel to the last pixel of each row, so as to realize the vertical mirroring of the first image data and drive the display module to display the mirrored image after the vertical mirroring of the first image data. The first image data, the second image data, the third image data and the fourth image data are the same.

[0023] Optionally, when the mirroring instruction is a vertical mirroring instruction, the first image data corresponding to the vertical mirroring instruction is written into the frame buffer line by line from bottom to top, from the first pixel to the last pixel of each line, to obtain the second image data, thereby realizing the vertical mirroring of the first image data.

[0024] Using the scanning module, the second image data in the frame buffer is read directly to obtain the third image data. The read third image data is then written directly into the column sequencer of the scanning module to obtain the fourth image data.

[0025] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module, driving the display module to display the mirror image after the first image data is vertically mirrored. The second, third, and fourth image data are the same as the mirror image.

[0026] Optionally, when the mirroring instruction is a vertical mirroring instruction, the first image data corresponding to the vertical mirroring instruction is directly written into the frame buffer using a register to obtain the second image data;

[0027] Using the scanning module, the second image data in the frame buffer is read sequentially from the first pixel to the last pixel of each row from bottom to top to obtain the third image data. The read third image data is directly written into the column sequencer of the scanning module to obtain the fourth image data. The first image data and the second image data are the same.

[0028] Using the row selection line in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module to achieve a vertical mirroring of the first image data. This drives the display module to display the mirrored image after the first image data has been vertically mirrored. The third image data, the fourth image data, and the mirrored image are the same.

[0029] Optionally, when the mirroring instruction is a horizontal mirroring instruction, the first image data corresponding to the horizontal mirroring instruction is written into the frame buffer in reverse order from the last pixel to the first pixel of each row, using a register, to obtain the second image data, thereby realizing the horizontal mirroring of the first image data;

[0030] Using the scanning module, the second image data in the frame buffer is read directly to obtain the third image data. The read third image data is then written directly into the column sequencer of the scanning module to obtain the fourth image data.

[0031] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module, driving the display module to display the mirror image after horizontally mirroring the first image data. The second, third, and fourth image data are the same as the mirror image.

[0032] Optionally, when the mirroring instruction is a horizontal mirroring instruction, the first image data corresponding to the horizontal mirroring instruction is directly written into the frame buffer using a register to obtain the second image data;

[0033] Using the scanning module, the second image data in the frame buffer is read directly to obtain the third image data. The read third image data is then written directly into the column sequencer of the scanning module to obtain the fourth image data.

[0034] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is loaded into the pixel array of the display module in reverse order from the last pixel to the first pixel of each row, from top to bottom, to achieve a horizontal mirroring of the first image data. This drives the display module to display the mirrored image after the first image data has been horizontally mirrored. The first image data, second image data, third image data, and fourth image data are the same.

[0035] Furthermore, the display driver chip also includes a line cache;

[0036] Specifically, the scanning module directly reads the second image data from the frame buffer to obtain the third image data. The read third image data is then directly written into the column sequencer of the scanning module to obtain the fourth image data, which includes:

[0037] The second image data in the frame buffer is read directly using the line buffer;

[0038] Using the scanning module, the second image data in the row buffer is read directly to obtain the third image data. The read third image data is then written directly into the column sequencer of the scanning module to obtain the fourth image data.

[0039] Optionally, when the mirroring instruction is a horizontal mirroring instruction, the first image data corresponding to the horizontal mirroring instruction is directly written into the frame buffer using a register to obtain the second image data;

[0040] Using the scanning module, the second image data in the frame buffer is directly read to obtain the third image data. The read third image data is written into the column sequencer of the scanning module in reverse order from the last pixel to the first pixel of each row, from top to bottom, to obtain the fourth image data. This achieves a horizontal mirroring of the first image data. The first image data, the second image data, and the third image data are the same.

[0041] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module, driving the display module to display a mirror image after horizontally mirroring the first image data, wherein the fourth image data and the mirror image are the same.

[0042] Optionally, when the mirroring instruction is a horizontal mirroring instruction, the first image data corresponding to the horizontal mirroring instruction is directly written into the frame buffer using a register to obtain the second image data;

[0043] Using the scanning module, the second image data in the frame buffer is read directly to obtain the third image data. The read third image data is then written directly into the column sequencer of the scanning module to obtain the fourth image data.

[0044] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is loaded into the pixel array of the display module in reverse order from the last pixel to the first pixel of each row, from top to bottom, to achieve a horizontal mirroring of the first image data. This drives the display module to display the mirrored image after the first image data has been horizontally mirrored. The first image data, second image data, third image data, and fourth image data are the same.

[0045] A second aspect of this disclosure provides a display driver chip that employs the image display method provided in any one of the first aspects. The display driver chip includes:

[0046] The register is used to receive the mirroring instruction sent by the host, write the first image data corresponding to the mirroring instruction into the frame buffer in a first order to obtain the second image data. The mirroring instruction includes a vertical mirroring instruction and / or a horizontal mirroring instruction.

[0047] A frame buffer, connected to both the registers and the scanning module, is used to store second image data according to mirroring instructions; and

[0048] The scanning module is used to read the second image data in a second order to obtain the third image data, write the read third image data into the column sequencer of the scanning module in a third order to obtain the fourth image data, and use the row selection line in the scanning module to load the fourth image data in the column sequencer into the pixel array of the display module in a fourth order, thereby driving the display module to display the mirror image after mirroring the first image data.

[0049] Optionally, the display driver chip also includes:

[0050] The line buffer is connected to the frame buffer and the scanning module respectively, and is used to directly read the second image data in the frame buffer, wherein the second image data is read by the scanning module.

[0051] A third aspect of this disclosure provides an image display device, including a display driver chip provided in any of the second aspects, and further including a host and a display module respectively connected to the display driver chip;

[0052] The host is used to send first image data and mirroring instructions for the first image data to the display driver chip, wherein the mirroring instructions include vertical mirroring instructions and / or horizontal mirroring instructions;

[0053] The display module is used to display the mirrored image after mirroring the first image data.

[0054] In the image display method provided in this disclosure, in response to a mirroring command sent by the host, the first image data corresponding to the mirroring command is written into the frame buffer in a first order using a register to obtain the second image data; the second image data in the frame buffer is read in a second order using a scanning module to obtain the third image data; the read third image data is written into the scanning module in a third order to obtain the fourth image data; the fourth image data is loaded into the pixel array of the display module in a fourth order using the scanning module, and the display module is driven to display the mirrored image after mirroring the first image data.

[0055] Among them, there are at least two different sequences in the first sequence, second sequence, third sequence and fourth sequence. By performing different reading or writing sequences on the image data in different modules, the image data is mirrored during the reading or writing process of different modules, and finally a mirror image of the first image data is obtained. This reduces the performance requirements of the processor. In the process of implementing image mirroring, a high-performance processor can be eliminated, reducing the consumption of display driver chip resources and solving the problem of consuming a lot of display driver chip resources when implementing image mirroring in related technologies. Attached Figure Description

[0056] To more clearly illustrate the technical solutions in the specific embodiments or related technologies of this disclosure, the accompanying drawings used in the description of the specific embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0057] Figure 1 This is a flowchart illustrating the image display method provided in the first embodiment of this disclosure;

[0058] Figure 2 A flowchart illustrating the image display method provided in the second embodiment of this disclosure;

[0059] Figure 3 A schematic flowchart illustrating the image display method provided in the third embodiment of this disclosure;

[0060] Figure 4 This is a schematic diagram of the structure of the display driver chip provided in the first embodiment of the present disclosure;

[0061] Figure 5 This is a schematic diagram of the structure of the display driver chip provided in the second embodiment of the present disclosure;

[0062] Figure 6 This is a schematic diagram of the structure of an image display device provided in an embodiment of the present disclosure. Detailed Implementation

[0063] To enable those skilled in the art to better understand the present disclosure, the technical solutions of the present disclosure will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present disclosure, and not all embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present disclosure.

[0064] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0065] In this disclosure, the terms "installation," "setup," "equipped with," "connection," "linking," and "socketing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral structure; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium, or an internal connection between two devices, components, or parts. Those skilled in the art can understand the specific meaning of the above terms in this disclosure according to the specific circumstances.

[0066] It should be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other. This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.

[0067] With the widespread application of digital imaging, displays often need to show mirrored images after flipping, which requires display driver chips to support image mirroring or flipping. Currently, related technologies often utilize high-performance processors to achieve image mirroring; however, this method results in significant power consumption and consumes considerable display driver chip resources.

[0068] To address the aforementioned problems, this disclosure provides an image display method applied to a display driver chip. The display driver chip includes registers, a frame buffer, and a scanning module, such as... Figure 1 As shown, the image display method includes:

[0069] Step S11: In response to the mirroring command sent by the host, the first image data corresponding to the mirroring command is written into the frame buffer in the first order using the register to obtain the second image data; the host can be a CPU, GPU, FPGA or SoC, the first image data can be pre-stored in the register of the display driver chip, or it can be sent by the host through the video interface, and the mirroring command and the first image data correspond to each other.

[0070] Step S12: Using the scanning module, read the second image data in the frame buffer in the second order to obtain the third image data, and write the read third image data into the scanning module in the third order to obtain the fourth image data;

[0071] Step S13: Using the scanning module, the fourth image data is loaded into the pixel array of the display module in the fourth order, and the display module is driven to display the mirror image after the first image data is mirrored. Among the first order, second order, third order and fourth order, there are at least two different orders. The first order, second order, third order or fourth order are different read and write orders, and any one of the orders can be different from the other orders to obtain the mirror image of the first image data.

[0072] Combining the steps S11 to S13 above, it can be seen that the first image data is written into the frame buffer in the first order to obtain the second image data, the second image data in the frame buffer is read in the second order to obtain the third image data, the read third image data is written into the scanning module in the third order to obtain the fourth image data, and the fourth image data is loaded into the pixel array of the display module in the fourth order to obtain a mirror image of the first image data, and the display module is driven to display the mirror image to achieve image mirroring;

[0073] Since there are at least two different sequences among the first, second, third and fourth sequences, the image data can be mirrored during the reading or writing process of different modules by performing different reading or writing sequences on different modules, and finally a mirror image of the first image data can be obtained.

[0074] Furthermore, this disclosure reduces the performance requirements of the processor, eliminating the need for a high-performance processor during image mirroring and reducing the consumption of display driver chip resources. This solves the problem of excessive display driver chip resource consumption during image mirroring in related technologies.

[0075] In one optional embodiment of this disclosure, the scanning module includes a column sequencer and a row selection line;

[0076] In step S12, the read third image data is written into the scanning module in a third order to obtain the fourth image data, including:

[0077] The read third image data is written into the column sequencer of the scanning module in the third order to obtain the fourth image data.

[0078] In an optional embodiment of this disclosure, step S13, which involves using a scanning module to load the fourth image data into the pixel array of the display module in a fourth order, includes:

[0079] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is loaded into the pixel array of the display module in the fourth order.

[0080] The read third image data is written into the column sequencer of the scanning module in the third order to obtain the fourth image data. Using the row selection line in the scanning module, the fourth image data in the column sequencer is loaded into the pixel array of the display module in the fourth order to obtain a mirror image of the first image data. The display module is then driven to display the mirror image, thus achieving image mirroring.

[0081] In one optional embodiment of this disclosure, the mirroring instruction includes a vertical mirroring instruction and / or a horizontal mirroring instruction. The mirroring instruction, also known as a flip instruction, mirrors or flips the first image data. It can perform vertical mirroring, horizontal mirroring, vertical mirroring followed by horizontal mirroring, or horizontal mirroring followed by vertical mirroring on the first image data to obtain a mirrored image after mirroring the first image data. When the mirroring instruction includes both vertical and horizontal mirroring instructions, the first image data can be mirrored vertically first and then horizontally, or the first image data can be mirrored horizontally first and then vertically. The mirrored images obtained by the two methods are the same.

[0082] First order, second order, third order, and fourth order, including at least two of the following:

[0083] Arrange the rows from top to bottom, sequentially from the first pixel to the last pixel of each row;

[0084] Arrange the rows from bottom to top, sequentially from the first pixel to the last pixel of each row;

[0085] Arrange the rows in reverse order from the last pixel to the first pixel of each row, from top to bottom.

[0086] Order by row from bottom to top, reverse the order from the last pixel to the first pixel of each row;

[0087] Direct reading refers to reading row by row from top to bottom, sequentially from the first pixel to the last pixel of each row. Direct writing refers to writing row by row from top to bottom, sequentially from the first pixel to the last pixel of each row. Direct loading refers to loading row by row from top to bottom, sequentially from the first pixel to the last pixel of each row. Direct reading, writing, or loading means reading, writing, or loading row by row from top to bottom, sequentially from the first pixel to the last pixel of each row.

[0088] When the mirroring instruction includes both vertical and horizontal mirroring instructions, one of the first, second, third, and fourth sequences can be a reverse order from bottom to top, starting from the last pixel to the first pixel of each row. The other three sequences are a reverse order from top to bottom, starting from the first pixel to the last pixel of each row, thus achieving either a horizontal mirroring followed by a vertical mirroring or a vertical mirroring followed by a horizontal mirroring of the first image data.

[0089] The following explanation uses the vertical mirroring of the first image data as an example to illustrate the technical solution of this disclosure.

[0090] In one optional embodiment of this disclosure, when the mirroring command is a vertical mirroring command, such as Figure 2 As shown, the image display methods include:

[0091] Step S21: Using a register, the first image data corresponding to the vertical mirroring instruction is directly written into the frame buffer to obtain the second image data;

[0092] Step S22: Using the scanning module, directly read the second image data from the frame buffer to obtain the third image data, and write the read third image data directly into the column sequencer of the scanning module to obtain the fourth image data;

[0093] Step S23: When the row selection enable signal is received, the fourth image data in the column sequencer is loaded into the pixel array of the display module in the order of row selection from bottom to top, from the first pixel to the last pixel of each row, using the row selection line in the scanning module. This achieves a vertical mirroring of the first image data and drives the display module to display the mirrored image after the vertical mirroring of the first image data. The first image data, second image data, third image data and fourth image data are the same; the fourth sequence is the order of row selection from bottom to top, from the first pixel to the last pixel of each row.

[0094] Specifically, when the row selection enable signal (row_sel_en) is received, the row selection line of the scanning module is reversed and shifted. That is, the row selection line first selects the last row, and loads the last row of the fourth image data sequentially from the first pixel to the last pixel into the first row of the pixel array. Then, it moves row by row from bottom to top until the first row of the fourth image data is loaded sequentially from the first pixel to the last pixel into the last row of the pixel array, thus obtaining a mirror image after vertically mirroring the first image data. Here, the row selection line indicates that if a certain row is selected, the fourth image data in the column sequencer is loaded into the corresponding row.

[0095] In one optional embodiment of this disclosure, when the mirroring instruction is a vertical mirroring instruction, the first image data corresponding to the vertical mirroring instruction is written into the frame buffer row by row from bottom to top, from the first pixel to the last pixel of each row, using a register to obtain the second image data, thereby realizing the vertical mirroring of the first image data; the first order is row by row from bottom to top, from the first pixel to the last pixel of each row.

[0096] Specifically, the last line of the first image data is written to the position of the first line in the frame buffer, the second-to-last line of the first image data is written to the position of the second line in the frame buffer, and so on in reverse order until the first line of the first image data is written to the position of the last line in the frame buffer, so that the second image data stored in the frame buffer is a vertical mirror image of the first image data.

[0097] Using the scanning module, the second image data in the frame buffer is read directly to obtain the third image data. The read third image data is then written directly into the column sequencer of the scanning module to obtain the fourth image data.

[0098] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module, driving the display module to display the mirror image after the first image data is vertically mirrored. The second, third, and fourth image data are the same as the mirror image.

[0099] In one optional embodiment of this disclosure, when the mirroring instruction is a vertical mirroring instruction, the first image data corresponding to the vertical mirroring instruction is directly written into the frame buffer of the display driver chip using a register to obtain the second image data;

[0100] Using the scanning module, the second image data in the frame buffer is read row by row from bottom to top, sequentially from the first pixel to the last pixel of each row, to obtain the third image data. The read third image data is then directly written into the column sequencer of the scanning module to obtain the fourth image data. The first image data and the second image data are the same. The second order is row by row from bottom to top, sequentially from the first pixel to the last pixel of each row.

[0101] Specifically, in the command mode of the MIPI (Mobile Industry Processor Interface) host, the order in which the second image data is read from the frame buffer is controlled. The last line of the second image data is read first, and then the data is read line by line from bottom to top, from the first pixel to the last pixel of each line, to achieve vertical mirroring. The frame buffer is locked during reading to avoid read-write conflicts. In the video mode of the MIPI host, the frame buffer access clock is increased, and the frame buffer is used mutually exclusively when reading and writing image data.

[0102] Using the row selection line in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module to achieve a vertical mirroring of the first image data. This drives the display module to display the mirrored image after the first image data has been vertically mirrored. The third image data, the fourth image data, and the mirrored image are the same.

[0103] The following explanation uses the example of horizontally mirroring the first image data to illustrate the technical solution of this disclosure.

[0104] In one optional embodiment of this disclosure, when the mirroring instruction is a horizontal mirroring instruction, such as Figure 3 As shown, the image display methods include:

[0105] Step S31: Using a register, write the first image data corresponding to the horizontal mirroring instruction into the frame buffer row by row from top to bottom, in reverse order from the last pixel to the first pixel of each row, to obtain the second image data, thereby realizing the horizontal mirroring of the first image data; the first order is to write the first image data row by row from top to bottom, in reverse order from the last pixel to the first pixel of each row.

[0106] Specifically, when writing the first image data into the frame buffer, it starts from the last pixel of a row and writes in reverse order. The first image data is written to the frame buffer of the display driver chip row by row from top to bottom, from the last pixel to the first pixel of each row. In other words, horizontal mirroring is achieved by controlling the writing process.

[0107] Step S32: Using the scanning module, directly read the second image data in the frame buffer to obtain the third image data, and write the read third image data directly into the column sequencer of the scanning module to obtain the fourth image data;

[0108] Step S33: Using the row selection line in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module, driving the display module to display the mirror image after horizontally mirroring the first image data, wherein the second image data, the third image data, the fourth image data and the mirror image are the same.

[0109] In one optional embodiment of this disclosure, when the mirroring instruction is a horizontal mirroring instruction, the first image data corresponding to the horizontal mirroring instruction is directly written into the frame buffer of the display driver chip using a register to obtain the second image data;

[0110] Using the scanning module, the second image data in the frame buffer is read directly to obtain the third image data. The read third image data is then written directly into the column sequencer of the scanning module to obtain the fourth image data.

[0111] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is loaded into the pixel array of the display module row by row from top to bottom, in reverse order from the last pixel to the first pixel of each row. This achieves a horizontal mirroring of the first image data, driving the display module to display the mirrored image after the horizontal mirroring of the first image data. The first, second, third, and fourth image data are the same; the fourth sequence is in reverse order row by row from top to bottom, from the last pixel to the first pixel of each row.

[0112] Specifically, the position of the fourth image data row is loaded into the pixel array of the display module in reverse order. That is, during the writing process, by controlling the writing address, the data is loaded into the pixel array of the display module row by row from top to bottom, from the last pixel to the first pixel of each row, thereby achieving a horizontal mirror of the first image data.

[0113] In one optional embodiment of this disclosure, the display driver chip further includes a line buffer;

[0114] Specifically, the scanning module directly reads the second image data from the frame buffer to obtain the third image data. The read third image data is then directly written into the column sequencer of the scanning module to obtain the fourth image data, which includes:

[0115] The second image data in the frame buffer is read directly using the line buffer;

[0116] Using the scanning module, the second image data in the row buffer is read directly to obtain the third image data. The read third image data is then written directly into the column sequencer of the scanning module to obtain the fourth image data.

[0117] Specifically, when reading the second image data, a row buffer is added. Each time, one row of the second image data stored in the frame buffer is read into the row buffer. When the data is transferred from the row buffer to the column sequencer of the scanning module, horizontal mirroring is performed. By adding the row buffer, horizontal mirroring can be performed in both command mode and video mode of the MIPI host.

[0118] In one optional embodiment of this disclosure, when the mirroring instruction is a horizontal mirroring instruction, the first image data corresponding to the horizontal mirroring instruction is directly written into the frame buffer using a register to obtain the second image data;

[0119] Using the scanning module, the second image data in the frame buffer is directly read to obtain the third image data. The read third image data is then written into the column sequencer of the scanning module in reverse order, row by row from top to bottom, from the last pixel to the first pixel of each row, to obtain the fourth image data. This achieves a horizontal mirroring of the first image data. The first, second, and third image data are identical; the third order is reversed row by row from top to bottom, from the last pixel to the first pixel of each row.

[0120] Specifically, the pixels in the column sequencer are reversed during reading. That is, the third image data is read out in reverse order from the last pixel to the first pixel of each row and written into the column sequencer of the scanning module to achieve the horizontal mirroring function.

[0121] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module, driving the display module to display a mirror image after horizontally mirroring the first image data, wherein the fourth image data and the mirror image are the same.

[0122] In one optional embodiment of this disclosure, when the mirroring instruction is a horizontal mirroring instruction, the first image data corresponding to the horizontal mirroring instruction is directly written into the frame buffer using a register to obtain the second image data;

[0123] Using the scanning module, the second image data in the frame buffer is read directly to obtain the third image data. The read third image data is then written directly into the column sequencer of the scanning module to obtain the fourth image data.

[0124] Using the row selection lines in the scanning module, the fourth image data in the column sequencer is loaded into the pixel array of the display module row by row from top to bottom, in reverse order from the last pixel to the first pixel of each row. This achieves a horizontal mirroring of the first image data, driving the display module to display the mirrored image after the horizontal mirroring of the first image data. The first, second, third, and fourth image data are the same; the fourth sequence is in reverse order row by row from top to bottom, from the last pixel to the first pixel of each row.

[0125] Specifically, the fourth image data in the column sequencer is read out in reverse order of pixels in each row. The read address and the pixels retrieved from each row of the fourth image data are controlled to control the output order. The pixels are loaded into the pixel array of the display module row by row from top to bottom, starting from the last pixel and ending with the first pixel, thus achieving a horizontal mirroring of the first image data. For example, for a 64-bit wide random access memory, eight pixels are read out at a time, and these eight pixels are loaded into the pixel array of the display module in reverse order from the last pixel to the first pixel, achieving the horizontal mirroring function.

[0126] This disclosure also provides a display driver chip, which employs the methods described above, such as... Figure 4 As shown, the display driver chip includes:

[0127] The register is used to receive the mirroring instruction sent by the host, write the first image data corresponding to the mirroring instruction into the frame buffer in a first order to obtain the second image data. The mirroring instruction includes a vertical mirroring instruction and / or a horizontal mirroring instruction.

[0128] The frame buffer, connected to the register and the scanning module respectively, is used to store the second image data according to the mirroring instructions;

[0129] The scanning module is used to read the second image data in a second order to obtain the third image data, write the read third image data into the column sequencer of the scanning module in a third order to obtain the fourth image data, and use the row selection line in the scanning module to load the fourth image data in the column sequencer into the pixel array of the display module in a fourth order, thereby driving the display module to display the mirror image after mirroring the first image data.

[0130] Based on the above embodiments, in one optional implementation of this disclosure, such as Figure 5 As shown, the display driver chip also includes:

[0131] The line buffer is connected to the frame buffer and the scanning module respectively, and is used to directly read the second image data in the frame buffer, wherein the second image data is read by the scanning module.

[0132] This disclosure also provides an image display device, such as... Figure 6 As shown, the device includes the aforementioned display driver chip, as well as a host and a display module respectively connected to the display driver chip;

[0133] The host is used to send first image data and mirroring instructions for the first image data to the display driver chip, wherein the mirroring instructions include vertical mirroring instructions and / or horizontal mirroring instructions;

[0134] The display module is used to display the mirrored image after mirroring the first image data.

[0135] As can be seen from the above description, this disclosure achieves the following technical effects:

[0136] This disclosure can mirror the image data during the reading or writing process of different modules by performing different reading or writing orders on different modules, and finally obtain a mirror image of the first image data.

[0137] Furthermore, this disclosure reduces the performance requirements of the processor, eliminating the need for a high-performance processor during image mirroring and reducing the consumption of display driver chip resources. This solves the problem of excessive display driver chip resource consumption during image mirroring in related technologies.

[0138] Those skilled in the art to which this disclosure pertains will clearly understand that, for the sake of convenience and brevity, the specific working process of the aforementioned display driver chip and image display device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0139] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0140] Although embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. An image display method, characterized in that, It is applied to a display driver chip, which includes a register, a frame buffer, and a scanning module; The image display method includes: In response to the mirroring command sent by the host, the first image data corresponding to the mirroring command is written into the frame buffer in a first order using the register to obtain the second image data; Using the scanning module, the second image data in the frame buffer is read in the second order to obtain the third image data. The read third image data is then written into the scanning module in the third order to obtain the fourth image data. Using the scanning module, the fourth image data is loaded into the pixel array of the display module in a fourth order, and the display module is driven to display a mirror image after the first image data is mirrored, wherein at least two different orders exist among the first order, the second order, the third order and the fourth order; The first order, the second order, the third order, and the fourth order include at least two of the following: Arrange the rows from top to bottom, sequentially from the first pixel to the last pixel of each row; Arrange the rows from bottom to top, sequentially from the first pixel to the last pixel of each row; Arrange the rows in reverse order from the last pixel to the first pixel of each row, from top to bottom. The order is reversed from the last pixel to the first pixel of each row, starting from the bottom and moving up to the top.

2. The image display method according to claim 1, characterized in that, The scanning module includes a column sequencer and a row selection line; The step of writing the read third image data into the scanning module in a third order to obtain fourth image data includes: The read third image data is written into the column sequencer of the scanning module in a third order to obtain the fourth image data.

3. The image display method according to claim 2, characterized in that, The step of using the scanning module to load the fourth image data into the pixel array of the display module in a fourth order includes: Using the row selection lines in the scanning module, the fourth image data in the column sequencer is loaded into the pixel array of the display module in the fourth order.

4. The image display method according to claim 1, characterized in that, The mirroring command includes a vertical mirroring command and / or a horizontal mirroring command; Among them, reading sequentially from the first pixel to the last pixel of each row from top to bottom is called direct reading, writing sequentially from the first pixel to the last pixel of each row from top to bottom is called direct writing, and loading sequentially from the first pixel to the last pixel of each row from top to bottom is called direct loading.

5. The image display method according to claim 4, characterized in that, When the mirroring instruction is a vertical mirroring instruction, the register is used to directly write the first image data corresponding to the vertical mirroring instruction into the frame buffer to obtain the second image data; Using the scanning module, the second image data in the frame buffer is directly read to obtain the third image data. The read third image data is then directly written into the column sequencer of the scanning module to obtain the fourth image data. When a row selection enable signal is received, the row selection line in the scanning module is used to load the fourth image data in the column sequencer into the pixel array of the display module row by row from bottom to top, from the first pixel to the last pixel of each row, thereby realizing the vertical mirroring of the first image data and driving the display module to display the mirrored image after the vertical mirroring of the first image data. The first image data, the second image data, the third image data and the fourth image data are the same.

6. The image display method according to claim 4, characterized in that, When the mirroring instruction is a vertical mirroring instruction, the register is used to write the first image data corresponding to the vertical mirroring instruction into the frame buffer row by row from bottom to top, from the first pixel to the last pixel of each row, to obtain the second image data, thereby realizing the vertical mirroring of the first image data. Using the scanning module, the second image data in the frame buffer is directly read to obtain the third image data. The read third image data is then directly written into the column sequencer of the scanning module to obtain the fourth image data. Using the row selection lines in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module, driving the display module to display a mirror image after the first image data is vertically mirrored, wherein the second image data, the third image data, the fourth image data and the mirror image are the same.

7. The image display method according to claim 4, characterized in that, When the mirroring instruction is a vertical mirroring instruction, the register is used to directly write the first image data corresponding to the vertical mirroring instruction into the frame buffer to obtain the second image data; Using the scanning module, the second image data in the frame buffer is read sequentially from the first pixel to the last pixel of each row from bottom to top to obtain the third image data. The read third image data is directly written into the column sequencer of the scanning module to obtain the fourth image data. The first image data and the second image data are the same. Using the row selection line in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module to achieve a vertical mirroring of the first image data. The display module is then driven to display the mirrored image after the first image data has been vertically mirrored. The third image data, the fourth image data, and the mirrored image are identical.

8. The image display method according to claim 4, characterized in that, When the mirroring instruction is a horizontal mirroring instruction, the register is used to write the first image data corresponding to the horizontal mirroring instruction into the frame buffer in reverse order from the last pixel to the first pixel of each row, from top to bottom, to obtain the second image data, thereby realizing the horizontal mirroring of the first image data; Using the scanning module, the second image data in the frame buffer is directly read to obtain the third image data. The read third image data is then directly written into the column sequencer of the scanning module to obtain the fourth image data. Using the row selection line in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module, driving the display module to display a mirror image after horizontally mirroring the first image data, wherein the second image data, the third image data, the fourth image data and the mirror image are the same.

9. The image display method according to claim 4, characterized in that, When the mirroring instruction is a horizontal mirroring instruction, the first image data corresponding to the horizontal mirroring instruction is directly written into the frame buffer using the register to obtain the second image data; Using the scanning module, the second image data in the frame buffer is directly read to obtain the third image data. The read third image data is then directly written into the column sequencer of the scanning module to obtain the fourth image data. Using the row selection lines in the scanning module, the fourth image data in the column sequencer is loaded into the pixel array of the display module in reverse order from the last pixel to the first pixel of each row, from top to bottom, thereby achieving a horizontal mirroring of the first image data. The display module is then driven to display the mirrored image after the first image data has been horizontally mirrored. The first image data, second image data, third image data, and fourth image data are the same.

10. The image display method according to claim 9, characterized in that, The display driver chip also includes a line cache; The step of using the scanning module to directly read the second image data from the frame buffer to obtain the third image data, and then directly writing the read third image data into the column sequencer of the scanning module to obtain the fourth image data, includes: The second image data in the frame buffer is read directly using the line buffer; Using the scanning module, the second image data in the row buffer is directly read to obtain the third image data. The read third image data is then directly written into the column sequencer of the scanning module to obtain the fourth image data.

11. The image display method according to claim 4, characterized in that, When the mirroring instruction is a horizontal mirroring instruction, the first image data corresponding to the horizontal mirroring instruction is directly written into the frame buffer using the register to obtain the second image data; Using the scanning module, the second image data in the frame buffer is directly read to obtain the third image data. The read third image data is written into the column sequencer of the scanning module in reverse order from the last pixel to the first pixel of each row, from top to bottom, to obtain the fourth image data, thereby achieving a horizontal mirror of the first image data. The first image data, the second image data, and the third image data are the same. Using the row selection lines in the scanning module, the fourth image data in the column sequencer is directly loaded into the pixel array of the display module, driving the display module to display a mirror image after horizontally mirroring the first image data, wherein the fourth image data and the mirror image are the same.

12. A display driver chip, characterized in that, The image display method according to any one of claims 1 to 11, wherein the display driver chip comprises: A register is used to receive mirroring instructions sent by the host, write the first image data corresponding to the mirroring instructions into the frame buffer in a first order to obtain the second image data, wherein the mirroring instructions include vertical mirroring instructions and / or horizontal mirroring instructions; A frame buffer, connected to the register and the scanning module respectively, is used to store second image data according to the mirroring instruction; and The scanning module is used to read the second image data in a second order to obtain the third image data, write the read third image data into the column sequencer of the scanning module in a third order to obtain the fourth image data, and use the row selection line in the scanning module to load the fourth image data in the column sequencer into the pixel array of the display module in a fourth order, thereby driving the display module to display a mirror image after mirroring the first image data.

13. The display driver chip according to claim 12, characterized in that, The display driver chip also includes: A line buffer, connected to the frame buffer and the scanning module respectively, is used to directly read the second image data in the frame buffer, wherein the second image data is available for reading by the scanning module.

14. An image display device, characterized in that, The display driver chip as described in claim 12 or 13 is further comprising a host and a display module respectively connected to the display driver chip; The host is configured to send first image data and a mirroring instruction for the first image data to the display driver chip, wherein the mirroring instruction includes a vertical mirroring instruction and / or a horizontal mirroring instruction. The display module is used to display a mirrored image of the first image data.

Citation Information

Patent Citations

  • Image data mirroring processing method and device, storage medium and electronic device

    CN113658034A

  • Driving method and circuit of display panel and display device

    CN113823212A