
Advanced Topics
Quadro SDI Output PG-03776-001_v06 | 70
FALSE;
// Set configuration
if (NvAPI_VIO_SetConfig(g_hVIO, &l_vioConfig)!= NVAPI_OK) {
return E_FAIL;
}
return S_OK;
}
10.8 COMPOSITE SYNC TERMINATION
The Quadro SDI also provides the capability to enable and disable termination of the
composite sync signal by calling
NvGvoConfigSet() the same way that other video
control parameters are set within an application. Examples of functions that
demonstrate the enabling and disabling of composite sync termination are shown in
Code Listing 50.
Code Listing 50: Enabling and Disabling Composite Sync
Termination on Windows
//
// Enable composite sync termination
//
HRESULT
enableSyncTermination(GLvoid)
{
NVVIOCONFIG l_vioConfig;
memset(&l_vioConfig, 0, sizeof(l_vioConfig));
l_vioConfig.version = NVVIOCONFIG_VER;
l_vioConfig.fields = 0;
l_vioConfig.fields = NVVIOCONFIG_COMPOSITETERMINATE;
l_vioConfig.vioConfig.outConfig.compositeTerminate = TRUE;
// Set configuration
if (NvAPI_VIO_SetConfig(hVIO, &l_vioConfig)!= NVAPI_OK) {
return E_FAIL;
}
return S_OK;
}
//
// Disable composite sync termination
//
HRESULT
Kommentare zu diesen Handbüchern