Media Foundation Functions
In this section
| Topic | Description |
|---|---|
|
Creates an empty property store to hold name/value pairs. | |
|
Creates an empty property store object. | |
|
Returns a DXVA2_Fixed32 structure that contains an opaque alpha value. | |
|
Returns a DXVA2_Fixed32 structure that contains a transparent alpha value. | |
|
Creates an instance of the Direct3D Device Manager. | |
|
Creates a DirectX Video Acceleration (DXVA) services object. | |
|
Converts a DXVA2_Fixed32 value to a floating-point number. | |
|
Converts a floating-point number to a DXVA2_Fixed32 value. | |
|
Creates a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device. | |
|
Sets a callback function to be called at a fixed interval. | |
|
Creates a work queue that is guaranteed to serialize work items. | |
|
Creates a new work queue. | |
|
Creates a new work queue. | |
|
Calculates the frame rate, in frames per second, from the average duration of a video frame. | |
|
Begins an asynchronous request to create a byte stream from a file. | |
|
Associates a work queue with a Multimedia Class Scheduler Service (MMCSS) task. | |
|
Associates a work queue with a Multimedia Class Scheduler Service (MMCSS) task. | |
|
Unregisters a work queue from a Multimedia Class Scheduler Service (MMCSS) task. | |
|
Retrieves the image size for a video format. | |
|
Retrieves the image size, in bytes, for an uncompressed video format. | |
|
Cancels an asynchronous request to create a byte stream from a file. | |
|
Attempts to cancel an asynchronous operation that was scheduled with MFScheduleWorkItem or MFScheduleWorkItemEx. | |
|
Compares a full media type to a partial media type. | |
|
Sets the extended color information in a MFVIDEOFORMAT structure. | |
|
Converts the extended color information from an MFVIDEOFORMAT to the equivalent DirectX Video Acceleration (DXVA) color information. | |
|
Converts an array of 16-bit floating-point numbers into an array of 32-bit floating-point numbers. | |
|
Converts an array of 32-bit floating-point numbers into an array of 16-bit floating-point numbers. | |
|
Copies an image or image plane from one buffer to another. | |
|
Creates a system-memory buffer object to hold 2D image data. | |
|
Creates a media sink for authoring 3GP files. | |
|
Creates an instance of the AC-3 media sink. | |
|
Creates an instance of the audio data transport stream (ADTS) media sink. | |
|
Creates a media source that aggregates a collection of media sources. | |
|
Allocates system memory with a specified byte alignment and creates a media buffer to manage the memory. | |
|
Creates a DirectShow AM_MEDIA_TYPE structure from a Media Foundation media type. | |
|
Creates the ASF Header Object object. | |
|
Creates the ASF Indexer object. | |
|
Creates a byte stream to access the index in an ASF stream. | |
|
Creates the ASF media sink. | |
|
Creates an activation object that can be used to create the ASF media sink. | |
|
Creates the ASF Multiplexer. | |
|
Creates the ASF profile object. | |
|
Creates an ASF profile object from a presentation descriptor. | |
|
Creates the ASF Splitter. | |
|
Creates an activation object for the ASF streaming sink. | |
|
Creates an activation object for the ASF streaming sink. | |
|
Creates the ASF stream selector. | |
|
Creates an asynchronous result object. Use this function if you are implementing an asynchronous method. | |
|
Creates an empty attribute store. | |
|
Creates an audio media type from a WAVEFORMATEX structure. | |
|
Creates the Streaming Audio Renderer. | |
|
Creates an activation object for the Streaming Audio Renderer. | |
|
Creates an instance of the capture engine. | |
|
Creates an empty collection object. | |
|
Creates a credential cache object. An application can use this object to implement a custom credential manager. | |
|
Creates a media source for a hardware capture device. | |
|
Creates an activation object that represents a hardware capture device. | |
|
Creates an instance of the Microsoft DirectX Graphics Infrastructure (DXGI) Device Manager. | |
|
Creates a media buffer to manage a DXGI surface. | |
|
Creates a media buffer object that manages a Direct3D 9 surface. | |
|
Creates an event queue. | |
|
Creates a byte stream from a file. | |
|
Creates a media sink for authoring fragmented MP4 files. | |
|
Converts a Media Foundation media buffer into a buffer that is compatible with DirectX Media Objects (DMOs). | |
|
Allocates a system-memory buffer that is optimal for a specified media type. | |
|
Creates a media buffer that wraps an existing media buffer. | |
|
Creates a media event object. | |
|
Creates an activation object for a Windows Runtime class. | |
|
Creates the Media Session in the application's process. | |
|
Creates an empty media type. | |
|
Create an IMFMediaType from properties. | |
|
Creates a Media Foundation media type from another format representation. | |
|
Allocates system memory and creates a media buffer to manage it. | |
|
Creates a Microsoft Media Foundation byte stream that wraps an IStream pointer. | |
|
Creates a Media Foundation byte stream that wraps an IRandomAccessStream object. | |
|
Creates a wrapper for a byte stream. | |
|
Creates an MFVIDEOFORMAT structure from a video media type. | |
|
Creates a byte-stream handler for the MP3 media source. | |
|
Creates the MP3 media sink. | |
|
Creates a media sink for authoring MP4 files. | |
|
Creates a generic media sink that wraps a multiplexer Media Foundation transform (MFT). | |
|
Creates the scheme handler for the network source. | |
|
Converts a file URL to a Microsoft MS-DOS path. | |
|
Creates an instance of the Media Session inside a Protected Media Path (PMP) process. | |
|
Creates the protected media path (PMP) server object. | |
|
Creates the presentation clock. | |
|
Creates a presentation descriptor. | |
|
Creates a presentation descriptor from an ASF profile object. | |
|
Creates properties from a IMFMediaType. | |
|
Creates an IMFProtectedEnvironmentAccess object that allows content protection systems to perform a handshake with the protected environment. | |
|
Creates a default proxy locator. | |
|
Creates the remote desktop plug-in object. Use this object if the application is running in a Terminal Services client session. | |
|
Creates an empty media sample. | |
|
Creates an instance of the sample copier transform. | |
|
Creates an activation object for the sample grabber media sink. | |
|
Creates a PROPVARIANT that can be used to seek within a sequencer source presentation. | |
|
Creates the sequencer source. | |
|
Creates a media-type handler that supports a single media type at a time. | |
|
Creates the sink writer from a media sink. | |
|
Creates the sink writer from a URL or byte stream. | |
|
Creates the source reader from a byte stream. | |
|
Creates the source reader from a media source. | |
|
Creates the source reader from a URL. | |
|
Creates the source resolver, which is used to create a media source from a URL or byte stream. | |
|
Creates the default implementation of the quality manager. | |
|
Creates a stream descriptor. | |
|
Returns an IStream pointer that wraps a Media Foundation byte stream. | |
|
Creates an IRandomAccessStream object that wraps a Media Foundation byte stream. | |
|
Creates a presentation time source that is based on the system time. | |
|
Creates a byte stream that is backed by a temporary local file. | |
|
Creates a new instance of the topology loader. | |
|
Creates a topology object. | |
|
Creates a topology node. | |
|
Creates an IMFTrackedSample object that tracks the reference counts on a video media sample. | |
|
Creates an empty transcode profile object. | |
|
Creates the transcode sink activation object. | |
|
Creates a partial transcode topology. | |
|
Creates a topology for transcoding to a byte stream. | |
|
Creates a generic activation object for Media Foundation transforms (MFTs). | |
|
Converts a Microsoft MS-DOS path to a canonicalized URL. | |
|
Creates a video media type from an MFVIDEOFORMAT structure. | |
|
This function is not implemented. | |
|
Creates a video media type from a BITMAPINFOHEADER structure. | |
|
Creates a partial video media type with a specified subtype. | |
|
Creates a media type from a KS_VIDEOINFOHEADER structure. | |
|
Creates a media type from a KS_VIDEOINFOHEADER2 structure. | |
|
Creates the default video mixer for the enhanced video renderer (EVR). | |
|
Creates the default video mixer and video presenter for the enhanced video renderer (EVR). | |
|
Creates the default video presenter for the enhanced video renderer (EVR). | |
|
Creates an instance of the enhanced video renderer (EVR) media sink. | |
|
Creates an activation object for the enhanced video renderer (EVR) media sink. | |
|
Creates an object that allocates video samples. | |
|
Creates an object that allocates video samples that are compatible with DXGI. | |
|
Creates a media sample that manages a Direct3D surface. | |
|
Converts a Media Foundation audio media type to a WAVEFORMATEX structure. | |
|
Creates a media buffer object that manages a Windows Imaging Component (WIC) | |
|
Creates an activation object that can be used to create a Windows Media Audio (WMA) encoder. | |
|
Creates an activation object that can be used to create a Windows Media Video (WMV) encoder. | |
|
Loads attributes from a stream into an attribute store. | |
|
Deserializes a presentation descriptor from a byte array. | |
|
Completes an asynchronous request to create a byte stream from a file. | |
|
Completes an asynchronous request to associate a work queue with a Multimedia Class Scheduler Service (MMCSS) task. | |
|
Completes an asynchronous request to unregister a work queue from a Multimedia Class Scheduler Service (MMCSS) task. | |
|
Enumerates a list of audio or video capture devices. | |
|
Converts a video frame rate into a frame duration. | |
|
Gets an attribute whose value is two UINT32 values packed into a UINT64. | |
|
Returns a double value from an attribute store, or a default value if the attribute is not present. | |
|
Retrieves an attribute whose value is a ratio. | |
|
Converts the contents of an attribute store to a byte array. | |
|
Retrieves the size of the buffer needed for the MFGetAttributesAsBlob function. | |
|
Retrieves an attribute whose value is a size, expressed as a width and height. | |
|
Gets a string value from an attribute store. | |
|
Returns a UINT32 value from an attribute store, or a default value if the attribute is not present. | |
|
Returns a UINT64 value from an attribute store, or a default value if the attribute is not present. | |
|
Gets the class identifier for a content protection system. | |
|
Gets the local system ID. | |
|
Gets the merit value of a hardware codec. | |
|
Retrieves the image size, in bytes, for an uncompressed video format. | |
|
Gets a pointer to the Media Foundation plug-in manager. | |
|
Queries an object for a specified service interface. | |
|
Calculates the minimum surface stride for a video format. | |
|
Retrieves the MIME types that are registered for the source resolver. | |
|
Retrieves the URL schemes that are registered for the source resolver. | |
|
Returns an IMFSystemId object for retrieving system id data. | |
|
Returns the system time. | |
|
Retrieves the timer interval for the MFAddPeriodicCallback function. | |
|
Gets the media type for a stream associated with a topology node. | |
|
Returns the FOURCC or D3DFORMAT value for an uncompressed video format. | |
|
Retrieves the Multimedia Class Scheduler Service (MMCSS) class currently associated with this work queue. | |
|
Gets the relative thread priority of a work queue. | |
|
Retrieves the Multimedia Class Scheduler Service (MMCSS) task identifier currently associated with this work queue. | |
|
Allocates a block of memory. | |
|
Frees a block of memory that was allocated by calling the MFHeapAlloc function. | |
|
Initializes a DirectShow AM_MEDIA_TYPE structure from a Media Foundation media type. | |
|
Initializes the contents of an attribute store from a byte array. | |
|
Initializes a media type from a DirectShow AM_MEDIA_TYPE structure. | |
|
Initializes a media type from an MFVIDEOFORMAT structure. | |
|
Initializes a media type from a DirectShow MPEG1VIDEOINFO structure. | |
|
Initializes a media type from a DirectShow MPEG2VIDEOINFO structure. | |
|
Initializes a media type from a DirectShow VIDEOINFOHEADER structure. | |
|
Initializes a media type from a DirectShow VIDEOINFOHEADER2 structure. | |
|
Initializes a media type from a WAVEFORMATEX structure. | |
|
Initializes an MFVIDEOFORMAT structure for a standard video format such as DVD, analog television, or ATSC digital television. | |
|
Initializes an MFVIDEOFORMAT structure for an uncompressed RGB video format. | |
|
Invokes a callback method to complete an asynchronous operation. | |
|
Queries whether a FOURCC code or D3DFORMAT value is a YUV format. | |
|
Calculates ((a * b) + d) / c, where each term is a 64-bit signed value. | |
|
Loads a dynamic link library that is signed for the protected environment. | |
|
Locks the shared DXGI Device Manager. | |
|
Blocks the MFShutdown function. | |
|
Obtains and locks a shared work queue. | |
|
Locks a work queue. | |
|
Converts a Microsoft Direct3D 9 format identifier to a DXGI format identifier. | |
|
Converts a DXGI format identifier to a Direct3D 9 format identifier. | |
|
Creates a new instance of the MFPlay player object. | |
|
Callback function for the MFAddPeriodicCallback function. | |
|
Queues a work item that waits for an event to be signaled. | |
|
Puts an asynchronous operation on a work queue. | |
|
Puts an asynchronous operation on a work queue, with a specified priority. | |
|
Puts an asynchronous operation on a work queue. | |
|
Puts an asynchronous operation on a work queue, with a specified priority. | |
|
Registers a byte-stream handler in the caller's process. | |
|
Registers a scheme handler in the caller's process. | |
|
Registers the standard Media Foundation platform work queues with the Multimedia Class Scheduler Service (MMCSS). | |
|
Cancels a callback function that was set by the MFAddPeriodicCallback function. | |
|
Queries whether a media presentation requires the Protected Media Path (PMP). | |
|
Schedules an asynchronous operation to be completed after a specified interval. | |
|
Schedules an asynchronous operation to be completed after a specified interval. | |
|
Writes the contents of an attribute store to a stream. | |
|
Serializes a presentation descriptor to a byte array. | |
|
Packs two UINT32 values into a UINT64 attribute value. | |
|
Sets a ratio as a 64-bit attribute value. | |
|
Sets width and height as a single 64-bit attribute value. | |
|
Shuts down the Media Foundation platform. | |
|
Shuts down a Media Foundation object and releases all resources associated with the object. | |
|
Initializes Media Foundation. | |
|
Enumerates Media Foundation transforms (MFTs) in the registry. | |
|
Gets a list of Media Foundation transforms (MFTs) that match specified search criteria. This function extends the MFTEnum function. | |
|
Gets information from the registry about a Media Foundation transform (MFT). | |
|
Gets a list of output formats from an audio encoder. | |
|
Adds information about a Media Foundation transform (MFT) to the registry. | |
|
Registers a Media Foundation transform (MFT) in the caller's process. | |
|
Registers a Media Foundation transform (MFT) in the caller's process. | |
|
Unregisters a Media Foundation transform (MFT). | |
|
Unregisters one or more Media Foundation transforms (MFTs) from the caller's process. | |
|
Unregisters a Media Foundation transform (MFT) from the caller's process. | |
|
Unlocks the shared DXGI Device Manager. | |
|
Unlocks the Media Foundation platform after it was locked by a call to the MFLockPlatform function. | |
|
Unlocks a work queue. | |
|
Unregisters the Media Foundation platform work queues from a Multimedia Class Scheduler Service (MMCSS) task. | |
|
Retrieves a media type that was wrapped in another media type by the MFWrapMediaType function. | |
|
Validates the size of a buffer for a video format block. | |
|
Creates a media type that wraps another media type. | |
|
Packs two UINT32 values into a UINT64 value. | |
|
Packs two UINT32 values, which represent a ratio, into a UINT64 value. | |
|
Packs a UINT32 width value and a UINT32 height value into a UINT64 value that represents a size. | |
|
Creates an instance of a software plug-in DXVA-HD device. | |
|
Creates a software DXVA-HD video processor plug-in. | |
|
Destroys an instance of a software plug-in DXVA-HD device. | |
|
Destroys a sofware DXVA-HD video processor. | |
|
Gets a private blit state from a software DXVA-HD video processor. | |
|
Gets the capabilities of one or more software DXVA-HD video processors. | |
|
Gets the custom rates that a software DXVA-HD video processor supports. | |
|
Gets the capabilities of a software plug-in DXVA-HD device. | |
|
Gets the supported range of image filter values from a software plug-in DXVA-HD device. | |
|
Gets the input formats that are supported by a software plug-in DXVA-HD device. | |
|
Gets the output formats that are supported by a software plug-in DXVA-HD device. | |
|
Gets a private stream state from a software DXVA-HD video processor. | |
|
Pointer to a function that initializes a software plug-in device for DXVA-HD. | |
|
Gets a private surface format from a software plug-in DXVA-HD device. | |
|
Sets a state parameter for blit operations by a software DXVA-HD video processor. | |
|
Sets a state parameter for an input stream on a software DXVA-HD video processor. | |
|
Performs a video processing blit. | |
|
Gets the low-order and high-order UINT32 values from a UINT64 value. | |
|
Gets the low-order and high-order UINT32 values from a UINT64 value that represents a ratio. | |
|
Gets the low-order and high-order UINT32 values from a UINT64 value that represnets a size. |
Related topics
Send comments about this topic to Microsoft
Build date: 11/28/2012