SDI Technologies iH30 Especificações Página 30

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 147
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 29
Data Transfer
Quadro SDI Output PG-03776-001_v06 | 25
glPresentFrameDualFillNV() should be utilized to display two channels of single-
link fill data. This operating mode is useful for presenting two completely different fill
channels or two fill channels in stereo, where one eye is presented on one channel while
the other eye is presented on the other SDI channel.
glPresentFrameDualFillNV() operates similarly to PresentFrameKeyedNV()
described above. The parameters target0, fill0, target1 and fill1 specify the
data for the first SDI channel while target2, fill2, target3 and fill3 specify the
data for the second SDI channel. In the case that type is GL_FRAME_NV, only target0,
fill0, target2 and fill2 need to be specified with other parameters set to
GL_NONE. In the case of GL_FIELDS_NV, all parameters must be utilized to specify the
fields for each SDI channel.
The following code examples demonstrate the use of these functions. For more
information regarding these functions, please refer to the GL_NV_present_video
OpenGL extension specification.
In Code Listing 21, the contents of a texture object is interpreted as a complete frame
with the GL_FRAME_NV enum and displayed as both the video fill and key channels.
Code Listing 21: Sending a Texture Object to the Video Device
// Unbind frame buffer object
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
// Send texture object to SDI device
glPresentFrameKeyedNV(1, 0,
presentTimeID, presentDurationID,
GL_FRAME_NV,
GL_TEXTURE_RECTANGLE_NV, gTO, 0,
GL_NONE, 0, 0);
This code example, specifies that the texture object should be displayed on video slot 1
at the next vertical retrace. The query objects
presentTimeID and presentDurationID
return the time at which the frame is displayed on the SDI device and the number of
vertical retrace intervals during which the frame is displayed. These timer query objects
can then be utilized to determine if frame has been dropped or duplicated. More
information about synchronization and catching irregularities can be found in Section
8.1.2.
Code Listing 22 specifies the fill for two video channels for the case in which the Quadro
SDI is configured to display two fill channels rather than a fill and a key channel. In this
example, two render buffers containing complete frames are displayed on video slot 1 at
the next vertical retrace of the SDI device.
Vista de página 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 146 147

Comentários a estes Manuais

Sem comentários