Hello Qiang Li,
I posted this in the patch thread already, but I'm repeating it here in case the other thread isn't being watched:
Unfortunately there still appears to be an issue. This patch doesn’t have the same issues the previous “patch 4” had, but it still has a problem where the VSYNC signal is offset by one pixel clock from where it should be. The CEA-861 specification states that the VSYNC should be perfectly aligned with the HSYNC signal plus or minus zero pixel clocks for field 1. For field 2 the VSYNC should be Htotal/2 pixel clocks from the leading edge of the HSYNC signal plus or minus zero pixel clocks. In both cases the VSYNC is 1 pixel clock too late.
Thanks,
Jon