ReactOS  0.4.15-dev-4869-g35a816a
IMediaObject Interface Reference

import"mediaobj.idl";

Inheritance diagram for IMediaObject:
Collaboration diagram for IMediaObject:

Public Member Functions

HRESULT GetStreamCount ([out] DWORD *pcInputStreams, [out] DWORD *pcOutputStreams)
 
HRESULT GetInputStreamInfo (DWORD dwInputStreamIndex, [out] DWORD *pdwFlags)
 
HRESULT GetOutputStreamInfo (DWORD dwOutputStreamIndex, [out] DWORD *pdwFlags)
 
HRESULT GetInputType (DWORD dwInputStreamIndex, DWORD dwTypeIndex, [out] DMO_MEDIA_TYPE *pmt)
 
HRESULT GetOutputType (DWORD dwOutputStreamIndex, DWORD dwTypeIndex, [out] DMO_MEDIA_TYPE *pmt)
 
HRESULT SetInputType (DWORD dwInputStreamIndex, [in] const DMO_MEDIA_TYPE *pmt, DWORD dwFlags)
 
HRESULT SetOutputType (DWORD dwOutputStreamIndex, [in] const DMO_MEDIA_TYPE *pmt, DWORD dwFlags)
 
HRESULT GetInputCurrentType (DWORD dwInputStreamIndex, [out] DMO_MEDIA_TYPE *pmt)
 
HRESULT GetOutputCurrentType (DWORD dwOutputStreamIndex, [out] DMO_MEDIA_TYPE *pmt)
 
HRESULT GetInputSizeInfo (DWORD dwInputStreamIndex, [out] DWORD *pcbSize, [out] DWORD *pcbMaxLookahead, [out] DWORD *pcbAlignment)
 
HRESULT GetOutputSizeInfo (DWORD dwOutputStreamIndex, [out] DWORD *pcbSize, [out] DWORD *pcbAlignment)
 
HRESULT GetInputMaxLatency (DWORD dwInputStreamIndex, [out] REFERENCE_TIME *prtMaxLatency)
 
HRESULT SetInputMaxLatency (DWORD dwInputStreamIndex, REFERENCE_TIME rtMaxLatency)
 
HRESULT Flush ()
 
HRESULT Discontinuity (DWORD dwInputStreamIndex)
 
HRESULT AllocateStreamingResources ()
 
HRESULT FreeStreamingResources ()
 
HRESULT GetInputStatus (DWORD dwInputStreamIndex, [out] DWORD *dwFlags)
 
HRESULT ProcessInput (DWORD dwInputStreamIndex, IMediaBuffer *pBuffer, DWORD dwFlags, REFERENCE_TIME rtTimestamp, REFERENCE_TIME rtTimelength)
 
HRESULT ProcessOutput (DWORD dwFlags, DWORD cOutputBufferCount, [in, out] DMO_OUTPUT_DATA_BUFFER *pOutputBuffers, [out] DWORD *pdwStatus)
 
HRESULT Lock (LONG bLock)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

Definition at line 113 of file mediaobj.idl.

Member Function Documentation

◆ AllocateStreamingResources()

HRESULT IMediaObject::AllocateStreamingResources ( )

◆ Discontinuity()

HRESULT IMediaObject::Discontinuity ( DWORD  dwInputStreamIndex)

◆ Flush()

HRESULT IMediaObject::Flush ( )

◆ FreeStreamingResources()

HRESULT IMediaObject::FreeStreamingResources ( )

◆ GetInputCurrentType()

HRESULT IMediaObject::GetInputCurrentType ( DWORD  dwInputStreamIndex,
[out] DMO_MEDIA_TYPE pmt 
)

◆ GetInputMaxLatency()

HRESULT IMediaObject::GetInputMaxLatency ( DWORD  dwInputStreamIndex,
[out] REFERENCE_TIME prtMaxLatency 
)

◆ GetInputSizeInfo()

HRESULT IMediaObject::GetInputSizeInfo ( DWORD  dwInputStreamIndex,
[out] DWORD pcbSize,
[out] DWORD pcbMaxLookahead,
[out] DWORD pcbAlignment 
)

◆ GetInputStatus()

HRESULT IMediaObject::GetInputStatus ( DWORD  dwInputStreamIndex,
[out] DWORD dwFlags 
)

◆ GetInputStreamInfo()

HRESULT IMediaObject::GetInputStreamInfo ( DWORD  dwInputStreamIndex,
[out] DWORD pdwFlags 
)

◆ GetInputType()

HRESULT IMediaObject::GetInputType ( DWORD  dwInputStreamIndex,
DWORD  dwTypeIndex,
[out] DMO_MEDIA_TYPE pmt 
)

◆ GetOutputCurrentType()

HRESULT IMediaObject::GetOutputCurrentType ( DWORD  dwOutputStreamIndex,
[out] DMO_MEDIA_TYPE pmt 
)

◆ GetOutputSizeInfo()

HRESULT IMediaObject::GetOutputSizeInfo ( DWORD  dwOutputStreamIndex,
[out] DWORD pcbSize,
[out] DWORD pcbAlignment 
)

◆ GetOutputStreamInfo()

HRESULT IMediaObject::GetOutputStreamInfo ( DWORD  dwOutputStreamIndex,
[out] DWORD pdwFlags 
)

◆ GetOutputType()

HRESULT IMediaObject::GetOutputType ( DWORD  dwOutputStreamIndex,
DWORD  dwTypeIndex,
[out] DMO_MEDIA_TYPE pmt 
)

◆ GetStreamCount()

HRESULT IMediaObject::GetStreamCount ( [out] DWORD pcInputStreams,
[out] DWORD pcOutputStreams 
)

◆ Lock()

HRESULT IMediaObject::Lock ( LONG  bLock)

◆ ProcessInput()

HRESULT IMediaObject::ProcessInput ( DWORD  dwInputStreamIndex,
IMediaBuffer *  pBuffer,
DWORD  dwFlags,
REFERENCE_TIME  rtTimestamp,
REFERENCE_TIME  rtTimelength 
)

◆ ProcessOutput()

HRESULT IMediaObject::ProcessOutput ( DWORD  dwFlags,
DWORD  cOutputBufferCount,
[in, out] DMO_OUTPUT_DATA_BUFFER pOutputBuffers,
[out] DWORD pdwStatus 
)

◆ SetInputMaxLatency()

HRESULT IMediaObject::SetInputMaxLatency ( DWORD  dwInputStreamIndex,
REFERENCE_TIME  rtMaxLatency 
)

◆ SetInputType()

HRESULT IMediaObject::SetInputType ( DWORD  dwInputStreamIndex,
[in] const DMO_MEDIA_TYPE pmt,
DWORD  dwFlags 
)

◆ SetOutputType()

HRESULT IMediaObject::SetOutputType ( DWORD  dwOutputStreamIndex,
[in] const DMO_MEDIA_TYPE pmt,
DWORD  dwFlags 
)

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