CN102523414A - Encoding and decoding method based on LVDS (low-voltage differential signaling) interface and device utilizing method - Google Patents

Encoding and decoding method based on LVDS (low-voltage differential signaling) interface and device utilizing method Download PDF

Info

Publication number
CN102523414A
CN102523414A CN2011104549847A CN201110454984A CN102523414A CN 102523414 A CN102523414 A CN 102523414A CN 2011104549847 A CN2011104549847 A CN 2011104549847A CN 201110454984 A CN201110454984 A CN 201110454984A CN 102523414 A CN102523414 A CN 102523414A
Authority
CN
China
Prior art keywords
data
image data
rgb image
lvds
scale
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
CN2011104549847A
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.)
Dawning Information Industry Co Ltd
Original Assignee
Dawning Information Industry 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 Dawning Information Industry Co Ltd filed Critical Dawning Information Industry Co Ltd
Priority to CN2011104549847A priority Critical patent/CN102523414A/en
Publication of CN102523414A publication Critical patent/CN102523414A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Liquid Crystal Display Device Control (AREA)

Abstract

The invention provides an encoding method based on an LVDS (low-voltage differential signaling) interface and a device utilizing the method. The encoding and decoding method based on the LVDS interface includes: acquiring a gray scale of RGB (red, green and blue) image data in to-be-coded data, determining the gray scale as a preset specific gray scale; setting indication marks so that a decoding side can acquire that to-be-decoded data are data corresponding to the preset specific gray scale; changing positions of specific digits of binary numbers corresponding to the RGB image data so that transmission frequency of the RGB image data is reduced after positions are changed. The invention further provides a decoding device based on the LVDS interface.

Description

Decoding method and device based on the LVDS interface
Technical field
Present invention relates in general to the signal processing field, more specifically, relate to a kind of decoding method and device based on the LVDS interface.
Background technology
LVDS (Low Voltage Differential Signaling; Low Voltage Differential Signal) interface is a kind of transfer of data and interfacing; The core of this technology is to adopt extremely low voltage swing high speed differential transmission data; Can realize point-to-point or a bit to connection of multiple spot, have low-power consumption, low error rate, low crosstalking and characteristics such as low radiation.
The LVDS interface is the general interface standard of display panels.In display panels; The LVDS interface circuit comprises two parts; Be the LVDS output interface circuit (LVDS transmitter) of drive plate side and the LVDS input interface circuit (LVDS receiver) of liquid crystal panel side; The LVDS transmitter is used RGB (RGB) image of drive plate main control chip output and is controlled transistor logic (TTL) conversion of signals of usefulness and be encoded to the LVDS signal; Pass the signal to the LVDS receiver of liquid crystal panel side then, the LVDS receiver converts the LVDS signal decoding into the parallel signal of Transistor-Transistor Logic level again, is sent to the SECO and the ranks drive circuit of liquid crystal display screen.
With 8 liquid crystal panels is example; The LVDS interface comprises five transmission channels; Wherein comprise four data passages and a clock passage, the data channel data signals transmitted comprises rgb image data, data enable signal DE, line synchronizing signal HS and row synchronizing signal VS.Under the existing coded system; The LVDS signal data pack arrangement of 8 liquid crystal panels is as shown in Figure 1 usually; Each LVDS clock cycle, transmit a complete packet, each packet comprises each 8bit of rgb image data (position) and DE, VS, the HS data of 27bit altogether; 4 data passages are transmitted simultaneously, and each passage can transmit the data of 7bit at a LVDS in the clock cycle, promptly can transmit the data of 28bit altogether simultaneously.This coded system RGB three looks is separately represented 0 to 255 GTG with R0 to R7, G0 to G7, each 8 bit of B0 to B7 respectively, and under every kind of GTG, rgb image data is formed by 0/1.
Under the existing LVDS coded system, in some specific grey-scale, 85 GTGs for example, the frequency of rgb image data transmission is higher.As shown in Figure 2, when 85 GTGs, the form of rgb image data is 01010101, and the numerical value between the R0/G0/B0 to R7/G7/B7 of composition rgb image data frequently replaces between 0 and 1 value, and the frequency of rgb image data transmission is higher.And when the frequency of transfer of data is higher, in the time of will causing transfer of data energy emission serious, be prone to electromagnetic interference (EMI, Electro Magnetic Interference) problem.
Summary of the invention
For addressing the above problem, the invention provides a kind of coding method based on the LVDS interface, comprising: obtain the GTG of rgb image data in the data to be encoded, confirm that GTG is predefined specific grey-scale; Decoding sign is set, so that can know that data to be decoded are the corresponding data of predefined specific grey-scale enough according to sign; The specific digits of the binary number that rgb image data is corresponding is carried out the position transposing, so that through after the transposing of position, the transmission frequency of rgb image data reduces.
Wherein, predefined specific grey-scale is the higher GTG of transfer of data frequency of the corresponding binary number of rgb image data.
Wherein, when the LVDS coding staff is encoded, sign is set, during the decoding of decoding side, can read the content of this sign.
Wherein, when this sign has indicated data to be decoded to be the data of predefined specific grey-scale correspondence, will decode according to the decoding rule corresponding with coding staff in decoding side.
Wherein, When GTG is predefined specific grey-scale; When the LVDS coding staff is encoded; Space bit as the sign position, is inserted 1 in the space bit in data to be encoded are encoded the packet that forms, and is the corresponding data of predefined specific grey-scale with the data of indicating this packet.
In addition, the present invention also provides a kind of coding/decoding method based on the LVDS interface, comprising: read the sign in the data to be decoded, know that according to sign data to be decoded are the corresponding data of predefined specific grey-scale; The specific digits of the binary number that rgb image data in the data to be decoded is corresponding is carried out the position transposing; Position transposing when wherein, the position transposing is encoded with the corresponding rgb image data of specific grey-scale is corresponding.
In addition, the present invention also provides a kind of code device based on the LVDS interface, comprising: acquiring unit, be used for obtaining the GTG of data to be encoded rgb image data, and confirm that GTG is predefined specific grey-scale; Coding unit; Be used to be provided with sign; So that decoding can know that data to be decoded are the corresponding data of predefined specific grey-scale, and the specific digits of the binary number that rgb image data is corresponding be carried out the position transposing enough according to sign; So that through after the transposing of position, the transmission frequency of rgb image data reduces.
Wherein, predefined specific grey-scale is the higher GTG of transfer of data frequency of the corresponding binary number of rgb image data.
Wherein, when the LVDS coding staff is encoded, sign is set, during the decoding of decoding side, can read the content of this sign.
Wherein, When GTG is predefined specific grey-scale; When the LVDS coding staff is encoded; Space bit as the sign position, is inserted 1 in the space bit in data to be encoded are encoded the packet that forms, and is the corresponding data of predefined specific grey-scale with the data of indicating this packet.
Description of drawings
When combining accompanying drawing to read, can understand the present invention better according to following detailed description.Should be emphasized that according to the standard practices in the industry, various parts are not drawn in proportion.In fact, in order clearly to discuss, the size of various parts can be by any increase or minimizing
Fig. 1 shows according to exemplary embodiment of the present invention
Fig. 1 is the packet structure of the LVDS signal of existing following 8 liquid crystal panels of coded system;
Fig. 2 is the packet structure of 85 GTG LVDS signals of existing following 8 liquid crystal panels of coded system;
A kind of flow chart of the coding method that Fig. 3 provides for the embodiment of the invention;
A kind of flow chart of the coding/decoding method that Fig. 4 provides for the embodiment of the invention;
The another kind of flow chart of the coding method that Fig. 5 provides for the embodiment of the invention;
The packet structure of LVDS under 85 GTGs that Fig. 6 obtains for coding method shown in Figure 5;
Another flow chart of the coding/decoding method that Fig. 7 provides for the embodiment of the invention;
A kind of structured flowchart of the code device that Fig. 8 provides for the embodiment of the invention; And
Another structured flowchart of the code device that Fig. 9 provides for the embodiment of the invention.
Embodiment
For the different parts of embodiment of the present invention, below describe many various embodiment or example are provided.The particular example of below describing element and layout is to simplify the present invention.Certainly these only are that example does not plan to limit.Moreover; First parts are formed on and can comprise on second parts that wherein first and second parts are with the embodiment of direct contact formation in below describing; And can comprise that also wherein additional parts formation is inserted into the embodiment in first and second parts, make first and second parts directly not contact.For the sake of simplicity with clear, can be at random with the various parts of different plotted.
The main purpose of embodiments of the invention is, a kind of coding based on the LVDS interface, coding/decoding method, device and system are provided, and can effectively avoid the EMI problem.
The embodiment of the invention aims to provide a kind of coding based on the LVDS interface, coding/decoding method, device and system, can effectively avoid the EMI problem.
The coding method based on LVDS of Fig. 3, that the embodiment of the invention provides comprises:
Step 101 is obtained the GTG of rgb image data in the data to be encoded, confirms that this GTG is predefined specific grey-scale.
Corresponding to different GTGs, the binary number that rgb image data is corresponding is different.Therefore; When encoding; The LVDS coding staff need at first obtain the GTG of rgb image data in the data to be encoded; To confirm the data format of the binary number that rgb image data is corresponding, can also confirm that the corresponding GTG of this coded data is predefined specific grey-scale according to the GTG that obtains.When said GTG was the GTG beyond the predefined specific grey-scale, the LVDS coding staff can be encoded according to prior art.
In the embodiment of the invention; Predefined specific grey-scale is the higher GTG of transfer of data frequency of the corresponding binary number of rgb image data; Be that 0 value numerical digit and 1 value numerical digit frequently replace in the corresponding binary number of rgb image data, for example 85 GTGs and 170 GTGs.Certainly, can also be the higher specific grey-scale of other transfer of data frequency.
Step 102 is provided with sign, so that decoding can know that data to be decoded are the corresponding data of predefined specific grey-scale enough according to sign;
Because when GTG was predefined specific grey-scale, the LVDS coding staff had adopted and other GTG different coding modes, need inform decoding side, to guarantee the accuracy of data.Therefore, in this step, when the LVDS coding staff is encoded; Be provided with sign, during the decoding of decoding side, can read the content of this sign; If it is the corresponding data of predefined specific grey-scale that sign has been indicated data to be decoded; To decode according to the decoding rule corresponding with coding staff in decoding side, otherwise decoding can directly be decoded according to prior art.
Concrete; With 8 liquid crystal panels is example; Each clock cycle, the LVDS coding staff packet that forms of encoding can transmit the 28bit data altogether, and each packet comprises each 8bit of rgb image data and DE, VS, the HS data of 27bit altogether; Therefore, will have a space bit in the packet.In this step; When GTG is predefined specific grey-scale; When the LVDS coding staff is encoded; Can be with this space bit as the sign position, the space bit in data to be encoded are encoded the packet that forms inserts 1, is the corresponding data of predefined specific grey-scale with the data of indicating this packet.
Step 103, the specific digits of the binary number that rgb image data is corresponding is carried out the position transposing;
In this step, the purpose of carrying out position transposing is to reduce the transmission frequency of data, that is: make carry out the position transposing after, the transmission frequency of rgb image data reduces.Concrete; The rule of carrying out the position transposing comprises: the numerical value that carries out the said specific digits of position transposing mutually is 0 and 1; After carrying out the position transposing; In the corresponding binary number of rgb image data, numerical value is that 0 specific digits and numerical value are that 0 numerical digit is adjacent, and numerical value is that 1 specific digits and numerical value are that 1 numerical digit is adjacent.
Certainly; It is understandable that; In the embodiment of the invention; The specific digits of the binary number that the LVDS coding staff is corresponding with rgb image data is carried out the position transposing and is not limited to above-mentioned rule, and those skilled in the art can adopt different position transposing rules according to actual needs, and the present invention does not do qualification to this.
Like this, when encoding, the specific digits of the binary number that the LVDS coding staff is corresponding with rgb image data is carried out the position transposing; With numerical value is that 1 specific digits and numerical value are that 0 specific digits is carried out the position transposing, and after making the position transposing, in the corresponding binary number of rgb image data; Numerical value is that 0 specific digits and numerical value are that 0 numerical digit is adjacent; Numerical value is that 1 specific digits and numerical value are that 1 numerical digit is adjacent, so just can prevent effectively that 0 and 1 value is frequent in the corresponding binary number of rgb image data to replace, and has promptly reduced the rgb image data transmission frequency; And then reduced the energy emission in the data transmission procedure, effectively avoid occurring the EMI problem.
It is pointed out that order is not what be completely fixed between step 102 and the step 103, both can carry out simultaneously, also can carry out successively, and those skilled in the art can suitably adjust this as required, and present embodiment is not done qualification to this.
Coding/decoding method based on LVDS as shown in Figure 4, that the embodiment of the invention provides comprises:
Step 201 reads the sign in the data to be decoded, knows that according to sign data to be decoded are the corresponding data of predefined specific grey-scale;
Comprise the sign that the LVDS coding staff is provided with in the data to be decoded that LVDS decoding side obtains, LVDS can confirm that data to be decoded are the corresponding data of predefined specific grey-scale according to this sign.
Step 202, the specific digits of the binary number that rgb image data in the data to be decoded is corresponding is carried out the position transposing; Position transposing when wherein, this position transposing is encoded with the corresponding rgb image data of specific grey-scale is corresponding.
Because the data to be decoded that LVDS decoding side obtains are when encoding; Specific digits to the corresponding binary number of rgb image data has been carried out the position transposing, therefore, and in this step; LVDS decoding side will be according to the position transposing in when coding; Carry out the adjustment of corresponding position,, guarantee the correctness of data with the reduction rgb image data.
Like this; The coding/decoding method that the embodiment of the invention provides makes when data encodes, can carry out the position to the corresponding binary number of the rgb image data under the specific grey-scale and change; Can prevent effectively that 0 and 1 value frequently alternately in the corresponding binary number of rgb image data; Promptly reduce the rgb image data transmission frequency, and then reduced the energy emission in the data transmission procedure, avoided occurring the EMI problem.
As shown in Figure 5, be example with 8 liquid crystal panels below, specify the Methods for Coding that the embodiment of the invention provides based on the LVDS interface, comprising:
Step 301, it is 85 GTGs and 170 GTGs that the LVDS coding staff is set specific grey-scale.
In 8 liquid crystal panels, when the LVDS coding side was encoded, rgb image data was represented 0 to 255 GTG with R0 to R7, G0 to G7, each 8 bit of B0 to B7 respectively, and under every kind of GTG, rgb image data is formed by 0/1.
When 85 GTGs, the form of rgb image data is 01010101, and when 170 GTGs, the form of rgb image data is 10101010; These two kinds of GTGs are in 0 to 255 GTG, and the frequency of transfer of data is the highest, therefore; In the time of will causing transfer of data, energy emission is serious, is prone to the EMI problem.Therefore, in this step, preestablishing 85 GTGs and 170 GTGs is specific grey-scale.
Step 302, the LVDS coding staff obtains the GTG of rgb image data in the data to be encoded, and confirms whether this GTG is 85 GTGs or 170 GTGs.
Step 303, when the GTG of rgb image data in the data to be encoded was other GTGs beyond 85 or 170 GTGs, the LVDS coding staff was encoded according to original coded system.
Behind the coding, the packet that the LVDS coding staff obtains comprises each 8bit of rgb image data and DE, VS, the HS data of 27bit altogether, because a packet can transmit the 28bit data altogether, also comprises a space bit in the packet.
Step 304, when the GTG of rgb image data in the data to be encoded was 85 or 170 GTGs, the space bit of LVDS coding staff in the packet that forms that data to be encoded are encoded inserted 1, as the sign of decoding side.
The LVDS coding staff carries out the coded data bag can transmit the 28bit data altogether, and each packet comprises and each 8bit of rgb image data and DE, VS, the HS data of 27bit altogether therefore, will have a space bit in the packet.
In this step; When the LVDS coding staff is encoded; This space bit as the sign position, is inserted 1 at the encode space bit of the packet that forms of data to be encoded, is said predefined specific grey-scale 85 or the corresponding data of 170 GTGs with the data of indicating this packet; Decoding can know that data to be decoded are the corresponding data of said predefined specific grey-scale enough according to the value of packet Central Plains space bit.
The the 1st and the 2nd of the binary number that step 305, LVDS coding staff are corresponding with rgb image data is respectively carried out the position transposing mutually, and the 5th and the 6th is carried out the position transposing mutually.
That is: concrete, when the LVDS coding staff is encoded, on the basis of original coded system; With the location swap of R1 and R2, with the location swap of R5 and R6, with the location swap of G1 and G2; With the location swap of G5 and G6, with the location swap of B1 and B2, with the location swap of B5 and B6.
For 85 GTGs, under original coded system, referring to Fig. 2, the form of the rgb image data that coding forms is 01010101, and wherein, the R1/G1/B1 value is 1, and the R2/G2/B2 value is 0, and the R5/G5/B5 value is 1, and the R6/G6/B6 value is 0.In the present embodiment, as shown in Figure 6, carry out location swap after, the form of the rgb image data that coding forms is 00110011, with respect to former data format 01010101, the frequency halving of transfer of data can effectively reduce energy emission, effectively avoids the EMI problem.
In like manner, for 170 GTGs, the form of rgb image data is 10101010 under original coded system, and wherein, the R1/G1/B1 value is 0, and the R2/G2/B2 value is 1, and the R5/G5/B5 value is 0, and the R6/G6/B6 value is 1.After carrying out location swap, the form of rgb image data is 11001100, and with respect to former data format 10101010, the frequency halving of transfer of data can effectively reduce energy emission, effectively avoids the EMI problem.
It is pointed out that in embodiments of the present invention the purpose that the specific digits of the binary number that rgb image data is corresponding carries out changing the position is to reduce the frequency of transfer of data; Therefore; The principle of position transposing need satisfy: the numerical value that carries out the specific digits of position transposing mutually is 0 and 1, carry out the position transposing after, in the binary number of rgb image data correspondence; Numerical value is that 0 specific digits and numerical value are that 0 numerical digit is adjacent, and numerical value is that 1 specific digits and numerical value are that 1 numerical digit is adjacent.Like this, just can prevent effectively that 0 and 1 value has frequently alternately promptly reduced the rgb image data transmission frequency, and then reduced the energy emission in the data transmission procedure in the corresponding binary number of rgb image data, avoid occurring the EMI problem.
In this step; The specific digits of the binary number that the LVDS coding staff is corresponding with rgb image data is carried out the mode that the position transposing is not limited to limit in this step; Can also adopt other modes to carry out the position transposing, for example, the 1st and the 2nd of respectively that rgb image data is corresponding binary number is carried out the position transposing mutually; Promptly only change the corresponding binary number of rgb image data the 1st and the 2nd; The R1 and the R2 location swap of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding, G1 and G2 location swap, B1 and B2 location swap; The the 5th and the 6th of perhaps respectively that rgb image data is corresponding binary number is carried out the position transposing mutually; Promptly only change the corresponding binary number of rgb image data the 5th and the 6th; The R5 and the R6 location swap of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding, G5 and G6 location swap, B5 and B6 location swap can reduce the frequency of transfer of data equally; Effectively reduce energy emission, avoid the EMI problem.
As shown in Figure 7, specify below corresponding to coding method shown in Figure 5, the coding/decoding method based on the LVDS interface that the embodiment of the invention provides comprises:
Step 401, LVDS reads decoding side the value of the former space bit in the data to be decoded.
Promptly; Read the value of packet to be decoded Central Plains space bit; Promptly read sign, when this position is blank, LVDS decoding side will know that data to be decoded are not the corresponding data of 85 or 170 GTGs; And when this position is 1, LVDS decoding side will know that data to be decoded are the corresponding data of 85 or 170 GTGs.
Step 402 according to the value of the former space bit in the data to be decoded, knows whether data to be decoded are the corresponding data of 85 or 170 GTGs.
Step 403, when data to be decoded are the data of 85 or 170 GTGs other GTGs correspondences in addition, decode according to original decoding process in LVDS decoding side.
Step 404, when data to be decoded were the data of 85 or 170 GTGs correspondence, the 1st and the 2nd of the binary number that LVDS decoding side is corresponding with rgb image data was respectively carried out the position transposing mutually, and the 5th and the 6th is carried out the position transposing mutually.
That is: when LVDS decodes decoding side, with the location swap of R1 and R2, with the location swap of R5 and R6; With the location swap of G1 and G2, with the location swap of G5 and G6, with the location swap of B1 and B2; With the location swap of B5 and B6,, guarantee the correctness of transfer of data with the reduction rgb image data.
It is pointed out that in this step that the position transposing when the position transposing in this when decoding will be with digital coding to be decoded is corresponding.According to the position transposing of coding staff, the R1 and the R2 location swap of the binary number that LVDS decoding side also can be corresponding with rgb image data, G1 and G2 location swap, B1 and B2 location swap; The R5 and the R6 location swap of perhaps that rgb image data is corresponding binary number, G5 and G6 location swap, B5 and B6 location swap.
In addition, be that example describes though the embodiment of the invention is a LVDS interface with 8 liquid crystal panels, the invention is not restricted to this, the present invention also can be used in the LVDS interface of other liquid crystal panel.
Accordingly, the embodiment of the invention also provides a kind of code device based on the LVDS interface, and is as shown in Figure 8, comprising:
Acquiring unit 11 is used for obtaining the GTG of data to be encoded rgb image data, confirms that GTG is predefined specific grey-scale;
Coding unit 12 is used to be provided with sign, so that decoding can know that data to be decoded are the corresponding data of predefined specific grey-scale, and the specific digits of the binary number that rgb image data is corresponding be carried out the position transposing enough according to sign;
Wherein, Coding unit 12 can specifically be used for the specific digits of the binary number that rgb image data is corresponding and carry out the position transposing, and wherein, the numerical value that carries out the specific digits of position transposing mutually is 0 and 1; After carrying out the position transposing; In the corresponding binary number of rgb image data, numerical value is that 0 specific digits and numerical value are that 0 numerical digit is adjacent, and numerical value is that 1 specific digits and numerical value are that 1 numerical digit is adjacent.
The code device that the embodiment of the invention provides based on the LVDS interface; Can carry out the position transposing to the corresponding binary number of the rgb image data under the specific grey-scale during coding; So just can prevent effectively that 0 and 1 value is frequent in the corresponding binary number of rgb image data under the specific grey-scale replaces; Promptly reduce the rgb image data transmission frequency, and then reduced the energy emission in the data transmission procedure, avoided occurring the EMI problem.
Concrete, as shown in Figure 9, coding unit 12 can comprise:
Module 121 is set, is used to be provided with sign so that decoding can be enough be 1 according to the value of space bit, know that data to be decoded are the corresponding data of predefined specific grey-scale;
Transposing module 122, the specific digits that is used for the binary number that rgb image data is corresponding is carried out the position transposing.
Wherein, predefined specific grey-scale is the higher GTG of transfer of data frequency of the corresponding binary number of rgb image data, and 0 value numerical digit and 1 value numerical digit frequently replace in the binary number that promptly rgb image data is corresponding.In one embodiment of the invention, predefined specific grey-scale is 85 GTGs and 170 GTGs.Certainly, can also be the higher specific grey-scale of other transfer of data frequency.
With 8 liquid crystal panels is example; Each clock cycle, the LVDS code device packet that forms of encoding can transmit the 28bit data altogether, and each packet comprises each 8bit of rgb image data and DE, VS, the HS data of 27bit altogether; Therefore, will have a space bit in the packet.The code device that the embodiment of the invention provides; Can be with this space bit as the sign position; At this moment; Module 121 is set can specifically be used for when GTG is predefined specific grey-scale, the space bit in data to be encoded are encoded the packet that forms inserts 1, is the corresponding data of predefined specific grey-scale with the data of indicating this packet.
When the LVDS code device was encoded, rgb image data was represented 0 to 255 GTG with R0 to R7, G0 to G7, each 8 bit of B0 to B7 respectively, and under every kind of GTG, rgb image data is formed by 0/1.For 85 GTGs, the form of the binary number that rgb image data is corresponding is 01010101, and wherein, the R1/G1/B1 value is 1, and the R2/G2/B2 value is 0, and the R5/G5/B5 value is 1, and the R6/G6/B6 value is 0.For 170 GTGs, the binary number formats that rgb image data is corresponding is 10101010.Wherein, the R1/G1/B1 value is 0, and the R2/G2/B2 value is 1, and the R5/G5/B5 value is 0, and the R6/G6/B6 value is 1.
At this moment; When transposing module 122 specifically was used for the corresponding data of 85 GTGs or 170 GTGs are encoded, the 1st and the 2nd of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding was carried out the position transposing, and the 5th and the 6th is carried out the position and change; Be about to the R1 of the binary number that rgb image data is corresponding under 85 GTGs or 170 GTGs and the location swap of R2; With the location swap of R5 and R6, with the location swap of G1 and G2, with the location swap of G5 and G6; With the location swap of B1 and B2, with the location swap of B5 and B6.
After carrying out location swap, during 85 GTGs, the form of the rgb image data that coding unit 12 codings form is 00110011, and with respect to 01010101, the frequency halving of transfer of data can effectively reduce energy emission, avoids the EMI problem.In like manner, during 170 GTGs, the form of the rgb image data that coding unit 12 codings form is 11001100, and with respect to former data format 10101010, the frequency halving of transfer of data can effectively reduce energy emission, effectively avoids the EMI problem.
Certainly, the specific digits of the binary number that coding unit 12 is corresponding with rgb image data is carried out the position transposing and is not limited to aforesaid way, can also adopt other modes.In another embodiment of the present invention; When coding unit 12 also can specifically be used for the corresponding data of 85 GTGs or 170 GTGs are encoded; The 1st and the 2nd of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding is carried out the position transposing, is about to the R1 and the R2 location swap of the binary number that rgb image data is corresponding under 85 GTGs or 170 GTGs, G1 and G2 location swap; B1 and B2 location swap; Can reduce the frequency of transfer of data equally, effectively reduce energy emission, effectively avoid the EMI problem.
Discuss the parts of some embodiment above, made those of ordinary skills can understand various aspects of the present invention better.It will be understood by those skilled in the art that can use at an easy rate the present invention design or change as the basis other be used to reach with here the identical purpose of the embodiment that introduces and/or realize the processing and the structure of same advantage.Those of ordinary skills should be appreciated that also this equivalent constructions does not deviate from the spirit and scope of the present invention, and under the situation that does not deviate from the spirit and scope of the present invention, can carry out multiple variation, replacement and change.

Claims (10)

1. coding method based on the LVDS interface comprises:
Obtain the GTG of rgb image data in the data to be encoded, confirm that said GTG is predefined specific grey-scale;
Decoding sign is set, so that can know that data to be decoded are the corresponding data of said predefined specific grey-scale enough according to said sign;
The specific digits of the binary number that said rgb image data is corresponding is carried out the position transposing, so that through after the transposing of said position, the transmission frequency of said rgb image data reduces.
2. coding method according to claim 1, wherein, said predefined specific grey-scale is the higher GTG of transfer of data frequency of the corresponding binary number of said rgb image data.
3. coding method according to claim 1 wherein, when the LVDS coding staff is encoded, is provided with sign, during the decoding of decoding side, can read the content of this sign.
4. coding method according to claim 3, wherein, when this sign has indicated data to be decoded to be the data of said predefined specific grey-scale correspondence, will decode according to the decoding rule corresponding with said coding staff in said decoding side.
5. coding method according to claim 1; Wherein, When said GTG is predefined specific grey-scale, when the LVDS coding staff is encoded, with space bit as the sign position; Inserting 1 in the space bit in said data to be encoded are encoded the packet that forms, is the corresponding data of said predefined specific grey-scale with the data of indicating this packet.
6. coding/decoding method based on the LVDS interface comprises:
Read the sign in the data to be decoded, know that according to said sign data to be decoded are the corresponding data of predefined specific grey-scale;
The specific digits of the binary number that rgb image data in the said data to be decoded is corresponding is carried out the position transposing;
Position transposing when wherein, said position transposing is encoded with the corresponding rgb image data of said specific grey-scale is corresponding.
7. code device based on the LVDS interface comprises:
Acquiring unit is used for obtaining the GTG of data to be encoded rgb image data, confirms that said GTG is predefined specific grey-scale;
Coding unit; Be used to be provided with sign; So that decoding can know that data to be decoded are the corresponding data of said predefined specific grey-scale, and the specific digits of the binary number that said rgb image data is corresponding be carried out the position transposing enough according to said sign; So that through after the transposing of said position, the transmission frequency of said rgb image data reduces.
8. code device according to claim 7, wherein, said predefined specific grey-scale is the higher GTG of transfer of data frequency of the corresponding binary number of said rgb image data.
9. code device according to claim 7 wherein, when the LVDS coding staff is encoded, is provided with sign, during the decoding of decoding side, can read the content of this sign.
10. code device according to claim 7; Wherein, When said GTG is predefined specific grey-scale, when the LVDS coding staff is encoded, with space bit as the sign position; Inserting 1 in the space bit in said data to be encoded are encoded the packet that forms, is the corresponding data of said predefined specific grey-scale with the data of indicating this packet.
CN2011104549847A 2011-12-30 2011-12-30 Encoding and decoding method based on LVDS (low-voltage differential signaling) interface and device utilizing method Pending CN102523414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104549847A CN102523414A (en) 2011-12-30 2011-12-30 Encoding and decoding method based on LVDS (low-voltage differential signaling) interface and device utilizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104549847A CN102523414A (en) 2011-12-30 2011-12-30 Encoding and decoding method based on LVDS (low-voltage differential signaling) interface and device utilizing method

Publications (1)

Publication Number Publication Date
CN102523414A true CN102523414A (en) 2012-06-27

Family

ID=46294196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104549847A Pending CN102523414A (en) 2011-12-30 2011-12-30 Encoding and decoding method based on LVDS (low-voltage differential signaling) interface and device utilizing method

Country Status (1)

Country Link
CN (1) CN102523414A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218966A (en) * 2013-04-02 2013-07-24 硅谷数模半导体(北京)有限公司 Data transmission method and device for internal interface of display panel
CN107526562A (en) * 2017-08-17 2017-12-29 深圳市华星光电半导体显示技术有限公司 Display device and its driving method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090303217A1 (en) * 2008-06-04 2009-12-10 Novatek Microelectronics Corp. Transmission interface for reducing power consumption and electromagnetic interference and method thereof
CN102456327A (en) * 2010-10-22 2012-05-16 北京京东方光电科技有限公司 Encoding and decoding method, device and system based on LVDS (Low Voltage Differential Signaling) interface

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090303217A1 (en) * 2008-06-04 2009-12-10 Novatek Microelectronics Corp. Transmission interface for reducing power consumption and electromagnetic interference and method thereof
CN102456327A (en) * 2010-10-22 2012-05-16 北京京东方光电科技有限公司 Encoding and decoding method, device and system based on LVDS (Low Voltage Differential Signaling) interface

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218966A (en) * 2013-04-02 2013-07-24 硅谷数模半导体(北京)有限公司 Data transmission method and device for internal interface of display panel
CN103218966B (en) * 2013-04-02 2015-09-23 硅谷数模半导体(北京)有限公司 The data transmission method of display panel internal interface and device
CN107526562A (en) * 2017-08-17 2017-12-29 深圳市华星光电半导体显示技术有限公司 Display device and its driving method
WO2019033474A1 (en) * 2017-08-17 2019-02-21 深圳市华星光电半导体显示技术有限公司 Display device and driving method therefor

Similar Documents

Publication Publication Date Title
CN102542974B (en) Method and apparatus for transmitting data between timing controller and source driver, having bit error rate test function
TWI420445B (en) Display driving circuit
ES2880927T3 (en) Plug-type multiplexer with polarity and N-phase output
CN102708803B (en) Method for realizing controllable gray level of LED constant current driver and constant current driver
CN103118251A (en) Method and system for multilevel data transmission
CN109448614B (en) FPGA-based Displayport signal generation device and method
CN105141877A (en) Programmable device-based signal conversion equipment
CN102456327B (en) Encoding and decoding method, device and system based on LVDS (Low Voltage Differential Signaling) interface
US8854289B2 (en) Intra-system interface unit of flat panel display
CN102523414A (en) Encoding and decoding method based on LVDS (low-voltage differential signaling) interface and device utilizing method
CN113852775A (en) Image data transmission device and method, and nonvolatile storage medium
CN201773567U (en) LVDS signal encoding circuit for display
CN1971704A (en) Dual-function transmitter combining low-voltage differential signaling and transition-minimized differential signaling
US20050253824A1 (en) [serial-protocol type panel display system and method]
KR100774180B1 (en) Digital Multimedia Data Transceiver with Digital Multimedia Interface
CN103218966A (en) Data transmission method and device for internal interface of display panel
CN103594058B (en) A kind of LED display driving circuit
CN204948223U (en) A kind of chromacoder based on programming device
CN116939134B (en) HDMI system based on MIPIDPHY output
US12125459B2 (en) Data transmission and recovery with algorithmic transition codes
CN104992672A (en) Led lamp panel
CN101364960B (en) High-speed differential interface
WO2014161230A1 (en) Data transmission method and device, controller, drive device, and display device
CN205487271U (en) Cascade LED intelligence glass actuating system
CN103927986A (en) Constant current drive chip of LED high-density display screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120627