ADLINK Technology PCI-MPG24 Manual de usuario Pagina 119

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 160
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 =
Vista de pagina 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 159 160

Comentarios a estos manuales

Sin comentarios