MFORMATSDSLib Namespace > IMFFrame Interface : MFClone Method |
Sub MFClone( _ ByRef _ppCloneFrame As IMFFrame, _ ByVal _eCloneType As eMFrameClone, _ ByVal _fccPixelFormat As eMFCC _ )
void MFClone( out IMFFrame _ppCloneFrame, eMFrameClone _eCloneType, eMFCC _fccPixelFormat )
procedure MFClone( Out _ppCloneFrame: IMFFrame; _eCloneType: eMFrameClone; _fccPixelFormat: eMFCC );
void MFClone( [PARAMFLAG::Out] IMFFrame* _ppCloneFrame, eMFrameClone _eCloneType, eMFCC _fccPixelFormat )
Here is an example of how to make a full clone of a frame:
MFFrame pFrame; m_objLive.SourceFrameConvertedGet(ref m_avProps, -1, out pFrame, ""); MFFrame clonedFrame; pFrame.MFClone(out clonedFrame, eMFrameClone.eMFC_Full, eMFCC.eMFCC_Default);