![]() |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Describes the bitmap and color information for a video image, including interlace, copy protection, and pixel aspect ratio information.
typedef struct tagVIDEOINFOHEADER2 { RECT rcSource ; RECT rcTarget ; DWORD dwBitRate ; DWORD dwBitErrorRate ; REFERENCE_TIME AvgTimePerFrame ; DWORD dwInterlaceFlags ; DWORD dwCopyProtectFlags ; DWORD dwPictAspectRatioX ; DWORD dwPictAspectRatioY ; DWORD dwReserved1 ; DWORD dwReserved2 ; BITMAPINFOHEADER bmiHeader ; } VIDEOINFOHEADER2;
Members
AMINTERLACE_IsInterlaced | Indicates an interlace stream. If 0, other interlace bits are irrelevant. |
AMINTERLACE_1FieldPerSample | Indicates one field per media sample. If 0, indicates 2 fields per media sample. |
AMINTERLACE_Field1First | Indicates Field 1 is first. If 0, indicates Field 2 is first. Top field in PAL is field 1, top field in NTSC is field 2. |
AMINTERLACE_UNUSED | Unused. |
AMINTERLACE_FieldPatternMask | Bits used to indicate field pattern. |
AMINTERLACE_FieldPatField1Only | Stream never contains a Field 2. |
AMINTERLACE_FieldPatField2Only | Stream never contains a Field 1. |
AMINTERLACE_FieldPatBothRegular | There will be a Field 2 for every Field 1. |
AMINTERLACE_FieldPatBothIrregular | Random pattern of Field 1s and Field 2s. |
AMINTERLACE_DisplayModeMask | Bits used to indicate display mode. |
AMINTERLACE_DisplayModeBobOnly | Indicates Bob display mode only. |
AMINTERLACE_DisplayModeWeaveOnly | Indicates Weave display mode only. |
AMINTERLACE_DisplayModeBobOrWeave | Indicates either Bob or Weave display mode. |
Set undefined flags to zero or connection should be rejected.