A display preprocessing method and system for driving a display screen via SPI bus
By constructing a display matrix and combining and overlaying the display, the problem of low display efficiency of SPI bus driven display screens is solved, and the simultaneous display of background color, image and text is realized, which improves the refresh rate of the display screen and the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-01
- Publication Date
- 2026-03-10
AI Technical Summary
When displaying background color, images, and text simultaneously, SPI bus-driven displays suffer from low efficiency, resulting in refresh rates that cannot keep up with button presses and negatively impacting user experience.
By constructing a display matrix and combining and superimposing the display matrices of each display content, the final display matrix is generated. Only one display operation is needed to achieve the simultaneous display of background color, image, and text.
It greatly improves display efficiency, reduces the number of display operations, increases the refresh rate of the display screen, and enhances the user experience.
Smart Images

Figure CN115938264B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of display screen preprocessing, and more particularly relates to a display preprocessing method and system for an SPI bus driven display screen. BACKGROUND
[0002] In a display console device, a general control panel adopts an SPI bus driven display screen key array scheme. In the display screen key array of the general control panel, one SPI bus drives five displays, and the display resolution of each display screen is 240*240, which can display one or a combination of three types of display contents including background color, picture and text, wherein the text can be displayed in up to four groups. The user can set the display contents of the display screen key when it is pressed and released. In general, each display content of each type is displayed separately, for example, when background color, picture and four groups of text are displayed on one display screen at the same time, 6 times of display operation are required. The display characteristics of the SPI bus driven display screen determine that each display operation requires about tens of milliseconds to about one hundred milliseconds, and thus 6 times of display operation requires hundreds of milliseconds. When the display screen array of the general control panel is operated, if the key operation is too fast, the display screen display refresh speed may not be able to keep up with the key operation, thereby affecting the user experience. SUMMARY
[0003] In view of the defects of the prior art, the purpose of the present application is to provide a display preprocessing method and system for an SPI bus driven display screen, which aims to solve the display efficiency problem of the prior art SPI bus driven display screen when displaying the combination of background color, picture and text display contents each time, and if a display screen displays background color, picture and text at the same time, the display operation requires hundreds of milliseconds, and if the key operation is too fast, the display screen display refresh speed may not be able to keep up with the key operation, thereby affecting the user experience.
[0004] To achieve the above purpose, on one hand, the present application provides a display preprocessing method for an SPI bus driven display screen, comprising the following steps:
[0005] S1: initializing a display matrix; wherein the display matrix provides display data for the display screen; one dimension and two dimensions of the display matrix correspond to pixel point coordinate information, and three dimensions correspond to 3 bytes of RGB values of the pixel point;
[0006] S2: judging whether the validity field corresponding to the color display attribute in the display attribute set is TRUE, if YES, setting the RGB values of all pixel points of the display matrix to the RGB values of the background color in the color display attribute, otherwise, turning to S3;
[0007] S3: judging whether the validity field corresponding to each picture display attribute in the display attribute set is TRUE in turn, if so, opening the picture file according to the picture index, replacing the RGB value in the rectangular range in the display matrix surrounded by (picture start X coordinate, picture start Y coordinate), (picture end X coordinate, picture end Y coordinate) in the corresponding picture display attribute with the pixel point RGB value in the range constructed by (0, 0), (picture end X coordinate-picture start X coordinate, picture end Y coordinate-picture start Y coordinate) in the picture file data; if the validity field is FALSE, turning to S4;
[0008] S4: judging whether the validity field corresponding to each text display attribute in the display attribute set is TRUE in turn, if so, obtaining the pixel point array corresponding to each character according to the font and font size, finding the position of (text start X coordinate, text start Y coordinate) in the corresponding text display attribute in the display matrix, projecting the position of the pixel point array to the display matrix, and replacing the pixel point RGB value in the corresponding position in the display matrix with the pixel point in the pixel point array; if the validity field is FALSE, sending the display matrix to display by calling the display interface;
[0009] wherein the validity field is a field set according to actual display requirements.
[0010] Further preferably, the display screen display resolution is 240*240, and the display background color, picture and one or a combination of up to four groups of text types are displayed.
[0011] Further preferably, the picture display attribute includes picture start X coordinate, picture start Y coordinate, picture end X coordinate, picture end Y coordinate and picture index; wherein the point at the top left corner of the display screen is the origin, the horizontal coordinate X direction is to the right of the origin, and the vertical coordinate Y direction is vertically downward from the origin; the picture index is represented by a decimal integer.
[0012] Further preferably, the text display attribute includes font, font size, text start X coordinate, text start Y coordinate, foreground color and text content; the font supports bold, Song and Kai; the font size supports 6 kinds with resolutions of 16*16, 32*32, 48*48, 64*64, 80*80 and 96*96; the foreground color is the text color represented by a 24-bit RGB value; the text content is a string encoded by GB2312; wherein the point at the top left corner of the display screen is the origin, the horizontal coordinate X direction is to the right of the origin, and the vertical coordinate Y direction is downward from the origin; the picture index is represented by a decimal integer.
[0013] On the other hand, the application provides a display preprocessing system of an SPI bus driven display screen, comprising:
[0014] The display matrix initialization module is configured to initialize the display matrix, wherein the display matrix provides display data for a display screen, one dimension and two dimensions of the display matrix correspond to pixel coordinate information, and three dimensions of the display matrix correspond to three bytes of RGB values of a pixel.
[0015] The color display attribute superposition module is configured to determine whether the color display attribute corresponding to the validity field of the display attribute set is TRUE, and if so, set the RGB values of all pixels of the display matrix to the RGB values of the background color in the color display attribute; otherwise, drive the picture display attribute superposition module.
[0016] The picture display attribute superposition module is configured to sequentially determine whether the validity field corresponding to each picture display attribute in the display attribute set is TRUE, and if so, open a picture file according to the picture index in the picture display attribute, map the rectangle range surrounded by (picture start X coordinate, picture start Y coordinate), (picture end X coordinate, picture end Y coordinate) in the picture display attribute to the display matrix, and replace the RGB values in the mapped rectangle range in the display matrix with the pixel RGB values in the range constructed by (0, 0), (picture end X coordinate-picture start X coordinate, picture end Y coordinate-picture start Y coordinate) in the picture file data, otherwise, drive the text display attribute superposition module.
[0017] The text display attribute superposition module is configured to sequentially determine whether the validity field corresponding to each text display attribute in the display attribute set is TRUE, and if so, obtain a pixel array corresponding to each character according to a font and a font size, find the position corresponding to (text start X coordinate, text start Y coordinate) in the display matrix according to the pixel array, project the position of the pixel array to the display matrix, and replace the RGB values of the corresponding position in the display matrix with the pixel in the pixel array; otherwise, use a program call display interface to send the display matrix to a display.
[0018] The validity field is a field set according to actual display requirements.
[0019] Further preferably, the picture display attribute includes a picture start X coordinate, a picture start Y coordinate, a picture end X coordinate, a picture end Y coordinate, and a picture index, wherein the top-left corner of the display screen is the origin, the X coordinate is to the right of the origin, and the Y coordinate is vertically downward from the origin; and the picture index is represented by a decimal integer.
[0020] Further preferably, the text display attribute includes font, font size, text starting X coordinate, text starting Y coordinate, foreground color and text content; the font supports bold, Song and Kai; the font size supports 6 kinds with resolutions of 16*16, 32*32, 48*48, 64*64, 80*80 and 96*96 respectively; the foreground color is the text color represented by 24-bit RGB value; and the text content is a string encoded by GB2312.
[0021] Further preferably, the display screen has a display resolution of 240*240, displays background color, picture and one or combination of up to four groups of text types.
[0022] Overall, compared with the prior art, the above technical solutions conceived by the present application have the following advantages
[0023] Beneficial effects:
[0024] The present application provides a display preprocessing method and system of SPI bus driven display screen, the present application constructs display matrix, adopts the mode of combining and superimposing display matrix of each display content to generate final display matrix, only sends the final display matrix, using the display preprocessing method of the present application, the content originally needing multiple display only needs to perform display operation once, thereby greatly improving the display efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0025] Figure 1 It is the display preprocessing method flow chart of SPI bus driven display screen provided by the embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical scheme and advantages of the present application more clear and explicit, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0027] On the one hand, the present application provides a display preprocessing method of SPI bus driven display screen, including the following steps:
[0028] S1: initializing the display matrix; wherein the display matrix provides display data for the display screen; one dimension and two dimensions of the display matrix correspond to pixel coordinate information, and three dimensions correspond to 3 bytes of RGB value of the pixel point;
[0029] S2: judging whether the validity field corresponding to the color display attribute in the display attribute set is TRUE, if YES, setting the RGB value of all pixel points of the display matrix as the RGB value of the background color in the color display attribute, otherwise, turning to S3;
[0030] S3: judging whether the validity field corresponding to each picture display attribute in the display attribute set is TRUE in turn, if so, opening the picture file according to the picture index, replacing the RGB value in the rectangular range in the display matrix surrounded by (picture start X coordinate, picture start Y coordinate), (picture end X coordinate, picture end Y coordinate) in the corresponding picture display attribute with the pixel point RGB value in the range constructed by (0, 0), (picture end X coordinate-picture start X coordinate, picture end Y coordinate-picture start Y coordinate) in the picture file data; if the validity field is FALSE, turning to S4;
[0031] S4: judging whether the validity field corresponding to each text display attribute in the display attribute set is TRUE in turn, if so, obtaining the pixel point array corresponding to each character according to the font and font size, finding the position of (text start X coordinate, text start Y coordinate) in the corresponding text display attribute in the display matrix, projecting the position of the pixel point array to the display matrix, and replacing the pixel point RGB value in the corresponding position in the display matrix with the pixel point in the pixel point array; if the validity field is FALSE, sending the display matrix to display by calling the display interface;
[0032] The validity field is a field set according to actual display requirements.
[0033] Further preferably, the display screen has a display resolution of 240*240, displays one or a combination of background color, picture and up to four groups of text types.
[0034] Further preferably, the picture display attribute includes picture start X coordinate, picture start Y coordinate, picture end X coordinate, picture end Y coordinate and picture index; the point at the upper left corner of the display screen is the origin, the horizontal coordinate X direction is to the right of the origin, and the vertical coordinate Y direction is vertically downward from the origin; the picture index is represented by a decimal integer.
[0035] Further preferably, the text display attribute includes font, font size, text start X coordinate, text start Y coordinate, foreground color and text content; the font supports bold, Song and Kai; the font size supports six kinds with resolutions of 16*16, 32*32, 48*48, 64*64, 80*80 and 96*96; the foreground color is the text color and is represented by a 24-bit RGB value; the text content is a string encoded by GB2312; the point at the upper left corner of the display screen is the origin, the horizontal coordinate X direction is to the right of the origin, and the vertical coordinate Y direction is downward from the origin; the picture index is represented by a decimal integer.
[0036] In another aspect, the application provides a display preprocessing system of an SPI bus driven display screen, which comprises:
[0037] The display matrix initialization module is configured to initialize the display matrix, wherein the display matrix provides display data for a display screen, one dimension and two dimensions of the display matrix correspond to pixel coordinate information, and three dimensions of the display matrix correspond to three bytes of RGB values of a pixel.
[0038] The color display attribute superposition module is configured to determine whether the color display attribute corresponding validity field of the display attribute set is TRUE, and if so, set the RGB values of all pixels of the display matrix to the RGB values of the background color in the color display attribute; otherwise, drive the picture display attribute superposition module.
[0039] The picture display attribute superposition module is configured to sequentially determine whether the picture display attribute corresponding validity field of each picture display attribute in the display attribute set is TRUE, and if so, open a picture file according to the picture index in the picture display attribute, map the rectangle range surrounded by (picture start X coordinate, picture start Y coordinate), (picture end X coordinate, picture end Y coordinate) in the picture display attribute to the display matrix, and replace the RGB values in the mapped rectangle range in the display matrix with the pixel RGB values in the range constructed by (0, 0), (picture end X coordinate-picture start X coordinate, picture end Y coordinate-picture start Y coordinate) in the picture file data; otherwise, drive the text display attribute superposition module.
[0040] The text display attribute superposition module is configured to sequentially determine whether the text display attribute corresponding validity field of each text display attribute in the display attribute set is TRUE, and if so, obtain a pixel array corresponding to each character according to the font and font size, find the position corresponding to (text start X coordinate, text start Y coordinate) in the display matrix according to the pixel array, project the position of the pixel array to the display matrix, and replace the RGB values of the corresponding position in the display matrix with the pixel in the pixel array; otherwise, use a program call display interface to send the display matrix to display.
[0041] The validity field is a field set according to actual display requirements.
[0042] Further preferably, the picture display attribute includes a picture start X coordinate, a picture start Y coordinate, a picture end X coordinate, a picture end Y coordinate, and a picture index; wherein the top-left corner of the display screen is the origin, the X coordinate is to the right of the origin, and the Y coordinate is vertically downward from the origin; and the picture index is represented by a decimal integer.
[0043] Further preferably, the text display attribute includes font, font size, text starting X coordinate, text starting Y coordinate, foreground color and text content; the font supports bold, Song and Kai; the font size supports six kinds with resolutions of 16*16, 32*32, 48*48, 64*64, 80*80 and 96*96 respectively; the foreground color is the text color, which is represented by 24-bit RGB value; and the text content is a string encoded by GB2312.
[0044] Further preferably, the display screen has a display resolution of 240*240, and displays background color, picture and one or a combination of up to four groups of text types.
[0045] Embodiment
[0046] The display preprocessing method in this embodiment is based on a small display screen with a resolution of 240*240, and the specific implementation manner is as follows:
[0047] 1. Display attribute set
[0048] As shown in Table 1, the background color, BMP picture and text are displayed on the display screen, which are color display attribute, picture display attribute and text display attribute respectively; the background color is represented by 24-bit RGB value; the BMP picture supports 24-bit color and 16-bit color BMP picture of RGB555 or RGB565, the picture resolution does not exceed the display resolution of the display screen 240*240, the BMP picture is numbered by integer and saved as file name in the storage medium. The text is a string encoded by GB2312. Up to one background color, one BMP picture and four groups of text are displayed on one display screen, and the display attribute set of one display screen includes one color display attribute, one picture display attribute and four text display attributes, as shown in Table 1. Figure 1 The above six display attributes correspond to one "validity" field respectively, and the field is TRUE, which means that the display attribute needs to be displayed, and is FALSE, which means that the display attribute does not need to be displayed;
[0049] Table 1
[0050] Effectiveness Color display attribute Effectiveness Picture display attribute Effectiveness Text display attribute 0 Effectiveness Text display attribute 1 Effectiveness Text display attribute 2 Effectiveness Text display attribute 3
[0051] 2. Picture display attribute
[0052] The picture display attribute describes the related attributes of the BMP picture to be displayed on the display screen, as shown in Table 2, the picture display attribute includes picture starting X coordinate, picture starting Y coordinate, picture ending X coordinate, picture ending Y coordinate and picture index; the upper left corner of the display screen is taken as the origin, the horizontal coordinate X is to the right of the origin, and the vertical coordinate Y is downward of the origin; the picture index is represented by decimal integer, and the specific picture data is read from the storage medium in the superimposition process by the fast superimposition display algorithm;
[0053] Table 2
[0054] Start X coordinate Start Y coordinate End X coordinate End Y coordinate Picture index
[0055] 3. Text display attribute
[0056] Text display attribute describes the relevant attributes of GB2312 encoded string to be displayed on the display screen, as shown in Table 3; text display attribute includes font, font size, text starting X coordinate, text starting Y coordinate, foreground color and text content; font supports black, Song and Kai; font size supports 6 kinds, with resolutions of 16*16, 32*32, 48*48, 64*64, 80*80 and 96*96 respectively; coordinate definition is the same as above; foreground color is text color, represented by 24-bit RGB value; text content is GB2312 encoded string;
[0057] Table 3
[0058] Font Font size Start X coordinate Start Y coordinate Foreground color Text content
[0059] 4. Superimposed display method
[0060] Generally, the display content of the display attribute set is completed on a display screen; if all "validity" fields in the display attribute set are TRUE, 6 display operations are required to complete a complete display, which are displaying background color, BMP picture and four groups of text respectively; using the fast superimposed display method, the display content of the display attribute set is completed on a display screen; no matter how the "validity" field in the display attribute set is valued, only one display operation is required to complete the complete display;
[0061] Display matrix provides display data for the display screen; the display matrix is a three-dimensional array of 240*240*24 in program design, in which one dimension and two dimensions correspond to pixel coordinate information, and three dimensions correspond to 3 bytes of RGB value of the pixel; the key of the fast superimposed display method lies in the superimposed generation of the display matrix, and the superimposed generation process of the display matrix is shown in Figure 1
[0062] First, the display matrix is initialized with default values; then, the display matrix is superimposed and covered according to the display attribute set of the display screen, to obtain the final display matrix after covering; finally, the superimposed display matrix is displayed on the display screen at one time; the superimposed generation process of the display matrix is as follows:
[0063] S1: initialize the display matrix with default values;
[0064] S2: judging whether the color display attribute "validity" field of the display attribute set is TRUE, if YES, setting the RGB value of all pixel points of the display matrix to the RGB value of the background color, otherwise, going to the next step;
[0065] S3: judging whether the picture display attribute "validity" field of the display attribute set is TRUE, if YES, opening the picture file according to the picture index, replacing the RGB value in the rectangular range of the display matrix surrounded by the coordinates (picture starting X coordinate, picture starting Y coordinate), (picture ending X coordinate, picture ending Y coordinate) with the pixel point RGB value in the range of (0, 0), (picture ending X coordinate-picture starting X coordinate, picture ending Y coordinate-picture starting Y coordinate) in the picture file data; if the "validity" field is FALSE, going to the next step;
[0066] S4: judging whether the text display attribute 0 "validity" field of the display attribute set is TRUE, if YES, obtaining the pixel point array corresponding to each character according to the font and font size, replacing the pixel point RGB value existing in the pixel point array with the pixel point RGB value in the corresponding position in the region starting from (text starting X coordinate, text starting Y coordinate) in the display matrix; if the "validity" field is FALSE, going to the next step;
[0067] S5: judging whether the text display attribute 1 "validity" field of the display attribute set is TRUE, if YES, obtaining the pixel point array corresponding to each character according to the font and font size, replacing the pixel point RGB value existing in the pixel point array with the pixel point RGB value in the corresponding position in the region starting from (text starting X coordinate, text starting Y coordinate) in the display matrix; if the "validity" field is FALSE, going to the next step;
[0068] S6: judging whether the text display attribute 2 "validity" field of the display attribute set is TRUE, if YES, obtaining the pixel point array corresponding to each character according to the font and font size, replacing the pixel point RGB value existing in the pixel point array with the pixel point RGB value in the corresponding position in the region starting from (text starting X coordinate, text starting Y coordinate) in the display matrix; if the "validity" field is FALSE, going to the next step;
[0069] S7: judging whether the text display attribute 3 "validity" field of the display attribute set is TRUE, if YES, obtaining the pixel point array corresponding to each character according to the font and font size, replacing the pixel point RGB value existing in the pixel point array with the pixel point RGB value in the corresponding position in the region starting from (text starting X coordinate, text starting Y coordinate) in the display matrix; if the "validity" field is FALSE, going to the next step;
[0070] S8: After the above steps, the display matrix after superposition is obtained, and then the program calls the display interface to send the display matrix to display, so that the display properties of a display screen are displayed at one time.
[0071] Compared with the prior art, the present application has the following advantages:
[0072] The present application provides a display preprocessing method and system for an SPI bus driven display screen, and the display preprocessing method comprises the following steps: constructing a display matrix, combining and superimposing the display matrices of each display content to generate a final display matrix, and sending the final display matrix to display.
[0073] Those skilled in the art can easily understand that the above description is only a preferred embodiment of the present application, and is not intended to limit the present application, and any modification, equivalent replacement and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A display preprocessing method of an SPI bus driven display screen, characterized in that, The method comprises the following steps: S1: initializing a display matrix; wherein the display matrix provides display data for a display screen, one dimension and two dimensions of the display matrix correspond to pixel coordinate information, and three dimensions correspond to 3 bytes of RGB values of a pixel; S2: judging whether a color display attribute corresponding validity field of a display attribute set is TRUE, if so, setting RGB values of all pixels of the display matrix as RGB values of a background color in the color display attribute, otherwise, turning to S3; S3: judging whether a picture display attribute corresponding validity field in the display attribute set is TRUE, if so, opening a picture file according to a picture index in the picture display attribute, mapping a rectangular range surrounded by (picture start X coordinate, picture start Y coordinate), (picture end X coordinate, picture end Y coordinate) in the picture display attribute to the display matrix, and replacing RGB values in the mapping rectangular range in the display matrix with pixel RGB values in a range constructed by (0, 0), (picture end X coordinate-picture start X coordinate, picture end Y coordinate-picture start Y coordinate) in the picture file data, otherwise, turning to S4; S4: judging whether a text display attribute corresponding validity field in the display attribute set is TRUE, if so, obtaining a pixel array corresponding to each character according to a font and a font size, finding a position corresponding to (text start X coordinate, text start Y coordinate) in the corresponding text display attribute in the display matrix, projecting a position of the pixel array to the display matrix, and replacing RGB values of corresponding positions in the display matrix with pixels in the pixel array; otherwise, sending the display matrix to display by using a program calling display interface; The validity field is a field set according to actual display requirements.
2. The display pre-processing method of claim 1, wherein, The picture display attribute comprises a picture start X coordinate, a picture start Y coordinate, a picture end X coordinate, a picture end Y coordinate and a picture index; wherein a point at the left top corner of the display screen is an origin, a horizontal coordinate X direction is from the origin to the right, and a vertical coordinate Y direction is from the origin vertically downward; the picture index is represented by a decimal integer.
3. The display pre-processing method of claim 2, wherein, The text display attribute comprises a font, a font size, a text start X coordinate, a text start Y coordinate, a foreground color and text content; the font supports a bold font, a Songti font and a Kaishu font; the font size supports 6 kinds with resolutions of 16*16, 32*32, 48*48, 64*64, 80*80 and 96*96; the foreground color is a text color represented by 24-bit RGB values; and the text content is a string encoded by GB2312.
4. The display pre-processing method according to any one of claims 1 to 3, characterized in that, The display screen has a display resolution of 240*240, and displays a background color, a picture and one or a combination of up to four groups of text types.
5. A display pre-processing system for SPI bus driven display panels, characterized by, The method comprises the following steps: a display matrix initialization module for initializing a display matrix; wherein the display matrix provides display data for a display screen, one dimension and two dimensions of the display matrix correspond to pixel coordinate information, and three dimensions correspond to 3 bytes of RGB values of a pixel; The color display attribute superimposition module is configured to judge whether the color display attribute corresponding validity field of the display attribute set is TRUE, and if so, set the RGB value of all pixel points of the display matrix to the RGB value of the background color in the color display attribute; otherwise, drive the picture display attribute superimposition module. The picture display attribute superimposition module is configured to judge whether the picture display attribute corresponding validity field of the display attribute set is TRUE, and if so, open the picture file according to the picture index in the picture display attribute, map the rectangle range surrounded by (picture start X coordinate, picture start Y coordinate), (picture end X coordinate, picture end Y coordinate) in the picture display attribute to the display matrix, and replace the RGB value in the mapping rectangle range in the display matrix with the pixel point RGB value in the range constructed by (0, 0), (picture end X coordinate-picture start X coordinate, picture end Y coordinate-picture start Y coordinate) in the picture file data; otherwise, drive the text display attribute superimposition module. The text display attribute superimposition module is configured to judge whether the text display attribute corresponding validity field of the display attribute set is TRUE, and if so, obtain the pixel point array corresponding to each character according to the font and font size, find the position corresponding to (text start X coordinate, text start Y coordinate) in the text display attribute from the display matrix, project the position of the pixel point array to the display matrix, and replace the pixel point RGB value of the corresponding position in the display matrix with the pixel point in the pixel point array; otherwise, use the program call display interface to send the display matrix to the display. The validity field is a field set according to actual display requirements.
6. The display pre-processing system of claim 5, wherein, The picture display attribute includes picture start X coordinate, picture start Y coordinate, picture end X coordinate, picture end Y coordinate and picture index; the left top corner of the display screen is the origin, the horizontal coordinate X direction is to the right of the origin, and the vertical coordinate Y direction is vertically downward from the origin; the picture index is represented by a decimal integer.
7. The display pre-processing system of claim 6, wherein, The text display attribute includes font, font size, text start X coordinate, text start Y coordinate, foreground color and text content; the font supports bold, Song and Kai; the font size supports six kinds, and the resolutions are 16*16, 32*32, 48*48, 64*64, 80*80 and 96*96 respectively; the foreground color is the text color, represented by a 24-bit RGB value; and the text content is a string encoded by GB2312.
8. The display pre-processing system of any of claims 5 to 7, wherein, The display screen display resolution is 240*240, and the display background color, picture and up to four groups of text types or combinations are displayed.
Citation Information
Patent Citations
Liquid-crystal-display-screen-based font dot matrix display method and storage device
CN107393494A
Verification and display method of Delta-shape arranged sub-pixel rendering
CN108428435A