ADLINK Technology PCI-MPG24 Manuel d'utilisateur Page 119

  • 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 118
Reference Manual 109
extension->_framerate = video_config->fpscfg;
extension->_resolution = video_config->rescfg;
extension->_bitrate = video_config->ctlcfg;
}
sprintf(szDebugInfo, "MPEG1 width: %d height: %d
fps: %d bps: %d",
format->hdr.bmiHeader.biWidth,
format->hdr.bmiHeader.biHeight,
long(format->hdr.AvgTimePerFrame),
format->hdr.dwBitRate);
OutputDebugString(szDebugInfo);
break;
}
case MPEG2:
{
if ( pmt->subtype != MEDIASUBTYPE_MPEG2_VIDEO
) goto next_stream_caps;
if ( pmt->formattype != FORMAT_MPEG2Video )
goto next_stream_caps;
MPEG2VIDEOINFO* format = (MPEG2VIDEOINFO*)pmt-
>pbFormat;
if ( format->hdr.bmiHeader.biWidth !=
(int)video_config->rescfg.width )
goto next_stream_caps;
if ( format->hdr.bmiHeader.biHeight !=
(int)video_config->rescfg.height )
goto next_stream_caps;
normal_format_size =
SIZE_MPEG2VIDEOINFO(format);
format->hdr.AvgTimePerFrame =
Vue de la page 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 159 160

Commentaires sur ces manuels

Pas de commentaire