Patent ID: 8159436

Claim:
A data driver, for driving a flat panel comprising a first pixel, a second pixel and a first to a fourth data lines, wherein the first to the fourth data lines are electrically connected to a first left sub-pixel, a first right sub-pixel comprised in the first pixel, and a second right sub-pixel and a second left sub-pixel comprised in the second pixel, respectively, the data driver comprising: a first to a fourth gray voltage generating units for outputting a first set of positive gray voltage, a second set of negative gray voltage, a second set of positive gray voltage and a first set of negative gray voltage, respectively , wherein the first set of positive and negative gray voltages are corresponding to the first and the second left sub-pixels, respectively, and the second set of positive and negative gray voltages are corresponding to the first and the second right sub-pixels, respectively; a first to a fourth digital-to-analog converters, wherein when a gamma selecting signal is in a first state, the input ends of the first to the fourth digital-to-analog converters are electrically connected to the output ends of the first to the fourth gray voltage generating units respectively, and when the gamma selecting signal is in a second state, the input ends of the first to the fourth digital-to-analog converters are electrically connected to the output ends of the third, the fourth, the first and the second gray voltage generating units, respectively; and a first to a fourth buffers, the output ends of the first to the fourth buffers are electrically connected to the first to a fourth data lines, respectively, wherein the input ends of the first to the fourth buffers are electrically connected to the output ends of the first to the fourth digital-to-analog converters respectively when a polarity inversion signal is in a third state, and to that of the second, the first, the fourth and the third digital-to-analog converters, respectively when the polarity inversion signal is in a fourth state.