Microsoft DirectX 8.1 (C++)

VIDEOINFOHEADER Structure

The VIDEOINFOHEADER structure describes the bitmap and color information for a video image.

Syntax

typedef struct tagVIDEOINFOHEADER {
    RECT                rcSource,
    RECT                rcTarget;
    DWORD               dwBitRate;
    DWORD               dwBitErrorRate;
    REFERENCE_TIME      AvgTimePerFrame;
    BITMAPINFOHEADER    bmiHeader;
} VIDEOINFOHEADER;

Members

rcSource

RECT structure that specifies the source video window. This structure can be a clipping rectangle, to select a portion of the source video stream.

rcTarget

RECT structure that specifies the destination video window.

dwBitRate

Approximate data rate of the video stream, in bits per second.

dwBitErrorRate

Data error rate, in bit errors per second.

AvgTimePerFrame

Average display time of the video frames, in 100-nanosecond units.

bmiHeader

BITMAPINFOHEADER structure that contains color and dimension information for the video image bitmap.

Remarks

For information about using the rcSource and rcTarget members, see Source and Target Rectangles in Video Renderers.

See Also