CN117253450A - Data processing method, data processing circuit and data processing device - Google Patents

Data processing method, data processing circuit and data processing device Download PDF

Info

Publication number
CN117253450A
CN117253450A CN202311129027.6A CN202311129027A CN117253450A CN 117253450 A CN117253450 A CN 117253450A CN 202311129027 A CN202311129027 A CN 202311129027A CN 117253450 A CN117253450 A CN 117253450A
Authority
CN
China
Prior art keywords
data
data processing
sub
variable
brightness compensation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311129027.6A
Other languages
Chinese (zh)
Inventor
贾茹尚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chipone Technology Beijing Co Ltd
Original Assignee
Chipone Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chipone Technology Beijing Co Ltd filed Critical Chipone Technology Beijing Co Ltd
Priority to CN202311129027.6A priority Critical patent/CN117253450A/en
Publication of CN117253450A publication Critical patent/CN117253450A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control 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 using controlled light sources
    • G09G3/30Control 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 using controlled light sources using electroluminescent panels
    • G09G3/32Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0233Improving the luminance or brightness uniformity across the screen
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/06Use of more than one graphics processor to process data before displaying to one or more screens
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/16Calculation or use of calculated indices related to luminance levels in display data

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The application discloses a data processing method, a data processing circuit and a data processing device, which are used for adjusting the display brightness of a display screen in a display device, wherein the data processing method comprises the following steps: acquiring stored variable length binary coded data corresponding to a single sub-pixel; dividing variable length binary coded data according to frequency channels, and storing the variable length binary coded data into variable length coded data of a plurality of frequency channels; decoding the variable length coded data stored in at least one frequency channel to obtain intermediate data; and carrying out inverse transformation operation on the intermediate data to obtain sub-pixel brightness compensation data. The data processing method of the application stores and decodes the stored variable-length coded brightness compensation data according to the frequency channels respectively, so that the decoded brightness compensation data can be obtained according to the data stored in at least one frequency channel. And selecting a required frequency channel according to the compensation requirement, and considering the compensation precision and the complexity of data storage and decoding operation.

Description

Data processing method, data processing circuit and data processing device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing method, a data processing circuit, and a data processing apparatus.
Background
In the production process of the OLED display screen, due to materials, processes and the like, the phenomenon that part of products have uneven picture display brightness (mura, which is derived from Japanese transliteration) occurs.
The external compensation system for the OLED production process at present eliminates the cross-stripe phenomenon of a display screen with mura phenomenon through an advanced sub-pixel level optical imaging technology and a software algorithm. In this case, besides hardware is needed to implement the corresponding algorithm function, a memory is also needed to store the brightness compensation data. And the brightness compensation data is usually large and must be compressed.
The current compression of brightness compensation data generally adopts two modes of lossless coding and lossy coding, the lossless compression mode needs to be decoded firstly when the brightness compensation data is burnt into a memory, and the adjustment factors are floating point numbers, so that the problems of precision loss and overlong code table exist, and the data compression rate is limited. The lossy compression mode is usually to make adjustment based on transformation in the communication field, then forcedly reject part of information, and then make further compression through Huffman and run-length coding. The decoded data of this method is very lost and cannot be used effectively for pixel compensation. Therefore, the compression rate cannot be adaptively adjusted in the compression and decoding processes in the existing compression method, excessive hardware resources are occupied, and the applicability of the brightness compensation method and OLED products is greatly limited. Meanwhile, the existing decoding mode of compressed data also has the problems of large data decoding loss, large calculated amount, large overall power consumption and area, and poor brightness compensation effect.
Disclosure of Invention
In view of the foregoing, it is an object of the present invention to provide a data processing method, a data processing circuit, and a data processing apparatus, which solve the problems in the prior art.
According to an aspect of the present invention, there is provided a data processing method for adjusting display brightness of a display screen in a display device, the data processing method comprising: acquiring stored variable length binary coded data corresponding to a single sub-pixel; dividing and storing the variable length binary coded data into variable length coded data of a plurality of frequency channels according to the frequency channels; respectively decoding variable length coded data of at least one frequency channel in the variable length coded data of the plurality of frequency channels to obtain intermediate data; and performing inverse transformation operation on the intermediate data to obtain sub-pixel brightness compensation data.
Optionally, the frequency channel includes one low frequency channel and three high frequency channels, and the at least one frequency channel includes the low frequency channel.
Optionally, the data processing method further includes: and carrying out data processing on the obtained sub-pixel brightness compensation data of the three-color sub-pixels to obtain actual brightness compensation data, and providing the actual brightness compensation data to the display screen.
Optionally, the step of decoding the variable length coded data stored in the at least one frequency channel to obtain intermediate data includes: decoding a plurality of data groups included in the variable-length coded data into a plurality of quantized codes according to a preset rule for each frequency channel to obtain a group of quantized coded combined data; dequantizing the quantized coded combined data to obtain quantized values; and performing data prediction operation on the quantized values of the low-frequency channel independently to obtain the intermediate data.
Optionally, each data set includes a binary flag code and a quantization code, the quantization codes are in one-to-one correspondence with the quantization values, the flag codes represent groupings of the quantization values, and bit numbers of all the flag codes and bit numbers of all the quantization codes are not identical, and the preset rule includes a correspondence between each flag code and bit number of each data set.
Optionally, for each frequency channel, the step of decoding the plurality of data groups included in the variable-length encoded data into a plurality of quantization codes according to a preset rule to obtain a set of quantization encoded combined data includes: acquiring a stored preset rule; reading the mark codes for each data group according to the preset rule; and obtaining the quantization codes of the corresponding data groups according to the mark codes and the bit numbers of the data groups.
Optionally, the step of performing a data prediction operation on the quantized value includes: the current quantized value is updated according to a previous quantized value located in the same line as the current quantized value, and/or the current quantized value is updated according to a previous quantized value located in the same column as the current quantized value.
Optionally, the step of performing an inverse transformation operation on the intermediate data to obtain sub-pixel brightness compensation data includes: performing a first inverse transformation operation on the intermediate data to obtain first sub-pixel brightness compensation data, and performing brightness compensation on an odd number row of pixel units of the display screen; and extracting the intermediate data stored in the line buffer to perform a second inverse transformation operation to obtain second sub-pixel brightness compensation data, and performing brightness compensation on an even line of the pixel units of the display screen, wherein the odd line and the even line are adjacent.
Optionally, before the step of acquiring the stored variable length binary coded data corresponding to the single sub-pixel, the method further includes: encoding the luminance compensation data into the variable length binary encoded data, wherein the step of encoding the luminance compensation data into the variable length binary encoded data comprises: performing data downsampling on the brightness compensation data to obtain sub-pixel brightness compensation data corresponding to the three-color sub-pixels respectively; performing discrete wavelet transform on the sub-pixel brightness compensation data corresponding to each sub-pixel to obtain a plurality of conversion data divided according to frequency; combining the converted data belonging to the same frequency together to form a plurality of the converted data into intermediate data of a plurality of frequency channels; performing data prediction and quantization operation on the intermediate data of each frequency channel to obtain a group of quantized coded combined data; setting a flag code for each quantization code in each group of quantization code combined data to obtain a data group, and arranging a plurality of data groups according to coding factors to obtain a group of variable-length coded data; and arranging and combining the variable length coded data of the plurality of frequency channels to obtain the variable length binary coded data corresponding to each sub-pixel, and storing the variable length binary coded data as a binary document.
Optionally, the discrete wavelet transform comprises a binary wavelet transform, and the variable length binary coded data is stored in a look-up table.
Optionally, setting a flag code for each quantization code in each set of quantized coded combined data to obtain a data set, and arranging a plurality of the data sets according to a coding factor to obtain a set of variable-length coded data, where the step of obtaining the variable-length coded data includes: dividing a group of quantized coded combination data into a plurality of groups, wherein the number of the quantized codes contained in each group is not identical; setting one sign code for each group, wherein the bit numbers of a plurality of sign codes are not identical; combining each quantization code with the marker codes of the corresponding packet to form a data set; and arranging a plurality of data groups according to coding factors to obtain a group of variable-length coded data, wherein the coding factors comprise compression factors.
According to another aspect of the present invention, there is provided a data processing circuit for decoding variable-length binary-coded data for adjusting display brightness of a display screen in a display device, the data processing circuit including at least one decoding unit, wherein each of the decoding units includes: the variable-length binary coded data acquired from the memory are divided and stored into variable-length coded data of a plurality of frequency channels according to the frequency channels respectively, and the variable-length coded data are decoded to obtain intermediate data; and the inverse transformer is connected with the plurality of data channels and performs inverse transformation operation on the intermediate data to obtain sub-pixel brightness compensation data of a single sub-pixel, wherein the data channels are in one-to-one correspondence with the frequency channels, each data channel comprises a first-in first-out memory and a decoder, the plurality of first-in first-out memories respectively store variable-length coded data of the plurality of frequency channels, and the decoder performs decoding operation on the variable-length coded data.
Optionally, each data channel further comprises: and a register connected between the first-in first-out memory and the decoder, transmitting the variable-length encoded data to the decoder, and counting the number of valid bits of the variable-length encoded data stored in the register, wherein when the number of valid bits is smaller than one unit value, the variable-length encoded data of one unit value is read from the first-in first-out memory, and one unit value is 96 bits.
Optionally, the frequency channel includes one low frequency channel and three high frequency channels, and the inverse transformer acquires the intermediate data from at least the data channel corresponding to the low frequency channel.
Optionally, the data storage depth of the first-in first-out memories of the data channels corresponding to the low frequency channels is 12×96 bits, and the data storage depth of the first-in first-out memories of the data channels corresponding to the three high frequency channels is 8×96 bits.
Optionally, the decoder includes: the entropy decoding unit is used for decoding a plurality of data groups included in the variable-length coded data into a plurality of quantized codes according to a preset rule for each frequency channel to obtain a group of quantized coded combined data; and the quantization unit is connected with the entropy decoding unit and is used for performing dequantization operation on the quantized coded combined data to obtain a quantized value and obtain intermediate data.
Optionally, the decoder in the data channel where the low frequency channel is located further includes: and the prediction unit is connected with the quantization unit and is used for carrying out data prediction operation on the quantized value of the low-frequency channel to obtain the intermediate data.
Optionally, each data set includes a binary flag code and a quantization code, the quantization codes are in one-to-one correspondence with the quantization values, the flag codes represent groupings of the quantization values, bit numbers of all the flag codes and bit numbers of all the quantization codes are not identical, and the preset rule is stored in the memory, and the preset rule includes a correspondence between bit numbers of each flag code and each data set.
Optionally, the data processing circuit includes a plurality of decoding units, each decoding unit outputting one sub-pixel brightness compensation data, and the plurality of sub-pixel brightness compensation data outputted by the plurality of decoding units are different types of compensation data provided to the same area of the pixel unit of the display screen.
Optionally, the data processing circuit further comprises: a line buffer connected to the decoder and the inverse transformer, storing the intermediate data, and transmitting the intermediate data to the inverse transformer, where the intermediate data directly undergoes a first inverse transformation operation by the inverse transformer to obtain first sub-pixel brightness compensation data, so as to perform brightness compensation on an odd number line of pixel units of the display screen; and performing a second inverse transformation operation on the intermediate data extracted from the line buffer by the inverse transformer to obtain second sub-pixel brightness compensation data so as to perform brightness compensation on an even line of the pixel units of the display screen, wherein the odd line is adjacent to the even line.
Optionally, the data processing circuit further comprises: and the compensation circuit is used for acquiring the sub-pixel brightness compensation data corresponding to the three-color sub-pixels respectively, performing data processing on the sub-pixel brightness compensation data of the three-color sub-pixels to obtain actual brightness compensation data, and providing the actual brightness compensation data to the display screen.
According to another aspect of the present invention, there is provided a data processing apparatus comprising: the data processing circuit described above; a buffer unit for storing the variable length binary coded data; and a controller connected between the buffer unit and the data processing circuit, reading the variable length binary coded data from the buffer unit and distributing the variable length binary coded data to each data channel.
Optionally, the variable-length binary coded data are stored in the buffer unit in the form of lookup tables, and the variable-length binary coded data corresponding to each lookup table are transmitted to a corresponding decoding unit by the controller.
Optionally, the data processing apparatus further includes: and the memory is connected with the buffer unit and used for storing all the variable-length binary coded data corresponding to the three-color sub-pixels and preset rules, and the memory comprises a flash memory.
Optionally, the data processing circuit is located inside a driving chip of the display screen, and the buffer unit and the controller are located outside the driving chip.
According to the data processing method, the data processing circuit and the data processing device, firstly, variable length binary coded data obtained by adopting a VLC (Variable length Coding variable length coding) mode is stored, and codes with different lengths can be used according to the occurrence frequency of the data in the coding process, so that the data size of the coded data is small, the coding is easy, and the area of a storage device is reduced. In the decoding process, the encoded data and the decoding can be respectively stored according to the frequency channels, the encoded data of at least one frequency channel is adopted for decoding to obtain the actual brightness compensation data, and the decoding operand and the decoding operation can be simplified. The encoded data of the frequency channel with the most stored information is decoded and used, so that the size of the compensation data is greatly reduced, the occupied space is reduced, the response speed is improved, and the power consumption is reduced. When the compensation precision needs to be improved, the encoded data of the multi-frequency channel can be decoded. The compensation precision and the power consumption can be simultaneously considered by selecting a proper frequency channel, and the applicability of products is improved.
Further, discrete wavelet transformation is adopted to obtain data of a plurality of frequency channels, the low-frequency channel data is approximate to the original data, the most basic and most visual characteristics of the original data are reserved, and the three high-frequency channels retain detailed information of the original data. Therefore, the final sub-pixel brightness compensation data can be obtained by decoding only according to the encoded data of the low-frequency channel, the compensation precision is high, the power consumption is low, and the response is quick. And the brightness compensation effect can be further improved by adopting the data of the high-frequency channel, so that the step brightness compensation is realized.
Further, in the encoding process, a quantization code is generated according to each quantization value, then the quantization codes are grouped, a flag code is set for each group, and the flag code and the quantization codes are combined into a data group. And when decoding, the relation between the mark codes and the lengths of the data groups can be obtained according to a preset rule, so that quantized codes are obtained, and finally the quantized codes are processed into quantized values, and the data before coding are restored. The whole coding and decoding process is simple, the quantized value can be conveniently resolved through the sign coding, the data processing speed is improved, and the data fidelity is high.
Further, a series of operations such as encoding, quantization, transformation and the like adopted in the encoding process can be in one-to-one correspondence with the operations such as entropy decoding, dequantization, inverse transformation and the like in the decoding process, so that complete reversible transformation of data is realized, the data precision is effectively improved, the compression ratio of the data is greatly improved, and the reliability of compensation operation is improved.
Further, different compensation modes can be adopted for different areas of the screen, particularly, intermediate data of odd lines can be buffered by adopting a line buffer, brightness compensation data of even lines can be obtained by direct inverse transformation according to the intermediate data, the operand of decoding operation of the even line data is reduced, the compensation precision is not influenced, and the power consumption and the cost are reduced.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1 shows a flow chart of encoding luminance compensation data into variable length binary encoded data in a data processing method according to an embodiment of the present invention;
FIG. 2 shows a schematic diagram of the process of data conversion and arrangement of FIG. 1;
FIG. 3 shows a schematic diagram of the matching of flag encoding and quantization encoding during data encoding and decoding in a data processing method according to an embodiment of the present invention;
FIG. 4 shows a flow chart of a data processing method according to an embodiment of the invention;
fig. 5 shows a specific step flowchart of step S203 of fig. 4;
FIG. 6 is a schematic diagram showing a process of data prediction in a data processing method according to an embodiment of the present invention;
Fig. 7 is a schematic diagram showing a process of inverse data transformation in a data processing method according to an embodiment of the present invention;
fig. 8 shows a schematic block diagram of a data processing apparatus and a data processing circuit according to a first embodiment of the invention;
fig. 9 shows a schematic block diagram of a data processing circuit according to a second embodiment of the invention.
Detailed Description
The invention will be described in more detail below with reference to the accompanying drawings. Like elements are denoted by like reference numerals throughout the various figures. For clarity, the various features of the drawings are not drawn to scale. Furthermore, some well-known portions may not be shown.
The present invention is described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth in detail. The present invention will be fully understood by those skilled in the art without the details described herein. Well-known methods, procedures, flows, components and circuits have not been described in detail so as not to obscure the nature of the invention.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, it is the meaning of "including but not limited to". In the description of the present invention, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
The following describes in further detail the embodiments of the present invention with reference to the drawings and examples.
The invention provides a data processing method, which mainly relates to a compression storage and decoding use method of brightness compensation data for removing mura phenomenon of an OLED screen. In the process of encoding the brightness compensation data, discrete wavelet transformation conversion is respectively carried out on the sub-pixel brightness compensation data corresponding to the three-color sub-pixels in a VLC encoding mode, data of four frequency channels (LL/LH/HL/HH) are obtained through reorganization and conversion, and then binary documents (binaries) are generated according to compression factors and channel address data arrangement. In the process of decoding and using the data by the driving chip of the OLED screen, firstly, a stored coded binary document is acquired, then, the data of four frequency channels are respectively acquired through a first-in first-out memory, and finally, the actual brightness compensation data of the final three-color sub-pixels are acquired through a decoder. The size of the compensation data can be effectively reduced through VLC encoding and decoding modes, the occupied storage space and memory area are reduced, the accuracy degree of the compensation data can be improved, the data transmission flow and the calculated amount are reduced, and the power consumption is greatly reduced. The details are described below in conjunction with fig. 1-7.
Fig. 1 shows a flowchart of encoding luminance compensation data into variable length binary encoded data in a data processing method according to an embodiment of the present invention. As shown in fig. 1, the data processing method of the present embodiment includes: the brightness compensation data is encoded into variable length binary encoded data, specifically comprising steps S101-S106.
In step S101, the luminance compensation data is subjected to data downsampling to obtain sub-pixel luminance compensation data corresponding to the three-color sub-pixels respectively. In this step, the common data downsampling method is adopted for the brightness compensation data, so as to obtain sub-pixel brightness compensation data corresponding to the R, G, B three-color sub-pixels respectively. And in the following steps, respectively processing the sub-pixel brightness compensation data corresponding to the three-color sub-pixels.
In step S102, discrete wavelet transform is performed on the sub-pixel brightness compensation data corresponding to each sub-pixel, so as to obtain a plurality of conversion data divided according to frequency. In this step, the sub-pixel brightness compensation data is processed by discrete wavelet transform, and the scale and translation of the basic wavelet are discretized. In image processing, a binary wavelet is often employed as a discrete wavelet transform function. Conversion data of four frequency channels (LL, LH, HH and HL) divided according to frequencies (high frequency H and low frequency L) are obtained after this conversion.
In step S103, the conversion data belonging to the same frequency are combined together to form a plurality of conversion data into intermediate data of a plurality of frequency channels. For each color sub-pixel, multiple groups of four-frequency channel data can be obtained, and then the conversion data of the four frequency channels are respectively combined according to the frequency channels to obtain intermediate data.
Fig. 2 shows a schematic diagram of the process of data conversion and arrangement in fig. 1. As shown in fig. 2, the input data R is first decomposed into sub-data blocks (LL, LH, HH, and HL) of different frequencies by wavelet transformation, and converted into spatial distribution information, wherein the low-frequency sub-data block LL is an approximation of the original data, is closest to the original data, and retains the basic information and most of important data of the original data. The high-frequency sub-data blocks in three directions reflect the detailed information of the original data. Therefore, the sub-pixel luminance compensation data of each sub-pixel is converted into conversion data of four frequency channels LL/LH/HL/HH by step S102, and the LL channel stores the most compensation information. And then, respectively arranging and combining the plurality of conversion data according to the frequency channels to obtain intermediate data of the four frequency channels.
Referring next to fig. 1, in step S104, data prediction and quantization operations are performed on intermediate data of each frequency channel, so as to obtain a set of quantized coded combined data. In this step, both data prediction and quantization are performed on intermediate data of sub-pixels of the same color. The data is subjected to various operation processes according to corresponding formulas, such as data value modification, prediction and quantization, wherein positive and negative values and the data value are converted. After this step, each data is processed into a quantized code, such as binary data. Each frequency channel contains a plurality of quantized codes, i.e. each frequency channel gets a set of quantized value combination data.
In step S105, a flag code is set for each quantization code in each set of quantized coded combination data to obtain a data set, and then a plurality of data sets are arranged according to the coding factors to obtain a set of variable length coded data. In this step, coding is performed by VLC coding, a flag code is set for each quantization code to obtain a data group, and then a plurality of data groups are arranged in a certain order.
The method specifically comprises the following steps: dividing a group of quantized coded combination data into a plurality of groups, wherein the number of quantized codes contained in each group is not identical; setting a mark code for each group, wherein the bit numbers of the plurality of mark codes are not identical; combining each quantization code with a corresponding grouped flag code to form a data set; a plurality of data sets are arranged according to coding factors, and a set of variable length coded data is obtained, wherein the coding factors comprise compression factors. See in particular fig. 3.
Fig. 3 shows a schematic diagram of matching of flag encoding and quantization encoding in the data encoding and decoding process in the data processing method according to the embodiment of the present invention.
As shown in fig. 3, the quantized values, for example, any value between-128 and 127, correspond to quantized codes, which are binary data obtained by conversion, for example, the negative sign is represented by 0 and the positive sign is represented by 1. All quantized codes (or quantized values) of one frequency channel are then grouped according to values, the number of quantized codes contained in each group not being exactly the same. For example, 5 packets are grouped in the example of fig. 3, each containing a different amount of data. The same flag codes are allocated to the quantization codes of the same group, the flag codes corresponding to each group are different, and the lengths of the flag codes can be different. Each quantization code and the corresponding flag code are then combined one by one to obtain a data set. Then, a plurality of data groups are arranged in a predetermined order to form variable-length encoded data. When the data sets are formed by combination, the mark codes are arranged in front, the quantization codes are arranged in back, and the total length or the bit number of each data set is not identical, so that the effect of variable length coding is achieved.
Further, the number and the positions of occurrence of different quantization codes can be different, the occurrence frequency of some quantization codes can be high, the occurrence frequency of some quantization codes is low, the quantization codes with high occurrence frequency can be coded by using marks with shorter length, and the quantization codes with low occurrence frequency can be coded by using marks with longer length, so that the length of the whole coded data can be changed according to the requirement. For example, the plurality of data sets may be arranged and compressed according to the coding factors, such as the compression factors and the scaling factors, to set the locations and frequencies at which different quantization codes occur. Shorter flag codes can also be set for packets containing a greater number of quantization codes, so that the length of the entire encoded data can be adjusted according to actual requirements. When the user needs faster response speed, less storage space and lower power consumption, the data occurrence frequency with smaller quantization value can be set higher, so that the length of the data group is shortened, the length of the whole coded data is shorter, and the occupied storage space is smaller. When the user needs high compensation accuracy and good display effect, the frequency of the data with larger quantization value can be set higher, so that each row of the pixel units of the display screen can obtain high-accuracy compensation data.
After the above encoding process, the data is stored simply and decoded easily. In the decoding process, the initial data is judged to see whether the mark codes are acquired or not and analyze which group the acquired mark codes are, then the total length of the data group corresponding to the mark codes is found according to a preset rule, the corresponding quantized codes are read, and the corresponding quantized codes are analyzed. For example, data 10 is adopted, the second group (number 1) is corresponding, and according to the total bit number (3 bits) of the data group, 1bit data is mainly continuously taken backwards to obtain quantized codes, and decoding operation is carried out; if 1110 is acquired, then the decoding operation continues to acquire the 3bit data. The coding process and the decoding process are completely reversible, the reliability of data transmission is improved, and the data decoding precision is high.
It can be appreciated that the data of all four frequency channels can be encoded according to the above method to obtain variable length encoded data of four channels.
With continued reference to fig. 1, in step S106, the variable length coded data of the plurality of frequency channels are arranged and combined to obtain variable length binary coded data corresponding to each sub-pixel, which is stored as a binary document. In this step, the data of the four frequency channels are combined according to a memory address or other rule, for example, arranged in HL, HH, LL, LH or LL, LH, HL, HH manner, or arranged in other order. And obtaining variable-length binary coded data corresponding to each sub-pixel, and storing the variable-length binary coded data as a binary document. The encoded data is stored in the form of a Look-Up Table (LUT), and QT (compression factor) or scaling factor, data storage address, chksum (checksum) value and other check data can be stored in the binary document.
Of course, the sub-pixel luminance compensation data of the other sub-pixels is compressed and stored in the same manner, and a binary document is also generated. The data of the binary document is read according to each sub-pixel for decoding.
Fig. 4 shows a flow chart of a data processing method according to an embodiment of the invention.
After the data encoding process in the embodiment of fig. 1, the data processing method in this embodiment further includes a process of decoding data, specifically including steps S201 to S205. As shown in fig. 4:
in step S201, variable length binary coded data corresponding to the stored single sub-pixel is acquired. In this step, variable length binary coded data corresponding to each sub-pixel is sequentially acquired in the order of R, G, B, for example, and then decoded.
In step S202, variable length binary coded data is divided by frequency channel and stored as variable length coded data of a plurality of frequency channels. In this step, the obtained variable length binary coded data of the monochrome sub-pixel is divided and stored according to the frequency channel, and is stored as variable length coded data of four channels. The frequency channel includes one low frequency channel and three high frequency channels.
In step S203, the variable length encoded data of at least one frequency channel among the variable length encoded data of the plurality of frequency channels is decoded to obtain intermediate data. In this step, variable length encoded data of at least one frequency channel is decoded to obtain intermediate data. The at least one frequency channel comprises a low frequency channel, and the remaining three frequency channels LH/HL/HH may be closed except for the LL frequency channel. That is, only the data of the low frequency channel LL may be decoded to obtain intermediate data, or the data of the low frequency channel LL and any one to three other channels may be decoded to obtain intermediate data.
Fig. 5 shows a specific step flowchart of step S203 of fig. 4. As shown in fig. 5, this step specifically includes steps S2031 to S2033.
In step S2031, for each frequency channel, a plurality of data sets included in the variable-length encoded data are decoded into a plurality of quantization codes according to a preset rule, to obtain a set of quantization-coded combined data. In this step, each data set includes binary flag codes and quantization codes, the quantization codes are in one-to-one correspondence with the quantization values, the flag codes represent groupings of quantization values, and bit numbers of all flag codes and bit numbers of all quantization codes are not identical. The preset rule includes a correspondence of each flag code and a bit number of each data group. The quantized coded values for each data set are obtained according to the decoding scheme described in fig. 3, resulting in a set of quantized coded combined data. The method comprises the following specific steps: acquiring a stored preset rule; reading the mark codes of each data group according to a preset rule; and obtaining the quantization coding of the corresponding data group according to the flag coding and the bit number of the data group.
In this embodiment, a quantization code is generated according to each quantization value in the encoding process, and then the quantization codes are grouped, and a flag code is set for each group, and the flag code and the quantization codes are combined into a data group. And when decoding, the relation between the mark codes and the lengths of the data groups can be obtained according to a preset rule, so that quantized codes are obtained, and finally the quantized codes are processed into quantized values, and the data before coding are restored. The whole coding and decoding process is simple, the quantized value can be conveniently resolved through the sign coding, the data processing speed is improved, and the data fidelity is high.
In step S2032, dequantization operation is performed on the quantized coded combined data to obtain a quantized value. In this step, the data of the selected frequency channel is processed, for example, by using a Round function and QT coefficients, and the quantized code is converted into a corresponding quantized value.
In step S2033, a data prediction operation is performed on the quantized values of the low frequency channels alone, resulting in intermediate data. In this step, only the quantized value of the low frequency channel can be subjected to data prediction operation, because the low frequency channel stores the most compensation information, the data of the LL frequency channel can be further subjected to compensation calculation through prediction, and the accuracy of the data is effectively improved.
According to the data processing method of the embodiment, a series of operations such as encoding, quantization and transformation adopted in the encoding process can correspond to the operations such as entropy decoding, dequantization and inverse transformation in the decoding process one by one, so that complete reversible transformation of data is realized, the data precision is effectively improved, the compression ratio of the data is greatly improved, and the reliability of compensation operation is improved.
Referring next to fig. 4, in step S204, the intermediate data is subjected to an inverse transform operation, resulting in sub-pixel luminance compensation data. In this step, the sub-pixel luminance compensation data may be obtained by performing inverse transformation on only the data of the low-frequency channel, or may be obtained by performing inverse transformation on the data of a plurality of frequency channels including the low-frequency channel. The inverse transform process and the discrete wavelet transform process are reversible transform processes.
In step S205, the obtained sub-pixel brightness compensation data of the three-color sub-pixel is subjected to data processing to obtain actual brightness compensation data, and the actual brightness compensation data is provided to the display screen. And acquiring the sub-pixel brightness compensation data of other sub-pixels in the same way, performing data processing such as certain arrangement and combination on the sub-pixel brightness compensation data of the three-color sub-pixels to obtain actual brightness compensation data, and providing the actual brightness compensation data to the corresponding pixel units of the display screen.
In the data processing method of this embodiment, discrete wavelet transformation is adopted to obtain data of multiple frequency channels, the low-frequency channel data is an approximation of the original data, the most basic and most visual characteristics of the original data are reserved, and the three high-frequency channels retain detailed information of the original data. Therefore, the final sub-pixel brightness compensation data can be obtained by decoding only according to the encoded data of the low-frequency channel, the compensation precision is high, the power consumption is low, and the response is quick. And the brightness compensation effect can be further improved by adopting the data of the high-frequency channel, so that the step brightness compensation is realized.
Fig. 6 shows a schematic diagram of a process of data prediction in a data processing method according to an embodiment of the present invention.
In this embodiment, the prediction operation may be performed on the data according to step S2033 of fig. 5, where the current quantized value may be updated according to a previous quantized value located in the same row as the current quantized value, and/or according to a previous quantized value located in the same column as the current quantized value. As shown in fig. 6, the mode a is to update the current quantized value according to the previous quantized value located in the same line as the current quantized value, for example, to average the current quantized value and the previous quantized value by adding together, or to replace the current quantized value with the previous quantized value by a certain process. Mode B is to update the current quantized value based on the last quantized value in the same column as the current quantized value, and the current quantized value may be updated based on the last quantized value in a similar manner to mode a. Mode C is a combination of mode a and mode B, and updates the current quantization value based on the previous quantization value and the previous quantization value together. For example, the current quantized value may be updated by summing and averaging the previous quantized value and the previous quantized value, or the previous quantized value and the previous quantized value may be combined in a certain ratio.
Fig. 7 shows a schematic diagram of a process of inverse data transformation in a data processing method according to an embodiment of the present invention.
As shown in fig. 7, first, data of four frequency channels are subjected to mathematical operation, for example, l0=ll+lh, l1=ll-LH, h0=hl+hh, and h1=hl-HH in the first step, to obtain data of L0, L1, H0, and H1. Then a second step is performed: r0=l0+h0, r1=l0-h0, r2=l1+h1, r3=l1-H1, resulting in data for R0, R1, R2 and R3. Then, a third step is performed to determine whether the obtained data is within a certain value interval, for example, -128 to 127. R0=max (-128, min (127, R0)), r1=max (-128, min (127, R1)), r2=max (-128, min (127, R2)), r3=max (-128, min (127, R3)).
The sub-pixel brightness compensation data of the R pixel is obtained through the inverse transformation, the data processing modes of the G pixel and the B pixel are the same, and the actual brightness compensation data corresponding to each sub-pixel is obtained through a series of operations.
The data processing method provided by the invention firstly stores variable length binary coded data obtained by adopting a VLC (Variable length Coding ) mode, and can use codes with different lengths according to the occurrence frequency of the data in the coding process, so that the data size of the coded data is small, the coding is easy, and the area of a storage device is reduced. In the decoding process, the encoded data and the decoding can be respectively stored according to the frequency channels, the encoded data of at least one frequency channel is adopted for decoding to obtain the actual brightness compensation data, and the decoding operand and the decoding operation can be simplified. The encoded data of the frequency channel with the most stored information is decoded and used, so that the size of the compensation data is greatly reduced, the occupied space is reduced, the response speed is improved, and the power consumption is reduced. When the compensation precision needs to be improved, the encoded data of the multi-frequency channel can be decoded. The compensation precision and the power consumption can be simultaneously considered by selecting a proper frequency channel, and the applicability of products is improved.
Further, the data processing method further comprises: performing a first inverse transformation operation on the intermediate data to obtain first sub-pixel brightness compensation data, and performing brightness compensation on an odd-numbered row of pixel units of the display screen; and extracting the intermediate data stored in the line buffer for performing a second inverse transformation operation to obtain second sub-pixel brightness compensation data, and performing brightness compensation on an even line of the pixel units of the display screen, wherein the odd line and the even line are adjacent.
When the brightness compensation is carried out on the screen, different compensation modes can be adopted for different areas of the screen, for example, an output group of sub-pixel brightness compensation data can be provided for one row of pixel units only, or an output group of sub-pixel brightness compensation data can be provided for two rows, at the moment, a row buffer can be adopted to buffer the middle data of the odd rows, and the brightness compensation data of the even rows can be obtained by directly inversely transforming the middle data, so that the operation amount of the decoding operation of the even row data is reduced, the compensation precision is not influenced, and the power consumption and the cost are reduced.
Further, the present invention also provides a corresponding data processing device, which is used for executing the above data processing method, and particularly refer to fig. 8.
Fig. 8 shows a schematic block diagram of a data processing apparatus and a data processing circuit according to a first embodiment of the invention.
As shown in fig. 8, a data processing apparatus 100 is provided for providing brightness compensation data to a display screen 200, for example an OLED display screen 200. The data processing apparatus 100 comprises a memory 110, a buffer unit 120, a controller 130 and a data processing circuit 140, which are connected in sequence. The buffer unit 120 is, for example, an SRAM, reads variable-length binary coded data from the memory 110 and stores it in the form of a lookup table. The controller 130, i.e., a read controller, is connected between the buffer unit 120 and the data processing circuit 140, reads variable length binary coded data from the buffer unit 120 and distributes it to each data channel of the data processing circuit 140. The memory 110 is connected to the buffer unit 120, and is configured to store all variable-length binary coded data corresponding to the three-color sub-pixels and a preset rule, where the memory 110 includes a Flash memory Flash. The data processing circuit 140 is located inside a driving chip of the display screen, for example, and the buffer unit 120 and the controller 130 are located outside the driving chip.
The data processing circuit 140 of the present embodiment is mainly used for decoding variable-length binary coded data for adjusting display brightness of a display screen in a display device, and the data processing circuit 140 includes at least one decoding unit 150 and a compensation circuit 180. Each decoding unit 150 includes a plurality of data channels 160 and an inverse transformer 170. The data processing circuit 140 divides the variable length binary coded data acquired from the memory 110 by frequency channels, stores the divided variable length binary coded data in the plurality of data channels 160, stores the divided variable length binary coded data as a plurality of frequency channels, and decodes the divided variable length binary coded data in the respective data channels 160 to obtain intermediate data. The inverse transformer 170 is connected to the plurality of data channels 160, and performs an inverse transformation operation on the intermediate data to obtain sub-pixel brightness compensation data of a single sub-pixel.
That is, in the present embodiment, the data channels 160 and the frequency channels are in one-to-one correspondence, and as shown in fig. 8, 4 data channels are shown in each decoding unit 150, and data of HH, HL, LH, and LL frequency channels are stored in correspondence, respectively. Each data channel 160 includes a first-in first-out memory 161 and a decoder 163, the plurality of first-in first-out memories 161 respectively storing variable-length encoded data of a plurality of frequency channels, and the decoder 163 performs a decoding operation on the variable-length encoded data. The FIFO4 may be used to store data of LL frequency channels, and the data storage depth of FIFOs of low frequency channels is set to 12 x 96 bits, and the data storage depth of FIFOs of other 3 high frequency channels is set to 8 x 96 bits. The FIFO successively reads data stored in the corresponding SRAM120 each time.
Each data channel 160 further includes a register 162, the register 162 being connected between the FIFO161 and the decoder 163 for transferring the variable length encoded data in the FIFO161 to the decoder 163. The register 162 is mainly used to count the number of significant bits of the variable-length encoded data stored in itself, and when the number of significant bits is smaller than one unit value, the variable-length encoded data of one unit value, for example, 96 bits is read from the first-in first-out memory 161. When implemented, 1 192-bit register may be used to buffer the data output from the FIFO while recording the current number of valid data bits, and when the number of valid data bits consumed by decoder 163 is less than 96, the next data is read from the FIFO and filled at the end of register 162.
In this embodiment, the frequency channel includes a low frequency channel and three high frequency channels, and the inverse transformer 170 obtains intermediate data from at least the data channel 160 corresponding to the low frequency channel, that is, other data channels except the data channel corresponding to the LL frequency channel can be closed, so as to reduce the data calculation amount.
Further, the decoder 163 may include an entropy decoding unit and a quantization unit. The entropy decoding unit decodes a plurality of data groups included in the variable-length encoded data into a plurality of quantized codes according to a preset rule for each frequency channel to obtain a group of quantized coded combined data. The quantization unit is connected with the entropy decoding unit and is used for performing dequantization operation on the quantized coded combined data to obtain quantized values and intermediate data. Each data set comprises binary flag codes and quantization codes, the quantization codes are in one-to-one correspondence with the quantization values, the flag codes represent groups of the quantization values, the bit numbers of all the flag codes and the bit numbers of all the quantization codes are not identical, and preset rules are stored in the memory 110 and comprise the corresponding relation between each flag code and the bit number of each data set. Of course, the decoder 163 in the data channel 160 where the low frequency channel is located further includes a prediction unit, and the prediction unit is connected to the quantization unit, and performs a data prediction operation on the quantized value of the low frequency channel to obtain intermediate data.
The compensation circuit 180 is configured to obtain sub-pixel brightness compensation data corresponding to the three-color sub-pixels, perform data processing on the sub-pixel brightness compensation data of the three-color sub-pixels, obtain actual brightness compensation data, and provide the actual brightness compensation data to the display screen 200.
Fig. 9 shows a schematic block diagram of a data processing circuit according to a second embodiment of the invention.
As shown in fig. 9, the data processing circuit 240 may include a plurality of decoding units 250, for example, the decoding units 250 may be provided in two, the SRAM220 may read data of a plurality of LUTs from the memory, for example, data of two LUTs, and variable length binary coded data corresponding to each look-up table is transmitted to a corresponding one of the decoding units by the controller, that is, each decoding unit 250 processes data of one LUT. Each of the decoding units 250 of the plurality of decoding units 250 may output one sub-pixel brightness compensation data, and the plurality of sub-pixel brightness compensation data simultaneously output by the plurality of decoding units 250 are different types of compensation data provided to the same area of the pixel unit of the display screen. For example, the offset0 and the offset1 outputted from the decoding unit 250 and the decoding unit 350 are brightness compensation data of different types or different information supplied to the same area of the pixel unit. The compensation circuit 280 is connected to a plurality of decoding units, integrates and otherwise processes the data, and provides the data to the display screen.
For each decoding unit, for example, decoding unit 250 is taken as an example, and its inverse transformer 270 obtains intermediate data from at least the data channel corresponding to the low frequency channel LL. Similarly, the decoding unit 350 may close all other data channels except the data channel corresponding to LL, and the inverse transformer 370 may obtain intermediate data from at least the opened data channel. Closing the data path is for example disconnecting the data transfer between the register 262 and the decoder 263 or disconnecting the data transfer between the FIFO261 and the register 262.
Further, the data processing circuit 240 further comprises a line buffer 290, the line buffer 290 being connected to the decoder 263 (or 363) and the inverse transformer 270 (or 370), the line buffer 290 being for storing intermediate data and transmitting the intermediate data to the inverse transformer 270 (or 370). Since VLC coded data supports both 2*1 and 2 x 2 modes of screen division, the line buffer 290 can be used to buffer the odd line compensation data for even line read data while turning off the corresponding decoder in 2 x 2 mode. Namely, the intermediate data directly undergoes a first inverse transformation operation through an inverse transformer 270 to obtain first sub-pixel brightness compensation data so as to carry out brightness compensation on an odd number row of pixel units of the display screen; and the intermediate data extracted from the line buffer 290 is subjected to a second inverse transformation operation by the inverse transformer 270 to obtain second sub-pixel brightness compensation data for brightness compensation of an even line of the pixel unit of the display screen, and the odd line is adjacent to the even line.
In summary, the data processing method, the data processing circuit and the data processing device provided by the application firstly store variable length binary coded data obtained by adopting a VLC (Variable length Coding ) mode, and can use codes with different lengths according to the occurrence frequency of the data in the coding process, so that the data size of the coded data is small, the coding is easy, and the area of a storage device is reduced. In the decoding process, the encoded data and the decoding can be respectively stored according to the frequency channels, the encoded data of at least one frequency channel is adopted for decoding to obtain the actual brightness compensation data, and the decoding operand and the decoding operation can be simplified. The encoded data of the frequency channel with the most stored information is decoded and used, so that the size of the compensation data is greatly reduced, the occupied space is reduced, the response speed is improved, and the power consumption is reduced. When the compensation precision needs to be improved, the encoded data of the multi-frequency channel can be decoded. The compensation precision and the power consumption can be simultaneously considered by selecting a proper frequency channel, and the applicability of products is improved.
Further, discrete wavelet transformation is adopted to obtain data of a plurality of frequency channels, the low-frequency channel data is approximate to the original data, the most basic and most visual characteristics of the original data are reserved, and the three high-frequency channels retain detailed information of the original data. Therefore, the final sub-pixel brightness compensation data can be obtained by decoding only according to the encoded data of the low-frequency channel, the compensation precision is high, the power consumption is low, and the response is quick. And the brightness compensation effect can be further improved by adopting the data of the high-frequency channel, so that the step brightness compensation is realized.
Further, in the encoding process, a quantization code is generated according to each quantization value, then the quantization codes are grouped, a flag code is set for each group, and the flag code and the quantization codes are combined into a data group. And when decoding, the relation between the mark codes and the lengths of the data groups can be obtained according to a preset rule, so that quantized codes are obtained, and finally the quantized codes are processed into quantized values, and the data before coding are restored. The whole coding and decoding process is simple, the quantized value can be conveniently resolved through the sign coding, the data processing speed is improved, and the data fidelity is high.
Further, a series of operations such as encoding, quantization, transformation and the like adopted in the encoding process can be in one-to-one correspondence with the operations such as entropy decoding, dequantization, inverse transformation and the like in the decoding process, so that complete reversible transformation of data is realized, the data precision is effectively improved, the compression ratio of the data is greatly improved, and the reliability of compensation operation is improved.
Further, different compensation modes can be adopted for different areas of the screen, particularly, intermediate data of odd lines can be buffered by adopting a line buffer, brightness compensation data of even lines can be obtained by direct inverse transformation according to the intermediate data, the operand of decoding operation of the even line data is reduced, the compensation precision is not influenced, and the power consumption and the cost are reduced.
Embodiments in accordance with the present invention, as described above, are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention and various modifications as are suited to the particular use contemplated. The invention is limited only by the claims and the full scope and equivalents thereof.

Claims (25)

1. A data processing method for adjusting display brightness of a display screen in a display device, the data processing method comprising:
acquiring stored variable length binary coded data corresponding to a single sub-pixel;
dividing and storing the variable length binary coded data into variable length coded data of a plurality of frequency channels according to the frequency channels;
respectively decoding variable length coded data of at least one frequency channel in the variable length coded data of the plurality of frequency channels to obtain intermediate data; and
and carrying out inverse transformation operation on the intermediate data to obtain sub-pixel brightness compensation data.
2. The data processing method of claim 1, wherein the frequency channel comprises one low frequency channel and three high frequency channels, the at least one frequency channel comprising the low frequency channel.
3. The data processing method of claim 1, further comprising:
and carrying out data processing on the obtained sub-pixel brightness compensation data of the three-color sub-pixels to obtain actual brightness compensation data, and providing the actual brightness compensation data to the display screen.
4. The data processing method of claim 2, wherein the step of decoding the variable length encoded data of at least one of the plurality of frequency channels to obtain intermediate data includes:
decoding a plurality of data groups included in the variable-length coded data into a plurality of quantized codes according to a preset rule for each frequency channel to obtain a group of quantized coded combined data;
dequantizing the quantized coded combined data to obtain quantized values; and
and independently carrying out data prediction operation on the quantized value of the low-frequency channel to obtain the intermediate data.
5. The data processing method according to claim 4, wherein each of the data groups includes a binary flag code and a quantization code, the quantization code is in one-to-one correspondence with the quantization value, the flag code characterizes a grouping of the quantization values, and bit numbers of all the flag codes and bit numbers of all the quantization codes are not identical, and the preset rule includes a correspondence relationship of bit numbers of each of the flag codes and each of the data groups.
6. The data processing method as claimed in claim 5, wherein the step of decoding the plurality of data groups included in the variable-length encoded data into a plurality of quantized codes according to a predetermined rule for each frequency channel to obtain a set of quantized coded combined data comprises:
acquiring a stored preset rule;
reading the mark codes for each data group according to the preset rule;
and obtaining the quantization codes of the corresponding data groups according to the mark codes and the bit numbers of the data groups.
7. The data processing method of claim 4, wherein the step of performing a data prediction operation on the quantized values comprises:
the current quantized value is updated according to a previous quantized value located in the same line as the current quantized value, and/or the current quantized value is updated according to a previous quantized value located in the same column as the current quantized value.
8. The data processing method of claim 1, wherein the step of performing an inverse transform operation on the intermediate data to obtain sub-pixel brightness compensation data comprises:
performing a first inverse transformation operation on the intermediate data to obtain first sub-pixel brightness compensation data, and performing brightness compensation on an odd number row of pixel units of the display screen; and
Extracting the intermediate data stored in the line buffer for a second inverse transformation operation to obtain second sub-pixel brightness compensation data, performing brightness compensation on an even number line of pixel units of the display screen,
wherein the odd rows are adjacent to the even rows.
9. The data processing method according to claim 1, wherein, before the step of acquiring the stored variable length binary coded data corresponding to the single sub-pixel, further comprising: encoding the luminance compensation data into the variable length binary encoded data,
wherein the step of encoding the luminance compensation data into the variable length binary encoded data comprises:
performing data downsampling on the brightness compensation data to obtain sub-pixel brightness compensation data corresponding to the three-color sub-pixels respectively;
performing discrete wavelet transform on the sub-pixel brightness compensation data corresponding to each sub-pixel to obtain a plurality of conversion data divided according to frequency;
combining the converted data belonging to the same frequency together to form a plurality of the converted data into intermediate data of a plurality of frequency channels;
performing data prediction and quantization operation on the intermediate data of each frequency channel to obtain a group of quantized coded combined data;
Setting a flag code for each quantization code in each group of quantization code combined data to obtain a data group, and arranging a plurality of data groups according to coding factors to obtain a group of variable-length coded data; and
and arranging and combining the variable length coded data of the frequency channels to obtain the variable length binary coded data corresponding to each sub-pixel, and storing the variable length binary coded data as a binary document.
10. The data processing method of claim 9, wherein the discrete wavelet transform comprises a binary wavelet transform and the variable length binary coded data is stored in a look-up table.
11. The data processing method of claim 9, wherein the step of setting a flag code for each quantization code in each set of quantized coded combination data to obtain a data set, and arranging a plurality of the data sets according to a coding factor to obtain a set of variable-length coded data comprises:
dividing a group of quantized coded combination data into a plurality of groups, wherein the number of the quantized codes contained in each group is not identical;
setting one sign code for each group, wherein the bit numbers of a plurality of sign codes are not identical;
Combining each quantization code with the marker codes of the corresponding packet to form a data set;
and arranging a plurality of data groups according to coding factors to obtain a group of variable-length coded data, wherein the coding factors comprise compression factors.
12. A data processing circuit for decoding variable length binary coded data for adjusting display brightness of a display screen in a display device, the data processing circuit comprising at least one decoding unit, wherein each decoding unit comprises:
the variable-length binary coded data acquired from the memory are divided and stored into variable-length coded data of a plurality of frequency channels according to the frequency channels respectively, and the variable-length coded data are decoded to obtain intermediate data; and
an inverse transformer connected with the data channels for performing inverse transformation operation on the intermediate data to obtain sub-pixel brightness compensation data of a single sub-pixel,
the data channels are in one-to-one correspondence with the frequency channels, each data channel comprises a first-in first-out memory and a decoder, the first-in first-out memories respectively store variable-length coded data of the frequency channels, and the decoders perform decoding operation on the variable-length coded data.
13. The data processing circuit of claim 12, wherein each data lane further comprises:
and a register connected between the first-in first-out memory and the decoder, transmitting the variable-length encoded data to the decoder, and counting the number of valid bits of the variable-length encoded data stored in the register, wherein when the number of valid bits is smaller than one unit value, the variable-length encoded data of one unit value is read from the first-in first-out memory, and one unit value is 96 bits.
14. The data processing circuit of claim 12, wherein the frequency channel comprises one low frequency channel and three high frequency channels, the inverse transformer obtaining the intermediate data from at least the data channel to which the low frequency channel corresponds.
15. The data processing circuit of claim 14, wherein the data storage depth of the fifo memories of the data channels corresponding to the low frequency channels is 12 x 96 bits, and the data storage depth of the fifo memories of the data channels corresponding to the three high frequency channels is 8 x 96 bits.
16. The data processing circuit of claim 14, wherein the decoder comprises:
the entropy decoding unit is used for decoding a plurality of data groups included in the variable-length coded data into a plurality of quantized codes according to a preset rule for each frequency channel to obtain a group of quantized coded combined data; and
and the quantization unit is connected with the entropy decoding unit and is used for performing dequantization operation on the quantized coded combined data to obtain a quantized value and obtain intermediate data.
17. The data processing circuit of claim 16, wherein the decoder within the data channel where the low frequency channel is located further comprises:
and the prediction unit is connected with the quantization unit and is used for carrying out data prediction operation on the quantized value of the low-frequency channel to obtain the intermediate data.
18. The data processing circuit of claim 16, wherein each of the data sets includes a binary flag code and a quantization code, the quantization code is in one-to-one correspondence with the quantization value, the flag code characterizes a grouping of the quantization values, bit numbers of all the flag codes and bit numbers of all the quantization codes are not identical, and the preset rule is stored in the memory, the preset rule includes a correspondence of each of the flag codes and bit numbers of each of the data sets.
19. The data processing circuit of claim 12, wherein the data processing circuit comprises a plurality of the decoding units, each decoding unit outputting one sub-pixel brightness compensation data, and the plurality of sub-pixel brightness compensation data outputted by the plurality of decoding units are different types of compensation data supplied to the same area of the pixel unit of the display screen.
20. The data processing circuit of claim 12, further comprising: a line buffer connected to the decoder and the inverse transformer, storing the intermediate data, and transmitting the intermediate data to the inverse transformer,
the intermediate data directly passes through the inverse transformer to perform a first inverse transformation operation to obtain first sub-pixel brightness compensation data so as to perform brightness compensation on an odd number row of pixel units of the display screen; and performing a second inverse transformation operation on the intermediate data extracted from the line buffer by the inverse transformer to obtain second sub-pixel brightness compensation data so as to perform brightness compensation on an even line of the pixel units of the display screen, wherein the odd line is adjacent to the even line.
21. The data processing circuit of claim 12, further comprising: and the compensation circuit is used for acquiring the sub-pixel brightness compensation data corresponding to the three-color sub-pixels respectively, performing data processing on the sub-pixel brightness compensation data of the three-color sub-pixels to obtain actual brightness compensation data, and providing the actual brightness compensation data to the display screen.
22. A data processing apparatus comprising:
a data processing circuit according to any of claims 12 to 21;
a buffer unit for storing the variable length binary coded data; and
and the controller is connected between the buffer unit and the data processing circuit, reads the variable-length binary coded data from the buffer unit and distributes the variable-length binary coded data to each data channel.
23. The data processing apparatus of claim 22, wherein the variable length binary coded data is stored in the buffer unit in the form of look-up tables, the variable length binary coded data corresponding to each look-up table being transmitted by the controller to a corresponding one of the decoding units.
24. The data processing apparatus of claim 22, further comprising: and the memory is connected with the buffer unit and used for storing all the variable-length binary coded data corresponding to the three-color sub-pixels and preset rules, and the memory comprises a flash memory.
25. The data processing apparatus of claim 22, wherein the data processing circuit is located inside a driver chip of the display screen, and the buffer unit and the controller are located outside the driver chip.
CN202311129027.6A 2023-09-04 2023-09-04 Data processing method, data processing circuit and data processing device Pending CN117253450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311129027.6A CN117253450A (en) 2023-09-04 2023-09-04 Data processing method, data processing circuit and data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311129027.6A CN117253450A (en) 2023-09-04 2023-09-04 Data processing method, data processing circuit and data processing device

Publications (1)

Publication Number Publication Date
CN117253450A true CN117253450A (en) 2023-12-19

Family

ID=89134095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311129027.6A Pending CN117253450A (en) 2023-09-04 2023-09-04 Data processing method, data processing circuit and data processing device

Country Status (1)

Country Link
CN (1) CN117253450A (en)

Similar Documents

Publication Publication Date Title
JP7037554B2 (en) How and equipment to compress images
US7127116B2 (en) Image data compression
US8908982B2 (en) Image encoding device and image encoding method
JP2008532083A (en) New compression format and apparatus using new compression format for temporarily storing image data in frame memory
US20070110151A1 (en) System and method for video frame buffer compression
US20100220783A1 (en) Frame buffer compression for video processing devices
CN113170140A (en) Bit plane encoding of data arrays
US20140010445A1 (en) System And Method For Image Compression
US10803791B2 (en) Burrows-wheeler based stress profile compression
US20210250575A1 (en) Image processing device
CN110087082A (en) Image processing apparatus and method for operating image processing apparatus
US20230326087A1 (en) Systems and methods for scalable throughput entropy coders
US10609382B2 (en) Method and apparatus for compressing video data
CN117253450A (en) Data processing method, data processing circuit and data processing device
KR20020026189A (en) Efficient video data access using fixed ratio compression
US20210344900A1 (en) Image processing device
EP2383700A1 (en) System and method for image compression
CN114363625A (en) Decoding data arrays
US6690832B1 (en) Method, system, and program for decoding compressed data at multiple points
KR102523959B1 (en) Image processing device and method for operating image processing device
CN107211129A (en) The method and apparatus coded and decoded to colour picture
EP2819412A1 (en) Encoding and decoding
US20090074059A1 (en) Encoding method and device for image data
JPH0654209A (en) Image compressing/expanding circuit
US11303911B1 (en) Systems and methods for storing video data in memory

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