User`s manual

110 Reference Manual
(ULONGLONG)(10010000000) / video_config-
>fpscfg.frame_rate;
format->hdr.bmiHeader.biWidth =
video_config->rescfg.width;
format->hdr.bmiHeader.biHeight =
video_config->rescfg.height;
format->hdr.bmiHeader.biSizeImage =
video_config->rescfg.width * video_config-
>rescfg.height * 3 / 2;
format->hdr.dwBitRate = video_config-
>ctlcfg.target_bitrate;
format->hdr.dwPictAspectRatioX =
video_config->rescfg.width;
format->hdr.dwPictAspectRatioY =
video_config->rescfg.height;
if ( pmt->cbFormat > normal_format_size )
{
assert( pmt->cbFormat ==
normal_format_size +
sizeof(TCFG_FORMAT_EXTENSION) );
TCFG_FORMAT_EXTENSION* extension =
(TCFG_FORMAT_EXTENSION*)(pmt->pbFormat +
normal_format_size);
extension->_stream = video_config-
>strcfg;
extension->_framerate = video_config-
>fpscfg;
extension->_resolution = video_config-
>rescfg;
extension->_bitrate = video_config-
>ctlcfg;
}
sprintf(szDebugInfo, "MPEG2 width: %d height:
%d fps: %d bps: %d",