1. Field of the Invention
The present invention is related to a display device and its method, and more particularly, to a display device and method that can speedily acquire the parameters to show images and thus improve the efficiency.
2. Description of Related Art
Nowadays, the digital display devices are capable of receiving analog images and converting these analog images into digital images for displaying. In order to perform the analog-to-digital converting step, a clock (SCLK) for sampling the analog images is needed. In the prior arts, the clock is obtained by using a synchronization processor to process a horizontal synchronous signal (Hsync) and a vertical synchronous signal (Vsync) and consequently generates the characteristics such as the frequencies of Hsync and Vsync, the polarities of Hsync and Vsync, and the number of Hsync pulses between two Vsync signals (Vtotal), etc. Once the characteristics of Hsync and Vsync are realized, the resolution of the image is estimated and then the clock can be obtained (SCLK=Htotal*Vtotal*(frequency of Vsync)).
However, the estimated resolution may be wrong or may not be obtained in some cases. For example, when the characteristics of Hsync are the same as those of Vsync, the resolution cannot be estimated. Besides, a complicated firmware and a large memory space may be necessary for estimating the resolution such that time for estimating the resolution and hardware cost increase.
An objective of the present invention is to provide a display device and a related method for solving the fore-mentioned problems.
An objective of the present invention is to provide a display device and a method thereof to display images according to parameters from a host.
For achieving the objectives above, the present invention provides a display device and a method thereof. An input image and at least one input parameter sent from a host are first received and the display device thus obtains the input parameter directly to display the image. The display device includes a scaling module and a digital display module. First, the scaling module receives the input parameter. Next, the scaling module receives the input image to produce an output image in accordance with the input parameter. Finally, the digital display module displays the output image.
Numerous additional features, benefits and details of the present invention are described in the detailed description, which follows.
The foregoing aspects and many of the attendant advantages of this invention will be more readily appreciated as the same becomes better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
Reference is made to
In an embodiment of the present invention, the GPU 55 can transmit the input image to the scaling module 70 via a VGA interface. The input images include red (R), green (G) and blue (B) image data. The scaling module 70 includes an analog-to-digital convert (ADC) 72 to receive the analog signals of the input images transmitted from the GPU 55. The scaling module 70 receives the setting parameter generated by the control logic 60 and then produces an input clock and an output clock, in which the input clock is substantially the same as the proposed input clock. Then, the ADC 72 samples the analog signals of the input images according to the input clock and thus converts them into digital signals. After that, the scaling module 70 processes the digital signals of the input images to produce the output images and send the output images to the digital display module 80 according to the output clock to display the output images. Compared with the conventional display device, the display device of the present invention can acquire the correct input parameter from the GPU 55 and use it to produce the correct input clock. Thus, the present invention can display the images correctly.
In another embodiment, the GPU 55 transmits the input images to the scaling module 70 via a digital visual interface (DVI). Since the input images sent from the DVI are digital images, this embodiment doesn't need to use the ADC 72 to sample the input images. As the above embodiment, the scaling module 70 of this embodiment receives the setting parameter generated by the control logic 60 and then produces the input clock and the output clock. After that, the scaling module 70 processes the digital input images to produce the output images and send the output images to the digital display module 80 according to the output clock to display the output images.
The reference is made to
The source clock generator 742 of the clock-generating unit 74 produces a source clock SCLK according to the setting parameter sent from the control logic 60. The control logic 60 receives the input parameters sent from the GPU 55 and then generates the setting parameter accordingly. The display clock generator 744 produces a display clock DCLK according to the source clock SCLK and the setting parameter. Therein, the source clock SCLK and the display clock DCLK are the input clock and the output clock respectively. Furthermore, the display vertical/horizontal synchronous signal generator 746 produces a display horizontal synchronous signal DHsync and a display vertical synchronous signal DVsync according to the horizontal synchronous signal Hsync and the vertical synchronous signal Vsync sent from the GPU 55 and the display clock DCLK sent from the display clock generator 744. The clock-generating unit 74 and the control logic 60 mentioned above are integrated as a clock control module. It means that the scaling module 70 can includes the control logic 60.
The ADC 72 is used to sample the analog input images according to the source clock SCLK and thereby output the digital input images to the data rate converter 77 of the scaling unit 76. The data rate converter 77 receives the digital input images according to the source clock SCLK and outputs the digital images to the vertical/horizontal interpolation module 79 according to the display clock DCLK. The vertical/horizontal interpolation module 79 is used for up-scaling the input images to produce the output images and transmits the output images to the digital display module 80 according to the display horizontal synchronous signal DHsync and the display vertical synchronous signal DVsync to display the output images, it means that the vertical/horizontal interpolation module 79 outputs the output mages according to the display clock DCLK because the display horizontal synchronous signal DHsync and the display vertical synchronous signal DVsync are produced according to the display clock DCLK.
The digital display module 80 displays the output images according to the display horizontal synchronous signal DHsync, the display vertical synchronous signal DVsync and the display clock DCLK. The data rate converter 77 and vertical/horizontal interpolation module 79 are well known by people in this field. Thus, these two components are not detailed. If the input images sent from the GPU 55 are digital, the ADC 72 can be omitted.
The present invention can be applied for the host 50 or the display device 40 for activation, changing the display mode or executing various display functions, such as the function for auto-tuning the display window or making the images displayed completely fill the display frame. When the host 50 is turned on, the display mode of the host 50 is changed or various display functions of the host 50 are performed, the GPU 55 of the host 50 automatically transmits the input parameter to the display device 40 to display images.
In addition, the present invention can also be applied when the display device 40 is turned on, the display mode of the display device 40 is changed or various display functions of the display device 40 are performed. The display device 40 can automatically obtain the input parameter from the GPU 55. It means that display device 40 can obtain the input parameter via the GPU 55. For example, the display device 40 can automatically send a request signal out to make the GPU 55 provide the input parameter. The action for sending the request signal can be performed via the control logic 60.
According to the description above, since the present invention can directly obtain the input parameters, such as the resolution of input images, the frequency of the horizontal synchronous signal, the frequency of the vertical synchronous signal, the polarity of the horizontal synchronous signal, the polarity of the vertical synchronous signal, the horizontal start position for displaying the output image, the vertical start position for displaying the output image, the number of pulses of the proposed input clock between two pulses of the horizontal synchronous signal and the number of pulses of the horizontal synchronous signal between two vertical synchronous signal, and the input type of the input image, from the GPU 55 of the host 50, the input parameters obtained in the present invention must be correct and can be acquired speedily. Thus, the present invention is unlike the prior art, which needs to detect and process the vertical synchronous signals and the horizontal synchronous signals sent from the GPU 55 to obtain the input parameters. Besides, the input parameters obtained in the prior art still have a probability to be erroneous. Hence, the present invention simplifies the programming of the firmware and reduces the memory space necessary for the firmware. Furthermore, the present invention can display images speedily.
Furthermore, when the display device 40 of the present invention performs the auto tune function, the control logic 60 directly obtains the horizontal start position for displaying the output image, the vertical start position for displaying the output image and clock, from the GPU 55. Thus, the control logic 60 only needs to detect and determine the phase for sampling the analog input images. Hence the programming of the firmware is simplified, the memory space for storing the firmware is saved and the reaction time for performing the auto tune function is shortened. The input parameters transmitted from the GPU 55 mentioned above can be sent according to the requirements of the display device 40 for executing various display functions and displaying images. Besides, the present invention can also be used for a digital television.
Reference is made to
After that, the scaling module 70 performs step S2 to receive the input images according to the input clock. If the input images are analog, the ADC 72 of the scaling module 70 samples the input images according to the input clock to produce the corresponding digital input images. Then, the digital input images are transmitted to the scaling unit 76. Therein, the scaling unit 76 receives the input images sent from the ADC 72 according to the input clock. Next, the scaling unit 76 performs step S3 to perform the scaling process on the input images to produce the output images. Then, as shown in step S4, the output images are sent to the digital display module 80 according to the output clock. Finally, as shown in step S5, the digital display module 80 receives the output images and then displays the output images.
To sum up, the display device and its method provided in the present invention obtain the input parameters directly from the host 50 to display images and execute various display functions. Thus, the present invention does not cause the problem when the images are displayed. Besides, since the present invention does not need to perform a detecting process and a calculating process to obtain the input parameters, it reduces the reaction time for activating the display device 40 or changing the display mode. Hence, the speed of displaying images is increased.
Although the present invention has been described with reference to the preferred embodiment thereof, it will be understood that the invention is not limited to the details thereof. Various substitutions and modifications have been suggested in the foregoing description, and other will occur to those of ordinary skill in the art. Therefore, all such substitutions and modifications are embraced within the scope of the invention as defined in the appended claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 94112757 | Apr 2005 | TW | national |