Claims
- 1. An apparatus for detecting the video mode of a video data, the apparatus capable of receiving a plurality of synchronous signals along with the transmission of the video data, the apparatus comprising:a first counter stage capable of receiving the synchronous signals and generating a first counter stage output signal that represents the number of lines in a frame of the video data; a second counter stage capable of receiving an active line indicator signal that indicates an active line in the video data, the second counter stage capable of generating a second counter stage output signal that represents the number of active lines in a frame of the video data; and a logic circuit coupled to the first counter stage and to the second counter stage, the logic circuit capable of detecting the video mode of the video data based upon the values of the first counter stage output signal and the second counter stage output signal.
- 2. The apparatus of claim 1 further comprising:a comparator coupled to the second counter stage and capable of receiving the video data and a video data threshold signal, the comparator capable of producing the active line indicator signal for input into the second counter stage if the level of the video data is at least at the level of the video data threshold signal.
- 3. The apparatus of claim 2 wherein the video data threshold signal can be programmed.
- 4. The apparatus of claim 2 further comprising a storage device for providing the video data threshold signal.
- 5. The apparatus of claim 4 wherein the storage device for providing the video data threshold signal is a register.
- 6. The apparatus of claim 2 wherein the video data threshold signal is provided by a voltage supply source.
- 7. The apparatus of claim 1 wherein the logic circuit determines the video mode of the video data by comparing the values of the first counter stage output signal and the second counter stage output signal with a plurality of video mode detection threshold values.
- 8. The apparatus of claim 7 further comprising:a second storage device coupled to the logic circuit and capable of providing the video mode detection threshold values to the logic circuit.
- 9. The apparatus of claim 8 wherein the second storage device comprises at least one register.
- 10. The apparatus of claim 7 wherein the video mode detection threshold values can be programmed.
- 11. The apparatus of claim 7 wherein the video mode detection threshold values include a plurality of total line threshold values and a plurality of active line threshold values.
- 12. The apparatus of claim 1 wherein the logic circuit comprises:a plurality of comparators for sequentially comparing the number of total lines and the number of active lines in a frame of the video data to a plurality of video mode threshold values.
- 13. The apparatus of claim 1 wherein the logic circuit comprises:a plurality of comparators for concurrently comparing the number of total lines and the number of active lines in a frame of the video data to a plurality of video mode threshold values.
- 14. An apparatus for detecting the video mode of a video data, comprising:a total line counter stage for receiving a plurality of synchronization signals that are used in the transmission of video data, the total line counter stage configured to produce a total line counter stage output signal based upon the synchronization signals, the total line counter stage output signal representing the number of lines in a frame of the video data; an active line counter stage for receiving an active line indicator signal that represents an active video in the video data, the active line counter stage configured to produce an active line counter stage output signal based upon the active line indicator signal, the active line counter stage output signal representing the number of active video lines in a frame of the video data; and a logic circuit coupled to the total line counter stage and to the active line counter stage, the logic circuit configured to indicate the video mode of the video signal in response to the total line counter stage output signal and the active line counter stage output signal.
- 15. The apparatus of claim 14 further comprising:a comparator coupled to the active line counter stage and capable of receiving the video data and a video data threshold signal, the comparator generating an active line indicator signal if the level of the video data is at least at the level of the video data threshold signal.
- 16. The apparatus of claim 14 wherein the logic circuit determines the video mode of the video data based on a comparison of the values of the total line counter stage output signal and the active line counter stage output signal with a plurality of video mode detection threshold values.
- 17. The apparatus of claim 14 wherein the logic circuit comprises:a plurality of comparators for sequentially comparing the total line counter stage output signal and the active line counter stage output signal to a plurality of video mode threshold values.
- 18. The apparatus of claim 14 wherein the logic circuit comprises:a plurality of comparators for concurrently comparing the total line counter stage output signal and the active line counter stage output signal to a plurality of video mode threshold values.
- 19. The apparatus of claim 14 wherein the total line counter stage comprises:a counter for counting the number of lines in a frame of video data; a controller for generating a reset signal to reset the counter to an initial value, and for generating a counting enable signal that permits the counter to begin the count of the number of lines in a frame of video data; and a total line output logic, coupled to the counter, for buffering an output of the counter.
- 20. The apparatus of claim 14 wherein the active line counter stage comprises:a blanking line counter for counting blanking periods in a frame of the video data; and a counting enable controller for generating an output signal that permits the blanking line counter to begin the count of the blanking periods in a frame of the video data.
- 21. The apparatus of claim 20 wherein the active line counter stage further comprises:an active line output logic, coupled to the blanking line counter, for buffering an output of the blanking line counter; a loading enable controller for controlling the active line output logic; and a subtractor for subtracting the number of blanking lines per video frame from the number of total lines per video frame and for generating an output representing the number of active lines per video frame.
- 22. A computer system which incorporates a flat panel display unit, comprising:a flat panel display unit; a computer unit for controlling the flat panel display unit, the computer unit including a video data source for producing video data, a video mode detection circuit for detecting the video mode of the video data based upon the total lines and the active lines per video frame, and a processing circuit coupled to the video mode detection circuit and capable of controlling the flat panel display unit, the video mode detection circuit further configured to differentiate an active line in the video data from a blanking period in the video data; wherein the video mode detection circuit comprises: a first counter stage capable of receiving synchronous signals transmitted with the video data and capable of generating a first counter stage output signal that represents the number of lines in a frame of the video data; a second counter stage capable of receiving an active line indicator signal that indicates an active line in the video data, the second counter stage capable of generating a second counter stage output signal that represents the number of active lines in a frame of the video data; and a logic circuit coupled to the first counter stage and to the second counter stage, the logic circuit capable of detecting the video mode of the video data based upon the values of the first counter stage output signal and the second counter stage output signal.
- 23. The computer system of claim 22 further comprising:a comparator coupled to the second counter stage and capable of receiving the video data and a video data threshold signal, the comparator capable of producing the active line indicator signal for input into the second counter stage if the level of the video data is at least at the level of the video data threshold signal.
- 24. The computer system of claim 23 wherein the video data threshold signal can be programmed.
- 25. The computer system of claim 24 further comprising a storage device for providing the video data threshold signal.
- 26. The computer system of claim 22 wherein the logic circuit determines the video mode of the video data by comparing the values of the first counter stage output signal and the second counter stage output signal with a plurality of video mode detection threshold values.
- 27. The computer system of claim 26 further comprising:a second storage device coupled to the logic circuit and capable of providing the video mode detection threshold values to the logic circuit.
- 28. The computer system of claim 27 wherein the second storage device comprises at least one register.
- 29. The computer system of claim 26 wherein the video mode detection threshold values can be programmed.
- 30. The computer system of claim 29 wherein the video mode detection threshold values include a plurality of total line threshold values and a plurality of active line threshold values.
- 31. The computer system of claim 22 wherein the logic circuit comprises:a plurality of comparators for sequentially comparing the first counter stage output signal and a second counter stage output signal to a plurality of video mode threshold values.
- 32. The computer system of claim 22 wherein the logic circuit comprises:a plurality of comparators for concurrently comparing the first counter stage output signal and a second counter stage output signal to a plurality of video mode threshold values.
- 33. An apparatus for detecting the video mode of a video signal comprising:an active line counter stage capable of receiving an active line indicator signal that indicates an active line in the video data, the active line counter stage capable of generating an active line counter stage output signal that represents the number of active lines in a frame of the video data; an active line indicator signal generator coupled to the active line counter stage and configured to generate the active line indicator signal, the active line indicator signal generator generating the active line indicator signal by differentiating an active line in the video data from a blanking period in the video data; and a logic circuit coupled to the active line counter stage and capable of detecting the video mode of the video data based upon the value of the active line counter stage output signal.
- 34. The apparatus of claim 33 further comprising:a comparator coupled to the active line counter stage and capable of receiving the video data and a video data threshold signal, the comparator capable of producing the active line indicator signal for input into the active line counter stage if the level of the video data is at least at the level of the video data threshold signal.
- 35. The apparatus of claim 34 wherein the video data threshold signal can be programmed.
- 36. The apparatus of claim 33 further comprising a storage device for providing a video data threshold signal.
- 37. The apparatus of claim 36 wherein the storage device for providing the video data threshold signal is a register.
- 38. The apparatus of claim 37 wherein the video data threshold signal is provided by a voltage supply source.
- 39. The apparatus of claim 36 wherein the logic circuit determines the video mode of the video data by comparing the value of the active line counter stage output signal with a plurality of video mode detection threshold values.
- 40. The apparatus of claim 39 further comprising:a second storage device coupled to the logic circuit and capable of providing the video mode detection threshold values to the logic circuit.
- 41. The apparatus of claim 40 wherein the second storage device comprises at least one register.
- 42. The apparatus of claim 39 wherein the video mode detection threshold values can be programmed.
- 43. The apparatus of claim 39 wherein the video mode detection threshold values include a plurality of active line threshold values.
- 44. The apparatus of claim 33 wherein the logic circuit comprises:a plurality of comparators for sequentially comparing the active line counter stage output signal to a plurality of video mode threshold values.
- 45. The apparatus of claim 33 wherein the logic circuit comprises:a plurality of comparators for concurrently comparing the active line counter stage output signal to a plurality of video mode threshold values.
- 46. The apparatus of claim 33 wherein the active line counter stage comprises:a blanking line counter for counting blanking periods in a frame of the video data; a counting enable controller for generating an output signal that permits the blanking line counter to begin the count of the blanking periods in a frame of the video data; an active line output logic, coupled to the blanking line counter, for buffering an output of the blanking line counter.
- 47. The apparatus of claim 46 further comprising:a loading enable controller for controlling the active line output logic; and a subtractor for subtracting the number of blanking lines per video frame from the number of total lines per video frame and for generating an output representing the number of active lines per video frame.
- 48. The apparatus of claim 47 wherein the active line counter stage receives synchronization signals transmitted along with the video data.
- 49. A method of determining the resolution of a video data, the video data being transmitted by use of a plurality of synchronous signals the method comprising:generating, in response to the synchronous signals, a first output signal that represents the number of lines in a frame of the video data; generating a second output signal that represents the number of active lines in a frame of the video data; and generating a resolution signal that represents the resolution of the video data based upon the first output signal and the second output signal.
- 50. The method of claim 49 further comprising the step of:generating a mode change flag signal to be received by a central processing unit to permit accurate detection of active lines in a frame of the video data.
- 51. The method of claim 49 wherein the step of generating the resolution signal further comprises the steps of:comparing the value of the first output signal with a plurality of total line threshold values; and comparing the value of the second output signal with a plurality of active line threshold values.
- 52. An apparatus for determining the resolution of a video data, the video data being transmitted by use of a plurality of synchronous signals, the apparatus comprising:means for generating a first output signal that represents the number of total lines in a frame of the video data, the means for generating the first output signal responsive to the synchronous signals; means for generating a second output signal that represents the number of active lines in a frame of the video data; and means for generating a resolution signal that represents the resolution of the video data based upon the first output signal and the second output signal, the means for generating the video mode output signal coupled to the means for generating the first output signal and the means for generating the second output signal.
- 53. The apparatus of claim 52 wherein the means for generating the resolution signal further comprises:means for comparing the value of the first output signal with a plurality of total line threshold values; and means for comparing the value of the second output signal with a plurality of active line threshold values.
- 54. A method of determining the resolution of a video data, comprising:differentiating an active line in the video data from a blanking period in the video data; generating an active line output signal that represents the number of active lines in a frame of the video data; and generating a resolution signal that represents the resolution of the video data, the resolution signal based upon the active line output signal.
- 55. The method of claim 54 wherein the step of generating the resolution signal further comprises the steps of:comparing the value of the active line signal with a plurality of active line threshold values.
- 56. An apparatus for determining the resolution of a video data, comprising:means for differentiating an active line in the video data from a blanking period in the video data; coupled to the means for differentiating, means for generating an active line output signal that represents the number of active lines in a frame of the video data; and means for generating a resolution signal that represents the resolution of the video data, the means for generating the resolution signal responsive to the active lines output signal, the means for generating the resolution signal coupled to the means for generating the active line output signal.
- 57. The apparatus of claim 56 wherein the means for generating the resolution signal comprises:means for comparing the value of the active line signal with a plurality of active line threshold values.
- 58. A method of determining the video mode of a video data, comprising the steps of:comparing the number of total lines in a frame of the video data to a first range of total line threshold values; if the number of total lines is outside than the first range of total line threshold values, then comparing the number of total lines to a second range of line threshold values; if the number of total lines is within the first range of total line threshold values, then comparing the number of active lines in a frame of the video data to a first range of active line threshold values; if the number of active lines is within the first range of active line threshold values, then indicating a first video mode value; if the number of active lines is greater than the first range of active line threshold values, then indicating a second video mode value.
- 59. The method of claim 58 further comprising the step of:if the number of total lines is within the second range of line threshold values, then comparing the number of active lines in a frame of the video data to a second range of active line threshold values; if the number of active lines is within the second range of active line threshold values, then indicating the second video mode value; and if the number of active lines is beyond the second range of active line threshold values, the indicating a third video mode value.
- 60. An apparatus for determining the video mode of a video data, comprising:first means for comparing the number of total lines in a frame of the video data to a first range of total line threshold values; second means for comparing the number of total lines to a second range of total line threshold values if the number of total lines is beyond the first range of total line threshold values, the second means coupled to the first means; third means for comparing the number of active lines in a frame of the video data to a first range of active line threshold values if the number of total lines is within the first range of total line threshold values, the third means coupled to the first means; means for indicating a video mode value, the means for indicating the video mode value indicating a first video mode if the number of active lines is within the first range of active line threshold values, the means for indicating the video mode value indicating a second video mode if the number of active lines is outside the first range of active line threshold values.
- 61. The apparatus of claim 60 further comprising:fourth means for comparing the number of active lines in a frame of the video data to a second range of active line threshold values if the number of total lines is within the second range of total line threshold values, the fourth means coupled to the second means; the means for indicating a video mode value indicating the second video mode value if the number of active lines is within the second range of active line threshold values, the means for indicating the video mode value indicating a third video mode value if the number of active lines is beyond the second range of active line threshold values.
- 62. A method of displaying an image on a flat panel based upon video data processed within a computer unit, a plurality of synchronous signals being used in the transmission of the video data, the method comprising the steps of:determining the number of total lines in a frame of the video data based upon the synchronous signals; determining the number of active lines in a frame of the video data; determining the video mode of the video data based upon the number of total lines and the number of active lines in a frame of the video data; providing a signal representing the video mode of the video data and the video data to a processing unit for driving the flat panel display unit so that an image representative of the video data is displayed by the flat panel display unit.
- 63. A computer system which incorporates a flat panel display unit, comprising:a flat panel display unit; a computer unit for controlling the flat panel display unit, the computer unit including a video data source for producing video data, a video mode detection circuit for detecting the video mode of the video data based upon the total lines and the active lines per video frame, and a processing circuit coupled to the video mode detection circuit and capable of controlling the flat panel display unit; the video mode detection circuit comprising: a first counter stage capable of receiving synchronous signals transmitted with the video data and capable of generating a first counter stage output signal that represents the number of lines in a frame of the video data; a second counter stage capable of receiving an active line indicator signal that indicates an active line in the video data, the second counter stage capable of generating a second counter stage output signal that represents the number of active lines in a frame of the video data; and a logic circuit coupled to the first counter stage and to the second counter stage, the logic circuit capable of detecting the video mode of the video data based upon the values of the first counter stage output signal and the second counter stage output signal.
- 64. An apparatus for detecting the video mode of a video signal comprising:an active line counter stage capable of receiving an active line indicator signal that indicates an active line in the video data, the active line counter stage capable of generating an active line counter stage output signal that represents the number of active lines in a frame of the video data; a logic circuit coupled to the active line counter stage and capable of detecting the video mode of the video data based upon the value of the active line counter stage output signal; and a comparator coupled to the active line counter stage and capable of receiving the video data and a video data threshold signal, the comparator capable of producing the active line indicator signal for input into the active line counter stage if the level of the video data is at least at the level of the video data threshold signal.
- 65. An apparatus for detecting the video mode of a video signal comprising:an active line counter stage capable of receiving an active line indicator signal that indicates an active line in the video data, the active line counter stage capable of generating an active line counter stage output signal that represents the number of active lines in a frame of the video data; a logic circuit coupled to the active line counter stage and capable of detecting the video mode of the video data based upon the value of the active line counter stage output signal; the active line counter stage comprising: a blanking line counter for counting blanking periods in a frame of the video data; a counting enable controller for generating an output signal that permits the blanking line counter to begin the count of the blanking periods in a frame of the video data; an active line output logic, coupled to the blanking line counter, for buffering an output of the blanking line counter.
- 66. A method of determining the resolution of a video data, comprising:generating an active line output signal that represents the number of active lines in a frame of the video data; and generating a resolution signal that represents the resolution of the video data, the resolution signal based upon the active line output signal; the step of generating the resolution signal further comprises: comparing the value of the active line signal with a plurality of active line threshold values.
- 67. An apparatus for detecting the video mode of a video signal comprising:an active line counter stage capable of receiving an active line indicator signal that indicates an active line in the video data, the active line counter stage capable of generating an active line counter stage output signal that represents the number of active lines in a frame of the video data; a logic circuit coupled to the active line counter stage and capable of detecting the video mode of the video data based upon the value of the active line counter stage output signal; and a storage device for providing a video data threshold signal.
- 68. An apparatus for determining the resolution of a video data, comprising:means for generating an active line output signal that represents the number of active lines in a frame of the video data; and means for generating a resolution signal that represents the resolution of the video data, the means for generating the resolution signal responsive to the active lines output signal, the means for generating the resolution signal coupled to the means for generating the active line output signal; the means for generating the resolution signal comprising: means for comparing the value of the active line signal with a plurality of active line threshold values.
CROSS-REFERENCE TO RELATED APPLICATION
This application claims priority to U.S. Provisional Application No. 60/091,409 to Zhihao Lin and Hsi-Sheng Chen, filed on Jul. 1, 1998 and entitled “Intelligent Video Mode Detection Circuit.” U.S. Provisional Application No. 60/091,409 is fully incorporated herein by reference.
US Referenced Citations (13)
Provisional Applications (1)
|
Number |
Date |
Country |
|
60/091409 |
Jul 1998 |
US |