MFVideo3DSampleFormat enumeration (mfapi.h)
Specifies how a 3D video frame is stored in a media sample.
Syntax
typedef enum _MFVideo3DSampleFormat {
MFSampleExtension_3DVideo_MultiView = 1,
MFSampleExtension_3DVideo_Packed = 0
} MFVideo3DSampleFormat;
Constants
MFSampleExtension_3DVideo_MultiView Value: 1 Each view is stored in a separate buffer. The sample contains one buffer per view. |
MFSampleExtension_3DVideo_Packed Value: 0 All of the views are stored in the same buffer. The sample contains a single buffer. |
Remarks
This enumeration is used with the MFSampleExtension_3DVideo_SampleFormat attribute.
The exact layout of the views in memory is specified by the following media type attributes:
- MF_MT_VIDEO_3D_FORMAT
- MF_MT_VIDEO_3D_FIRST_IS_LEFT
- MF_MT_VIDEO_3D_LEFT_IS_BASE
- MF_MT_VIDEO_3D_NUM_VIEWS
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Header | mfapi.h |
See also
Media Foundation Enumerations