Media Foundation Enumerations

In this section

Topic Description
_MFDepthMeasurement
Specifies the measurement system for a depth value in a video frame.
_MF_CROSS_ORIGIN_POLICY
Maps to the W3C cross origin settings (CORS) attribute used by the HTML5 media element
_MFP_CREATION_OPTIONS
Specifies options for the MFPCreateMediaPlayer function.
_MFP_CREDENTIAL_FLAGS
Contains flags for the MFP_ACQUIRE_USER_CREDENTIAL_EVENT structure.
_MFP_MEDIAITEM_CHARACTERISTICS
Contains flags that describe a media item.
_MFT_DRAIN_TYPE
Not supported.
_MFT_ENUM_FLAG
Contains flags for registering and enumeration Media Foundation transforms (MFTs).
_MFT_INPUT_DATA_BUFFER_FLAGS
Defines flags for the IMFTransform::ProcessInput method. Currently no flags are defined.
_MFT_INPUT_STATUS_FLAGS
Indicates the status of an input stream on a Media Foundation transform (MFT).
_MFT_INPUT_STREAM_INFO_FLAGS
Describes an input stream on a Media Foundation transform (MFT).
_MFT_OUTPUT_DATA_BUFFER_FLAGS
Defines flags for the IMFTransform::ProcessOutput method.
_MFT_OUTPUT_STATUS_FLAGS
Indicates whether a Media Foundation transform (MFT) can produce output data.
_MFT_OUTPUT_STREAM_INFO_FLAGS
Describes an output stream on a Media Foundation transform (MFT).
_MFT_PROCESS_OUTPUT_FLAGS
Defines flags for processing output samples in a Media Foundation transform (MFT).
_MFT_PROCESS_OUTPUT_STATUS
Indicates the status of a call to IMFTransform::ProcessOutput.
_MFT_SET_TYPE_FLAGS
Defines flags for the setting or testing the media type on a Media Foundation transform (MFT).
AEC_SYSTEM_MODE
Specifies the processing mode for the voice capture DSP. This enumeration is used with the MFPKEY_WMAAECMA_SYSTEM_MODE property.
AEC_VAD_MODE
Specifies the type of voice activity detection (VAD) for the voice capture DSP. This enumeration is used with the MFPKEY_WMAAECMA_FEATR_VAD property.
ASF_SELECTION_STATUS
Defines the selection options for an ASF stream.
ASF_STATUSFLAGS
Defines status conditions for the IMFASFSplitter::GetNextSample method.
DXVA2_NominalRange
Describes how to map color data to a normalized [0...1] range.
DXVA2_SampleFormat
Describes the content of a video sample. These flags are used in the DXVA2_ExtendedFormat structure.
DXVA2_SurfaceType
Describes a DirectX surface type for DirectX Video Acceleration (DXVA).
DXVA2_VideoChromaSubSampling
Describes how chroma values are positioned relative to the luma samples in a YUV video frame.
DXVA2_VideoLighting
Describes the intended lighting conditions for viewing video content.
DXVA2_VideoPrimaries
Specifies the color primaries of a video source.
DXVA2_VideoTransferFunction
Specifies the conversion function from linear RGB to non-linear RGB (R'G'B').
DXVA2_VideoTransferMatrix
Describes the conversion matrices between Y'PbPr (component video) and studio R'G'B'.
eAVDecDDStereoDownMixMode
Specifies the stereo downmix mode for a Dolby Digital audio decoder.
eAVEncAdaptiveMode
Specifies the adaptive encoding mode for a video encoder.
eAVEncH264PictureType
Specifies values for the H.264 picture type.
eAVEncH264PictureType
Specifies the type of picture that is output by a video encoder.
eAVEncH264VLevel
Specifies an H.264 encoding level.
eAVEncH264VProfile
Specifies an H.264 video profile.
eAVEncVideoContentType
Specifies the type of video content.
EVRFilterConfigPrefs
Contains flags that are used to configure the Microsoft DirectShow enhanced video renderer (EVR) filter.
MF_ATTRIBUTE_SERIALIZE_OPTIONS
Defines flags for serializing and deserializing attribute stores.
MF_ATTRIBUTE_TYPE
Defines the data type for a key/value pair.
MF_ATTRIBUTES_MATCH_TYPE
Specifies how to compare the attributes on two objects.
MF_CAPTURE_ENGINE_DEVICE_TYPE Enumeration
Specifies a type of capture device.
MF_CAPTURE_ENGINE_SINK_TYPE Enumeration
Specifies a type of capture sink.
MF_CAPTURE_ENGINE_STREAM_CATEGORY Enumeration
Defines the values for the source stream category.
MF_CONNECT_METHOD
Specifies how the topology loader connects a topology node.
MF_CUSTOM_DECODE_UNIT_TYPE enumeration
Specifies the type of unit contained in an IMFSample in a MFSampleExtension_ForwardedDecodeUnits collection.
MF_FILE_ACCESSMODE
Specifies the requested access mode for opening a file.
MF_FILE_FLAGS
Specifies the behavior when opening a file.
MF_FILE_OPENMODE
Specifies how to open or create a file.
MF_MEDIA_ENGINE_CANPLAY
Specifies the likelihood that the Media Engine can play a specified type of media resource.
MF_MEDIA_ENGINE_CREATEFLAGS
Contains flags for the IMFMediaEngineClassFactory::CreateInstance method.
MF_MEDIA_ENGINE_ERR
Defines error status codes for the Media Engine.
MF_MEDIA_ENGINE_EVENT
Defines event codes for the Media Engine.
MF_MEDIA_ENGINE_EXTENSION_TYPE
Specifies media engine extension types.
MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS
Specifies the content protection requirements for a video frame.
MF_MEDIA_ENGINE_KEYERR
Defines media key error codes for the media engine.
MF_MEDIA_ENGINE_NETWORK
Defines network status codes for the Media Engine.
MF_MEDIA_ENGINE_OPM_STATUS
Defines the status of the Output Protection Manager (OPM).
MF_MEDIA_ENGINE_PRELOAD
Defines preload hints for the Media Engine.
MF_MEDIA_ENGINE_PROTECTION_FLAGS
Contains flags that specify whether the Media Engine will play protected content, and whether the Media Engine will use the Protected Media Path (PMP).
MF_MEDIA_ENGINE_READY
Defines ready-state values for the Media Engine.
MF_MEDIA_ENGINE_S3D_PACKING_MODE
Specifies the layout for a packed 3D video frame.
MF_MEDIA_ENGINE_SEEK_MODE
Defines values for the media engine seek mode.
MF_MEDIA_ENGINE_STATISTIC
Identifies statistics that the Media Engine tracks during playback.
MF_MEDIA_ENGINE_STREAMTYPE_FAILED
Identifies the kind of media stream that failed.
MF_MSE_ERROR
Defines the different error states of the Media Source Extension.
MF_MSE_READY
Defines the different ready states of the Media Source Extension.
MF_OBJECT_TYPE
Defines the object types that are created by the source resolver.
MF_OPM_ACP_PROTECTION_LEVEL
Defines protection levels for MFPROTECTION_ACP.
MF_OPM_CGMSA_PROTECTION_LEVEL
Defines protection levels for MFPROTECTION_CGMSA.
MF_PLUGIN_CONTROL_POLICY
Defines policy settings for the IMFPluginControl2::SetPolicy method.
MF_Plugin_Type
Specifies the object type for the IMFPluginControl interface.
MF_QUALITY_ADVISE_FLAGS
Contains flags for the IMFQualityAdvise2::NotifyQualityEvent method.
MF_QUALITY_DROP_MODE
Specifies how aggressively a pipeline component should drop samples.
MF_QUALITY_LEVEL
Specifies the quality level for a pipeline component.
MF_SHARING_ENGINE_EVENT
Defines events that are sent by the sharing engine.
MF_SOURCE_READER_CONTROL_FLAG
Contains flags for the IMFSourceReader::ReadSample method.
MF_SOURCE_READER_FLAG
Contains flags that indicate the status of the IMFSourceReader::ReadSample method.
MF_TIMED_TEXT_ALIGNMENT
Specifies how text is aligned in its parent block element.
MF_TIMED_TEXT_CUE_EVENT
Specifies the type of a timed text cue event.
MF_TIMED_TEXT_DECORATION
Specifies how text is decorated (underlined and so on).
MF_TIMED_TEXT_DISPLAY_ALIGNMENT
Specifies how text is aligned with the display.
MF_TIMED_TEXT_ERROR_CODE
Specifies the kind error that occurred with a timed text track.
MF_TIMED_TEXT_FONT_STYLE
Specifies the font style of the timed text.
MF_TIMED_TEXT_SCROLL_MODE
Specifies how text appears when the parent element is scrolled.
MF_TIMED_TEXT_TRACK_KIND
Specifies the kind of timed text track.
MF_TIMED_TEXT_UNIT_TYPE
Specifies the units in which the timed text is measured.
MF_TIMED_TEXT_WRITING_MODE
Specifies the sequence in which text is written on its parent element.
MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS
Defines status flags for the MF_TOPOLOGY_RESOLUTION_STATUS attribute.
MF_TOPOLOGY_TYPE
Defines the type of a topology node.
MF_TOPONODE_DRAIN_MODE
Defines at what times a transform in a topology is drained.
MF_TOPONODE_FLUSH_MODE
Defines when a transform in a topology is flushed.
MF_TOPOSTATUS
Specifies the status of a topology during playback.
MF_TRANSCODE_ADJUST_PROFILE_FLAGS
Defines the profile flags that are set in the MF_TRANSCODE_ADJUST_PROFILE attribute.
MF_TRANSCODE_TOPOLOGYMODE_FLAGS
Defines flags for the MF_TRANSCODE_TOPOLOGYMODE attribute.
MF_URL_TRUST_STATUS
Indicates whether the URL is from a trusted source.
MF_VIDEO_PROCESSOR_ALGORITHM_TYPE
Defines algorithms for the video processor which is use by MF_VIDEO_PROCESSOR_ALGORITHM.
MF_VIDEO_PROCESSOR_MIRROR
Specifies how to flip a video image.
MF_VIDEO_PROCESSOR_ROTATION
Specifies how to rotate a video image.
MF2DBuffer_LockFlags
Contains flags for the IMF2DBuffer2::Lock2DSize method.
MF3DVideoOutputType
Specifies how to output a 3D stereoscopic video stream.
MFASF_INDEXER_FLAGS
Defines the ASF indexer options.
MFASF_MULTIPLEXERFLAGS
Defines the ASF multiplexer options.
MFASF_SPLITTERFLAGS
Defines the ASF splitter options.
MFASF_STREAMSELECTOR_FLAGS
Defines the ASF stream selector options.
MFASYNC_WORKQUEUE_TYPE
Specifies the type of work queue for the MFAllocateWorkQueueEx function to create.
MFAudioConstriction
Specifies values for audio constriction.
MFBYTESTREAM_SEEK_ORIGIN
Specifies the origin for a seek request.
MFCLOCK_CHARACTERISTICS_FLAGS
Contains flags that describe the characteristics of a clock.
MFCLOCK_RELATIONAL_FLAGS
Defines properties of a clock.
MFCLOCK_STATE
Defines the state of a clock.
MFFrameSourceTypes
Describes the type of data provided by a frame source.
MFMEDIASOURCE_CHARACTERISTICS
Defines the characteristics of a media source.
MFNET_PROXYSETTINGS
Specifies how the default proxy locator will specify the connection settings to a proxy server.
MFNetAuthenticationFlags
Specifies how the user's credentials will be used.
MFNetCredentialOptions
Describes options for the caching network credentials.
MFNetCredentialRequirements
Specifies how the credential manager should obtain user credentials.
MFNETSOURCE_CACHE_STATE
Defines the status of the cache for a media file or entry.
MFNETSOURCE_PROTOCOL_TYPE
Indicates the type of control protocol that is used in streaming or downloading.
MFNETSOURCE_STATISTICS_IDS
Defines statistics collected by the network source.
MFNETSOURCE_TRANSPORT_TYPE
Describes the type of transport used in streaming or downloading data (TCP or UDP).
MFNominalRange
Specifies whether color data includes headroom and toeroom.
MFP_EVENT_TYPE
Defines event types for the IMFPMediaPlayerCallback interface.
MFP_MEDIAPLAYER_STATE
Specifies the current playback state.
MFPMPSESSION_CREATION_FLAGS
Contains flags that define the behavior of the MFCreatePMPMediaSession function.
MFPOLICYMANAGER_ACTION
Defines actions that can be performed on a stream.
MFRATE_DIRECTION
Specifies the direction of playback (forward or reverse).
MFSampleEncryptionProtectionScheme
Specifies the supported protection schemes for encrypted samples.
MFSensorDeviceType
Specifies the type of a sensor device. A value from this enumeration is returned by IMFSensorDevice::GetDeviceType.
MFSensorStreamType
Specifies whether a stream associated with an IMFSensorDevice is an input or an output stream.
MFSensorDeviceMode
Specifies the sharing mode of an IMFSensorDevice.
MFSequencerTopologyFlags
Contains flags for adding a topology to the sequencer source, or updating a topology already in the queue.
MFSESSION_GETFULLTOPOLOGY_FLAGS
Defines flags for the IMFMediaSession::GetFullTopology method.
MFSESSION_SETTOPOLOGY_FLAGS
Defines the behavior of the IMFMediaSession::SetTopology method.
MFSHUTDOWN_STATUS
Describes the current status of a call to the IMFShutdown::Shutdown method.
MFSINK_WMDRMACTION
Specifies how the ASF file sink should apply Windows Media DRM.
MFStandardVideoFormat
Contains values that specify common video formats.
MFSTREAMSINK_MARKER_TYPE
Defines stream marker information for the IMFStreamSink::PlaceMarker method.
MFT_MESSAGE_TYPE
Defines messages for a Media Foundation transform (MFT).
MFTIMER_FLAGS
Contains flags for the IMFTimer::SetTimer method.
MFTOPOLOGY_DXVA_MODE
Specifies whether the topology loader enables Microsoft DirectX Video Acceleration (DXVA) in the topology.
MFTOPOLOGY_HARDWARE_MODE
Specifies whether the topology loader will insert hardware-based Media Foundation transforms (MFTs) into the topology.
MFVideo3DFormat
Specifies how 3D video frames are stored in memory.
MFVideo3DFormat
Specifies how 3D video frames are stored in memory.
MFVideo3DSampleFormat
Specifies how a 3D video frame is stored in a media sample.
MFVideo3DSampleFormat
Specifies how a 3D video frame is stored in a media sample.
MFVideoAlphaBitmapFlags
Defines flags for the MFVideoAlphaBitmapParams structure.
MFVideoAspectRatioMode
Specifies the aspect-ratio mode.
MFVideoChromaSubsampling
Contains flags that define the chroma encoding scheme for Y'Cb'Cr' data.
MFVideoDRMFlags
Specifies the type of copy protection required for a video stream.
MFVideoDSPMode
Specifies the processing mode of the Video Stabilization MFT.
MFVideoFlags
Contains flags that describe a video stream.
MFVideoInterlaceMode
Specifies how a video stream is interlaced.
MFVideoLighting
Describes the optimal lighting for viewing a particular set of video content.
MFVideoMixPrefs
Contains flags that are used to configure how the enhanced video renderer (EVR) performs deinterlacing.
MFVideoPadFlags
Specifies whether to pad a video image so that it fits within a specified aspect ratio.
MFVideoPrimaries
Specifies the color primaries of a video source.
MFVideoRenderPrefs
Contains flags that define how the enhanced video renderer (EVR) displays the video.
MFVideoRotationFormat
Describes the rotation of the video image in the counter-clockwise direction.
MFVideoSrcContentHintFlags
Describes the intended aspect ratio for a video stream.
MFVideoTransferFunction
Specifies the conversion function from linear RGB to non-linear RGB (R'G'B').
MFVideoTransferMatrix
Describes the conversion matrices between Y'PbPr (component video) and studio R'G'B'.
MFVP_MESSAGE_TYPE
Defines messages for an enhanced video renderer (EVR) presenter.
MFWaveFormatExConvertFlags
Contains flags that specify how to convert an audio media type.
MIC_ARRAY_MODE
Specifies how the voice capture DSP performs microphone array processing. This enumeration is used with the MFPKEY_WMAAECMA_FEATR_MICARR_MODE property.
PLAYTO_SOURCE_CREATEFLAGS
Contains flags for the IPlayToSourceClassFactory::CreateInstance method.
SAMPLE_PROTECTION_VERSION
Defines the version number for sample protection.
WMT_PROP_DATATYPE
Defines the data types used for the codec and DSP properties that are accessed by using the methods of the IWMCodecProps interface.

 

Media Foundation Programming Reference