
Quadro SDI Output PG-03776-001_v06
| 30
6 ANCILLARY DATA
Ancillary data can be sent to the Quadro SDI device by using the NVIDIA SDI Ancillary
Data API. This API is defined in
ANCapi.h in the SDK include directory. Applications
designed for the Microsoft Windows operating system must statically link against
ANCapi.lib. to utilize the ancillary data API. Linux application must link with
libanc.a
. The library files can be found in the appropriate lib folder in the SDK. Since
the API is shared between Windows and Linux the details described in the remainder of
this chapter apply to both operating systems except where noted.
6.1 GETTING STARTED
Prior to sending ancillary data to the SDI device, the ancillary data API must be
initialized. This must be done after the OpenGL initialization of the SDI device.
Initialization is performed by calling the
NvVIOANCAPI_InitializeGVO function.
Code Listing 28: Initializing Ancillary Data API on Windows
// Initialize ANC API
if (NvVIOANCAPI_InitializeGVO(gSDIout.getHandle()) != NVAPI_OK) {
return E_FAIL;
}
Code Listing 29: Initializing Ancillary Data API on Linux
// Initialize ANC API
if (NvVIOANCAPI_InitializeGVO(dpy, screen) == NVAPI_OK){
init = 1;
}
Comentarios a estos manuales