Background technology
Tft liquid crystal screen (Thin Film Transistor LCD, TFT LCD) is one of display that the most widely uses at present.As is known to the person skilled in the art, TFT LCD can roughly be divided into two kinds of RGB and CPU in order to the interface that receives external video data.Except the difference of these two kinds of interfaces, the transmission mode that manufacturers stipulate separately mainly is divided into transmission mode, secondary transmission mode and three transmission modes again one time.
Please refer to Figure 1A, Figure 1A is the example of the view data of a pixel.In this example, this pixel is represented as 24 data, wherein includes the green data (G0-G7) of the red data (R0-R7) of 8 positions, 8 positions, and the blue data of 8 positions (B0-B7).Shown in Figure 1B, under the situation of a transmission mode, these data of 24 are transferred into TFT LCD in same transmission cycle.Under the situation of secondary transmission mode, these data of 24 then are divided into two parts, and are transferred into TFT LCD in former and later two different transmission cycles.The rest may be inferred, and under the situation of three transmission modes, these data of 24 are divided into three parts, and are transferred into TFTLCD in three different transmission cycles.
On the other hand, in some cases, exploration on display resolution ratio is lower than the figure place that data supplying device (for example CPU) provides.For instance, though data supplying device provides 24 data to represent certain pixel, exploration on display resolution ratio may only be 18 (each 6 of redgreenblues).Therefore, pairing last two positions of each color (for example red pairing R0 and R1) must be rejected.With the secondary transmission mode is example, and the data that finally are transferred into this display will be shown in Fig. 1 C.
For data that data supplying device is provided are sent to this display with the form that meets certain display and require, must add a coordination circuits usually between data supplying device and the display, carry out above-mentioned screening and arrange the work of view data.
In the prior art, in order to satisfy the different requirements of various displays for transmission standard, the hardware designer relevant with display interface device must be provided with many cover coordination circuits at the output terminal of a data supplying device.In case this data supplying device will be used to the new demonstration/transmission standard of arranging in pairs or groups, the deviser promptly must rearrange or change hardware logic, to add another set of new coordination circuits.Such practice not only lacks flexibility, and also quite expends cost and time.
Description of drawings
Figure 1A is the example of the view data of a pixel;
Figure 1B is the synoptic diagram of the data combination in the different transmission mode;
Fig. 1 C shows the example of one, three data combination in the transmission mode.
Fig. 2 shows according to one of regulating device of the present invention and implements example in detail.
Fig. 3 shows the tabulation according to steering order of the present invention.
Fig. 4 shows the output signal of multiplexer and the sequential relationship of clock signal.
Fig. 5 A is R[7:0], Arr_R[7:0] and Com_R[23:0] synoptic diagram;
Fig. 5 B is G[7:0], Arr_G[7:0] and Com_G[23:0] synoptic diagram.
The reference numeral explanation
10: data supplying device 20: the programmable regulating module
21A, 22A, 23A: order register 21B, 22B, 23B: receiving element
21C, 22C, 23C: unit 21D, 22D, the 23D of choosing able to programme: programmable combination unit
21E, 22E, 23E: data register 24: multiplexer
30: output unit 40: display
Embodiment
A specific embodiment according to the present invention is a kind of regulating device, in order to regulate the data transmission between a data supplying device and a display.This display meets a transmission standard.This regulating device comprises a programmable regulating module and an output module.This programmable regulating module is programmed according to this transmission standard, and in order to the view data that receives the M position by this data supplying device, choose this M position view data in the view data of N position, and the view data of this N position is arranged as data after the arrangement of N position.M and N are positive integer, and N is less than or equal to M.This output module is then in order to export data after the arrangement of this N position to this display.
Suppose output that this data supplying device provides shown in Figure 1A, it is with each 8 bit representations, one pixel of redgreenblue, and according to this transmission standard, the arrangement mode that is sent to the data of this display should be shown in Fig. 1 C, and then M equals 24, and N equals 9.In brief, will be reduced to 18 by 24, and be divided into twice and be sent to this display, each 9 corresponding to the view data of each pixel.The pairing data of first transmission cycle are R2-R7 and G5-G7, and the pairing data of second transmission cycle then are G2-G4 and B2-B7.
Please refer to Fig. 2, Fig. 2 shows one of this regulating device and implements example in detail.According to above-mentioned hypothesis, this view data of 24 comprises the data of three kinds of colors altogether.In this example, it is the tertiary treatment device of streamline (pipeline) that programmable regulating module 20 has comprised framework accordingly; Each level processor is responsible for screening and arranging a kind of view data of color.Because the number of transmissions of most transmission mode defineds is at most transmission mode three times, this example also can be supported transmission mode, secondary transmission mode with programmable regulating module 20, and three transmission modes are example.
As shown in Figure 2, each self-contained data register of each level processor, an order register, a receiving element, a unit of choosing able to programme, and a programmable combination unit.
According to the present invention, the deviser can utilize one group to instruct the operating mode of adjusting programmable regulating module 20.Please refer to Fig. 3, the form among Fig. 3 has been enumerated three groups of instructions, and each is organized separately corresponding to different transmission cycles.Please also refer to Fig. 2, these three groups instructions all are transfused to the multiplexer (multiplexer) 24 in Fig. 2 lower left corner, and optionally by multiplexer 24.With above-mentioned situation is example, because the transmission standard that display 40 is met is the secondary transmission mode, therefore the only described first transmission cycle dependent instruction and the second transmission cycle dependent instruction will pass through multiplexer 24 in turn, and described the 3rd transmission cycle dependent instruction will can not be used.Please refer to Fig. 4, Fig. 4 shows the output signal INS of clock signal clk, multiplexer 24, and the sequential relationship of the output signal IND of data supplying device 10.
In first transmission cycle, the described first transmission cycle dependent instruction is transfused to and is deposited among the first order register 21A.More particularly, in first transmission cycle, the D0EnR among the first order register 21A is that T1EnR, D0EnG are that T1EnG, D0EnB are that T1EnB, D0RLen are that T1RLen, D0GLen are that T1GLen, D0BLen are that T1BLen, D0ROffset are that T1ROffset, D0GOffset are that T1GOffset, D0BOffset are T1BOffset.
Relatively, in ensuing second transmission cycle, the described second transmission cycle dependent instruction will be by multiplexer 24, is transfused to and is deposited among the first order register 21A.The first transmission cycle dependent instruction that originally is deposited at a part among the first order register 21A then can be sent to forward among the second order register 22A.In this example, have only the described first transmission cycle dependent instruction can be transferred into the second order register 22A corresponding to green (G) and blue (B).The rest may be inferred, in next transmission cycle, has only the described first transmission cycle dependent instruction corresponding to blue (B) can be continued to be sent to the 3rd order register 23A forward.
Shown in Fig. 1 C, the data that at first should be transferred into this display 40 are R2-R7 and G5-G7.Therefore, T1EnR and T1EnG are "Yes", and T1EnB then is a "No", and T1RLen is 6, T1GLen is 3, T1BLen is insignificant.In addition, T1ROffset is 2, T1GOffset is 5, and T1BOffset also is insignificant.
Similarly, because the data that next group is transferred into this display 40 are G2-G4 and B2-B7, so T2EnG and T2EnB be "Yes", and T2EnR then is a "No", and T2GLen is 3, T2BLen is 6, T2RLen is insignificant.In addition, T2GOffset and T2BOffset are 2, and T2ROffset is insignificant.
Data supplying device 10 will be in order to will offer described data register (21E, 22E, 23E) corresponding to the view data of each pixel.The first receiving element 21B is in order to be received view data corresponding to redness (D0R[7:0]) by the first data register 21E; The second receiving element 22B is in order to be received view data corresponding to green (D1G[7:0]) by the second data register 22E; The 3rd receiving element 23B is in order to be received view data corresponding to blueness (D2B[7:0]) by the 3rd data register 23E.The time that each level processor is handled the data that receive separately is a transmission cycle; After finishing the handling procedure of oneself being responsible for, each level processor can be sent to the data after handling forward in the next stage processor.
With first order processor is example, and first able to programmely chooses instruction D0EnR and the D0ROffset screening that unit 21C provides according to the first order register 21A and arrange R[7:0], arrange back data (Arr_R[7:0]) to produce one first group.The first programmable combination unit 21D then is that the instruction D0RLen that provides according to the first order register 21A is with Arr_R[7:0] be converted to one first group of combination back data (Com_R[23:0]).Please refer to Fig. 5 A, Fig. 5 A is R[7:0], Arr_R[7:0] and Com_R[23:0] synoptic diagram.
Similarly, second able to programmely chooses instruction D0EnG and the D0GOffset screening that unit 22C provides according to the second order register 22A and arranges G[7:0], arrange back data (Arr_G[7:0]) to produce one second group.The second programmable combination unit 22D then is that the instruction D0GLen that provides according to the second order register 22A is with Arr_G[7:0] and the Com_R[23:0 that produces of first order processor] be combined as Com_G[23:0].Please refer to Fig. 5 B, Fig. 5 B is G[7:0], Arr_G[7:0] and Com_G[23:0] synoptic diagram.
In this example, because T1EnB is a "No", therefore third level processor can not add Com_G[23:0 with the view data of any blueness] in, but the Com_G[23:0 that the direct second programmable combination unit 22D sends] by the 3rd programmable combination unit 23D.In other words, under should the situation of first transmission cycle, Com_B[23:0] with Com_G[23:0] identical.By Fig. 5 B as can be known, corresponding to the described first transmission cycle dependent instruction, the data that will be sent to display 40 by output module 30 are R2-R7 and G5-G7.The rest may be inferred, by suitably setting described instruction, under the situation corresponding to this second transmission cycle, will can be G2-G4 and B2-B7 by the data that output module 30 is sent to display 40.In other words, the data by output module 30 outputs are the view data that combination/arrangement is finished.
Another specific embodiment according to the present invention is an image processing system, in order to view data is provided to the display that meets a transmission standard.This image processing system comprises a data supplying device, a programmable regulating module and an output module.This data supplying device is in order to provide the view data of M position.This programmable regulating module is programmed according to this transmission standard, and in order to the view data that receives the M position by this data supplying device, choose this M position view data in the view data of N position, and the view data of this N position is arranged as data after the arrangement of N position.M and N are positive integer, and N is less than or equal to M.This output module is then in order to export data after the arrangement of this N position to this display.Because the function mode of this embodiment is identical with example shown in Figure 2, therefore repeat no more.
As shown in the above description, owing to be programmable according to adjustment module of the present invention, the therefore high flexibility that can provide data supplying device to arrange in pairs or groups various different display specifications.Compared to prior art, according to adjustment module of the present invention and adopt the image processing system of this regulating device can significantly save the cost and the time of redesign hardware.
By the above detailed description of preferred embodiments, hope can be known description feature of the present invention and spirit more, and is not to come category of the present invention is limited with above-mentioned disclosed preferred embodiment.On the contrary, its objective is that hope can contain in the category that is arranged in claim of the present invention of various changes and tool equality.