User`s manual
Reference Manual 113
(ULONGLONG)(10010000000) / video_config-
>fpscfg.frame_rate;
format->bmiHeader.biWidth = video_config-
>rescfg.width;
format->bmiHeader.biHeight =
video_config->rescfg.height;
format->bmiHeader.biSizeImage =
video_config->rescfg.width * video_config-
>rescfg.height * 3 / 2;
format->dwBitRate = video_config-
>ctlcfg.target_bitrate;
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;
if ( video_config->strcfg.mpeg4_mode
== MICROSOFT_MPEG4 )
{
char* seq_header;
UINT32 seq_length =
FormatMPEG4StreamSEQHeader(&m_VideoCaps,
extension, &seq_header);