MFramesClass Class Methods

For a list of all members of this type, see MFramesClass 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 MethodFramesMakeLocal
 
Public MethodLoadSettingsLoads settings to an object  
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 MethodSaveSettingsSaves an object settings  
Top
See Also

Reference

MFramesClass Class
MPLATFORMLib Namespace