1. About the Video and Vision Processing Suite
                    
                    
                
                    
                        2. Getting Started with the Video and Vision Processing IPs
                    
                    
                
                    
                        3. Video and Vision Processing IPs Functional Description
                    
                    
                
                    
                    
                        4. Video and Vision Processing IP Interfaces
                    
                
                    
                        5. Video and Vision Processing IP Registers
                    
                    
                
                    
                    
                        6. Video and Vision Processing IPs Software Programming Model
                    
                
                    
                        7. Protocol Converter IP
                    
                    
                
                    
                        8. 1D LUT IP
                    
                    
                
                    
                        9. 3D LUT IP
                    
                    
                
                    
                        10. Adaptive Noise Reduction IP
                    
                    
                
                    
                        11. Advanced Test Pattern Generator IP
                    
                    
                
                    
                        12. AXI-Stream Broadcaster IP
                    
                    
                
                    
                        13. Bits per Color Sample Adapter IP
                    
                    
                
                    
                        14. Black Level Correction IP
                    
                    
                
                    
                        15. Black Level Statistics IP
                    
                    
                
                    
                        16. Chroma Key IP
                    
                    
                
                    
                        17. Chroma Resampler IP
                    
                    
                
                    
                        18. Clipper IP
                    
                    
                
                    
                        19. Clocked Video Input IP
                    
                    
                
                    
                        20. Clocked Video to Full-Raster Converter IP
                    
                    
                
                    
                        21. Clocked Video Output IP
                    
                    
                
                    
                        22. Color Plane Manager IP
                    
                    
                
                    
                        23. Color Space Converter IP
                    
                    
                
                    
                        24. Defective Pixel Correction IP
                    
                    
                
                    
                        25. Deinterlacer IP
                    
                    
                
                    
                        26. Demosaic IP
                    
                    
                
                    
                        27. FIR Filter IP
                    
                    
                
                    
                        28. Frame Cleaner IP
                    
                    
                
                    
                        29. Full-Raster to Clocked Video Converter IP
                    
                    
                
                    
                        30. Full-Raster to Streaming Converter IP
                    
                    
                
                    
                        31. Genlock Controller IP
                    
                    
                
                    
                        32. Generic Crosspoint IP
                    
                    
                
                    
                        33. Genlock Signal Router IP
                    
                    
                
                    
                        34. Guard Bands IP
                    
                    
                
                    
                        35. Histogram Statistics IP
                    
                    
                
                    
                        36. Interlacer IP
                    
                    
                
                    
                        37. Mixer IP
                    
                    
                
                    
                        38. Pixels in Parallel Converter IP
                    
                    
                
                    
                        39. Scaler IP
                    
                    
                
                    
                        40. Stream Cleaner IP
                    
                    
                
                    
                        41. Switch IP
                    
                    
                
                    
                        42. Text Box IP
                    
                    
                
                    
                        43. Tone Mapping Operator IP
                    
                    
                
                    
                        44. Test Pattern Generator IP
                    
                    
                
                    
                        45. Unsharp Mask IP
                    
                    
                
                    
                        46. Video and Vision Monitor Intel FPGA IP
                    
                    
                
                    
                        47. Video Frame Buffer IP
                    
                    
                
                    
                        48. Video Frame Reader Intel FPGA IP
                    
                    
                
                    
                        49. Video Frame Writer Intel FPGA IP
                    
                    
                
                    
                        50. Video Streaming FIFO IP
                    
                    
                
                    
                        51. Video Timing Generator IP
                    
                    
                
                    
                        52. Vignette Correction IP
                    
                    
                
                    
                        53. Warp IP
                    
                    
                
                    
                        54. White Balance Correction IP
                    
                    
                
                    
                        55. White Balance Statistics IP
                    
                    
                
                    
                        56. Design Security
                    
                    
                
                    
                    
                        57. Document Revision History for Video and Vision Processing Suite User Guide
                    
                
            
        
                                    
                                    
                                        
                                        
                                            31.4.1. Achieving Genlock Controller Free Running (for Initialization or from Lock to Reference Clock N)
                                        
                                        
                                    
                                        
                                        
                                            31.4.2. Locking to Reference Clock N (from Genlock Controller IP free running)
                                        
                                        
                                    
                                        
                                        
                                            31.4.3. Setting the VCXO hold over
                                        
                                        
                                    
                                        
                                        
                                            31.4.4. Restarting the Genlock Controller IP
                                        
                                        
                                    
                                        
                                        
                                            31.4.5. Locking to Reference Clock N New (from Locking to Reference Clock N Old)
                                        
                                        
                                    
                                        
                                        
                                            31.4.6. Changing to Reference Clock or VCXO Base Frequencies (switch between p50 and p59.94 video formats and vice-versa)
                                        
                                        
                                    
                                        
                                        
                                            31.4.7. Disturbing a Reference Clock (a cable pull)
                                        
                                        
                                    
                                
                            19.2. Initializing the Clocked Video Input IP
The IP provides an Avalon memory-mapped interface, which you can use as a control interface to configure the IP. Initially, the IP is disabled and does not transmit any data or video. However, the Clocked Video Input IP still detects the format of the clocked video input and accepts data on the input video interface.
  
  To start the output of the IP:
- Write a 1 to control register bit 0 to enable the clocked video input block
- Write a 1 to control register bit 4 to enable Vsync and Hsync autopolarity detection.
- Optionally, write a 1 to control register bit 3 to enable the frame cleaner logic.
- Optionally, write the minimum expected number of frames for F0 and F1 to control register bits 23:16 to enable autodetect interlaced video format mode. If you write zeros to this set of bits, the IP does not automatically auto-detect video interlaced formats.
- Write the expected output video height and width values to ref_lock_cfg1 register. The IP only starts transmitting video on the output interface when the values on ref_lock_cfg1 matches the values on registers active_line_count and total_line_count.
- Write the expected number of frames and output video lines values to ref_lock_cfg2 register. The IP only starts transmitting video on the output interface when the values on ref_lock_cfg2 are matched.
- Alternatively, if you write zeros to ref_lock_cfg1 and ref_lock_cfg2, the IP does not try to match any specific output video resolution values and immediately produces video.
- Optionally, set the values for each of the color planes that the frame cleaner use to do the padding on the output video frame in case a cable is pulled.
- Read status register bit 4. When this bit is 1, the IP starts transmitting video. The transmission starts on the next start of frame boundary.