MFactoryClass Class Methods

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

Public Methods
 NameDescription
Public MethodFramesCreateCreates frame with specified maximum video storage size (video+ancillary data)  
Public MethodFramesCreateFromFileCreates a frame from image file (BMP, JPG, PNG, TIFF).  
Public MethodFramesCreateFromHBITMAPCreates a frame from handle of bitmap  
Public MethodFramesCreateFromMemCreates frame from memory.  
Public MethodFramesCreateFromSurfaceCreates a frame from surface (Direct3D object). Not implemented yet.  
Public MethodFramesMakeLocalUses for interprocess communication. Note: before use a frame from other process make sure that you call this method.  
Public MethodMComposerCreatecreates MComposer 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 MethodMFExternalCreate  
Public MethodMFExternalDestroy  
Public MethodMFExternalIsAliveByPID  
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 MethodMFileCreatecreates MFile object  
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 MethodMLiveCreatecreates MLive object  
Public MethodMMixerCreatecreates MMixer object  
Public MethodMPlaylistCreatecreates MPlaylist object  
Public MethodMPreviewCreatecreates MPreview object  
Public MethodMProxyCreatecreates MProxy object  
Public MethodMRendererCreatecreates MRenderer object  
Public MethodMWriterCreatecreates MWriter object  
Public MethodObjectCreatecreates a common object  
Top
See Also

Reference

MFactoryClass Class
MPLATFORMLib Namespace