Interface IMFTransform
Namespace: MediaFoundation.Transform
Assembly: MediaFoundation.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("BF94C121-5B05-4E6F-8000-BA598961414D")]
public interface IMFTransform
Methods
AddInputStreams(Int32, Int32[])
Declaration
HResult AddInputStreams(int cStreams, int[] adwStreamIDs)
Parameters
System.Int32
cStreams
|
System.Int32[]
adwStreamIDs
|
Returns
HResult
|
DeleteInputStream(Int32)
Declaration
HResult DeleteInputStream(int dwStreamID)
Parameters
System.Int32
dwStreamID
|
Returns
HResult
|
GetAttributes(out IMFAttributes)
Declaration
HResult GetAttributes(out IMFAttributes pAttributes)
Parameters
IMFAttributes
pAttributes
|
Returns
HResult
|
GetInputAvailableType(Int32, Int32, out IMFMediaType)
Declaration
HResult GetInputAvailableType(int dwInputStreamID, int dwTypeIndex, out IMFMediaType ppType)
Parameters
System.Int32
dwInputStreamID
|
System.Int32
dwTypeIndex
|
IMFMediaType
ppType
|
Returns
HResult
|
GetInputCurrentType(Int32, out IMFMediaType)
Declaration
HResult GetInputCurrentType(int dwInputStreamID, out IMFMediaType ppType)
Parameters
System.Int32
dwInputStreamID
|
IMFMediaType
ppType
|
Returns
HResult
|
GetInputStatus(Int32, out MFTInputStatusFlags)
Declaration
HResult GetInputStatus(int dwInputStreamID, out MFTInputStatusFlags pdwFlags)
Parameters
System.Int32
dwInputStreamID
|
MFTInputStatusFlags
pdwFlags
|
Returns
HResult
|
GetInputStreamAttributes(Int32, out IMFAttributes)
Declaration
HResult GetInputStreamAttributes(int dwInputStreamID, out IMFAttributes pAttributes)
Parameters
System.Int32
dwInputStreamID
|
IMFAttributes
pAttributes
|
Returns
HResult
|
GetInputStreamInfo(Int32, out MFTInputStreamInfo)
Declaration
HResult GetInputStreamInfo(int dwInputStreamID, out MFTInputStreamInfo pStreamInfo)
Parameters
System.Int32
dwInputStreamID
|
MFTInputStreamInfo
pStreamInfo
|
Returns
HResult
|
GetOutputAvailableType(Int32, Int32, out IMFMediaType)
Declaration
HResult GetOutputAvailableType(int dwOutputStreamID, int dwTypeIndex, out IMFMediaType ppType)
Parameters
System.Int32
dwOutputStreamID
|
System.Int32
dwTypeIndex
|
IMFMediaType
ppType
|
Returns
HResult
|
GetOutputCurrentType(Int32, out IMFMediaType)
Declaration
HResult GetOutputCurrentType(int dwOutputStreamID, out IMFMediaType ppType)
Parameters
System.Int32
dwOutputStreamID
|
IMFMediaType
ppType
|
Returns
HResult
|
GetOutputStatus(out MFTOutputStatusFlags)
Declaration
HResult GetOutputStatus(out MFTOutputStatusFlags pdwFlags)
Parameters
MFTOutputStatusFlags
pdwFlags
|
Returns
HResult
|
GetOutputStreamAttributes(Int32, out IMFAttributes)
Declaration
HResult GetOutputStreamAttributes(int dwOutputStreamID, out IMFAttributes pAttributes)
Parameters
System.Int32
dwOutputStreamID
|
IMFAttributes
pAttributes
|
Returns
HResult
|
GetOutputStreamInfo(Int32, out MFTOutputStreamInfo)
Declaration
HResult GetOutputStreamInfo(int dwOutputStreamID, out MFTOutputStreamInfo pStreamInfo)
Parameters
System.Int32
dwOutputStreamID
|
MFTOutputStreamInfo
pStreamInfo
|
Returns
HResult
|
GetStreamCount(MFInt, MFInt)
Declaration
HResult GetStreamCount(MFInt pcInputStreams, MFInt pcOutputStreams)
Parameters
MFInt
pcInputStreams
|
MFInt
pcOutputStreams
|
Returns
HResult
|
GetStreamIDs(Int32, Int32[], Int32, Int32[])
Declaration
HResult GetStreamIDs(int dwInputIDArraySize, int[] pdwInputIDs, int dwOutputIDArraySize, int[] pdwOutputIDs)
Parameters
System.Int32
dwInputIDArraySize
|
System.Int32[]
pdwInputIDs
|
System.Int32
dwOutputIDArraySize
|
System.Int32[]
pdwOutputIDs
|
Returns
HResult
|
GetStreamLimits(MFInt, MFInt, MFInt, MFInt)
Declaration
HResult GetStreamLimits(MFInt pdwInputMinimum, MFInt pdwInputMaximum, MFInt pdwOutputMinimum, MFInt pdwOutputMaximum)
Parameters
MFInt
pdwInputMinimum
|
MFInt
pdwInputMaximum
|
MFInt
pdwOutputMinimum
|
MFInt
pdwOutputMaximum
|
Returns
HResult
|
ProcessEvent(Int32, IMFMediaEvent)
Declaration
HResult ProcessEvent(int dwInputStreamID, IMFMediaEvent pEvent)
Parameters
System.Int32
dwInputStreamID
|
IMFMediaEvent
pEvent
|
Returns
HResult
|
ProcessInput(Int32, IMFSample, Int32)
Declaration
HResult ProcessInput(int dwInputStreamID, IMFSample pSample, int dwFlags)
Parameters
System.Int32
dwInputStreamID
|
IMFSample
pSample
|
System.Int32
dwFlags
|
Returns
HResult
|
ProcessMessage(MFTMessageType, IntPtr)
Declaration
HResult ProcessMessage(MFTMessageType eMessage, IntPtr ulParam)
Parameters
MFTMessageType
eMessage
|
System.IntPtr
ulParam
|
Returns
HResult
|
ProcessOutput(MFTProcessOutputFlags, Int32, MFTOutputDataBuffer[], out ProcessOutputStatus)
Declaration
HResult ProcessOutput(MFTProcessOutputFlags dwFlags, int cOutputBufferCount, MFTOutputDataBuffer[] pOutputSamples, out ProcessOutputStatus pdwStatus)
Parameters
MFTProcessOutputFlags
dwFlags
|
System.Int32
cOutputBufferCount
|
MFTOutputDataBuffer[]
pOutputSamples
|
ProcessOutputStatus
pdwStatus
|
Returns
HResult
|
SetInputType(Int32, IMFMediaType, MFTSetTypeFlags)
Declaration
HResult SetInputType(int dwInputStreamID, IMFMediaType pType, MFTSetTypeFlags dwFlags)
Parameters
System.Int32
dwInputStreamID
|
IMFMediaType
pType
|
MFTSetTypeFlags
dwFlags
|
Returns
HResult
|
SetOutputBounds(Int64, Int64)
Declaration
HResult SetOutputBounds(long hnsLowerBound, long hnsUpperBound)
Parameters
System.Int64
hnsLowerBound
|
System.Int64
hnsUpperBound
|
Returns
HResult
|
SetOutputType(Int32, IMFMediaType, MFTSetTypeFlags)
Declaration
HResult SetOutputType(int dwOutputStreamID, IMFMediaType pType, MFTSetTypeFlags dwFlags)
Parameters
System.Int32
dwOutputStreamID
|
IMFMediaType
pType
|
MFTSetTypeFlags
dwFlags
|
Returns
HResult
|