1. Computer program product for providing a high quality image from video signals comprising: computer code for performing analog to digital conversion of video RGB signals; computer code for determining pixel phase and frequency in a single pass in a window for optimum image quality by analyzing phase performance for a plurality of pixels for a plurality of phases and frequencies wherein a sum of all edges within the window which have a value above a threshold for the R, G or B signal is computed to provide a first function and a sum of all alternate edges within the window which have a value above the threshold for R, G or B is computed to provide a second function, wherein the first and second functions have a maximum at an optimum value of phase and frequency; and computer readable medium for storing the computer code.