CN114974078B - Display data processing method, display data processing device and display device - Google Patents
Display data processing method, display data processing device and display device Download PDFInfo
- Publication number
- CN114974078B CN114974078B CN202210753405.7A CN202210753405A CN114974078B CN 114974078 B CN114974078 B CN 114974078B CN 202210753405 A CN202210753405 A CN 202210753405A CN 114974078 B CN114974078 B CN 114974078B
- Authority
- CN
- China
- Prior art keywords
- display data
- display
- sub
- display area
- direct current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2007—Display of intermediate tones
- G09G3/2074—Display of intermediate tones using sub-pixels
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention discloses a display data processing method, a display data processing device and a display device, wherein the display data processing method comprises the steps of partitioning a display area of a display panel to determine a plurality of first sub-display areas; the method comprises the steps of obtaining first display data corresponding to a plurality of sub-pixels of each sub-display area of a display panel respectively, determining first delay times m of first direct current offset corresponding to each first sub-display area according to the first display data of each first sub-display area, compressing and updating the first direct current offset of the j first display data for each first sub-display area, and using the first direct current offset updated by the j first display data when the j+m first display data are compressed, wherein m is more than or equal to 2, j is more than or equal to 1, and j and m are positive integers. The display data processing method, the display data processing device and the display device provided by the invention can solve the problems of long time and low efficiency for display data compression.
Description
Technical Field
The present invention relates to the field of display technologies, and in particular, to a display data processing method, a display data processing device, and a display device.
Background
When the conventional display panel is used for displaying, the problem of uneven display exists. In order to eliminate the problem of display unevenness of the display panel, the pixels are generally compensated by the display data.
However, the display data occupies a large memory space, and in order to reduce the amount of memory, it is generally necessary to compress the display data first.
However, the compression time in the prior art is low in efficiency.
Disclosure of Invention
The invention provides a display data processing method, a display data processing device and a display device, which can solve the problems of long time and low efficiency for display data compression.
According to an aspect of the present invention, there is provided a display data processing method, the method comprising:
Partitioning a display area of a display panel to determine a plurality of first sub-display areas;
acquiring first display data corresponding to a plurality of sub-pixels of each first sub-display area of the display panel;
Determining a first delay number m of a first direct current offset corresponding to each first sub-display area according to first display data of each first sub-display area;
And for each first sub-display area, the j first display data is compressed and then the first direct current offset of the j first display data is updated, the j+m first display data is used for compressing, and the j first display data is the first display data corresponding to the j sub-pixel in the first sub-display area, wherein the j+m first display data is the first display data corresponding to the j+m sub-pixel in the first sub-display area, m is more than or equal to 2, j is more than or equal to 1, and j and m are positive integers.
Optionally, the compressing the jth first display data to update the first dc offset of the jth first display data, and the j+m first display data compressing uses the first dc offset of the jth first display data after updating, including:
And respectively updating the first direct current offset after the s+m1 th continuous m first display data are compressed, and simultaneously respectively compressing the s+m to s+2m1 th continuous m first display data, wherein the value of s is 2+tm, and t is a positive integer.
Optionally, the display data processing method further includes compressing second to mth first display data in the first sub-display area by using the first dc offset updated after the compression of the first display data.
Optionally, determining the first delay times m of the first dc offset corresponding to each first sub-display area according to the first display data of each first sub-display area includes:
determining a first difference between a maximum value and a minimum value in the plurality of first display data;
determining a first gradient of each first display data in each first sub-display area, wherein the first gradient is determined according to the difference between the first display data and the adjacent first display data;
Determining a first delay number m of a first direct current offset corresponding to the first sub-display area according to a first gradient and the first difference of each first display data in the first sub-display area;
Optionally, determining the first delay number m of the first dc offset corresponding to the first sub-display area according to the first gradient and the first difference of each of the first display data in the first sub-display area includes:
Determining an average value of a first gradient of the first display data within the first sub-display section;
And determining a first delay number m of a first direct current offset corresponding to the first sub-display area according to the ratio of the average value to the first difference.
Optionally, the display data processing method provided in this embodiment further includes:
After the compression of the last first display data in the ith-1 first sub-display area is completed, compressing the first display data in the ith first sub-display area, wherein the first direct current offset updated after the compression of the last first display data in the ith-1 first sub-display area is used when the first display data in the ith first sub-display area is compressed, i is more than or equal to 2, and i is a positive integer.
Optionally, compressing each of the first display data includes:
determining a first predicted value of the first display data;
determining a storage address corresponding to a first direct current offset used in the compression of the first display data;
Acquiring a first direct current offset used in the compression of the first display data according to the storage address;
And compressing the first display data according to the first display data, a first predicted value corresponding to the first display data and a first direct current offset used in the compression of the first display data.
Optionally, for each first sub-display area, updating the first dc offset of the jth first display data after compressing the jth first display data, and after using the first dc offset of the jth first display data for compressing the jth+m first display data, the method further includes:
And storing the second display data obtained by compressing the plurality of first display data into a memory of the display panel.
Optionally, after storing the second display data obtained by compressing the plurality of first display data in the memory of the display panel, the method further includes:
partitioning a display area of the display panel to determine a plurality of second sub-display areas;
Acquiring second display data corresponding to a plurality of sub-pixels of each second sub-display area of the display panel;
determining a second delay time p of a second direct current offset corresponding to each second sub-display area according to second display data of each second sub-display area;
And for each second sub-display area, the kth second display data is decompressed and then the second direct current offset of the kth second display data is updated, the kth+p second display data is decompressed and then the second direct current offset of the kth second display data is used, wherein the kth first display data is the second display data corresponding to the kth sub-pixel in the second sub-display area, the kth+p second display data is the second display data corresponding to the kth+p sub-pixel in the second sub-display area, and p is more than or equal to 2, and k is more than or equal to 1, and k and p are positive integers.
According to another aspect of the present invention, there is provided a display data processing apparatus including:
the first partitioning module is used for partitioning the display area of the display panel and determining a plurality of first sub-display areas;
The display device comprises a first display data acquisition module, a first delay time determination module, a second delay time determination module and a second delay time determination module, wherein the first display data acquisition module is used for acquiring first display data respectively corresponding to a plurality of sub-pixels of each first sub-display area of a display panel;
the compression module is used for compressing the j-th first display data of each first sub-display area and updating the first direct current offset of the j-th first display data, and the j+m-th first display data is updated by the j-th first display data when compressed, wherein the j-th first display data is the first display data corresponding to the j-th sub-pixel in the first sub-display area, the j+m-th first display data is the first display data corresponding to the j+m-th sub-pixel in the first sub-display area, and m is more than or equal to 2, and j is more than or equal to 1, and j and m are positive integers.
According to another aspect of the present invention, there is also provided a display device including the display data processing device provided by any of the embodiments of the present invention.
The embodiment provides a display data processing method, which comprises the steps of dividing a display panel into a plurality of first sub-display areas, obtaining first display data respectively corresponding to a plurality of sub-pixels in each first sub-display area, determining a first delay time m of a first direct current offset corresponding to each first sub-display area according to the first display data in each first sub-display area, and finally compressing the first display data in each first sub-display area respectively. After the compression of the jth first display data and the updating of the first direct current offset are completed, the jth+m first display data and the w+m first display data can be compressed simultaneously when the jth first display data is compressed and the first direct current offset is updated, and the data processing method provided by the embodiment can enable at least two first display data to be compressed simultaneously, so that the compression time can be shortened, and the compression efficiency can be improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a display data processing method according to an embodiment of the present invention;
Fig. 2 is a schematic structural diagram of a display data processing apparatus according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
As described in the background, the compression duration is inefficient because the existing display data compression generally uses the jpeg_ls algorithm, which has relatively low complexity and a higher compression rate than other algorithms. However, the jpeg_ls compression algorithm in the standard flow is to use the updated dc offset after the compression of the display data corresponding to the next pixel when the compression of the display data corresponding to the previous pixel is completed, that is, the display data corresponding to the next pixel must be compressed after the compression of the display data corresponding to the previous pixel is completed, so that the duration and the efficiency of the compression process are low.
In order to improve compression efficiency, the invention provides a display data processing method.
Fig. 1 is a flowchart of a display data processing method according to an embodiment of the present invention, and referring to fig. 1, the display data processing method provided in this embodiment includes the following steps:
s110, partitioning the display area of the display panel to determine a plurality of first sub-display areas.
Specifically, the whole display area of the display panel may be divided into several small first sub-display areas, or the area to be compensated of the display panel may be divided into several small first sub-display areas. After the display panel is partitioned, the number of the first display data in each first sub-display area can be the same, and the arrangement form of the first display data in each first sub-display area can also be the same.
S120, acquiring first display data corresponding to a plurality of sub-pixels of each first sub-display area of the display panel.
Specifically, the first display data is compensation data of the sub-pixel. The plurality of sub-pixels may be all sub-pixels in the display panel, or may be sub-pixels in the display panel for which display compensation is required. The first display data may be compensation data corresponding to the sub-pixels, or may be other data of the sub-pixels, which is not limited in this embodiment. The first display data may be data obtained by a driving module of the display panel through a setting algorithm, or may be data sent to the driving module by an external device. After the driving module obtains the first display data through a setting algorithm or the external equipment sends the first display data to the driving module, the first display data can be stored in a memory of the driving module, and when the first display data is compressed, the driving module reads the first display data according to a cache address corresponding to the sub-pixel.
S130, determining a first delay number m of a first direct current offset corresponding to each first sub-display area according to the first display data of each first sub-display area.
Specifically, when the first display data is compressed, a residual error corresponding to the first display data needs to be obtained, and the residual error is encoded, so that the compression of the first display data can be completed. The residual error of the first display data is determined according to the difference between the first display data and the first predicted value corresponding to the first display data and the first direct current offset corresponding to the first display data, wherein the first direct current offset is used for adjusting the residual error corresponding to the first display data to enable the residual error to be within a certain range, and the first direct current offset can reduce the residual error corresponding to the first display data, so that the residual error occupies a smaller space after being encoded. The first predicted value is determined from the first display data surrounding the first display data. The first delay number m of the first dc offset indicates that the updated first dc offset after the compression of the first display data in the first sub-display area may be used after being delayed by m times, and illustratively, when the updated first dc offset after the compression of the second first display data in a certain first sub-display area is determined, the updated first dc offset after the compression of the second first display data is applied to the m+2th first display data in the first sub-display area.
The first DC offset is determined based on a difference between the first display data and the adjacent first display data. In the prior art, a first dc offset is updated after the current first display data is compressed, and the next data compression formula uses the first dc offset. The difference between the first display data with the closer distance and the adjacent first display data is close, and the difference between the updated first direct current offset after the first display data with the closer distance is smaller, so that the updated first direct current offset after the current first display data is compressed can be used for m times, and compression accuracy and the like are not greatly affected. The first delay times m of the first dc offsets corresponding to the different first sub-display areas may be dynamically determined according to the difference between the first display data in each first sub-display area, and for example, if the difference fluctuation between the first display data in the first sub-display area is smaller and the difference fluctuation between the first display data in the second first sub-display area is larger, the first delay times of the first dc offsets in the first sub-display area may be set to be greater than the first delay times of the first dc offsets in the second first sub-display area.
S140, for each first sub-display area, the j first display data is compressed and then the first direct current offset of the j first display data is updated, the j+m first display data is used for compressing, the j first display data is the first display data corresponding to the j sub-pixels in the first sub-display area, the j+m first display data is the first display data corresponding to the j+m sub-pixels in the first sub-display area, and m is more than or equal to 2, j is more than or equal to 1, and j and m are positive integers.
Specifically, numbers of j, j+m, and the like are determined according to the arrangement order of the sub-pixels. For example, the first sub-display area may include a plurality of rows of sub-pixels, each row including 10 sub-pixels, and the sub-pixels of the first row are sequentially a first sub-pixel and a second sub-pixel.
The updated first DC offset after the first display data is compressed is determined according to the difference between the first display data and the adjacent first display data. The dc offset used for the first display data compression may be preset in the display panel or may be determined according to an algorithm in the prior art, which is not specifically limited in this embodiment. When j >1, after the compression of the jth first display data and updating of the first dc offset, at least one first display data located before j has completed compression and updating of the first dc offset, for example, the w first display data located before the jth first display data has completed compression and updating of the first dc offset, the jth+m first display data and the w+m first display data may be compressed simultaneously. Wherein w is a positive integer less than j.
Illustratively, when j >1, after the j-th first display data is compressed and the first dc offset is updated, the j-1-th first display data is also compressed and the corresponding first dc offset is updated, so that the j+m-th first display data and the j+m-1-th first display data may be compressed at the same time. Or after the j first display data is compressed and the first direct current offset is updated, the j+1m (j is larger than or equal to m) first display data is also compressed and the corresponding first direct current offset is updated, so that the j+mfirst display data and the j+1st first display data can be compressed at the same time. According to the method, the first direct current offset of the j-th first display data is used when the j+m-th first display data is compressed, so that at least two first display data can be compressed at the same time, the compression time is shortened, and the compression efficiency is improved.
For example, when m=2, the 1 st first display data may be compressed and updated with the first dc offset, the 2 nd first display data may be compressed and updated with the 3 rd first display data, and the 4 th first display data may be compressed and updated with the 5 th first display data. When m=3, the 1 st first display data may be compressed and updated with the first dc offset, the 2 nd first display data may be compressed and updated with the 4 th first display data at the same time, the 3 rd first display data may be compressed and updated with the 5 th first display data at the same time, and the 6 th first display data may be compressed and updated with the 7 th first display data at the same time.
The embodiment provides a display data processing method, which divides a display area of a display panel into a plurality of first sub-display areas, acquires first display data respectively corresponding to a plurality of sub-pixels in each first sub-display area, then determines a first delay time m of a first direct current offset corresponding to each first sub-display area according to the first display data in each first sub-display area, and finally compresses the first display data in each first sub-display area respectively. After the compression of the jth first display data and the updating of the first direct current offset are completed, the jth+m first display data and the w+m first display data can be compressed simultaneously when the jth first display data is compressed and the first direct current offset is updated, and the data processing method provided by the embodiment can enable at least two first display data to be compressed simultaneously, so that the compression time can be shortened, and the compression efficiency can be improved.
Optionally, the updating the first dc offset of the jth first display data after the jth first display data is compressed, and the updating the first dc offset using the jth first display data when the jth+m first display data is compressed specifically includes:
and respectively updating the first direct current offset after the s+m1 th continuous m first display data are compressed, and simultaneously respectively compressing the s+m to s+2m1 th continuous m first display data, wherein the value of s is 2+tm, and t is a positive integer.
Specifically, the first dc offset updated after the compression of the s first display data, the first dc offset updated after the compression of the s+1th first display data, and the first dc offset updated after the compression of the s+m-1 th first display data are used, and the compression of the s+m first display data, the s+m+1th first display data, and the s+2m-1 th first display data is performed simultaneously, that is, after the corresponding first dc offset is updated after the compression of the first display data, the first display data in the group can be compressed simultaneously with the continuous m first display data from the s+m first display data, and the compression of the next m first display data can be performed after the simultaneous compression of the first display data and the corresponding first dc offset update of the group.
Illustratively, the (m+2) th to (2m+1) th first display data may be compressed at the same time and updated with the corresponding first DC offset, the 2m+2 th first display data to 3m+1 th first display data may be compressed simultaneously. The (h+1) th m+1 first display data can be compressed at the same time and the corresponding first DC offset is updated, the (h+1) th m+2 th first display data to the (h+2) th m+1 th first display data may be compressed simultaneously, where h is a positive integer greater than or equal to 2.
Optionally, the display data processing method further includes compressing the second to the mth first display data in the first sub-display area by using the updated first dc offset after the compression of the first display data.
Specifically, after the second first display data to the mth first display data are compressed simultaneously and the corresponding first dc offset is updated, the (m+2) th first display data to the (2) th first display data can be compressed simultaneously, so that the compression time is shortened.
In addition, since the (m+1) th first display data is also compressed by using the updated dc offset of the first display data, the second to (m+1) th first display data in the first sub-display area may be compressed at the same time by using the updated dc offset after the compression of the first display data.
In the second to mth first display data compression, the first dc offset updated after the first display data compression may not be used. For example, in the case of compressing the second to mth first display data, the first dc offset value updated after the compression of the immediately preceding first display data may be used in the case of compressing the following first display data. Alternatively, the first dc offset updated after the last first display data compression of the last adjacent first sub-display area is used when the second first display data of each first sub-display area is compressed to the mth first display data compression from the second first sub-display area.
Optionally, determining the first delay number m of the first dc offset corresponding to each first sub-display area according to the first display data of each first sub-display area includes:
Determining a first difference between a maximum value and a minimum value in the first display data;
determining a first gradient of each first display data in each first sub-display area, wherein the first gradient is determined according to the difference between the first display data and the first display data adjacent to the first gradient;
And determining a first delay number m of the first direct current offset corresponding to the first sub-display area according to the first gradient and the first difference of each first display data in the first sub-display area.
Specifically, the first difference between the maximum value and the minimum value in the plurality of first display data may be a difference between the maximum value and the minimum value in the plurality of first display data. The difference between the maximum value and the minimum value may reflect a maximum fluctuation value of the first display data. The first gradient of the first display data may be determined from a difference between the first display data and the first display data adjacent thereto. In a first sub-display area, the first gradient of the first display data may be determined according to the difference between the first display data and the first display data a adjacent to the first display data directly above the first display data, may be determined according to the difference between the first display data and the first display data b adjacent to the first display data directly to the right of the first display data, may be determined according to the difference between the first display data and the first display data c adjacent to the first display data directly above the first display data and the first display data c adjacent to the first display data, and may be determined according to the difference between the first display data and at least two first display data of the first display data a, the first display data b and the first display data c.
If the first gradient of each first display data in a first sub-display area is smaller, it is indicated that the difference between the first display data in the first sub-display area is smaller. The first gradient of the first display data may reflect a difference between the first display data and the adjacent first display data, and the first difference may reflect a maximum difference of all the first display data, so that the first gradient and the first difference of each first display data in the first sub-display area may truly reflect a fluctuation condition of the first display data.
And determining a first delay time m of a first direct current offset corresponding to the first sub-display area according to a first gradient and a first difference of each first display data in the first sub-display area, namely determining the first delay time m according to the data fluctuation condition in the first sub-display area. When the fluctuation between the first display data is small, the difference between the first display data with the smaller distance is small, the difference between the updated first direct current offset values after the first display data with the smaller distance is small, the first direct current offset values can delay the use of a plurality of first display data, when the fluctuation between the first display data is large, the difference between the first display data with the smaller distance is large, the difference between the updated first direct current offset values after the first display data with the smaller distance is large, and the first direct current offset values can delay the use of the first display data with the smaller distance. That is, when the first display data fluctuates greatly, the smaller first delay times m may be set, and when the first display data fluctuates little, the larger first delay times m may be determined.
Therefore, the first delay times m are determined according to the fluctuation condition of the first display data, so that when the first direct current offset is used after being delayed for m times, the error rate of the first display data corresponding to the delay times m is lower when the first direct current offset is adopted for compression, wherein the error rate can reflect the deviation between the data obtained by decompression after the first display data is compressed and the first display data.
Optionally, determining the first delay number m of the first dc offset corresponding to the first sub-display area according to the first gradient and the first difference of each first display data in the first sub-display area includes:
determining an average value of a first gradient of the first display data within the first sub-display area;
and determining a first delay number m of the first direct current offset corresponding to the first sub-display area according to the ratio of the average value to the first difference.
Specifically, the average value of the first gradients is the average value of all the first gradients in the first sub-display area, and when the number of the first display data in different first sub-display areas is different, the average value of the first gradients in the first sub-display area is calculated, so that the finally determined first delay times m are not affected by the number of the first display data in the first sub-display area. The ratio of the average value to the first difference can reflect the overall condition of the fluctuation of the first display data in the current first sub-display area, so that the first delay times m of the first direct current offset corresponding to the first sub-display area is more accurate according to the ratio of the average value to the first difference.
The delay number table may be stored in advance, and includes the first delay times m corresponding to different ratio ranges, and may be determined before the display panel leaves the factory and stored in the memory. After the ratio of the average value to the first difference is obtained, the first delay times m corresponding to the ratio can be found out from the delay times table.
Optionally, compressing each first display data includes:
determining a first predicted value of the first display data;
determining a storage address corresponding to a first direct current offset used in the compression of the first display data;
Acquiring a first direct current offset used in the compression of the first display data according to the storage address;
and compressing the first display data according to the first display data, the first predicted value corresponding to the first display data and the first direct current offset used in the compression of the first display data.
Specifically, the first predicted value is associated with first display data adjacent to the first display data. The updated first direct current offset after the first display data is compressed is stored to a preset position, the storage address of the first direct current offset corresponds to the storage position of the first direct current offset, and each first direct current offset has a corresponding storage address. When the first delay times m of the first dc offset in the first sub-display area are determined, a storage address corresponding to the first dc offset used in the first display data compression is determined according to the first delay times m, and the exemplary storage address of the first dc offset used in the nth first display data compression is the storage address of the first dc offset updated after the nth-m first display data compression. The residual error of the first display data is determined according to the difference between the first display data and the first predicted value corresponding to the first display data and the first direct current offset used in the compression of the first display data, and then the residual error is encoded to complete the compression of the first display data, and an exemplary calculation formula of the residual error may be e x=sign(x-px)-bx, where e x is the residual error, x is the first display data, p x is the first predicted value, and b x is the first direct current offset corresponding to the first display data.
Optionally, after the compression of the last first display data in the i-1 th first sub-display area is completed, compressing the first display data in the i-1 th first sub-display area, and when the first display data in the i-1 th first sub-display area is compressed, using the updated first direct current offset after the compression of the last first display data in the i-1 th first sub-display area, wherein i is more than or equal to 2, and i is a positive integer.
Specifically, after compression of all the first display data in one first sub-display area is completed, compression of each first display data in the next first sub-display area can be performed. Therefore, the first direct current offset updated after the last first display data in the ith first sub-display area is compressed when the first display data in the ith first sub-display area is set, the first direct current offset is not required to be set for the first display data in each first sub-display area independently, the first direct current offset is only required to be preset for the first display data in the first sub-display area, and the data storage amount is reduced.
I and i-1 are the numbers of the first sub-display area. The display panel may be divided into f×q (f and q are positive integers greater than 1) first sub-display areas, where the f×q first sub-display areas are arranged in a matrix form of f rows and q columns, and the specific manner of numbering the f×q first sub-display areas may be: the first sub-display areas of the first row are numbered in sequence, so that the number of the first sub-display areas of the first row is 1, the number of the second sub-display areas of the first row is 2, the number of the first sub-display areas of the first row is q, the number of the first sub-display areas of the second row is q+1, the number of the first sub-display areas of the second row is q+2, the number of the first sub-display areas of the second row is 2q, the number of the first sub-display areas of the first row is (f-1) q+1, and the number of the second sub-display areas of the f row is (f-1) q+2.
Optionally, for the first sub-display area, the first dc offset of the jth first display data is updated after the jth first display data is compressed, and the first dc offset of the jth first display data after the jth+m first display data is updated when the jth first display data is compressed further includes:
And storing the second display data obtained by compressing the plurality of first display data into a memory of the display panel.
Specifically, the first display data is compressed to be second display data, and the second display data is stored in a memory of the display panel, so that the second display data in the memory is decompressed during compensation, and corresponding first display data is obtained.
Optionally, after storing the second display data obtained by compressing the plurality of first display data in the memory of the display panel, partitioning the display area of the display panel to determine a plurality of second sub-display areas;
Acquiring second display data corresponding to a plurality of sub-pixels of each second sub-display area of the display panel;
Determining a second delay time p of a second direct current offset corresponding to each second sub-display area according to the second display data of each second sub-display area;
And for each second sub-display area, the kth second display data is decompressed and then the second direct current offset of the kth second display data is updated, the second direct current offset of the kth second display data is used for decompressing the kth+p second display data, wherein the kth first display data is the second display data corresponding to the kth sub-pixel in the second sub-display area, the kth+p second display data is the second display data corresponding to the kth+p sub-pixel in the second sub-display area, and p is more than or equal to 2, and k is more than or equal to 1, and k and p are positive integers.
In particular, the decompression of the second display data may use the same principle as the compression of the first display data. When the decompressed divided second sub-display area and the compressed divided first sub-display area are correspondingly identical, the second delay times p of the second dc offset may be equal to the first delay times m of the first dc offset.
Optionally, decompressing each second display data includes:
determining a second predicted value of the second display data;
Determining a storage address corresponding to a second direct current offset used in decompression of the second display data;
acquiring a second direct current offset used in decompression of the second display data according to the storage address;
and decompressing the second display data according to the second display data, the second predicted value corresponding to the second display data and the second direct current offset used in decompressing the second display data.
Specifically, the first predicted value used in the compression of the first display data may be different from the second predicted value used in the decompression of the second display data corresponding to the first display data, and the first dc offset used in the compression of the first display data may be different from the second dc offset applied in the decompression of the second display data corresponding to the first display data.
Fig. 2 is a schematic structural diagram of a display data processing device according to an embodiment of the present invention, and referring to fig. 2, the display data processing device provided in this embodiment includes a first partition module 120 configured to partition a display area of a display panel to determine a plurality of first sub-display areas, a first display data obtaining module 110 configured to obtain first display data corresponding to a plurality of sub-pixels of each first sub-display area of the display panel, a first delay number determining module 130 configured to determine a first delay number m of a first dc offset corresponding to each first sub-display area according to first display data of each first sub-display area, and a compressing module 140 configured to compress and update a first dc offset of a j first display data in each first sub-display area, where the j+m first display data is first dc offset of a j first sub-display area corresponding to a j first sub-pixel in the first sub-display area, and j+m first display data is integer 1, and j+m first display data is positive integer.
Optionally, the compression module is specifically configured to compress the s+m to s+2m_1 th consecutive m first display data using the s+m to s+m_1 th consecutive m first dc offsets, and compress the s+m to s+2m_1 th consecutive m first display data, where the value of s is 2+tm, and t is a positive integer, and the compression module is specifically further configured to compress the second first display data to the m first display data in the first sub-display area using the first dc offsets updated after the first display data is compressed.
Optionally, the first delay time determining module includes a first difference determining unit, a first gradient determining unit, and a first delay time determining unit;
the first difference determining unit is used for determining a first difference between a maximum value and a minimum value in the first display data;
the first delay number determining unit is used for determining a first delay number m of a first direct current offset corresponding to the first sub-display area according to the first gradient and the first difference of each first display data in the first sub-display area.
Optionally, the first delay time determining unit is specifically configured to determine an average value of a first gradient of the first display data in the first sub-display area, and determine a first delay time m of a first dc offset corresponding to the first sub-display area according to a ratio of the average value to the first difference.
Optionally, the display data processing apparatus provided in this embodiment further includes a compression control module, where the compression module is further configured to compress the first display data in the i-1 th first sub-display area after the compression of the last first display data in the i-1 th first sub-display area is completed, and use the updated first dc offset after the compression of the last first display data in the i-1 th first sub-display area when the first display data in the i-1 th first sub-display area is compressed, where i is greater than or equal to 2 and i is a positive integer.
The compression module comprises a first predicted value determination unit, a first address determination unit, a first direct current offset determination unit and a compression unit, wherein the first predicted value determination unit is used for determining a first predicted value of first display data, the first address determination unit is used for determining a corresponding storage address of a first direct current offset used in compression of the first display data, the first direct current offset determination unit is used for obtaining the first direct current offset used in compression of the first display data according to the address, and the compression unit is used for compressing the first display data according to the first display data, the first predicted value corresponding to the first display data and the first direct current offset used in compression of the first display data.
Optionally, the display data processing apparatus provided in this embodiment further includes a storage unit, where the storage unit is configured to store second display data obtained by compressing the plurality of first display data into a memory of the display panel.
Optionally, the display data processing apparatus provided in this embodiment further includes:
the second partitioning module is used for partitioning the display area of the display panel and determining a plurality of second sub-display areas;
The second delay time determining module is used for determining a second delay time p of a second direct current offset corresponding to each second sub-display area according to the second display data of each second sub-display area;
The decompression module is used for decompressing each second sub-display, updating the second direct current offset of the kth second display data after decompressing the kth second display data, and using the second direct current offset updated by the kth second display data when decompressing the kth+p second display data, wherein the kth first display data is the second display data corresponding to the kth sub-pixel in the second sub-display area, the kth+p second display data is the second display data corresponding to the kth+p sub-pixel in the second sub-display area, and p is more than or equal to 2, k is more than or equal to 1, and k and p are positive integers.
The display data processing device provided by the embodiment of the invention has corresponding beneficial effects with the display data processing method provided by any embodiment of the invention, and the technical details of the display data processing device are not elaborated in the embodiment, but the display data processing method provided by any embodiment of the invention is elaborated.
The embodiment of the invention also provides a display device which comprises the display data processing device provided by any embodiment of the invention.
Specifically, the display device may be an electronic device such as a mobile phone or a tablet.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.
Claims (11)
1. A display data processing method, characterized by comprising:
Partitioning a display area of a display panel to determine a plurality of first sub-display areas;
acquiring first display data corresponding to a plurality of sub-pixels of each first sub-display area of the display panel;
Determining a first delay number m of a first direct current offset corresponding to each first sub-display area according to first display data of each first sub-display area;
And for each first sub-display area, the j first display data is compressed and then the first direct current offset of the j first display data is updated, the j+m first display data is used for compressing, and the j first display data is the first display data corresponding to the j sub-pixel in the first sub-display area, wherein the j+m first display data is the first display data corresponding to the j+m sub-pixel in the first sub-display area, m is more than or equal to 2, j is more than or equal to 1, and j and m are positive integers.
2. The method according to claim 1, wherein the j-th first display data is compressed to update the first dc offset of the j-th first display data, and the j+m-th first display data is compressed using the first dc offset of the j-th first display data, comprising:
And respectively updating the first direct current offset after the s+m1 th continuous m first display data are compressed, and simultaneously respectively compressing the s+m to s+2m1 th continuous m first display data, wherein the value of s is 2+tm, and t is a positive integer.
3. The method of claim 1, further comprising simultaneously compressing second to mth first display data within the first sub-display area using the first DC offset updated after the compression of the first display data.
4. The method of claim 1, wherein determining the first delay times m of the first dc offset corresponding to each of the first sub-display areas according to the first display data of each of the first sub-display areas comprises:
Determining a first difference between a maximum value and a minimum value in the first display data;
determining a first gradient of each first display data in each first sub-display area, wherein the first gradient is determined according to the difference between the first display data and the adjacent first display data;
and determining a first delay number m of a first direct current offset corresponding to the first sub-display area according to the first gradient and the first difference of each first display data in the first sub-display area.
5. The method of processing display data according to claim 4, wherein determining a first delay number m of a first dc offset corresponding to the first sub-display area based on a first gradient of each of the first display data and the first difference in the first sub-display area, comprises:
Determining an average value of a first gradient of the first display data within the first sub-display section;
And determining a first delay number m of a first direct current offset corresponding to the first sub-display area according to the ratio of the average value to the first difference.
6. The display data processing method according to claim 1, characterized by further comprising:
After the compression of the last first display data in the ith-1 first sub-display area is completed, compressing the first display data in the ith first sub-display area, wherein the first direct current offset updated after the compression of the last first display data in the ith-1 first sub-display area is used when the first display data in the ith first sub-display area is compressed, i is more than or equal to 2, and i is a positive integer.
7. The display data processing method according to claim 1, wherein compressing each of the first display data includes:
determining a first predicted value of the first display data;
determining a storage address corresponding to a first direct current offset used in the compression of the first display data;
Acquiring a first direct current offset used in the compression of the first display data according to the storage address;
And compressing the first display data according to the first display data, a first predicted value corresponding to the first display data and a first direct current offset used in the compression of the first display data.
8. The display data processing method according to claim 1, wherein for each first sub-display area, the j-th first display data is compressed to update the first dc offset of the j-th first display data, and the j+m-th first display data is compressed using the first dc offset updated by the j-th first display data further comprises:
And storing the second display data obtained by compressing the plurality of first display data into a memory of the display panel.
9. The method for processing display data according to claim 8, wherein the storing of the second display data obtained by compressing the plurality of first display data in the memory of the display panel further comprises:
partitioning a display area of the display panel to determine a plurality of second sub-display areas;
The method comprises the steps of obtaining second display data corresponding to a plurality of sub-pixels of each second sub-display area of a display panel respectively, determining second delay times p of second direct current offset corresponding to each second sub-display area according to the second display data of each second sub-display area, decompressing and updating the second direct current offset of the kth second display data for each second sub-display area, decompressing the kth+p second display data, and using the second direct current offset updated by the kth second display data, wherein the kth first display data is the second display data corresponding to the kth sub-pixel in the second sub-display area, the kth+p second display data is the second display data corresponding to the kth+p sub-pixel in the second sub-display area, and p is more than or equal to 2, k is more than or equal to 1, and p is a positive integer.
10. A display data processing apparatus, comprising:
the first partitioning module is used for partitioning the display area of the display panel and determining a plurality of first sub-display areas;
The display device comprises a first display data acquisition module, a first delay time determination module, a second delay time determination module and a second delay time determination module, wherein the first display data acquisition module is used for acquiring first display data respectively corresponding to a plurality of sub-pixels of each first sub-display area of a display panel;
the compression module is used for compressing the j-th first display data of each first sub-display area and updating the first direct current offset of the j-th first display data, and the j+m-th first display data is updated by the j-th first display data when compressed, wherein the j-th first display data is the first display data corresponding to the j-th sub-pixel in the first sub-display area, the j+m-th first display data is the first display data corresponding to the j+m-th sub-pixel in the first sub-display area, and m is more than or equal to 2, and j is more than or equal to 1, and j and m are positive integers.
11. A display device comprising the display data processing device of claim 10.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210753405.7A CN114974078B (en) | 2022-06-28 | 2022-06-28 | Display data processing method, display data processing device and display device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210753405.7A CN114974078B (en) | 2022-06-28 | 2022-06-28 | Display data processing method, display data processing device and display device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114974078A CN114974078A (en) | 2022-08-30 |
| CN114974078B true CN114974078B (en) | 2025-05-06 |
Family
ID=82968316
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210753405.7A Active CN114974078B (en) | 2022-06-28 | 2022-06-28 | Display data processing method, display data processing device and display device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114974078B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102707821A (en) * | 2011-03-28 | 2012-10-03 | 深圳市汇顶科技有限公司 | Method and system for de-noising touch detection device |
| CN113504992A (en) * | 2021-07-21 | 2021-10-15 | 昆山国显光电有限公司 | Compensation data compression method, compensation device and compensation equipment of display panel |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000165679A (en) * | 1998-11-24 | 2000-06-16 | Casio Comput Co Ltd | Image processing method and image transfer system |
| KR102581838B1 (en) * | 2016-11-25 | 2023-09-21 | 엘지디스플레이 주식회사 | Method For Processing Compensation Data And Organic Light Emitting Diode Display Device Using The Same |
| CN113781589A (en) * | 2021-08-20 | 2021-12-10 | 深圳天德钰科技股份有限公司 | Display control method, display control circuit and display device |
| CN113938669B (en) * | 2021-10-15 | 2024-06-04 | 深显科技(南京)有限责任公司 | Naked eye 3D display method, device, equipment and medium based on OLED display screen |
-
2022
- 2022-06-28 CN CN202210753405.7A patent/CN114974078B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102707821A (en) * | 2011-03-28 | 2012-10-03 | 深圳市汇顶科技有限公司 | Method and system for de-noising touch detection device |
| CN113504992A (en) * | 2021-07-21 | 2021-10-15 | 昆山国显光电有限公司 | Compensation data compression method, compensation device and compensation equipment of display panel |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114974078A (en) | 2022-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7006100B2 (en) | Cache memory system | |
| WO2018156999A2 (en) | Encoding demura calibration information | |
| KR100334703B1 (en) | Digital image decoding device | |
| US9961354B2 (en) | Video codec and motion estimation method | |
| US10347220B1 (en) | Data compression and decompression method for DeMura table | |
| WO1996010245A1 (en) | Memory configuration for display information | |
| CN101365136B (en) | Method and apparatus for intra-frame prediction | |
| CN111276083B (en) | Demura Table data compression method and decompression method | |
| US7248744B2 (en) | Vector quantization of images | |
| US7728840B2 (en) | Sliding data buffering for image processing | |
| CN114974078B (en) | Display data processing method, display data processing device and display device | |
| US9020285B2 (en) | Compressor, driving device, and display device | |
| CN101609662B (en) | Digital terminal and method for matching input image with display screen | |
| CN115440160A (en) | Compensation data compression method, compensation data compression device, compensation data decompression method and display device | |
| CN116682351A (en) | Data processing method, device and computer-readable storage medium of display panel | |
| US6864870B2 (en) | Liquid crystal display controller with improved dithering and frame rate control and method thereof | |
| EP3255628A1 (en) | Method for compressing data and organic light emitting diode display device using the same | |
| CN201417597Y (en) | Device for automatically adjusting input image resolution | |
| CN101299273A (en) | Method and device for retrieving a test block from a blockwise stored reference image | |
| CN100399831C (en) | Motion vector detection device and method for detecting motion vectors | |
| CN114780160B (en) | Driving method for improving embedded touch display effect | |
| JP3483751B2 (en) | Motion vector detecting device and motion vector detecting method | |
| US6181354B1 (en) | Image generator using display memory | |
| KR19990041929A (en) | Compression rate auto-conversion device of image coding system | |
| CN116913195B (en) | Brightness compensation method and device for display panel and display equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |