SDI Technologies iH30 Especificaciones Pagina 77

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 147
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 76
Advanced Topics
Quadro SDI Output PG-03776-001_v06 | 72
return E_FAIL;
}
return S_OK;
}
At the time that the video output device is configured and prior to calling either
wglBindVideoImageNV() or glXBindVideoImageNV(),this number of internal buffers
can be specified by an application using
NvAPI_VIO_SetConfig(). The number of
internal buffers specified must be between two and seven.
Code Listing 52: Setting the Number of Internal Buffers on Windows
//
// Set flip queue length
//
HRESULT
setFlipQueueLength(unsigned int uiFQL)
{
NVVIOCONFIG l_vioConfig;
memset(&l_vioConfig, 0, sizeof(l_vioConfig));
l_vioConfig.version = NVVIOCONFIG_VER;
l_vioConfig.fields = 0;
l_vioConfig.fields = NVVIOCONFIG_FLIPQUEUELENGTH;
l_vioConfig.vioConfig.outConfig.flipQueueLength = numBuffers;
// Set configuration
if (NvAPI_VIO_SetConfig(hVIO, &l_vioConfig)!= NVAPI_OK) {
return E_FAIL;
}
return S_OK;
}
On Linux, the number of internal buffers can be specified with
XNVCTRLsetAttribute() as demonstrated.
// Set number of internal buffers
XNVCTRLSetAttribute(dpy, screen, 0, NV_CTRL_GVO_FLIP_QUEUE_SIZE, 2);
Vista de pagina 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 146 147

Comentarios a estos manuales

Sin comentarios