// ksmedia.h
typedef struct tagKS_AMVPDATAINFO {
DWORD dwSize;
DWORD dwMicrosecondsPerField;
KS_AMVPDIMINFO amvpDimInfo;
DWORD dwPictAspectRatioX;
DWORD dwPictAspectRatioY;
BOOL bEnableDoubleClock;
BOOL bEnableVACT;
BOOL bDataIsInterlaced;
LONG lHalfLinesOdd;
BOOL bFieldPolarityInverted;
DWORD dwNumLinesInVREF;
LONG lHalfLinesEven;
DWORD dwReserved1;
} KS_AMVPDATAINFO, *PKS_AMVPDATAINFO;
View the official Windows Driver Kit DDI referenceNo description available.
The KS_AMVPDATAINFO structure is used to describe the properties of a video port.
dwSizeSpecifies the size of the structure, in bytes.
dwMicrosecondsPerFieldSpecifies the time taken by each field, in microseconds (millionths of a second).
amvpDimInfoDescribes the dimensional information of the video port, such as field and VBI dimensions.
dwPictAspectRatioXIndicates the picture aspect ratio in the horizontal dimension. For example, for a 16x9 aspect ratio this member would be 16.
dwPictAspectRatioYIndicates the picture aspect ratio in the vertical dimension. For example, for a 4x3 aspect ratio this member would be 3.
bEnableDoubleClockSpecifies if the video port should enable double clocking.
bEnableVACTSpecifies if the video port should use an external VACT signal.
bDataIsInterlacedIndicates that the signal is interlaced.
lHalfLinesOddIndicates the number of halflines in the odd field.
bFieldPolarityInvertedIndicates if the device inverts the field polarity by default.
dwNumLinesInVREFSpecifies the number of lines of data in VREF.
lHalfLinesEvenIndicates the number of halflines in the even field.
dwReserved1Reserved for future use. Do not use.
This structure is used by the KSPROPERTY_VPCONFIG_VPDATAINFO property.
KSPROPERTY_VPCONFIG_VPDATAINFO