MFFactoryClass Class Members

The following tables list the members exposed by MFFactoryClass.

Public Methods
 NameDescription
Public MethodLoadSettingsLoads settings to an object  
Public MethodMFBufferAllocAllocates a buffer with specified size, and optionally copy memory  
Public MethodMFBufferAllocPacketAllocate and initialized packet with specified size, and optionally copy memory.  
Public MethodMFBufferTransferIPCTransfer buffer from external process to local process (if remote buffer from same process, the same buffer return)  
Public MethodMFDataGetGets ancillary data  
Public MethodMFDataGetByIndexGets data by its index  
Public MethodMFDataSetSets (or updates) a data  
Public MethodMFExternalCreateCreates an object in an external process by its GUID. You can find GUIDs of objects in /Include/MPlatform.idl file in your SDK's directory.  
Public MethodMFExternalDestroyDestroys an external object  
Public MethodMFExternalIsAliveByPIDChecks whether an external object is alive by the object's process ID  
Public MethodMFFrameCloneGets a clone of the frame. See eMFrameClone for more information about clone types. If _fccPixelFormat is not eMFCC_Default and not the original, then video will be copied even for reference frames.
Note: If frame is out-of-prcoess, the clone ALSO out-of-process. You should call MFFrameMakeLocal() for such frames.  
Public MethodMFFrameCreateFromFileCreates a frame from a file  
Public MethodMFFrameCreateFromHBITMAPCreates a frame from a HBitmap object  
Public MethodMFFrameCreateFromMemCreates a frame from memory  
Public MethodMFFrameCreateFromMemExExtended method to create a frame (MFFrame object) from memory  
Public MethodMFFrameCreateFromTextureCreates a MFFrame object from D3D texture  
Public MethodMFFrameCreatePlainCreates a plain (empty) frame  
Public MethodMFFrameCreateWrapperCreates frame from object (e.g. WICBitmapLock, D3D9Surface, MediaSample, NSSBuffer - etc) - just keeps a reference to external object and use memory pointer.  
Public MethodMFFrameMakeLocalMakes a local copy of external frame. For interprocess communication. Before use a frame from another process make sure that you call this method.  
Public MethodMFObjGetGets internal object (added to a frame)  
Public MethodMFObjGetByIndexGets an attached object by its index  
Public MethodMFObjSetSets (updates) an object  
Public MethodMFStrGetGet a string data attached to the MFFrame  
Public MethodMFStrGetByIndexGets a string data by its index  
Public MethodMFStrSetSets (updates) a string attached to MFFrame object  
Public MethodProcessFrameProcesses a frame through an object (a plugin, for instance)  
Public MethodPropsGetGets the properties.  
Public MethodPropsGetByIndexGets the property by its index.  
Public MethodPropsGetCountGets the count of properties.  
Public MethodPropsInfoGetGets information about property  
Public MethodPropsOptionGetGets property from options  
Public MethodPropsOptionGetByIndexGets property option by its index  
Public MethodPropsOptionGetCountGets number of options for the property  
Public MethodPropsOptionSetByIndexSets option property by its index  
Public MethodPropsRemoveRemoves the property.  
Public MethodPropsSetSets the property.  
Public MethodSaveSettingsSaves an object settings  
Public MethodSendersGetGets the sender object by its name.Gets a sender object by its name  
Public MethodSendersGetByIndex Gets a sender by its index  
Public MethodSendersGetCountGets the count of senders.Gets amount of available external objects  
Top
See Also

Reference

MFFactoryClass Class
MPLATFORMLib Namespace