// portabledevice.h
typedef enum tagWPD_VIDEO_SCAN_TYPES {
WPD_VIDEO_SCAN_TYPE_UNUSED,
WPD_VIDEO_SCAN_TYPE_PROGRESSIVE,
WPD_VIDEO_SCAN_TYPE_FIELD_INTERLEAVED_UPPER_FIRST,
WPD_VIDEO_SCAN_TYPE_FIELD_INTERLEAVED_LOWER_FIRST,
WPD_VIDEO_SCAN_TYPE_FIELD_SINGLE_UPPER_FIRST,
WPD_VIDEO_SCAN_TYPE_FIELD_SINGLE_LOWER_FIRST,
WPD_VIDEO_SCAN_TYPE_MIXED_INTERLACE,
WPD_VIDEO_SCAN_TYPE_MIXED_INTERLACE_AND_PROGRESSIVE
} WPD_VIDEO_SCAN_TYPES;
View the official Windows Driver Kit DDI referenceNo description available.
The WPD_VIDEO_SCAN_TYPES enumeration type describes how the fields in a video file are encoded.
WPD_VIDEO_SCAN_TYPE_UNUSEDThe scan type has not been defined for this video file, or is not applicable.
WPD_VIDEO_SCAN_TYPE_PROGRESSIVEA progressive scan video file.
WPD_VIDEO_SCAN_TYPE_FIELD_INTERLEAVED_UPPER_FIRSTAn interleaved video file where the fields alternate and the upper field (with line 1) is drawn first. For more information, see the Remarks section.
WPD_VIDEO_SCAN_TYPE_FIELD_INTERLEAVED_LOWER_FIRSTAn interleaved video file where the fields alternate and the lower field (with line 2) is drawn first. For more information, see Remarks, following this section.
WPD_VIDEO_SCAN_TYPE_FIELD_SINGLE_UPPER_FIRSTAn interleaved video file where the fields are sent as contiguous samples and the upper field (with line 1) is drawn first. For more information, see Remarks, following this section.
WPD_VIDEO_SCAN_TYPE_FIELD_SINGLE_LOWER_FIRSTAn interleaved video file where the fields are sent as contiguous samples and the lower field (with line 2) is sent first.
WPD_VIDEO_SCAN_TYPE_MIXED_INTERLACEA video file with a mix of interlacing modes.
WPD_VIDEO_SCAN_TYPE_MIXED_INTERLACE_AND_PROGRESSIVEA video file with a mix of interlaced and progressive modes.
This enumeration is used by the WPD_VIDEO_SCAN_TYPE property.
There are two types of interleaved file formats that are specified by this enumeration. WPD_VIDEO_SCAN_TYPE_FIELD_INTERLEAVED refers to a file format where frames are delivered as they were scanned—fields alternate and data goes line by line, as shown here:
Frame 1
Field 1: Line 1
Field 2: Line 1
Field 1: Line 2
Field 2: Line 2
Field 1: Line 3
Field 2: Line 3
...
WPD_VIDEO_SCAN_TYPE_FIELD_SINGLE refers to a file format where each field is stored in a single block of scan lines, and fields are stored sequentially, as shown here:
Frame 1
Field 1: Line 1
Field 1: Line 2
Field 1: Line 3
...
Followed by
Field 2: Line 1
Field 2: Line 2
Field 2: Line 3
...
Structures and Enumeration Types