20#include <QtCore/qlist.h>
21#include <QtCore/qmutex.h>
22#include <QtMultimedia/qvideoframeformat.h>
27class MFVideoProbeControl;
48 STDMETHODIMP
GetStreamLimits(DWORD *pdwInputMinimum, DWORD *pdwInputMaximum, DWORD *pdwOutputMinimum, DWORD *pdwOutputMaximum)
override;
49 STDMETHODIMP
GetStreamCount(DWORD *pcInputStreams, DWORD *pcOutputStreams)
override;
50 STDMETHODIMP
GetStreamIDs(DWORD dwInputIDArraySize, DWORD *pdwInputIDs, DWORD dwOutputIDArraySize, DWORD *pdwOutputIDs)
override;
51 STDMETHODIMP
GetInputStreamInfo(DWORD dwInputStreamID, MFT_INPUT_STREAM_INFO *pStreamInfo)
override;
52 STDMETHODIMP
GetOutputStreamInfo(DWORD dwOutputStreamID, MFT_OUTPUT_STREAM_INFO *pStreamInfo)
override;
53 STDMETHODIMP
GetAttributes(IMFAttributes **pAttributes)
override;
57 STDMETHODIMP
AddInputStreams(DWORD cStreams, DWORD *adwStreamIDs)
override;
58 STDMETHODIMP
GetInputAvailableType(DWORD dwInputStreamID, DWORD dwTypeIndex, IMFMediaType **ppType)
override;
59 STDMETHODIMP
GetOutputAvailableType(DWORD dwOutputStreamID,DWORD dwTypeIndex, IMFMediaType **ppType)
override;
60 STDMETHODIMP
SetInputType(DWORD dwInputStreamID, IMFMediaType *pType, DWORD dwFlags)
override;
61 STDMETHODIMP
SetOutputType(DWORD dwOutputStreamID, IMFMediaType *pType, DWORD dwFlags)
override;
64 STDMETHODIMP
GetInputStatus(DWORD dwInputStreamID, DWORD *pdwFlags)
override;
66 STDMETHODIMP
SetOutputBounds(LONGLONG hnsLowerBound, LONGLONG hnsUpperBound)
override;
67 STDMETHODIMP
ProcessEvent(DWORD dwInputStreamID, IMFMediaEvent *pEvent)
override;
68 STDMETHODIMP
ProcessMessage(MFT_MESSAGE_TYPE eMessage, ULONG_PTR ulParam)
override;
69 STDMETHODIMP
ProcessInput(DWORD dwInputStreamID, IMFSample *pSample, DWORD dwFlags)
override;
70 STDMETHODIMP
ProcessOutput(DWORD dwFlags, DWORD cOutputBufferCount, MFT_OUTPUT_DATA_BUFFER *pOutputSamples, DWORD *pdwStatus)
override;
74 static QVideoFrameFormat videoFormatForMFMediaType(IMFMediaType *mediaType,
int *bytesPerLine);
77 bool isMediaTypeSupported(IMFMediaType *
type);
80 IMFMediaType *m_inputType;
81 IMFMediaType *m_outputType;
85 IMFMediaTypeHandler *m_videoSinkTypeHandler;
The QVideoFrame class represents a frame of video data.
Combined button and popup list for selecting options.
GLint GLsizei GLsizei height
IUIViewSettingsInterop __RPC__in REFIID __RPC__deref_out_opt void ** ppv