Xeno-rat
Loading...
Searching...
No Matches
NAudio.MediaFoundation.IMFTransform Interface Reference

IMFTransform, defined in mftransform.h. More...

Collaboration diagram for NAudio.MediaFoundation.IMFTransform:

Public Member Functions

void GetStreamLimits ([Out] out int pdwInputMinimum, [Out] out int pdwInputMaximum, [Out] out int pdwOutputMinimum, [Out] out int pdwOutputMaximum)
 Retrieves the minimum and maximum number of input and output streams.
 
void GetStreamCount ([Out] out int pcInputStreams, [Out] out int pcOutputStreams)
 Retrieves the current number of input and output streams on this MFT.
 
void GetStreamIds ([In] int dwInputIdArraySize, [In, Out] IntPtr pdwInputIDs, [In] int dwOutputIdArraySize, [In, Out] IntPtr pdwOutputIDs)
 Retrieves the stream identifiers for the input and output streams on this MFT.
 
void GetInputStreamInfo ([In] int dwInputStreamId, [Out] out MFT_INPUT_STREAM_INFO pStreamInfo)
 Gets the buffer requirements and other information for an input stream on this Media Foundation transform (MFT).
 
void GetOutputStreamInfo ([In] int dwOutputStreamId, [Out] out MFT_OUTPUT_STREAM_INFO pStreamInfo)
 Gets the buffer requirements and other information for an output stream on this Media Foundation transform (MFT).
 
void GetAttributes ([Out] out IMFAttributes pAttributes)
 Gets the global attribute store for this Media Foundation transform (MFT).
 
void GetInputStreamAttributes ([In] int dwInputStreamId, [Out] out IMFAttributes pAttributes)
 Retrieves the attribute store for an input stream on this MFT.
 
void GetOutputStreamAttributes ([In] int dwOutputStreamId, [Out] out IMFAttributes pAttributes)
 Retrieves the attribute store for an output stream on this MFT.
 
void DeleteInputStream ([In] int dwOutputStreamId)
 Removes an input stream from this MFT.
 
void AddInputStreams ([In] int cStreams, [In] IntPtr adwStreamIDs)
 Adds one or more new input streams to this MFT.
 
void GetInputAvailableType ([In] int dwInputStreamId, [In] int dwTypeIndex, [Out] out IMFMediaType ppType)
 Gets an available media type for an input stream on this Media Foundation transform (MFT).
 
void GetOutputAvailableType ([In] int dwOutputStreamId, [In] int dwTypeIndex, [Out] out IMFMediaType ppType)
 Retrieves an available media type for an output stream on this MFT.
 
void SetInputType ([In] int dwInputStreamId, [In] IMFMediaType pType, [In] _MFT_SET_TYPE_FLAGS dwFlags)
 Sets, tests, or clears the media type for an input stream on this Media Foundation transform (MFT).
 
void SetOutputType ([In] int dwOutputStreamId, [In] IMFMediaType pType, [In] _MFT_SET_TYPE_FLAGS dwFlags)
 Sets, tests, or clears the media type for an output stream on this Media Foundation transform (MFT).
 
void GetInputCurrentType ([In] int dwInputStreamId, [Out] out IMFMediaType ppType)
 Gets the current media type for an input stream on this Media Foundation transform (MFT).
 
void GetOutputCurrentType ([In] int dwOutputStreamId, [Out] out IMFMediaType ppType)
 Gets the current media type for an output stream on this Media Foundation transform (MFT).
 
void GetInputStatus ([In] int dwInputStreamId, [Out] out _MFT_INPUT_STATUS_FLAGS pdwFlags)
 Queries whether an input stream on this Media Foundation transform (MFT) can accept more data.
 
void GetOutputStatus ([In] int dwInputStreamId, [Out] out _MFT_OUTPUT_STATUS_FLAGS pdwFlags)
 Queries whether the Media Foundation transform (MFT) is ready to produce output data.
 
void SetOutputBounds ([In] long hnsLowerBound, [In] long hnsUpperBound)
 Sets the range of time stamps the client needs for output.
 
void ProcessEvent ([In] int dwInputStreamId, [In] IMFMediaEvent pEvent)
 Sends an event to an input stream on this Media Foundation transform (MFT).
 
void ProcessMessage ([In] MFT_MESSAGE_TYPE eMessage, [In] IntPtr ulParam)
 Sends a message to the Media Foundation transform (MFT).
 
void ProcessInput ([In] int dwInputStreamId, [In] IMFSample pSample, int dwFlags)
 Delivers data to an input stream on this Media Foundation transform (MFT).
 
int ProcessOutput ([In] _MFT_PROCESS_OUTPUT_FLAGS dwFlags, [In] int cOutputBufferCount, [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=1)] MFT_OUTPUT_DATA_BUFFER[] pOutputSamples, [Out] out _MFT_PROCESS_OUTPUT_STATUS pdwStatus)
 Generates output from the current input data.
 

Detailed Description

IMFTransform, defined in mftransform.h.

Member Function Documentation

◆ AddInputStreams()

void NAudio.MediaFoundation.IMFTransform.AddInputStreams ( [In] int cStreams,
[In] IntPtr adwStreamIDs )

Adds one or more new input streams to this MFT.

virtual HRESULT STDMETHODCALLTYPE AddInputStreams( DWORD cStreams, /* [in] *‍/ __RPC__in DWORD *adwStreamIDs) = 0;

◆ DeleteInputStream()

void NAudio.MediaFoundation.IMFTransform.DeleteInputStream ( [In] int dwOutputStreamId)

Removes an input stream from this MFT.

virtual HRESULT STDMETHODCALLTYPE DeleteInputStream( DWORD dwStreamID) = 0;

◆ GetAttributes()

void NAudio.MediaFoundation.IMFTransform.GetAttributes ( [Out] out IMFAttributes pAttributes)

Gets the global attribute store for this Media Foundation transform (MFT).

virtual HRESULT STDMETHODCALLTYPE GetAttributes( /* [out] *‍/ __RPC__deref_out_opt IMFAttributes **pAttributes) = 0;

◆ GetInputAvailableType()

void NAudio.MediaFoundation.IMFTransform.GetInputAvailableType ( [In] int dwInputStreamId,
[In] int dwTypeIndex,
[Out] out IMFMediaType ppType )

Gets an available media type for an input stream on this Media Foundation transform (MFT).

virtual HRESULT STDMETHODCALLTYPE GetInputAvailableType( DWORD dwInputStreamID, DWORD dwTypeIndex, /* [out] *‍/ __RPC__deref_out_opt IMFMediaType **ppType) = 0;

◆ GetInputCurrentType()

void NAudio.MediaFoundation.IMFTransform.GetInputCurrentType ( [In] int dwInputStreamId,
[Out] out IMFMediaType ppType )

Gets the current media type for an input stream on this Media Foundation transform (MFT).

virtual HRESULT STDMETHODCALLTYPE GetInputCurrentType( DWORD dwInputStreamID, /* [out] *‍/ __RPC__deref_out_opt IMFMediaType **ppType) = 0;

◆ GetInputStatus()

void NAudio.MediaFoundation.IMFTransform.GetInputStatus ( [In] int dwInputStreamId,
[Out] out _MFT_INPUT_STATUS_FLAGS pdwFlags )

Queries whether an input stream on this Media Foundation transform (MFT) can accept more data.

virtual HRESULT STDMETHODCALLTYPE GetInputStatus( DWORD dwInputStreamID, /* [out] *‍/ __RPC__out DWORD *pdwFlags) = 0;

◆ GetInputStreamAttributes()

void NAudio.MediaFoundation.IMFTransform.GetInputStreamAttributes ( [In] int dwInputStreamId,
[Out] out IMFAttributes pAttributes )

Retrieves the attribute store for an input stream on this MFT.

virtual HRESULT STDMETHODCALLTYPE GetInputStreamAttributes( DWORD dwInputStreamID, /* [out] *‍/ __RPC__deref_out_opt IMFAttributes **pAttributes) = 0;

◆ GetInputStreamInfo()

void NAudio.MediaFoundation.IMFTransform.GetInputStreamInfo ( [In] int dwInputStreamId,
[Out] out MFT_INPUT_STREAM_INFO pStreamInfo )

Gets the buffer requirements and other information for an input stream on this Media Foundation transform (MFT).

virtual HRESULT STDMETHODCALLTYPE GetInputStreamInfo( DWORD dwInputStreamID, /* [out] *‍/ __RPC__out MFT_INPUT_STREAM_INFO *pStreamInfo) = 0;

◆ GetOutputAvailableType()

void NAudio.MediaFoundation.IMFTransform.GetOutputAvailableType ( [In] int dwOutputStreamId,
[In] int dwTypeIndex,
[Out] out IMFMediaType ppType )

Retrieves an available media type for an output stream on this MFT.

virtual HRESULT STDMETHODCALLTYPE GetOutputAvailableType( DWORD dwOutputStreamID, DWORD dwTypeIndex, /* [out] *‍/ __RPC__deref_out_opt IMFMediaType **ppType) = 0;

◆ GetOutputCurrentType()

void NAudio.MediaFoundation.IMFTransform.GetOutputCurrentType ( [In] int dwOutputStreamId,
[Out] out IMFMediaType ppType )

Gets the current media type for an output stream on this Media Foundation transform (MFT).

virtual HRESULT STDMETHODCALLTYPE GetOutputCurrentType( DWORD dwOutputStreamID, /* [out] *‍/ __RPC__deref_out_opt IMFMediaType **ppType) = 0;

◆ GetOutputStatus()

void NAudio.MediaFoundation.IMFTransform.GetOutputStatus ( [In] int dwInputStreamId,
[Out] out _MFT_OUTPUT_STATUS_FLAGS pdwFlags )

Queries whether the Media Foundation transform (MFT) is ready to produce output data.

virtual HRESULT STDMETHODCALLTYPE GetOutputStatus( /* [out] *‍/ __RPC__out DWORD *pdwFlags) = 0;

◆ GetOutputStreamAttributes()

void NAudio.MediaFoundation.IMFTransform.GetOutputStreamAttributes ( [In] int dwOutputStreamId,
[Out] out IMFAttributes pAttributes )

Retrieves the attribute store for an output stream on this MFT.

virtual HRESULT STDMETHODCALLTYPE GetOutputStreamAttributes( DWORD dwOutputStreamID, /* [out] *‍/ __RPC__deref_out_opt IMFAttributes **pAttributes) = 0;

◆ GetOutputStreamInfo()

void NAudio.MediaFoundation.IMFTransform.GetOutputStreamInfo ( [In] int dwOutputStreamId,
[Out] out MFT_OUTPUT_STREAM_INFO pStreamInfo )

Gets the buffer requirements and other information for an output stream on this Media Foundation transform (MFT).

virtual HRESULT STDMETHODCALLTYPE GetOutputStreamInfo( DWORD dwOutputStreamID, /* [out] *‍/ __RPC__out MFT_OUTPUT_STREAM_INFO *pStreamInfo) = 0;

◆ GetStreamCount()

void NAudio.MediaFoundation.IMFTransform.GetStreamCount ( [Out] out int pcInputStreams,
[Out] out int pcOutputStreams )

Retrieves the current number of input and output streams on this MFT.

virtual HRESULT STDMETHODCALLTYPE GetStreamCount( /* [out] ‍/ __RPC__out DWORD *pcInputStreams, / [out] *‍/ __RPC__out DWORD *pcOutputStreams) = 0;

◆ GetStreamIds()

void NAudio.MediaFoundation.IMFTransform.GetStreamIds ( [In] int dwInputIdArraySize,
[In, Out] IntPtr pdwInputIDs,
[In] int dwOutputIdArraySize,
[In, Out] IntPtr pdwOutputIDs )

Retrieves the stream identifiers for the input and output streams on this MFT.

virtual HRESULT STDMETHODCALLTYPE GetStreamIDs( DWORD dwInputIDArraySize, /* [size_is][out] ‍/ __RPC__out_ecount_full(dwInputIDArraySize) DWORD *pdwInputIDs, DWORD dwOutputIDArraySize, / [size_is][out] *‍/ __RPC__out_ecount_full(dwOutputIDArraySize) DWORD *pdwOutputIDs) = 0;

◆ GetStreamLimits()

void NAudio.MediaFoundation.IMFTransform.GetStreamLimits ( [Out] out int pdwInputMinimum,
[Out] out int pdwInputMaximum,
[Out] out int pdwOutputMinimum,
[Out] out int pdwOutputMaximum )

Retrieves the minimum and maximum number of input and output streams.

virtual HRESULT STDMETHODCALLTYPE GetStreamLimits( /* [out] ‍/ __RPC__out DWORD *pdwInputMinimum, / [out] ‍/ __RPC__out DWORD *pdwInputMaximum, / [out] ‍/ __RPC__out DWORD *pdwOutputMinimum, / [out] *‍/ __RPC__out DWORD *pdwOutputMaximum) = 0;

◆ ProcessEvent()

void NAudio.MediaFoundation.IMFTransform.ProcessEvent ( [In] int dwInputStreamId,
[In] IMFMediaEvent pEvent )

Sends an event to an input stream on this Media Foundation transform (MFT).

virtual HRESULT STDMETHODCALLTYPE ProcessEvent( DWORD dwInputStreamID, /* [in] *‍/ __RPC__in_opt IMFMediaEvent *pEvent) = 0;

◆ ProcessInput()

void NAudio.MediaFoundation.IMFTransform.ProcessInput ( [In] int dwInputStreamId,
[In] IMFSample pSample,
int dwFlags )

Delivers data to an input stream on this Media Foundation transform (MFT).

virtual /* [local] *‍/ HRESULT STDMETHODCALLTYPE ProcessInput( DWORD dwInputStreamID, IMFSample *pSample, DWORD dwFlags) = 0;

Here is the caller graph for this function:

◆ ProcessMessage()

void NAudio.MediaFoundation.IMFTransform.ProcessMessage ( [In] MFT_MESSAGE_TYPE eMessage,
[In] IntPtr ulParam )

Sends a message to the Media Foundation transform (MFT).

virtual HRESULT STDMETHODCALLTYPE ProcessMessage( MFT_MESSAGE_TYPE eMessage, ULONG_PTR ulParam) = 0;

Here is the caller graph for this function:

◆ ProcessOutput()

int NAudio.MediaFoundation.IMFTransform.ProcessOutput ( [In] _MFT_PROCESS_OUTPUT_FLAGS dwFlags,
[In] int cOutputBufferCount,
[In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=1)] MFT_OUTPUT_DATA_BUFFER[] pOutputSamples,
[Out] out _MFT_PROCESS_OUTPUT_STATUS pdwStatus )

Generates output from the current input data.

virtual /* [local] ‍/ HRESULT STDMETHODCALLTYPE ProcessOutput( DWORD dwFlags, DWORD cOutputBufferCount, / [size_is][out][in] ‍/ MFT_OUTPUT_DATA_BUFFER *pOutputSamples, / [out] *‍/ DWORD *pdwStatus) = 0;

Here is the caller graph for this function:

◆ SetInputType()

void NAudio.MediaFoundation.IMFTransform.SetInputType ( [In] int dwInputStreamId,
[In] IMFMediaType pType,
[In] _MFT_SET_TYPE_FLAGS dwFlags )

Sets, tests, or clears the media type for an input stream on this Media Foundation transform (MFT).

virtual HRESULT STDMETHODCALLTYPE SetInputType( DWORD dwInputStreamID, /* [in] *‍/ __RPC__in_opt IMFMediaType *pType, DWORD dwFlags) = 0;

◆ SetOutputBounds()

void NAudio.MediaFoundation.IMFTransform.SetOutputBounds ( [In] long hnsLowerBound,
[In] long hnsUpperBound )

Sets the range of time stamps the client needs for output.

virtual HRESULT STDMETHODCALLTYPE SetOutputBounds( LONGLONG hnsLowerBound, LONGLONG hnsUpperBound) = 0;

◆ SetOutputType()

void NAudio.MediaFoundation.IMFTransform.SetOutputType ( [In] int dwOutputStreamId,
[In] IMFMediaType pType,
[In] _MFT_SET_TYPE_FLAGS dwFlags )

Sets, tests, or clears the media type for an output stream on this Media Foundation transform (MFT).

virtual HRESULT STDMETHODCALLTYPE SetOutputType( DWORD dwOutputStreamID, /* [in] *‍/ __RPC__in_opt IMFMediaType *pType, DWORD dwFlags) = 0;


The documentation for this interface was generated from the following file: