A signal generation method and apparatus
By storing and rearranging pixel data in registers, a dot-screen signal that meets the requirements of the display device is generated, solving the problem of image frame data format mismatch and achieving accurate display on the display device.
Patent Information
- Application Number
- CN202411028822.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2044-07-30
AI Technical Summary
In the existing technology, the image frame data format is incompatible with the dot-screen signal interface of the display device, resulting in the inability to display images normally.
By storing pixel data in registers corresponding to the number of dot-screen signal interface links, the data points are rearranged to generate dot-screen signals that meet the requirements of the display device.
It achieves matching between the screen dot signal and the display device, avoids display errors caused by mismatched image frame data formats, and improves the timing and accuracy of the screen dot signal.
Smart Images

Figure CN119479522B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display panel detection, and more particularly, to a signal generation method and device. BACKGROUND
[0002] In the prior art, point screen signals can be used for image data transmission and point screen processing of display devices based on the point screen signals, so that the image is displayed on the screen of the display device. However, as people's requirements for image pictures are getting higher and higher, display device screens have different resolutions and color effects, and display devices often have different point screen signal interfaces. The data format of the image is easy to mismatch the point screen signal interface of the display device, resulting in that the image cannot be normally displayed. Therefore, a signal generation method that meets the display requirements of the display device needs to be provided. SUMMARY
[0003] The embodiments of the present application provide a signal generation method and device. The method can store pixel point data in registers corresponding to the number of point screen signal interface links, rearrange the data point data to generate a point screen signal that meets the display device, so that the point screen signal meets the display device requirements, thereby avoiding the mismatch of the image frame data format and the display error of the display device.
[0004] In a first aspect, the embodiments of the present application provide a signal generation method, which comprises:
[0005] S101, in image frame data, obtaining pixel point data corresponding to each pixel point in a target point screen unit in a target subframe, the target point screen unit being any point screen unit obtained by dividing the pixel points in the image frame data by a preset division method, the image frame comprising a preset number of subframes, and the target subframe being any one of the preset number of subframes;
[0006] S102, based on a first number of registers and a data reading sequence of a display device, saving the pixel point data corresponding to each pixel point to each register, the first number being determined by the number of links of a point screen signal interface of the display device;
[0007] S103, based on a data clock signal, shifting and outputting the pixel point data in each register to generate a point screen signal corresponding to the target point screen unit in the target subframe, the data clock signal being determined based on the refresh rate and resolution of the display device, and the point screen signal corresponding to the target point screen unit in the target subframe being used for point screen processing of the display device.
[0008] By the technical solution, the pixel point data can be stored in the registers corresponding to the number of point screen signal interface links, the data point data is rearranged to generate a point screen signal conforming to the display device, so that the point screen signal conforms to the requirement of the display device, thereby avoiding the display error of the display device caused by the mismatch of the image frame data format.
[0009] With reference to the first aspect, in some possible implementation manners, the method further includes:
[0010] The steps S101-S103 are repeated to generate point screen signals corresponding to the target point screen unit in all subframes, and a unit point screen signal is generated based on the point screen signals corresponding to the target point screen unit in all subframes;
[0011] A control signal is generated for all unit point screen signals, the all unit point screen signals being unit point screen signals of all point screen units in the image frame data;
[0012] The screen of the display device is subjected to point screen processing based on the all unit point screen signals and the control signal.
[0013] By the technical solution, the control signal is generated under the same data clock, and the point screen processing is performed in combination with the control signal and all unit point screen signals, so that the timing and accuracy of the point screen signal are further improved.
[0014] With reference to the first aspect, in some possible implementation manners, the control signal includes:
[0015] A clock signal, a frame synchronization signal and a clear signal, wherein the clock signal is used to indicate the starting position of the pixel point data corresponding to each point screen unit, the frame synchronization signal is used to indicate the starting position of the pixel point data corresponding to each subframe, and the clear signal is used to indicate the noise removal processing of the point screen signal corresponding to each subframe.
[0016] With reference to the first aspect, in some possible implementation manners, the obtaining, in the image frame data, of the pixel point data corresponding to each pixel point in the target point screen unit in the target subframe includes:
[0017] If a target field synchronization signal of the target point screen unit in the image frame data is detected, the target pixel point data input by the image frame data is extracted;
[0018] The target subframe corresponding to the target pixel point data is determined based on the target field synchronization signal;
[0019] The target pixel point data is determined as the pixel point data corresponding to the target point screen unit in the target subframe.
[0020] By the technical solution, the pixel point data of a row of a certain subframe is obtained through the field synchronization signal, the accuracy of the pixel point data acquisition is improved, and the accuracy of the dot screen signal is further improved.
[0021] With reference to the first aspect, in some possible implementation manners, the method further includes:
[0022] performing a cycle count processing on the field synchronization signal of the image frame data based on the preset quantity;
[0023] The determining of the target subframe corresponding to the target pixel point data based on the target field synchronization signal includes:
[0024] acquiring a count corresponding to the target field synchronization signal, and determining a target subframe in the preset quantity of subframes based on the count.
[0025] By the technical solution, the subframe corresponding to the pixel point data can be determined according to the count of the field synchronization signal, and the timing and accuracy of the dot screen signal are improved.
[0026] With reference to the first aspect, in some possible implementation manners, the saving of the pixel point data corresponding to each pixel point into each register based on the first quantity of registers and the data reading sequence of the display device includes:
[0027] determining the first quantity of registers based on the quantity of links of the dot screen signal interface of the display device, and acquiring the second quantity of pixel points in the pixel point set;
[0028] determining a third quantity of pixel point data required to be saved by each register based on the first quantity and the second quantity;
[0029] based on the third quantity and the data reading sequence of the display device, saving the pixel point data corresponding to each pixel point into each register.
[0030] By the technical solution, the third quantity of pixel point data required to be saved by each register is determined based on the quantity of links of the differential signal interface and the quantity of pixel points, and the pixel point data is latched according to the third quantity, so that the differential signal interface of the display device is further generated.
[0031] With reference to the first aspect, in some possible implementation manners, the saving of the pixel point data corresponding to each pixel point into each register based on the third quantity and the data reading sequence of the display device includes:
[0032] store no less than the third quantity of the pixel point data in each of the registers in sequence based on a storage order corresponding to a data reading order of the display device and based on a storage bit number of each of the registers;
[0033] perform a truncation processing on the pixel point data in each of the registers, so that only the third quantity of the pixel point data is saved in each of the registers, and the pixel point data saved in each of the registers are all different.
[0034] According to the technical solution, saving at least the third quantity of the pixel point data can avoid errors or omissions of the pixel point data in the storage process, and the truncation processing avoids repeated data points in the generated point screen signal, which causes reading errors or display errors of the display device.
[0035] In some possible implementation manners, in combination with the first aspect, the generating, based on the data clock signal, of the point screen signal corresponding to the target point screen unit in the target subframe, includes:
[0036] based on the data clock signal, shifting and outputting the pixel point data in each of the registers to a point screen signal link corresponding to each of the registers via a differential output buffer, wherein the registers correspond to different point screen signal links;
[0037] generating the point screen signal corresponding to the target point screen unit in the target subframe based on the first quantity of point screen signal links.
[0038] According to the technical solution, the data clock is determined based on the pixel clock frequency of the display device, so that the generated point screen signal can be kept in the clock domain of the display device, and the compatibility of the point screen signal with the display device is further improved.
[0039] In some possible implementation manners, in combination with the first aspect, the preset quantity is 8 or 10, and the target point screen unit is one row of pixels of the display device screen.
[0040] In a second aspect, an embodiment of the present application provides a signal generation apparatus, and the apparatus includes:
[0041] a pixel point data acquisition unit, configured to acquire, in image frame data, pixel point data corresponding to each pixel point in a target point screen unit in a target subframe, the target point screen unit being any point screen unit obtained by performing a preset division on pixel points in the image frame data, the image frame including a preset quantity of subframes, and the target subframe being any one of the preset quantity of subframes;
[0042] The pixel data latching unit is configured to save the pixel data corresponding to each pixel point into each register based on a first number of registers and a data reading sequence of the display device, and the first number is determined by a number of links of a point screen signal interface of the display device.
[0043] The point screen signal generation unit is configured to perform shift output on the pixel data in each register based on a data clock signal to generate a point screen signal corresponding to the target point screen unit in the target subframe, and the data clock signal is determined based on a refresh rate and a resolution of the display device, and the point screen signal corresponding to the target point screen unit in the target subframe is used for point screen processing of the display device.
[0044] With reference to the second aspect, in some possible implementation manners, the device controls the pixel data acquisition unit, the pixel data latching unit, and the point screen signal generation unit to generate point screen signals corresponding to the target point screen unit in all subframes.
[0045] The device further includes:
[0046] The point screen processing unit is configured to generate a unit point screen signal based on the point screen signal corresponding to the target point screen unit in all subframes.
[0047] A control signal is generated for all unit point screen signals, and the all unit point screen signals are unit point screen signals of all point screen units in the image frame data.
[0048] The screen of the display device is subjected to point screen processing based on the all unit point screen signals and the control signal.
[0049] With reference to the second aspect, in some possible implementation manners, the control signal includes:
[0050] a clock signal, a frame synchronization signal, and a clear signal, wherein the clock signal is used to indicate a starting position of pixel data corresponding to each point screen unit, the frame synchronization signal is used to indicate a starting position of pixel data corresponding to each subframe, and the clear signal is used to indicate a noise removal processing of the point screen signal corresponding to each subframe.
[0051] With reference to the second aspect, in some possible implementation manners, the pixel data acquisition unit is specifically configured to:
[0052] If a target field synchronization signal of a target point screen unit in the image frame data is detected, the target pixel data input by the image frame data is extracted;
[0053] A target subframe corresponding to the target pixel data is determined based on the target field synchronization signal.
[0054] determining the target pixel point data as pixel point data corresponding to the target point screen unit in the target subframe.
[0055] With reference to the second aspect, in some possible implementations, the apparatus further includes:
[0056] a cycle counting unit, configured to perform cycle counting processing on a field synchronization signal of the image frame data based on the preset quantity;
[0057] The pixel point data acquisition unit is specifically configured to acquire a count corresponding to the target field synchronization signal, and determine a target subframe in the preset quantity of subframes based on the count.
[0058] With reference to the second aspect, in some possible implementations, the pixel point latching unit is specifically configured to:
[0059] determine a first quantity of registers based on a quantity of point screen signal interfaces of the display device, and acquire a second quantity of the pixel points in the pixel point set;
[0060] determine a third quantity of the pixel point data required to be saved by each register based on the first quantity and the second quantity;
[0061] save the pixel point data corresponding to each pixel point to each register respectively based on the third quantity and a data reading sequence of the display device.
[0062] With reference to the second aspect, in some possible implementations, the pixel point latching unit is specifically configured to:
[0063] store the pixel point data not less than the third quantity in each register in turn based on a storage bit number of each register according to a storage sequence corresponding to the data reading sequence of the display device;
[0064] perform truncation processing on the pixel point data in each register, so that only the third quantity of pixel point data is saved in each register, and the pixel point data saved in each register is different.
[0065] With reference to the second aspect, in some possible implementations, the point screen signal generation unit is specifically configured to:
[0066] output the pixel point data in each register to a point screen signal link corresponding to each register via a differential output buffer based on the data clock signal, wherein each register corresponds to a different point screen signal link;
[0067] generate the point screen signal corresponding to the target point screen unit in the target subframe based on the first number of point screen signal links.
[0068] In some possible implementation manners, in combination with the second aspect, the preset number is 8 or 10, and the target point screen unit is a row of pixels of the screen of the display device.
[0069] In a third aspect, an embodiment of the present application provides a computer storage medium, which stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and performing the method steps described above.
[0070] In a fourth aspect, an embodiment of the present application provides an electronic device, which can include a processor and a memory, and the memory stores a computer program, and the computer program is suitable for being loaded by the processor and performing the method steps described above.
[0071] In one or more embodiments of the present application, in image frame data, pixel point data corresponding to each pixel point in a pixel point set of a target point screen unit in a target subframe is obtained, the target point screen unit is any point screen unit obtained by dividing pixel points in the image frame data in a preset division manner, the image frame includes a preset number of subframes, the target subframe is any one of the preset number of subframes, pixel point data corresponding to each pixel point is respectively saved into each register based on a first number of registers and a data reading sequence of a display device, the first number is determined by a number of links of a point screen signal interface of the display device, pixel point data in each register is shifted and output based on a data clock signal, a point screen signal corresponding to the target point screen unit in the target subframe is generated, the data clock signal is determined based on a refresh rate and a resolution of the display device, and the point screen signal corresponding to the target point screen unit in the target subframe is used for point screen processing of the display device. By storing the pixel point data in the registers corresponding to the number of links of the point screen signal interface, the pixel point data is rearranged to generate a point screen signal conforming to the display device, so that the point screen signal conforms to the requirements of the display device, thereby avoiding display errors of the display device caused by a mismatch between the image frame data formats. BRIEF DESCRIPTION OF DRAWINGS
[0072] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the drawings needed in the embodiments or prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort.
[0073] Figure 1 is a system architecture diagram of a signal production device provided by an embodiment of the present application;
[0074] Figure 2 is a flowchart of a signal generation method provided by an embodiment of the present application;
[0075] Figure 3 is a flowchart of a signal generation method provided by an embodiment of the present application;
[0076] Figure 4 is an example schematic diagram of cycle counting provided by an embodiment of the present application;
[0077] Figure 5 is an example schematic diagram of target subframe determination provided by an embodiment of the present application;
[0078] Figure 6 is an example schematic diagram of pixel point data storage provided by an embodiment of the present application;
[0079] Figure 7 is an example schematic diagram of a unit clock signal and a reference clock signal provided by an embodiment of the present application;
[0080] Figure 8 is an example schematic diagram of a frame synchronization signal and a clear signal provided by an embodiment of the present application;
[0081] Figure 9 is a flowchart of a signal generation method provided by an embodiment of the present application;
[0082] Figure 10 is a structural schematic diagram of a signal generation apparatus provided by an embodiment of the present application;
[0083] Figure 11 is a structural schematic diagram of a signal generation apparatus provided by an embodiment of the present application;
[0084] Figure 12 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0085] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0086] The signal generation method provided by the embodiments of the present application can be implemented by relying on a computer program and can be run on a signal generation device based on the Von Neumann system. The computer program can be integrated in an application or can be run as an independent tool application. A dot screen signal interface exists in the display device, and the dot screen signal interface can be an LVDS interface, which has the characteristics of high-speed transmission, low power consumption and anti-interference, and can be suitable for long-distance transmission and anti-interference use scenarios, such as industrial control, medical equipment, communication equipment and the like. The dot screen signal interface in the display device can be used to receive a dot screen signal for dot screen processing of the display device. The pixel data contained in the dot screen signal can be used to determine the color and brightness required by each pixel on the display screen of the display device for display, so that the display device can display accurate and clear images on the display screen. When a user needs the display device to display, image frame data at an image source can be input to the display device for display. The signal generation device can receive the image frame data input by the image source and generate a dot screen signal based on the image frame data. The signal generation device then sends the dot screen signal to the display device through the dot screen signal interface, so as to achieve the purpose of dot screen processing of the display device by using the dot screen signal. The image source can be a camera, a video file or a graphics generator, for example, when the image source is a camera, the image frame data collected by the camera can be sent to the display device through the signal generation device to generate a dot screen signal and sent to the display device, so that the display device can display the image collected by the camera. When the image source is a video file, the display device can display the video content contained in the video file. The signal generation device can be an electronic device independent of the display device, or can be a module integrated in the display device for implementing the signal generation method. The image frame data is the data of a first frame image input by the image source. The image source can send the data of a frame image collected by the image source to the display device for display, or can send a video collected by the image source to the display device for display. At this time, the image frame data can be the data of any frame image in the video stream.
[0087] It can be understood that different display devices have different requirements for the dot screen signal format required for dot screen processing, so they also have different specifications of dot screen signal interfaces. The format of the image frame data does not necessarily conform to the specifications of the dot screen signal interface of the display device, and the image frame data cannot directly generate a dot screen signal that meets the dot screen processing requirements of the display device. In order to enable the image frame data to be successfully displayed on the display device, the signal generation device can extract the pixel point data in the image frame data and generate a dot screen signal that meets the dot screen processing requirements of the display device. For example, the image frame data can be 8-bit color depth, 8-link data. If the dot screen signal is generated directly based on the image frame data, only an 8-link dot screen signal can be generated, and the display device requires a 16-link dot screen signal for dot screen processing. The dot screen signal interface of the display device is also of 16-link specification. The signal generation device can extract the pixel point data in the image frame data for rearrangement, and generate a 16-link dot screen signal based on the rearranged pixel point data, thereby meeting the dot screen processing requirements of the display device, so that the image frame data can be successfully displayed on the display device.
[0088] Please see Figure 1 A system architecture diagram of a signal generation device is provided for the embodiments of the present application. The display device can include a pixel point data acquisition module, a register, and an output buffer. The signal generation device can acquire pixel point data from the image frame data using the pixel point data acquisition module. The image frame data can be data of a preset number of color depths and a fourth number of links. Therefore, the image frame data can include a preset number of subframes, and each subframe can correspond to one bit of color depth. That is, each pixel point in the image frame data needs a preset number of pixel point data to describe. Each pixel point data corresponds to a subframe, that is, one bit of color depth. For example, if the image frame data is 8-bit color depth, 8-link data, the preset number can be 8, and the third number can be 8. Each pixel point of the image frame data needs 8 pixel point data to describe, so that the display device can accurately display the color and brightness of the pixel point based on the 8 pixel point data. Since the image frame data is data of a fourth number of links, and the fourth number is different from the number of links of the dot screen signal interface of the display device, and the arrangement order of the pixel point data of the image frame data can be different from the reading order of the pixel point data of the dot screen signal of the display device, the signal generation device can save the acquired pixel point data in the register according to the reading order of the pixel point data of the display device after extracting the pixel point data in the image frame data via the pixel point data acquisition module.
[0089] As Figure 1As shown, the display device can include a first number of registers, including register DOUT0, register DOUT1,..., and register DOUT N, where N is one less than the first number, and the first number can be determined by the number of links of the dot screen signal interface of the display device, for example, the first number can be equal to the number of links. Each register can correspond to a link of the dot screen signal, and the signal generation apparatus can output the pixel point data stored in the first number of registers to an output buffer to generate a dot screen signal of the first number of links, where the output buffer can be used to generate the pixel point data into a dot screen signal that can be used for dot screen processing, for example, the dot screen signal required by the display device is a differential signal (Low Voltage Differential Signaling, LVDS), which is a high-speed data transmission technology. The signal generation apparatus can be used for data transmission using differential signals, and the output buffer can be a differential output buffer OBUFDS, which can be used to convert the output signal of the logic level into a differential signal, achieving the purpose of generating a dot screen signal that can be used for dot screen processing of the display device based on image frame data that does not meet the dot screen processing requirements of the display device, so that the display device can accurately display the image corresponding to the image frame data.
[0090] The image frame data contains pixel point data corresponding to all pixel points. Since the image frame data is data of a preset number of bits of color depth, the image frame data contains a preset number of subframes, each subframe corresponding to one bit of color depth. Each pixel point in the image frame data has a pixel point data in each subframe, so one pixel point corresponds to a preset number of pixel point data. The signal generation device can divide the image frame data into a plurality of dot screen units according to a preset division manner, and then input the pixel point data to the signal generation device in each dot screen unit and each subframe. When the pixel point data corresponding to all subframes of all pixel points in one dot screen unit is input to the signal generation device, the pixel point data of the next dot screen unit is input. The preset division manner can be determined according to the dot screen processing requirement of the display device. For example, if the display device needs to dot screen the pixel points by row during dot screen processing, the preset division manner can be to divide the image frame data by row. If the display device needs to dot screen the pixel points according to a preset format matrix during dot screen processing, the preset division manner can be to divide the image frame data according to the preset format matrix. For example, if the image frame data is 8-bit color depth, 8-link, and the specification is 1952*1112, the preset number is 8, one row has 1952 pixel points and there are 1112 rows in total, the image frame data can have 8 subframes numbered 0-7, and the signal generation device can divide the image frame data into 1112 dot screen units by row, that is, one row of pixel points is regarded as one dot screen unit. The image frame data can first input 1952 pixel point data of the first dot screen unit in subframe No. 0, then input 1952 pixel point data of the first dot screen unit in subframe No. 1, and so on until 1952 data of the first dot screen unit in subframe No. 7. In this way, the pixel point data of the first dot screen unit in each subframe is input to the signal generation device, and then the pixel point data of the second dot screen unit in each subframe is input. In this way, all pixel point data is input to the signal generation device in each dot screen unit and each subframe. Similarly, the signal generation device can acquire the pixel point data in the image frame data in each dot screen unit and each subframe during the pixel point data input process of the image frame data.
[0091] The signal generation method provided by the present application will be described in detail below in conjunction with specific embodiments.
[0092] Please refer to Figure 2 The present application provides a flowchart of a signal generation method. As Figure 2 shown, the method of the present application can include the following steps S101-S103.
[0093] S101, in the image frame data, the pixel point data corresponding to each pixel point in the target subframe in the pixel point set of the target dot screen unit is acquired.
[0094] Specifically, the image frame data can input pixel point data to the signal generation device by point screen unit and by subframe, and the signal generation device can acquire, in the image frame data, pixel point data corresponding to each pixel point in a pixel point set of a target point screen unit in a target subframe during the input process of the pixel point data of the image frame data. The target point screen unit is any point screen unit obtained by dividing the pixel points in the image frame data by a preset division manner. The preset division manner can be determined according to the point screen processing requirement of the display device, for example, the image frame data can be divided by row, or the image frame data can be divided by a preset format matrix, etc. The pixel point set of the target point screen unit contains all the pixel points in the target point screen unit. The target subframe is any one of the preset number of subframes of the image frame data.
[0095] S102, save the pixel point data corresponding to each pixel point into each register based on the first number of registers and the data reading sequence of the display device.
[0096] Specifically, there can be a first number of registers in the display device, and the first number is determined by the link number of the point screen signal interface of the display device. The first number can be equal to the link number, indicating that the display device needs a first number of link point screen signals for point screen processing. The signal generation device can save the pixel point data corresponding to each pixel point into each register based on the first number of registers and the data reading sequence of the display device. The signal generation device can determine the data reading sequence of the display device based on the point screen processing requirement of the display device. For example, if the data reading sequence of the display device is to read the pixel point data from high bit to low bit, the signal generation device can save the acquired pixel point data from low bit to high bit into each register in turn, and in the subsequent step, the highest bit pixel point data can be removed from the register in turn so that the display device can read the pixel point data from high bit to low bit.
[0097] The signal generation apparatus can also determine the number of pixel point data to be saved in each register. The pixel point set in the target point screen unit includes a second number of pixel points. The second data is the number of pixel points in a point screen unit of the image frame data, and is also the number of pixel points to be displayed in a point screen unit of the display device screen. For example, the resolution of the display device is 1920x1080, the specification of the image frame data is 1952x1112, and the point screen unit is one row of pixel points. The second number is 1952. The signal generation apparatus can determine a third number of pixel point data to be contained in each register based on the first number of registers in the display device and the second number of pixel points in the pixel point set, so that the pixel point data of the target point screen unit under the target subframe can be saved in the registers, so that the pixel point data can be completely input to the display device, thereby enabling the display device to accurately display the image corresponding to the image frame data. The number of pixel point data in each register can be the same or different. For example, the third number can be the ratio of the second number to the first number, i.e., the second number of pixel point data is evenly saved in the first number of registers. The signal generation apparatus can save the pixel point data corresponding to each pixel point in each register based on the third number, i.e., each register saves pixel point data corresponding to the third number.
[0098] In S103, the pixel point data in each register is shifted and output based on the data clock signal to generate a point screen signal corresponding to the target point screen unit under the target subframe.
[0099] Specifically, in order to ensure the synchronization of data transmission and reception, the point screen signal needs to comply with the data clock signal. The data clock signal can be a periodic signal used to indicate the sampling time of data bits, so as to ensure that each data bit can be sampled at the correct time point, the point screen signal can be correctly parsed and recovered, and the display device can accurately perform point screen processing. The data clock signal can be determined based on the refresh rate and resolution of the display device, thereby further improving the compatibility of the point screen signal under the data clock signal with the display device. The signal generation apparatus can shift and output the pixel point data in each register based on the data clock signal. For example, the signal generation apparatus can output one bit of pixel point data in each register according to the period of the data clock, thereby generating a point screen signal corresponding to the target point screen unit under the target subframe. The point screen signal corresponding to the target subframe is used for point screen processing of the display device. Since there are a total of a first number of registers, and one register corresponds to one link, the point screen signal corresponding to the target subframe is the point screen signal of the first number of links. The point screen signal corresponding to the target point screen unit under the target subframe is used for point screen processing of the display device. The point screen signal matches the point screen signal interface of the display device and meets the point screen processing requirements of the display device.
[0100] In the embodiment of the present application, in the image frame data, the pixel point data corresponding to each pixel point in the target point screen unit in the target subframe is obtained, the target point screen unit is any point screen unit obtained by dividing the pixel points in the image frame data by using a preset division method, the image frame includes a preset number of subframes, the target subframe is any one of the preset number of subframes, the pixel point data corresponding to each pixel point is saved in each register based on the first number of registers and the data reading sequence of the display device, the first number is determined by the number of link of the point screen signal interface of the display device, the pixel point data in each register is shifted and output based on the data clock signal, the point screen signal corresponding to the target point screen unit in the target subframe is generated, the data clock signal is determined based on the refresh rate and the resolution of the display device, and the point screen signal corresponding to the target point screen unit in the target subframe is used for point screen processing of the display device. By storing the pixel point data in the registers corresponding to the number of link of the point screen signal interface, the data point data is rearranged to generate the point screen signal conforming to the display device, so that the point screen signal meets the requirements of the display device, thereby avoiding the display error of the display device caused by the mismatch of the image frame data format.
[0101] Please refer to Figure 3 A flowchart of a signal generation method is provided for the embodiment of the present application. As shown in Figure 3 The method of the embodiment of the present application can include the following steps S201-S213.
[0102] S201, the field synchronization signal of the image frame data is cyclically counted based on a preset number.
[0103] Specifically, the image frame data can input the pixel point data by point screen unit and by subframe, and the pixel point data in a preset number of subframes needs to be input for each point screen unit. The field synchronization signal (Vertical Sync, VS) can be used to prompt the signal generation device to start transmitting the pixel point data in a new subframe, so as to ensure that the display device displays at a correct rate and timing. Therefore, the signal generation device can cyclically count the field synchronization signal of the image frame data based on a preset number, wherein the preset number can be the color depth bit number of the image frame data, that is, the number of subframes, so as to determine which subframe the current obtained pixel point data is in according to the counting.
[0104] Optionally, the preset number can be set according to actual needs, including but not limited to 8 or 10, that is, the image frame data can include 8 or 10 subframes.
[0105] For example, please refer to Figure 4This example illustrates a cyclic counting method in an embodiment of this application. The image frame data can be a preset number of color depth bits and a fourth number of links, where M is one less than the fourth number. When inputting pixel data, the image frame data is synchronously sent by links 0, 2, ..., M. If the image frame data is 8-bit color depth data (i.e., the preset number is 8), then the image frame data can have 8 subframes numbered 0 to 7. The signal generation device can perform a cyclic counting from 0 to 7 based on the preset number. The count corresponding to the field synchronization signal corresponds to the subframe number, facilitating the screen dot signal device to determine the subframe corresponding to the acquired pixel data based on the count. Figure 4 As shown, the field synchronization signal corresponds to each subframe. When image frame data is input to the pixel data of the target screen unit in subframe number 0, the signal generating device can count the field synchronization signal to 0. Similarly, when image frame data is input to the pixel data of the target screen unit in subframe number 1, the signal generating device can count the field synchronization signal to 1. Here, the target screen unit is any screen unit obtained after dividing the pixels in the image frame data using a preset division method. When the signal generating device completes a full count based on the field synchronization signal, for example, a full count from 0 to 7, it indicates that the image frame data has input the pixel data of the target screen unit in subframes numbered 0 to 7. When the signal generating device detects the field synchronization signal again, the signal generating device can count to 0, indicating that the image frame data has started inputting the pixel data of the next screen unit of the target screen unit in subframe number 0.
[0106] S202, if the target field synchronization signal of the target point screen unit in the image frame data is detected, the target pixel data input in the image frame data is extracted.
[0107] Specifically, image frame data can be input to the signal generation device pixel data one screen unit at a time, one subframe at a time. As the pixel data of the image frame data is input, the signal generation device can acquire the pixel data corresponding to each pixel in the pixel set of the target screen unit in the target subframe within the image frame data. If the signal generation device detects the target field synchronization signal of the target screen unit in the image frame data, it can begin extracting the target pixel data input from the image frame data.
[0108] Optionally, if the signal generating device detects the target field synchronization signal of the target point screen unit in the image frame data, it can start extracting the target pixel data input from the image frame data until the next field synchronization signal of the target field synchronization signal is detected.
[0109] Optionally, the target pixel unit can be one row of pixels on the display device screen.
[0110] S203, determine the target subframe corresponding to the target pixel point data based on the target field synchronization signal.
[0111] Specifically, the signal generation apparatus can determine the target subframe corresponding to the target pixel point based on the target field synchronization signal.
[0112] Optionally, the signal generation apparatus can obtain the count corresponding to the target field synchronization signal. Since the count of the field synchronization signal can correspond to the subframe number, the signal generation apparatus can determine the target subframe in the preset number of subframes based on the count.
[0113] S204, determine the target pixel point data as the pixel point data corresponding to the target point screen unit in the target subframe.
[0114] Optionally, after determining the target subframe, the signal generation apparatus can determine the target pixel point data as the pixel point data corresponding to the target point screen unit in the target subframe.
[0115] For example, please see Figure 5 An example schematic diagram of target subframe determination is provided for the embodiments of the present application. The signal generation apparatus can start to obtain the target pixel point data input by the image frame data when detecting the target field synchronization signal of the target point screen unit until detecting the next field synchronization signal of the target field synchronization signal. The target subframe corresponding to the target pixel point can be determined based on the count corresponding to the target field synchronization signal. For example, if the preset number is 8, the signal generation apparatus performs a cyclic count of 0-7 based on the preset number, the count corresponding to the target field synchronization signal is 7, and the target subframe corresponding to the target pixel point is the subframe No. 7. The target pixel point is the pixel point data corresponding to the target point screen unit in the subframe No. 7. It can be understood that the signal generation apparatus does not stop obtaining the pixel point data input by the image frame data after detecting the next field synchronization signal of the target field synchronization signal. Instead, the pixel point data obtained by the signal generation apparatus after the next field synchronization signal of the target field synchronization signal is the pixel point data corresponding to the target point screen unit in other subframes, or the pixel point data corresponding to the point screen unit in each subframe.
[0116] S205, determine the first number of registers based on the number of links of the point screen signal interface of the display device, and obtain the second number of pixel points in the pixel point set.
[0117] Specifically, the display device can have a first number of registers, the first number being determined by a number of links of a point screen signal interface of the display device, and the first number can be equal to the number of links, indicating that the display device needs a first number of point screen signals for point screen processing. The pixel point set of the target point screen unit contains a second number of pixel points, and the second number is the number of pixel points of a point screen unit in the image frame data, and is also the number of pixel points that a point screen unit of the display device screen needs to display. The signal generation device can obtain the first number of registers in the display device and the second number of pixel points in the pixel point set.
[0118] S206, based on the first number and the second number, determining a third number of pixel point data required to be saved by each register.
[0119] Specifically, the signal generation device can average the second number of pixel point data in the first number of registers, and the ratio of the first number and the second number can be determined as the number of pixel point data required to be contained by each register. For example, the resolution of the display device is 1952x1112, the point screen signal interface is 16 links, and the point screen unit is one row of pixel points. The first number is 16, the second number is 1952, and the number of pixel point data required to be contained by each register is 122.
[0120] S207, according to the storage order corresponding to the data reading order of the display device, based on the storage bit number of each register, storing not less than the third number of pixel point data in each register in turn.
[0121] Specifically, the signal generation device can determine the data reading sequence of the display device based on the point screen processing requirement of the display device, and then store no less than the third number of pixel point data in each register in turn based on the storage sequence corresponding to the data reading sequence of the display device and the storage bit number of each register. The signal generation device can save the pixel point data corresponding to each pixel point in each register in the storage sequence, and each register at least stores at least the third number of pixel point data. The storage bit number of the register can be selected according to the third number. In order to store the third number of pixel point data, the storage bit number can be equal to or greater than the third number. It can be understood that the image frame data can be fourth number of link data, so the image source can input pixel point data of the fourth number of links, that is, the fourth number of pixel point data can be input in each cycle. Therefore, the signal generation device can obtain the fourth number of pixel point data in each cycle of image frame data input, and can save the obtained fourth number of pixel point data in the register in each cycle. Since the third number cannot be evenly divided by the fourth number, and in order to avoid the existence of pixel point missing, the signal generation device can save the fourth number of pixel point data obtained in the same cycle in two different registers, so that at least the third number of pixel point data can be saved in one register, and there can be repeated pixel point data in different registers.
[0122] Optionally, in order to store the third number of pixel point data and at the same time store the pixel point data input by the image source in one cycle completely, the storage bit number of the register can be an integer multiple of the fourth number and greater than or equal to the third number. For example, if the third number is 122 and the fourth number is 8, the storage bit number can be 128.
[0123] Optionally, the signal generation device can save the pixel point data corresponding to each pixel point in each register based on the input order of the image frame data and the storage order corresponding to the data reading order of the display device. For example, when the display device reads the pixel point data of the point screen signal, it requires continuous pixel point data on each link, and the same number of pixel point data on each link. Therefore, the signal generation device can save the pixel point data in each register in the order of the pixel points. For example, if the data reading order of the display device is to read the pixel point data from high to low, the signal generation device can save the obtained pixel point data from low to high in each register. If the target point screen unit contains 1952 pixel points, the display device can contain 16 registers, including register DOUT0, register DOUT1,..., register DOUT15, and requires a point screen signal of 16 links. The number of pixel point data is 122. If the target point screen unit has D0-D1951, a total of 1952 pixel point data under the target subframe, register DOUT0 can store at least D0-D121, register DOUT1 can store at least D122-D243, and so on. Register DOUT15 can store at least D1829-D1951.
[0124] Please see Figure 6 An example diagram of pixel point data storage is provided for the embodiments of the present application. If the image frame data is 8-link data, the image frame data can be input using 8 links, including link 0, link 1,..., and link 7, to input pixel point data. For example, Figure 6The D0~D1951 can be 1952 pixel point data of the target point screen unit in the target sub-frame in the image frame data. The first 8 pixel point data D0~D7 are input in the first cycle, the D8~D15 are input in the second cycle, and the image source can transmit the pixel point data in sequence until the last 8 pixel point data S1944~D1951 are transmitted in the 244th cycle. The display device can include 16 registers DOUT0, DOUT1,..., DOUT15. It can be understood that the storage bits of the registers need to be greater than the third number. If the third number is 122, the storage bits of all registers can be 128, that is, each register can store up to 128 pixel point data. The D0~D121 need to be saved in the register DOUT0, and the D122~D243 need to be saved in the register DOUT1. However, since the D120, D121 and the D122~D127 are transmitted by the image source at the same time, in order to avoid missing of the pixel point data, the signal generating device can save the D120~D127 in the register DOUT0 and the register DOUT1 at the same time. Similarly, the D244~D365 need to be saved in the register DOUT2, and the signal generating device can save the D240~D247 in the register DOUT1 and the register DOUT0 at the same time. Therefore, the register DOUT0 can save the D122~D127 in addition to the required D0~D121, the register DOUT1 can save the D120, D121 and the D244~D247 in addition to the required D122~D243, the register DOUT2 can save the D240~D243 and the D266, D367 in addition to the required D244~D365, and so on. The register DOUT15 can save the D1823~D1828 in addition to the required D1829~D1951.
[0125] In S208, the pixel point data in each register is subjected to a truncation processing so that only the third number of pixel point data is saved in each register, and the pixel point data saved in each register is different.
[0126] Specifically, in order to avoid repeated pixel point data in the generated point screen signal and cause reading error or display error of the display device, the signal generating device can perform truncation processing on the pixel point data in each register so that the pixel point data in each register is different, and the first number of registers only includes the pixel point data of the target point screen unit. The truncation processing can be to delete part of the data in the register, so as to achieve the purpose of deduplication.
[0127] Optionally, the signal generation apparatus can perform truncation processing on the pixel point data in each register, so that each register only includes pixel point data of the first quantity of pixel point data, and the pixel point data included in each register is different, and the pixel point data of the target point screen unit is included in the first quantity of registers. For example Figure 6 As shown, the signal generation apparatus can perform truncation processing on D122-D127 in register DOUT0, so that only D0-D121 are saved in register DOUT0, and can also perform truncation processing on D120, D121 and D244-D247 in register DOUT1, so that only D122-D243 are saved in register DOUT1, perform truncation processing on D240-D243 and D266, D367 in register DOUT2, so that only D244-D365 are saved in register DOUT1, and so on. Truncation processing can be performed on D1823-D1828 in register DOUT15, so that only D1829-D1951 are saved in register DOUT0.
[0128] S209, based on the data clock signal, the pixel point data in each register is shifted and output to the point screen signal link corresponding to each register via the differential output buffer.
[0129] Specifically, in order to ensure the synchronization of data sending and receiving, the point screen signal needs to conform to the data clock signal. The data clock signal can be a periodic signal, which is used to indicate the sampling time of the data bit, so as to ensure that each data bit can be sampled at the correct time point, the point screen signal can be correctly parsed and recovered, and the display device can accurately perform point screen processing. The signal generation apparatus can output the pixel point data in each register to the point screen signal link corresponding to each register via the differential output buffer based on the data clock signal, for example, the signal generation apparatus can output one bit of pixel point data in each register every period of the data clock signal, wherein each register corresponds to a different point screen signal link.
[0130] Optionally, the signal generation apparatus can determine a target point screen signal link corresponding to a target register, wherein the target register is any one of the first quantity of registers. It can be understood that the register number can correspond to the point screen signal link number. For example, if the display device has 16 registers, including register DOUT0, register DOUT1,..., and register DOUT15, and 16 point screen signal links, including point screen signal link 0, point screen signal link 1,..., and point screen link 15, then register DOUT0 can correspond to point screen signal link 0, register DOUT1 can correspond to point screen signal link 1, and so on, and register DOUT15 can correspond to point screen signal link 15.
[0131] Optionally, the signal generation device can sequentially left shift the pixel data in the target register based on the data clock signal and output the highest bit pixel data in the target register to the target dot screen signal link via the differential output buffer, wherein the highest bit pixel data can be the leftmost pixel data in the register, and the signal generation device can output one bit of pixel data in the target register every period of the data clock signal.
[0132] Optionally, in addition to sequentially left shifting the pixel data in each register based on the data clock signal and outputting the highest bit pixel data, the signal generation device can also shift and output the pixel data in each register based on the data reading sequence of the dot screen signal of the display device. For example, if the display device requires reading the high bit pixel data first and then reading the low bit pixel data, the signal generation device can sequentially left shift the pixel data in the target register based on the data clock of the dot screen signal interface and output the highest bit pixel data in the target register to the target dot screen signal link via the differential output buffer. Conversely, if the display device requires reading the low bit pixel data first and then reading the high bit pixel data, the signal generation device can sequentially right shift the pixel data in the target register based on the data clock signal and output the lowest bit pixel data in the target register to the target dot screen signal link via the differential output buffer.
[0133] Optionally, when the pixel data in each register is shifted and output to the dot screen signal link, each register is in an idle state, and the signal generation device can obtain the pixel data corresponding to the next subframe, i.e., perform step S202 to obtain and save the pixel data in each register.
[0134] Optionally, in order to enable the entire clock of the dot screen signal to match the pixel clock signal of the display device, the signal generation device can generate the data clock signal of the dot screen signal interface based on the pixel clock signal, wherein the frequency of the pixel clock signal can be the number of pixels that the display device can transmit to the screen of the display device per second, and the frequency of the pixel clock signal is related to the resolution and refresh rate of the display device. The signal generation device can determine the frequency of the data clock signal as half of the frequency of the pixel clock signal, and then generate the data clock signal of the dot screen signal interface based on the frequency of the data clock signal.
[0135] Optionally, if the display device has a resolution of 1952x1112, the image frame data has an 8-bit color depth and 8-link data, the display device requires 16-link dot screen signals for dot screen processing, and the refresh rate of the display device is F, the frequency f of the pixel clock signal of the display device vid_cik The calculation formula is as follows:
[0136]
[0137] If the number of pixel point data of each register is 122, the data clock signal frequency f Dclk The calculation formula is as follows:
[0138] f Dclk = F x 8 x 1112 x 122
[0139] Therefore, f Dclk = (1 / 2) f vid_cik .
[0140] S210, based on the first number of point screen signal links, generating the point screen signal corresponding to the target point screen unit under the target subframe.
[0141] Specifically, since there are a first number of registers, and one register corresponds to one link, the signal generation device can generate the point screen signal corresponding to the target point screen unit under the target subframe based on the first number of point screen signal links. The point screen signal corresponding to the target subframe is the point screen signal of the first number of links, which matches the point screen signal interface of the display device and meets the point screen processing requirements of the display device.
[0142] S211, generating a unit point screen signal based on the point screen signals corresponding to the target point screen unit under all subframes.
[0143] Specifically, since the image frame data has a preset number of subframes, the target point screen unit also has a preset number of subframes, and the point screen signal of one subframe can also perform point screen processing on the display device. It can be understood that one subframe corresponds to one bit of color depth data, and the image displayed after single subframe or insufficient subframe point screen processing will have a deviation in color and brightness from the image corresponding to the image frame data. In order to enable the display device to further accurately display, the signal generation device needs to obtain the point screen signals corresponding to the target point screen unit under the remaining subframes in addition to the point screen signals corresponding to the target point screen unit under the target subframe. The remaining subframes are other subframes in addition to the target subframe in the preset number of subframes, and the generation method of the point screen signals corresponding to the target point screen unit under the remaining subframes is the same as that of the point screen signals corresponding to the target point screen unit under the target subframe. The signal generation device can generate a unit point screen signal based on the point screen signals corresponding to the target point screen unit under all subframes. The signal generation device can splice the point screen signals corresponding to the target point screen unit under all subframes according to the subframe order to generate a unit point screen signal.
[0144] S212, generating a control signal for all unit point screen signals.
[0145] Specifically, in order to indicate the transmission and reception of each pixel point data, the signal generation device can generate a control signal of all unit dot screen signals, the control signal being used for dot screen processing of the display device and being used for ensuring the timing and accuracy of the unit dot screen signals, wherein the all unit dot screen signals are unit dot screen signals of all dot screen units in the image frame data, and the all unit dot screen signals can be used for dot screen processing of all pixel points in the image frame data, so that the display device can display complete image frame data.
[0146] Optionally, the clock signal, the frame synchronization signal and the clear signal, wherein the clock signal is used for indicating the starting position of the pixel point data corresponding to each dot screen unit, the frame synchronization signal is used for indicating the starting position of the pixel point data corresponding to each subframe, and the clear signal is used for indicating the noise reduction processing of the dot screen signal corresponding to each subframe. The signal generation device can generate the clock signal, the frame synchronization signal and the clear signal corresponding to all unit dot screen signals based on the data clock signal, the clock signal can include the data clock signal, the unit clock signal and the reference clock signal, the data clock signal is used for indicating the transmission of each bit of pixel point data, and each link transmits one bit of pixel point data in each data clock signal period. The unit clock signal and the reference clock signal have the same clock frequency and are used for synchronizing the pixel point data of each dot screen unit of the image frame data, and when a period of the unit clock signal starts, it indicates that the transmission of the pixel point data of a new dot screen unit starts. The frame synchronization signal and the clear signal correspond to each subframe, and when a period of the frame synchronization signal starts, it indicates that the transmission of the pixel point data of a new subframe starts, and the clear signal can remove or reduce the interference or noise signals shared between two dot screen signals, and at the same time of marking a new subframe, it is convenient for the input of the pixel point data of the next subframe. The signal generation device can generate the control signal corresponding to all unit dot screen signals based on the clock signal, the frame synchronization signal and the clear signal.
[0147] Optionally, since when a period of the unit clock signal starts, it indicates that the transmission of the pixel point data of a new dot screen unit starts, the rising edge of the unit clock signal can have a corresponding relationship with the first transmission period of each unit dot screen signal, for example, the rising edge of the unit clock signal can be aligned with the first transmission period of the unit dot screen signal, or the rising edge of the unit dot screen signal can be aligned with the last transmission period of the previous unit dot screen signal, so as to prompt the display device to start transmitting a new unit dot screen signal in the next transmission period.
[0148] Please refer to Figure 7An example schematic diagram of a unit clock signal and a reference clock signal is provided for the embodiment of the present application, wherein ROW1, ROW2, ROW3, and the like are all unit dot screen signals, representing a unit dot screen signal corresponding to a unit pixel point in image frame data, when a period of the unit clock signal starts, a unit dot screen signal starts to be transmitted, and the clock frequency of the unit clock signal and the reference clock signal is the same, that is, the length of a period is also the same, the length of a period of the unit clock signal and the reference clock signal can both be T1, and the reference clock signal lags behind the unit clock signal by a first preset length, such as Figure 7 shown, the first preset length can be T2, and the start time of each period of the reference clock signal lags behind the unit clock signal by T2.
[0149] Please see Figure 8 An example schematic diagram of a frame synchronization signal and a clear signal is provided for the embodiment of the present application, the unit dot screen signal ROW can be a unit dot screen signal corresponding to a target unit dot screen in image frame data, if the preset number is 8, FIELD0, FIELD1, FIELD7, and the like can be dot screen signals corresponding to the target unit dot screen in each subframe, FIELD0 can be a dot screen signal corresponding to the subframe numbered 0, FIELD1 can be a dot screen signal corresponding to the subframe numbered 1, and so on, FIELD7 can be a dot screen signal corresponding to the subframe numbered 7, the start of each period of the frame synchronization signal indicates that the dot screen signal in a new subframe starts to be transmitted, the start time of each period of the clear signal can lag behind the frame synchronization signal by a second preset time length, the second preset time length corresponding to each period can be the same or different, for example, when the subframe numbered 0, the clear signal can lag behind the frame synchronization signal by t1, when the subframe numbered 1, the clear signal can lag behind the frame synchronization signal by t2, and so on, when the subframe numbered 7, the clear signal can lag behind the frame synchronization signal by t8, wherein t1=9t, t2=14t, t3=35t, t4=70t, t5=139t, t6=278t, t7=556t, t8=1112t, wherein t is a unit time length, which can be set by a user or relevant staff, or can be an initial setting of the signal generation device, for example, the unit time length can be the length of a period of the data clock signal.
[0150] S213, based on all unit dot screen signals and control signals, performing dot screen processing on the screen of the display device.
[0151] Specifically, the signal generation device can perform dot screen processing on the screen of the display device based on all unit dot screen signals and control signals, so that the display device accurately displays each pixel point in the image frame data and restores the color and brightness of the image frame data.
[0152] In the embodiment of the present application, the field synchronization signals of the image frame data are cyclically counted based on a preset number, if a target field synchronization signal of a target point screen unit in the image frame data is detected, target pixel point data input by the image frame data is extracted, the target pixel point data is determined as pixel point data corresponding to the target point screen unit in a target subframe based on the target field synchronization signal, and it is determined which subframe the pixel point data corresponds to according to the counting of the field synchronization signal, thereby improving the accuracy of the point screen signal. The first number of registers is determined based on the number of links of the point screen signal interface of the display device, the second number of pixel points in the pixel point set is obtained, the third number of pixel point data required to be saved by each register is determined as the ratio of the first number and the second number, the pixel point data corresponding to each pixel point is saved in each register in the storage order corresponding to the data reading order of the display device, each register at least saves the third number of pixel point data, thereby avoiding the problems of missing or missing pixel point data in the process of saving the pixel point data, then the pixel point data in each register is subjected to truncation processing, so that the pixel point data in each register is different, and only the third number of pixel point data is saved in the first number of registers, and the pixel point data saved in each register is different, thereby avoiding the existence of repeated data points in the generated point screen signal, which causes the display device to read or display errors, and the point screen signal can also be generated according to the data reading order of the display device for the pixel point data, thereby further improving the compatibility of the point screen signal and the display device. The data clock signal is determined based on the pixel clock signal of the display device, the pixel point data in each register is shifted and output to the point screen signal link corresponding to each register via the differential output buffer based on the data clock signal, and the point screen signal corresponding to the target point screen unit in the target subframe is generated based on the first number of point screen signal links, so that the entire clock of the point screen signal can be matched with the pixel clock of the display device, the pixel point data is stored in the register corresponding to the number of point screen signal interfaces, the data point data is rearranged to generate a point screen signal that meets the display device, so that the point screen signal meets the requirements of the display device, thereby avoiding the display error of the display device caused by the mismatch of the image frame data format. The unit point screen signal can also be generated based on the point screen signal corresponding to the target point screen unit in all subframes, so that the display device can accurately display the target point screen unit in the image frame data, restore the color and brightness of the target point screen unit data, generate a control signal for all unit point screen signals, and perform point screen processing on the screen of the display device based on all unit point screen signals and the control signal, thereby further improving the timing and accuracy of the point screen signal.
[0153] Please refer to Figure 9 A flowchart of a signal generation method is provided for the embodiment of the present application. As shown in Figure 9As shown, the method of the embodiment of the present application can include steps S301-S303.
[0154] S301, generating point screen signals corresponding to the target point screen unit in all subframes, and generating unit point screen signals based on the point screen signals corresponding to the target point screen unit in all subframes.
[0155] Specifically, one subframe corresponds to one bit of color depth data. The image displayed after single subframe or insufficient subframe point screen processing will have deviations in color and brightness of the pixel points compared with the image corresponding to the image frame data. In order to enable the display device to further accurately display, the signal generation method device can repeatedly execute steps S101-S103 of the above embodiment to generate point screen signals corresponding to the target point screen unit in all subframes, and then generate unit point screen signals based on the point screen signals corresponding to the target point screen unit in all subframes. The signal generation device can splice the point screen signals corresponding to the target point screen unit in all subframes according to the subframe order to generate unit point screen signals.
[0156] Optionally, the signal generation method device can repeatedly execute steps S201-S210 of the above embodiment to generate point screen signals corresponding to the target point screen unit in all subframes.
[0157] S302, generating control signals for all unit point screen signals.
[0158] Specifically, please refer to step S212 of the above embodiment, which will not be repeated here.
[0159] S303, performing point screen processing on the screen of the display device based on all unit point screen signals and control signals.
[0160] Specifically, please refer to step S213 of the above embodiment, which will not be repeated here.
[0161] In the embodiment, in the image frame data, pixel point data corresponding to each pixel point in a target point screen unit in a target subframe is obtained, the target point screen unit is any point screen unit obtained by dividing the pixel points in the image frame data by using a preset division manner, the image frame includes a preset number of subframes, the target subframe is any one of the preset number of subframes, the pixel point data corresponding to each pixel point is respectively stored in each register based on a first number of registers and a data reading sequence of the display device, the first number is determined by a link number of a point screen signal interface of the display device, the pixel point data in each register is shifted and output based on a data clock signal, a point screen signal corresponding to the target point screen unit in the target subframe is generated, the data clock signal is determined based on a refresh rate and a resolution of the display device, and the point screen signal corresponding to the target point screen unit in the target subframe is used for point screen processing of the display device. The pixel point data is stored in the registers corresponding to the link number of the point screen signal interface, the data point data is rearranged to generate a point screen signal conforming to the display device, so that the point screen signal meets the requirements of the display device, thereby avoiding display errors of the display device caused by the mismatch of the image frame data format. The above steps are repeatedly performed to obtain point screen signals corresponding to all subframes, a unit point screen signal is generated based on the point screen signals corresponding to all subframes of the target point screen unit, so that the display device accurately displays the target point screen unit in the image frame data, restores the color and brightness of the target point screen unit data, generates a control signal for all unit point screen signals, and performs point screen processing on the screen of the display device based on all unit point screen signals and the control signal, thereby further improving the timing and accuracy of the point screen signal.
[0162] The embodiments of the present application will be described below in detail with reference to the accompanying drawings. Figure 10 - The accompanying drawings Figure 11 The signal generation device provided by the embodiments of the present application will be described in detail. It should be noted that the accompanying drawings Figure 10 - The accompanying drawings Figure 11 The signal generation device in the embodiments of the present application is used to execute the method of the embodiments of the present application, only parts related to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the embodiments shown in the present application Figures 2-9 . Figures 2-9 .
[0163] Please refer to Figure 10 , which shows a structural schematic diagram of a signal generation device provided by an exemplary embodiment of the present application. The signal generation device can be realized by software, hardware or a combination of the two to become all or part of the device. The device 1 includes a pixel point data acquisition unit 11, a pixel point data latching unit 12 and a point screen signal generation unit 13.
[0164] The pixel point data acquisition unit 11 is configured to acquire, in image frame data, pixel point data corresponding to each pixel point in a pixel point set of a target point screen unit in a target subframe, the target point screen unit being any point screen unit obtained by dividing pixel points in the image frame data in a preset division manner, the image frame including a preset number of subframes, and the target subframe being any one of the preset number of subframes.
[0165] The pixel point data latching unit 12 is configured to store the pixel point data corresponding to each pixel point into each register based on a first number of registers and a data reading sequence of a display device, the first number being determined by a number of links of a point screen signal interface of the display device.
[0166] The point screen signal generation unit 13 is configured to perform shift output on the pixel point data in each register based on a data clock signal to generate a point screen signal corresponding to the target point screen unit in the target subframe, the data clock signal being determined based on a refresh rate and a resolution of the display device, and the point screen signal corresponding to the target point screen unit in the target subframe being used for point screen processing of the display device.
[0167] In the embodiment, in image frame data, pixel point data corresponding to each pixel point in a pixel point set of a target point screen unit in a target subframe is acquired, the target point screen unit being any point screen unit obtained by dividing pixel points in the image frame data in a preset division manner, the image frame including a preset number of subframes, and the target subframe being any one of the preset number of subframes, the pixel point data corresponding to each pixel point is stored into each register based on a first number of registers and a data reading sequence of a display device, the first number being determined by a number of links of a point screen signal interface of the display device, shift output is performed on the pixel point data in each register based on a data clock signal to generate a point screen signal corresponding to the target point screen unit in the target subframe, the data clock signal being determined based on a refresh rate and a resolution of the display device, and the point screen signal corresponding to the target point screen unit in the target subframe being used for point screen processing of the display device. By storing the pixel point data in the registers corresponding to the number of links of the point screen signal interface, the data point data is rearranged to generate a point screen signal conforming to the display device, so that the point screen signal conforms to the requirements of the display device, thereby avoiding display errors of the display device caused by a mismatch between the image frame data format.
[0168] See Figure 11Fig. 1 is a structural schematic diagram of a signal generation device according to an example embodiment of the present application. The signal generation device can be implemented by software, hardware or a combination of both to become all or part of the device. The device 1 includes a cycle counting unit 14, a pixel point data acquisition unit 11, a pixel point data latching unit 12, a dot screen signal generation unit 13 and a dot screen processing unit 15.
[0169] The cycle counting unit 14 is configured to perform cycle counting processing on the field synchronization signal of the image frame data based on the preset number.
[0170] The pixel point data acquisition unit 11 is configured to acquire, in the image frame data, pixel point data corresponding to each pixel point in a target pixel point set of a target dot screen unit in a target subframe, the target dot screen unit being any dot screen unit obtained by dividing the pixel points in the image frame data by a preset division manner, the image frame including a preset number of subframes, and the target subframe being any one of the preset number of subframes.
[0171] Optionally, the pixel point data acquisition unit 11 is specifically configured to extract target pixel point data input by the image frame data if a target field synchronization signal of the target dot screen unit in the image frame data is detected.
[0172] The target pixel point data is determined as the pixel point data corresponding to the target dot screen unit in the target subframe.
[0173] The target pixel point data is determined as the pixel point data corresponding to the target dot screen unit in the target subframe.
[0174] Optionally, the pixel point data acquisition unit 11 is specifically configured to acquire a count corresponding to the target field synchronization signal and determine a target subframe in the preset number of subframes based on the count.
[0175] The pixel point data latching unit 12 is configured to save the pixel point data corresponding to each pixel point into each register based on a first number of registers and a data reading sequence of a display device, the first number being determined by a link number of a dot screen signal interface of the display device.
[0176] Optionally, the data number determination unit 12 is specifically configured to determine a first number of registers based on a link number of a dot screen signal interface of a display device and acquire a second number of the pixel points in the pixel point set.
[0177] Based on the first number and the second number, a third number of the pixel point data required to be saved by each register is determined.
[0178] Based on the third quantity and the data reading sequence of the display device, the pixel point data corresponding to each pixel point is respectively saved into each register.
[0179] Optionally, the data quantity determination unit 12 is specifically configured to store, based on the storage bit number of each register, no less than the third quantity of pixel point data into each register in a storage sequence corresponding to a data reading sequence of the display device.
[0180] The pixel point data in each register is subjected to a truncation processing, so that only the third quantity of pixel point data is saved in each register, and the pixel point data saved in each register are all different.
[0181] The point screen signal generation unit 13 is configured to generate a point screen signal corresponding to the target point screen unit in the target subframe based on the pixel point data in each register and a data clock signal, the data clock signal being determined based on the refresh rate and resolution of the display device, and the point screen signal corresponding to the target point screen unit in the target subframe being used for point screen processing of the display device.
[0182] Optionally, the point screen signal generation unit 13 is specifically configured to output, based on the data clock signal, the pixel point data in each register to a point screen signal link corresponding to each register via a differential output buffer, wherein each register corresponds to a different point screen signal link.
[0183] The point screen signal generation unit 13 is configured to generate the point screen signal corresponding to the target point screen unit in the target subframe based on the first quantity of point screen signal links.
[0184] The device 1 controls the pixel point data acquisition unit 11, the pixel point data latch unit 12 and the point screen signal generation unit 13 to generate the point screen signal corresponding to the target point screen unit in all subframes.
[0185] Optionally, the device 1 controls the cycle counting unit 14, the pixel point data acquisition unit 11, the pixel point data latch unit 12 and the point screen signal generation unit 13 to generate the point screen signal corresponding to the target point screen unit in all subframes.
[0186] The point screen processing unit 15 is configured to generate a unit point screen signal based on the point screen signal corresponding to the target point screen unit in all subframes.
[0187] A control signal for all unit point screen signals is generated, the all unit point screen signals being unit point screen signals of all point screen units in the image frame data.
[0188] Based on the all unit dot screen signals and the control signal, the screen of the display device is dot screened.
[0189] Optionally, the control signal comprises:
[0190] a clock signal, a frame synchronization signal and a clear signal, wherein the clock signal is used to indicate the starting position of pixel point data corresponding to each dot screen unit, the frame synchronization signal is used to indicate the starting position of pixel point data corresponding to each subframe, and the clear signal is used to indicate the de-noising processing of the dot screen signal corresponding to each subframe.
[0191] In the embodiment, the field synchronization signals of the image frame data are cyclically counted based on a preset number, if a target field synchronization signal of a target point screen unit in the image frame data is detected, target pixel point data input by the image frame data is extracted, the target pixel point data is determined as pixel point data corresponding to the target point screen unit in a target subframe based on the target field synchronization signal, and it is determined which subframe the pixel point data corresponds to according to the counting of the field synchronization signal, thereby improving the accuracy of the point screen signal. The first number of registers is determined based on the number of links of the point screen signal interface of the display device, the second number of pixel points in the pixel point set is obtained, the third number required to be saved by each register is determined as the ratio of the first number and the second number, the pixel point data corresponding to each pixel point is saved in each register in the storage order corresponding to the data reading order of the display device, each register at least saves the third number of pixel point data, thereby avoiding the problems of missing or missing pixel point data in the process of saving the pixel point data, then the pixel point data in each register is subjected to truncation processing, so that the pixel point data in each register is different, and only the third number of pixel point data is saved in the first number of registers, and the pixel point data saved in each register is different, avoiding the existence of repeated data points in the generated point screen signal, which causes the display device to read or display errors, and the point screen signal can also be generated according to the data reading order of the display device for the pixel point data, further improving the compatibility of the point screen signal and the display device. The data clock signal is determined based on the pixel clock signal of the display device, the pixel point data in each register is shifted and output to the point screen signal link corresponding to each register via the differential output buffer based on the data clock signal, and the point screen signal corresponding to the target point screen unit in the target subframe is generated based on the first number of point screen signal links, so that the entire clock of the point screen signal can be matched with the pixel clock of the display device. By storing the pixel point data in the registers corresponding to the number of point screen signal interface links, the data point data is rearranged to generate a point screen signal that meets the display device, so that the point screen signal meets the requirements of the display device, thereby avoiding the mismatch of the image frame data format and causing the display device to display errors. The above steps are repeatedly executed to obtain the corresponding point screen signals in all subframes, the unit point screen signal is generated based on the point screen signals corresponding to the target point screen unit in all subframes, so that the display device accurately displays the target point screen unit in the image frame data, restores the color and brightness of the target point screen unit data, generates a control signal for all unit point screen signals, and performs point screen processing on the screen of the display device based on all unit point screen signals and the control signal, further improving the timing and accuracy of the point screen signal.
[0192] It should be noted that the signal generation apparatus provided in the above embodiments is only used for illustrating the division of the functional modules, and in actual applications, the above functions can be completed by different functional modules according to requirements, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the signal generation apparatus and the signal generation method provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.
[0193] The serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0194] The embodiments of the present application also provide a computer storage medium, which can store a plurality of instructions, the instructions being suitable for being loaded and executed by a processor to execute the signal generation method of the above-mentioned Figures 1-8 The specific execution process can refer to the specific description of the above-mentioned Figures 1-8 The specific execution process can refer to the specific description of the above-mentioned
[0195] The present application also provides a computer program product, which stores at least one instruction, the at least one instruction being loaded and executed by the processor to execute the signal generation method of the above-mentioned Figures 1-8 The specific execution process can refer to the specific description of the above-mentioned Figures 1-8 The specific execution process can refer to the specific description of the above-mentioned
[0196] Please refer to Figure 12 , which shows the structural block diagram of the electronic device provided by an exemplary embodiment of the present application. The electronic device in the present application can include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140 and a bus 150. The processor 110, the memory 120, the input device 130 and the output device 140 can be connected through the bus 150.
[0197] The processor 110 can include one or more processing cores. The processor 110 connects various parts within the entire electronic device with various interfaces and lines, performs various functions of the terminal 100 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Alternatively, the processor 110 can be implemented in at least one of a hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA). The processor 110 can integrate a combination of one or several of a central processing unit (CPU), a graphics processor (GPU), and a modem, etc. Among them, the CPU mainly processes an operating system, a user page, and an application program, etc.; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 110, but can be implemented by a separate communication chip.
[0198] The memory 120 can include a random access memory (RAM) and can also include a read-only memory (ROM). Alternatively, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-mentioned various method embodiments, etc., and the operating system can be an Android system, an IOS system developed by Apple Inc., a system based on deep development of the Android system, a system based on deep development of the IOS system, or other systems.
[0199] The memory 120 can be divided into operating system space and user space. The operating system runs in the operating system space, while native and third-party applications run in user space. To ensure that different third-party applications can achieve good running performance, the operating system allocates corresponding system resources for each application. However, different application scenarios within the same third-party application have different requirements for system resources. For example, in local resource loading scenarios, third-party applications have high requirements for disk read speed; in animation rendering scenarios, third-party applications have high requirements for GPU performance. Since the operating system and third-party applications are independent of each other, the operating system often cannot promptly perceive the current application scenario of a third-party application, resulting in the operating system's inability to adapt system resources accordingly.
[0200] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to establish data communication between the third-party applications and the operating system. This would allow the operating system to obtain the current scenario information of the third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.
[0201] The input device 130 is used to receive input instructions or data, and includes, but is not limited to, a keyboard, mouse, camera, microphone, or touch device. The output device 140 is used to output instructions or data, and includes, but is not limited to, a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 can be a touch display screen.
[0202] The touch display screen can be designed as a full-screen, curved screen, or irregularly shaped screen. It can also be designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen; however, this application does not limit the specific design in this regard.
[0203] In addition, those skilled in the art will understand that the structure of the electronic device shown in the above figures does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the electronic device may also include radio frequency circuits, input units, sensors, audio circuits, Wireless Fidelity (WiFi) modules, power supplies, Bluetooth modules, etc., which will not be described in detail here.
[0204] exist Figure 12 In the illustrated electronic device, the processor 110 can be used to call the screen dot signal generation application stored in the memory 120, and specifically perform the following operations:
[0205] S101, in image frame data, obtaining pixel point data corresponding to each pixel point in a pixel point set of a target point screen unit in a target subframe, the target point screen unit being any point screen unit obtained by dividing pixel points in the image frame data in a preset division manner, the image frame comprising a preset number of subframes, and the target subframe being any one of the preset number of subframes;
[0206] S102, based on a first number of registers and a data reading sequence of the display device, saving the pixel point data corresponding to each pixel point into each register, the first number being determined by a link number of a point screen signal interface of the display device;
[0207] S103, based on a data clock signal, shifting and outputting the pixel point data in each register to generate a point screen signal corresponding to the target point screen unit in the target subframe, the data clock signal being determined based on a refresh rate and a resolution of the display device, and the point screen signal corresponding to the target point screen unit in the target subframe being used for point screen processing of the display device.
[0208] In one embodiment, the processor 110, when executing the signal production method, further performs the following operations:
[0209] Repeating steps S101-S103 to generate point screen signals corresponding to the target point screen unit in all subframes, and generating a unit point screen signal based on the point screen signals corresponding to the target point screen unit in all subframes;
[0210] Generating a control signal for all unit point screen signals, the all unit point screen signals being unit point screen signals of all point screen units in the image frame data;
[0211] Based on the all unit point screen signals and the control signal, performing point screen processing on the screen of the display device.
[0212] In one embodiment, the control signal comprises:
[0213] A clock signal, a frame synchronization signal and a clear signal, wherein the clock signal is used to indicate the starting position of the pixel point data corresponding to each point screen unit, the frame synchronization signal is used to indicate the starting position of the pixel point data corresponding to each subframe, and the clear signal is used to indicate the noise reduction processing of the point screen signal corresponding to each subframe.
[0214] In one embodiment, when the processor 110 executes the operation of obtaining pixel point data corresponding to each pixel point in a pixel point set of a target point screen unit in a target subframe in image frame data, it specifically performs the following operations:
[0215] if a target field synchronization signal of a target point screen unit in image frame data is detected, extracting target pixel point data input by the image frame data;
[0216] determining a target subframe corresponding to the target pixel point data based on the target field synchronization signal;
[0217] determining the target pixel point data as pixel point data corresponding to the target point screen unit in the target subframe.
[0218] In an embodiment, the processor 110, when executing the signal generation method, further performs the following operations:
[0219] performing a cycle count process on a field synchronization signal of the image frame data based on the preset number;
[0220] The processor 110, when determining a target subframe corresponding to the target pixel point data based on the target field synchronization signal, specifically performs the following operations:
[0221] obtaining a count corresponding to the target field synchronization signal, and determining a target subframe in the preset number of subframes based on the count.
[0222] In an embodiment, the processor 110, when saving the pixel point data corresponding to each pixel point into each register based on a first number of registers and a data reading sequence of a display device, specifically performs the following operations:
[0223] determining a first number of registers based on a number of links of a point screen signal interface of the display device, and obtaining a second number of the pixel points in the pixel point set;
[0224] determining a third number of the pixel point data required to be saved by each register based on the first number and the second number;
[0225] saving the pixel point data corresponding to each pixel point into each register based on the third number and the data reading sequence of the display device.
[0226] In an embodiment, the processor 110, when saving the pixel point data corresponding to each pixel point into each register based on the third number and the data reading sequence of the display device, specifically performs the following operations:
[0227] storing no less than the third number of the pixel point data into each register based on a storage bit number of each register according to a storage sequence corresponding to the data reading sequence of the display device;
[0228] The pixel point data in each of the registers is subjected to a truncation processing, so that only the third number of pixel point data is saved in each of the registers, and the pixel point data saved in each of the registers are all different.
[0229] In one embodiment, when the processor 110 performs the shift output of the pixel point data in each of the registers based on the data clock signal to generate the point screen signal corresponding to the target point screen unit in the target subframe, the following operations are specifically performed:
[0230] Based on the data clock signal, the pixel point data in each of the registers is shifted and output to the point screen signal link corresponding to each of the registers via a differential output buffer, wherein each of the registers corresponds to a different point screen signal link.
[0231] Based on the first number of point screen signal links, the point screen signal corresponding to the target point screen unit in the target subframe is generated.
[0232] In the embodiment, the field synchronization signals of the image frame data are cyclically counted based on a preset number, if a target field synchronization signal of a target point screen unit in the image frame data is detected, target pixel point data input by the image frame data is extracted, the target pixel point data is determined as pixel point data corresponding to the target point screen unit in a target subframe based on the target field synchronization signal, and it is determined which subframe the pixel point data corresponds to according to the counting of the field synchronization signal, thereby improving the accuracy of the point screen signal. The first number of registers is determined based on the number of links of the point screen signal interface of the display device, the second number of pixel points in the pixel point set is obtained, the third number of pixel point data required to be saved by each register is determined as the ratio of the first number and the second number, the pixel point data corresponding to each pixel point is saved in each register in the storage order corresponding to the data reading order of the display device, each register at least saves the third number of pixel point data, thereby avoiding the problems of missing or missing pixel point data in the process of saving the pixel point data, then the pixel point data in each register is subjected to truncation processing, so that the pixel point data in each register is different, and only the third number of pixel point data is saved in the first number of registers, and the pixel point data saved in each register is different, avoiding the existence of repeated data point data in the generated point screen signal, which causes the display device to read or display errors, and the point screen signal can also be generated according to the data reading order of the display device for the pixel point data, further improving the compatibility of the point screen signal and the display device. The data clock signal is determined based on the pixel clock signal of the display device, the pixel point data in each register is shifted and output to the point screen signal link corresponding to each register via the differential output buffer based on the data clock signal, and the point screen signal corresponding to the target point screen unit in the target subframe is generated based on the first number of point screen signal links, so that the entire clock of the point screen signal can be matched with the pixel clock of the display device. By storing the pixel point data in the registers corresponding to the number of point screen signal interface links, the data point data is rearranged to generate a point screen signal that meets the display device, so that the point screen signal meets the requirements of the display device, thereby avoiding the mismatch of the image frame data format and causing the display device to display errors. The above steps are repeatedly executed to obtain the point screen signals corresponding to all subframes, the unit point screen signal is generated based on the point screen signals corresponding to the target point screen unit in all subframes, so that the display device accurately displays the target point screen unit in the image frame data, restores the color and brightness of the target point screen unit data, generates a control signal for all unit point screen signals, and performs point screen processing on the screen of the display device based on all unit point screen signals and the control signal, further improving the timing and accuracy of the point screen signal.
[0233] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing related hardware, and the program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiment methods. The storage medium can be a magnetic disc, an optical disc, a read-only memory or a random access memory, etc.
[0234] The above only describes the preferred embodiments of the present application, and cannot limit the scope of the present application. Any equivalent changes made according to the claims of the present application are still within the scope of the present application.
[0235] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions. For example, the image frame data, pixel clock signal frequency, etc. involved in the present application are obtained under sufficient authorization.
Claims
1. A signal generation method, characterized in that, The method includes: S101. In the image frame data, obtain the pixel data corresponding to each pixel in the pixel set of the target point screen unit under the target subframe. The target point screen unit is any point screen unit obtained after dividing the pixels in the image frame data using a preset division method. The image frame includes a preset number of subframes, and the target subframe is any one of the preset number of subframes. S102. Based on the first number of registers and the data reading order of the display device, the pixel data corresponding to each pixel is saved into each of the registers respectively, wherein the first number is determined by the number of links of the dot-screen signal interface of the display device; S103. The pixel data in each of the registers is shifted and output based on the data clock signal to generate the screen signal corresponding to the target screen unit in the target subframe. The data clock signal is determined based on the refresh rate and resolution of the display device. The screen signal corresponding to the target screen unit in the target subframe is used to perform screen processing on the display device.
2. The method according to claim 1, characterized in that, The method further includes: Repeat steps S101 to S103 to generate the target screen signal corresponding to the target screen unit in all subframes, and generate the unit screen signal based on the target screen signal corresponding to the target screen unit in all subframes. Generate control signals for all unit screen signals, wherein all unit screen signals are the unit screen signals of all screen units in the image frame data; Based on all the unit touch signals and the control signals, the screen of the display device is processed for touch.
3. The method according to claim 2, characterized in that, The control signals include: The system includes a clock signal, a frame synchronization signal, and a clear signal. The clock signal indicates the starting position of the pixel data corresponding to each of the screen units. The frame synchronization signal indicates the starting position of the pixel data corresponding to each of the sub-frames. The clear signal indicates the noise reduction processing for the screen signals corresponding to each of the sub-frames.
4. The method according to claim 1, characterized in that, The step of obtaining the pixel data corresponding to each pixel in the pixel set of the target screen unit under the target subframe in the image frame data includes: If a target field synchronization signal of a target point screen unit is detected in the image frame data, the target pixel data input in the image frame data is extracted; The target subframe corresponding to the target pixel data is determined based on the target field synchronization signal; The target pixel data is determined as the pixel data corresponding to the target screen unit in the target subframe.
5. The method according to claim 4, characterized in that, The method further includes: The field synchronization signal of the image frame data is cyclically counted based on the preset number. Determining the target subframe corresponding to the target pixel data based on the target field synchronization signal includes: Obtain the count corresponding to the target field synchronization signal, and determine the target subframe in the preset number of subframes based on the count.
6. The method according to claim 1, characterized in that, The step of saving the pixel data corresponding to each pixel into each register based on the data reading order of the first number of registers and the display device includes: Based on the number of links in the dot-screen signal interface of the display device, determine the first number of registers and obtain the second number of pixels in the pixel set; Based on the first quantity and the second quantity, a third quantity of pixel data that each register needs to store is determined; Based on the third quantity and the data reading order of the display device, the pixel data corresponding to each pixel is saved into each register.
7. The method according to claim 6, characterized in that, The step of saving the pixel data corresponding to each pixel into each register based on the third quantity and the data reading order of the display device includes: According to the storage order corresponding to the data reading order of the display device, and based on the storage bits of each register, no less than the third number of pixel data are sequentially stored in each register; The pixel data in each register is truncated so that each register stores only the third number of pixel data, and the pixel data stored in each register is different.
8. The method according to claim 1, characterized in that, The step of shifting and outputting the pixel data in each of the registers based on the data clock signal to generate the dot-screen signal corresponding to the target dot-screen unit in the target subframe includes: Based on the data clock signal, the pixel data in each register is shifted and output to the corresponding dot screen signal link via a differential output buffer, wherein each register corresponds to a different dot screen signal link; Based on the first number of screen dot signal links, the screen dot signal corresponding to the target screen dot unit in the target subframe is generated.
9. The method according to claim 1, characterized in that, The preset quantity is 8 or 10, and the target pixel unit is one row of pixels on the display device screen.
10. A signal generation device, characterized in that, The device includes: The pixel data acquisition unit is used to acquire the pixel data corresponding to each pixel in the pixel set of the target screen unit under the target subframe in the image frame data. The target screen unit is any screen unit obtained after dividing the pixels in the image frame data by a preset division method. The image frame includes a preset number of subframes, and the target subframe is any one of the preset number of subframes. A pixel data latching unit is used to save the pixel data corresponding to each pixel into each register based on a first number of registers and the data reading order of the display device. The first number is determined by the number of links of the dot-screen signal interface of the display device. The dot-screen signal generation unit is used to shift and output the pixel data in each of the registers based on the data clock signal to generate the dot-screen signal corresponding to the target dot-screen unit in the target subframe. The data clock signal is determined based on the refresh rate and resolution of the display device. The dot-screen signal corresponding to the target dot-screen unit in the target subframe is used to perform dot-screen processing on the display device.
Citation Information
Patent Citations
Device used for transmitting and converting image signals
CN106231227A
Display control method, display control device and system
CN117496918A