Quadro 4000/5000/6000 SDI DU-05337-001_v01
|
79
Chapter 05 : API Control
NV_CTRL_GVO Attributes
TheNV_CTRL_GVO*integerattributesareusedtoconfigureGVO(graphicstovideo
out)functionalityontheQuadroFX4800/5800SDIgraphicsboard.
ThefollowingisatypicalusagepatternfortheGVOattributes:
• QueryNV_CTRL_GVO_SUPPORTEDtodetermineiftheXscreensupportsGV0.
• SpecifyNV_CTRL_GVO_SYNC_MODE(eitherFREE_RUNNING,GENLOCK,or
FRAMELOCK).
IfyouspecifyGENLOCKorFRAMELOCK,youshouldalsospecify
NV_CTRL_GVO_SYNC_SOURCE.
• UseNV_CTRL_GVO_SYNC_INPUT_DETECTEDand
NV_CTRL_GVO_SDI_SYNC_INPUT_DETECTEDtodetectwhatinputsyncsare
present.
Ifnoanalogsyncisdetectedbutitisknownthatavalidbi‐levelortri‐levelsyncis
connected,setNV_CTRL_GVO_COMPOSITE_SYNC_INPUT_DETECT_MODE
appropriatelyandretestwith
NV_CTRL_GVO_COMPOSITE_SYNC_INPUT_DETECTED.
• Ifsyncingtoinputsync,querytheNV_CTRL_GVO_INPUT_VIDEO_FORMAT
attribute.
TheinputvideoformatcanonlybequeriedafterSYNC_SOURCEisspecified.
• SpecifytheNV_CTRL_GVO_OUTPUT_VIDEO_FORMAT.
• SpecifytheNV_CTRL_GVO_DATA_FORMAT.
• SpecifyanycustomColorSpaceConversion(CSC)matrix,offset,andscalewith
XNVCTRLSetGvoColorConversion().
• IfusingtheGLX_NV_video_outextensiontodisplayoneormorepbuffers,call
glXGetVideoDeviceNV()tolocktheGVOoutputforusebytheGLXclient,then
bindthepbuffer(s)totheGVOoutputwithglXBindVideoImageNV()andsend
pbufferstotheGVOoutputwithglXSendPbufferToVideoNV().
SeetheGLX_NV_video_outspecformoredetails.
• If,ratherthanusingtheGLX_NV_video_outextensiontodisplayGLXpbufferson
theGVOoutput,youwishdisplaytheXscreenontheGVOoutput,set
NV_CTRL_GVO_DISPLAY_X_SCREENto
NV_CTRL_GVO_DISPLAY_X_SCREEN_ENABLE.
SettingmostGVOattributesonlycausesthevaluetobecachedintheXserver.
Thevalueswillbeflushedtothehardwareeitherwhen
NV_CTRL_GVO_DISPLAY_X_SCREENisenabled,orwhenaGLXpbufferisbound
totheGVOoutput(withglXBindVideoImageNV()).
GLX_NV_video_outandNV_CTRL_GVO_DISPLAY_X_SCREENaremutually
exclusive.
Comments to this Manuals