NVIDIA Corporation66 Quadro FX 4500/5500 SDI User’s Guide– Version 2.0CHAPTER 5API ControlLinux CONTROL X Extension APIThis section describes the NvGvo APIs inthe following sections:• “Using the NV-CTRL X APIs” on page 66• “NV_CTRL_GVO Attributes” on page 67• “NV-Control X Functions” on page 76Using the NV-CTRL X APIsThe NV_CTRL_GVO* integer attributes are used to configure GVO (graphics to videoout) functionality on the Quadro FX 4500 SDI graphics board.The following is a typical usage pattern for the GVO attributes:• Query NV_CTRL_GVO_SUPPORTED to determine if the X screen supports GV0.• Specify NV_CTRL_GVO_SYNC_MODE (either FREE_RUNNING, GENLOCK, orFRAMELOCK).If you specify GENLOCK or FRAMELOCK, you should also specifyNV_CTRL_GVO_SYNC_SOURCE.• Use NV_CTRL_GVO_SYNC_INPUT_DETECTED andNV_CTRL_GVO_SDI_SYNC_INPUT_DETECTED to detect what input syncs arepresent.If no analog sync is detected but it is known that a valid bi-level or tri-level sync isconnected, set NV_CTRL_GVO_COMPOSITE_SYNC_INPUT_DETECT_MODEappropriately and retest withNV_CTRL_GVO_COMPOSITE_SYNC_INPUT_DETECTED.• If syncing to input sync, query theNV_CTRL_GVO_INPUT_VIDEO_FORMATattribute.The input video format can only be queried after SYNC_SOURCE is specified.• Specify the NV_CTRL_GVO_OUTPUT_VIDEO_FORMAT.• Specify the NV_CTRL_GVO_DATA_FORMAT.• Specify any custom Color Space Conversion (CSC) matrix, offset, and scale withXNVCTRLSetGvoColorConversion().• If using the GLX_NV_video_out extension to display one or more pbuffers, callglXGetVideoDeviceNV() to lock the GVO output for use by the GLX client, thenbind the pbuffer(s) to the GVO output with glXBindVideoImageNV() and sendpbuffers to the GVO output with glXSendPbufferToVideoNV().See the GLX_NV_video_out spec for more details.