ADLINK Technology PCI-MPG24 Instrukcja Użytkownika Strona 119

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 160
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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 =
Przeglądanie stron 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 159 160

Komentarze do niniejszej Instrukcji

Brak uwag