// d3d12umddi.h
typedef enum D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020 {
D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020_MONO,
D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020_HORIZONTAL,
D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020_VERTICAL,
D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020_SEPARATE
} ;
View the official Windows Driver Kit DDI referenceNo description available.
Defines the layout in memory of a stereo 3D video frame.
D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020_MONOThe sample does not contain stereo data. If the stereo format is not specified, this value is the default.
D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020_HORIZONTALFrame 0 and frame 1 are packed side-by-side, as shown in the following diagram:
| 0 | 0 | 0 | 1 | 1 | 1 |
| 0 | 0 | 0 | 1 | 1 | 1 |
| 0 | 0 | 0 | 1 | 1 | 1 |
| 0 | 0 | 0 | 1 | 1 | 1 |
D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020_VERTICALFrame 0 and frame 1 are packed top-to-bottom, as shown in the following diagram:
| 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 | 1 | 1 |
| 1 | 1 | 1 | 1 | 1 | 1 |
D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020_SEPARATEFrame 0 and frame 1 are placed in separate resources.
All drivers that support stereo must support all the formats in this enumeration.