ADLINK Technology PCI-MPG24 Manuel d'utilisateur Page 116

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 160
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 115
106 Reference Manual
exposed by both video and audio pins of WIS driver. The video
and audio capabilities of the driver, the mean time, and the
default format of these capabilities can be retrieved by using
this interface. It is common to have multiple capabilities for both
audio and video. Follow the instructions below to configurate:
Inspect all capabilities to check which capability is the one you
want to set, using IAMStreamConfig::GetStreamCaps.
The default format for this capability can be modified as
needed. This format is the second out parameter of the Get-
StreamCaps.
Use IAMStreamConfig->SetFormat to set the modified format
to the driver.
The following sample code - SetPinFormat function shows the
video configuration setup process. The audio configuratation
can also be set in a similar way.
The proprietary interface IGOChip::SetVideoConfig is neces-
sary here is due to a known issue on the VideoInfoHeader for-
mat, preventing the format information to be set in the standard
way. The code in the SetPinFormat function indicates this
patch. After this problem is solved, there will be no need to use
any non-standard interface.
The private format information is appended as an extension
(TCFG_FORMAT_EXTENSION structure) to the normal format
information of DirectShow, (AM_MEDIA_TYPE->pbFormat).
The format size of cbFormat reflects this extension.
Vue de la page 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 159 160

Commentaires sur ces manuels

Pas de commentaire