Claims
- 1. A method for generating a phase-shifted sampling clock signal for sampling a video signal, said method comprising:generating a sampling clock signal having an appropriate frequency; phase shifting said sampling clock signal to generate a phase shifted sampling clock signal; dividing a period of said sampling clock signal into a first plurality of N ranges having a plurality of N+1 dividing points, wherein a R—0 dividing point is equal to a beginning of said period and a R_N dividing points is equal to an end of said period; and measuring a quality index for each range to form a plurality of quality indices.
- 2. The method of claim 1, further comprising:determining a best range from said first plurality of ranges based on said plurality of quality indices; setting said R—0 dividing point to equal a beginning of said best range; setting said R_N dividing point to equal an end of said best range; and defining a second plurality of N ranges between said R—0 dividing point and said R_N dividing point.
- 3. The method of claim 2, further comprising selecting a delay time equal to a midpoint between said R⇄0 dividing point and said R_N dividing point when said R_N dividing point minus said R—0 dividing point is less than a range threshold .
- 4. The method of claim 2, further:setting said R—0 dividing point to equal a beginning of a first adjacent range to said best range when said quality index of said first adjacent range is within a match threshold of said quality index of said best range; and setting said R_N dividing point to equal a end of a second adjacent region to said best range when said quality index of said second adjacent range is within said match threshold of said quality index of said best range.
- 5. The method of claim 4, further comprising selecting a delay time equal to a midpoint between said R—0 dividing point and said R_N dividing point when said R_N.
- 6. A method for generating a phase-shifted sampling clock signal for sampling a video signal, said method comprising:generating a sampling clock signal having an appropriate frequency; phase shifting said sampling clock signal to generate a phase shifting said sampling clock signal, wherein said phase shifting said sampling clock signal to generate a phase shifted sampling clock signal comprises: selecting a delay value to maximize a quality index; and delaying the sampling clock signal by a delay time equal to a delay value multiplied by a delay unit.
- 7. The method of claim 6, wherein said delay value is selected to increase a quality index.
- 8. A method for generating a phase-shifted sampling clock signal a video signal, said method comprising:generating a sampling clock signal having an appropriate frequency; and phase shifting said sampling clock signal to generate a phase shifting sampling clock signal; wherein said generating a sampling clock signal having an appropriate frequency; generating said sampling clock signal using an initial divisor; measuring a first measured pixel value equal to a number of periods of said sampling clock signal in a data portion of said video signal; calculating a first divisor, wherein said first divisor is calculated to cause a second measured pixel value measured using said sampling clock generated using said first divisor to equal a target pixel value; and regenerating said sampling clock signal with said first divisor.
- 9. The method of claim 8, wherein said step of calculating a first divisor comprises the steps of:multiplying said target pixel value with said initial divisor to form a product; and dividing said product by said measured pixel value.
- 10. The method of claim 8, wherein said step of calculating a first divisor comprises the steps of:recursively calculating said first divisor until said target pixel value equals said measured pixel value; and equating said divisor to said new divisor.
- 11. The method of claim 8, further comprising the steps of:calculating a second divisor; and regenerating said sampling clock signal using said second divisor.
- 12. A clock generating circuit for generating a phase shifted sampling clock signal for sampling a video signal accompanied by a horizontal synchronization signal, said circuit comprising:a clock divisor configured to receive said horizontal synchronization signal and configured to generate said sampling clock signal; a divisor calculator coupled to said clock divider and configured to calculate a divisor for said clock divider; and a phase shifter coupled to said clock divider and configured to generate a phase shifted sampling clock signal.
- 13. The clock generating circuit of claim 12, wherein said phase shifter further comprises:a configurable delay line coupled to said clock divider and configured to generate said phase shifted sampling clock signal; and a phase controller coupled to said configurable delay line.
- 14. The clock generating circuit of claim 13, wherein said phase shifter further comprises:a match threshold register coupled to said phase controller; and a range threshold register coupled to said phase controller.
- 15. The clock generating circuit of claim 13, wherein said phase shifter further comprises an image quality detector.
- 16. The clock generating circuit of claim 12, further comprising:a mode detector coupled to said divisor calculator and configured to calculate a target pixel value; and a counter coupled to said clock divider and configured to receive said video signal and configured to measure a measured pixel value.
- 17. The clock generating circuit of claim 16, wherein said divisor calculator further comprises:multiplier/divider coupled to said mode detector and said counter and configured to generate a first divisor; an initial divisor lookup table coupled to said mode detector and configured to generated said initial divisor; and a first multiplexer having a first input coupled to said initial divisor lookup table, a second input coupled to said multiplier divider, and an output coupled to said clock divider.
- 18. The clock generating circuit of claim 17, further conprising an adder/subtractor coupled to said mode detector, said counter, and a third input of said first multiplexer, wherein said adder/subtractor is configured to generate a second divisor.
- 19. The clock generating circuit of claim 18, further comprising a fine tuning circuit coupled to said mode, detector, said counter, said phase shifter, said adder/subtractor and a fourth input of said first multiplexer, where said fine tuning circuit is configured to generate a third divisor.
- 20. The clock generating circuit of claim 16, wherein said divisor calculator circuit is configured to select an initial divisor and to calculate said divisor to equal said initial divisor times said target pixel value divided by said measured pixel value.
- 21. The clock generating circuit of claim 16, wherein said divisor calculator circuit is configured to recursively calculate said divisor by adding said target pixel value and subtracting said measured pixel value equals said measured pixel value.
Parent Case Info
This is a division of U.S. application Ser. No. 09/190,966, filed Nov. 13, 1998 now U.S. Pat. No 6,310,618.
US Referenced Citations (12)