(Abstract) Accept input buffers to be processed
protected abstract int InternalProcessInput(
int dwInputStreamIndex,
IMediaBuffer pBuffer,
DMOInputDataBuffer dwFlags,
long rtTimestamp,
long rtTimelength
);
int dwInputStreamIndex,
IMediaBuffer pBuffer,
DMOInputDataBuffer dwFlags,
long rtTimestamp,
long rtTimelength
);
Parameters
- dwInputStreamIndex
- Input stream number
- pBuffer
- Input buffer to process
- dwFlags
- Processing flags
- rtTimestamp
- Timestamp of sample(s)
- rtTimelength
- Length of sample(s)
Return Value
S_OK if the operation completes successfully, S_FALSE if there is no input to process.
Remarks
This method is called by the abstract class. It passes the actual data to be process to the implementor. Commonly, the implementor stores these values, waiting for the call to InternalProcessOutput (which contains the buffers into which the results are to be stored), at which point they are released.