Previous Next

Video Stream Extended Headers

Some of the output streams from a video capture minidriver use an extended header to provide auxiliary information about the stream and current frame contents. For example, image stream headers provide information about the current frame number, number of dropped frames, and field polarity flags. As each frame is completed, the minidriver must fill in the extended header with the auxiliary information about the frame captured.

Minidrivers must indicate to the stream class driver their ability to provide this additional information by setting the StreamHeaderMediaSpecific member of the HW_STREAM_OBJECT structure to zero or to one of the two following options.

Extended Header Size Purpose
KS_FRAME_INFO Frame count, drop frame count, field polarity flags, and DirectDraw surface handles.
KS_VBI_FRAME_INFO VBI format, channel change information, video standard.

Video Stream Categories includes a table for each stream category. That table includes the extended header size value that the minidriver should use per stream category.