The invention relates to resolution detection, and in particular to a method of detecting an optimum resolution for an electronic display device after resolution adjustment.
An electronic display device connected to a computer host may not be frequently replaced. Thus, the resolution does not generally differ. Therefore, the display card of a computer host may be designed to support only one resolution. For example, if the resolution of an electronic display device of a computer host is 1600:1200 (4:3), the display card of the computer host can be designed to support resolution of 1600:1200 only.
With the progress of computer related products, however, a single computer host may be connected to various or several electronic display devices with different resolutions, such as 16:9 or 16:10. Therefore, the display card of a computer host must be designed to support electronic display devices with different resolution.
One currently available method of providing multiple resolutions is to simulate various resolutions using the display card. For example, if an electronic display of a computer host has a resolution of 4:3, the display card of the computer host supports a resolution of 4:3. When the electronic display device is replaced, the resolution changes accordingly. If the new electronic display has a resolution of 16:9, the display card may simulate the new resolution 16:9 using the original resolution 4:3. One drawback presented by this solution, however, is that although the display card has already simulated the new resolution, the related data cannot be acquired by the electronic display device. Therefore, the electronic display device displays frames according to the original resolution, causing display distortion.
As mentioned above, the electronic display device only detects the line rate, the frame rate, and the horizontal total. The simulated resolution adjusted by the display card cannot be acquired by the electronic display device according to these parameters. Thus, the display distortion problem cannot be resolved.
Thus, a method of determining an optimum resolution according to the simulated and adjusted parameters produced by the display card is desirable.
Embodiments of the invention provide a method for overcoming display distortion problems. In one embodiment, the invention provides a method for detecting parameters produced by the display card after resolution adjustment and determining an optimum resolution accordingly. The method can be applied to different electronic display devices. The method first receives a line rate, a frame rate, and a horizontal total of an electronic display device to calculate candidate resolutions. The method further receives a horizontal display of the electronic display device. A horizontal blank is then calculated according to the line rate and the horizontal display. Next, the method determines an adjustment method for application to the electronic display device according to the horizontal blank. Finally, an optimum resolution is selected from the candidate resolutions according to the determined adjustment method.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
A horizontal blank is then calculated according to the line rate and the horizontal display (step S24). The horizontal blank is the difference between the line rate and the horizontal display.
Subsequently, an adjustment method for application to the electronic display device is determined according to the horizontal blank (step S26). The adjustment method for application to the electronic display device may be accomplished by increasing the horizontal display or decreasing the horizontal total.
A simulated resolution is then calculated (step S28). The simulated resolution is the ratio of the horizontal total to the horizontal display. Finally, an optimum resolution is selected from the candidate resolutions according to the simulated resolution (step S30). Therefore, frames can be displayed on the electronic display device according to the optimum resolution (step S32).
The previously described method can be implemented as a computer program.
The processing unit 42 further determines an adjustment method for application to the electronic display device according to the horizontal blank. The adjustment method for application to the electronic display device may be accomplished by increasing the horizontal display or decreasing the horizontal total. The processing unit 42 selects an optimum resolution from the candidate resolutions according to the determined adjustment method.
The adjustment method for application to the electronic display device comprises a step of calculating a simulated resolution. The simulated resolution is the ratio of the horizontal total to the horizontal display. Thus, the optimum resolution can be selected according to the simulated resolution.
Frames can be displayed on the electronic display device according to the selected optimum resolution. In actual implementation, the processing unit 42 may be implemented in a chip.
In one example, the resolution of an electronic display device is 1600:1200. The electronic display device is then replaced by an electronic display device with a resolution of 1920:1200. The line rate is usually invariable, such as 2160. The line rate, frame rate, and horizontal total are first received for calculating candidate resolutions, that is, 1600:1200 and 1920:1200. The horizontal display is then received, that is 1600.
Next, the line rate is subtracted by the horizontal display to obtain a horizontal blank, that is 2160−1600=560. If the display card simulates the new resolution, the horizontal blank is 2160−1920=240. Thus, an adjustment method can be determined according to the horizontal blank. In this example, because 240<560, the display card increases the horizontal display to simulate the changed resolution.
The ratio of the horizontal blank to the horizontal display is calculated to obtain a simulated resolution, that is 240/1920=0.125. An optimum resolution is then selected from the candidate solutions according to the simulated resolution. The optimum resolution is 1920:1200. Frames can be displayed on the electronic display device according to the selected optimum resolution to avoid display distortion.
Thus, embodiments of the present invention provide a method to determine an optimum resolution according to the parameters produced by a display card when the electronic display device has changed, avoiding display distortion problems.
Methods and systems of the present invention, or certain aspects or portions of embodiments thereof, may take the form of program code (i.e., instructions) embodied in media, such as floppy diskettes, CD-ROMS, hard drives, firmware, or any other machine-readable storage media, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing embodiments of the invention. The methods and apparatus of the present invention may also be embodied in the form of program code transmitted over some transmission media, such as by electrical wiring or cabling, through fiber optics, or via any other forms of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing embodiments of the invention. When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates analogously to specific logic circuits.
While the invention has been described by way of example and in term of a preferred embodiment, it is to be understood that the invention is not limited thereto. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
93114074 A | May 2004 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
6236388 | Iida et al. | May 2001 | B1 |
6295048 | Ward et al. | Sep 2001 | B1 |
6734846 | Yang et al. | May 2004 | B1 |
6894706 | Ward et al. | May 2005 | B1 |
20050285883 | Chen | Dec 2005 | A1 |
20070030395 | Lee et al. | Feb 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20050259094 A1 | Nov 2005 | US |