MFFactoryClass Class Methods

For a list of all members of this type, see MFFactoryClass members.

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 MethodProcessFrameProcess frame  
Public MethodPropsGetGets object's property.  
Public MethodPropsGetByIndexGets a property's name and value by property's index.  
Public MethodPropsGetCountGets count of properties in a selected node  
Public MethodPropsInfoGetGets information of required type about a selected property  
Public MethodPropsOptionGetGets property option  
Public MethodPropsOptionGetByIndexGets an option for a property  
Public MethodPropsOptionGetCountGets a number of available option for a selected property  
Public MethodPropsOptionSetByIndexSets a property's option by the option's index  
Public MethodPropsRemoveRemoves a selected property  
Public MethodPropsSetSets a current property's value  
Public MethodSaveSettingsSaves an object settings  
Public MethodSendersGetGets a sender object by its name  
Public MethodSendersGetByIndexGets a sender by its index  
Public MethodSendersGetCountGets amount of available external objects  
Top
See Also

Reference

MFFactoryClass Class
MFORMATSLib Namespace