Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
mfdecodersourcereadercallback_p.h
Go to the documentation of this file.
1
// Copyright (C) 2024 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
MFDECODERSOURCEREADERCALLBACK_H
5
#
define
MFDECODERSOURCEREADERCALLBACK_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtCore
/
qobject
.
h
>
19
20
#
include
<
QtCore
/
private
/
qcomobject_p
.
h
>
21
#
include
<
QtCore
/
private
/
qcomptr_p
.
h
>
22
23
#
include
<
mfidl
.
h
>
24
#
include
<
mfreadwrite
.
h
>
25
26
QT_BEGIN_NAMESPACE
27
28
class
MFSourceReaderCallback :
public
QObject,
public
QComObject<IMFSourceReaderCallback>
29
{
30
Q_OBJECT
31
public
:
32
STDMETHODIMP OnReadSample(HRESULT hrStatus, DWORD dwStreamIndex, DWORD dwStreamFlags,
33
LONGLONG llTimestamp, IMFSample *pSample) override;
34
STDMETHODIMP OnFlush(DWORD)
override
{
return
S_OK; }
35
STDMETHODIMP OnEvent(DWORD, IMFMediaEvent *)
override
{
return
S_OK; }
36
37
Q_SIGNALS:
38
void
newSample(ComPtr<IMFSample>);
39
void
finished();
40
};
41
42
QT_END_NAMESPACE
43
44
#
endif
// MFDECODERSOURCEREADERCALLBACK_H
MFAudioDecoderControl
Definition
mfaudiodecodercontrol_p.h:27
MFAudioDecoderControl::canReadQrc
bool canReadQrc() const override
Definition
mfaudiodecodercontrol_p.h:48
MFAudioDecoderControl::setAudioFormat
void setAudioFormat(const QAudioFormat &format) override
Definition
mfaudiodecodercontrol.cpp:197
MFAudioDecoderControl::bufferAvailable
bool bufferAvailable() const override
Definition
mfaudiodecodercontrol_p.h:46
MFAudioDecoderControl::source
QUrl source() const override
Definition
mfaudiodecodercontrol_p.h:33
MFAudioDecoderControl::setSourceDevice
void setSourceDevice(QIODevice *device) override
Definition
mfaudiodecodercontrol.cpp:49
MFAudioDecoderControl::audioFormat
QAudioFormat audioFormat() const override
Definition
mfaudiodecodercontrol_p.h:42
MFAudioDecoderControl::stop
void stop() override
Definition
mfaudiodecodercontrol.cpp:154
MFAudioDecoderControl::read
QAudioBuffer read() override
Definition
mfaudiodecodercontrol.cpp:205
MFAudioDecoderControl::setSource
void setSource(const QUrl &fileName) override
Definition
mfaudiodecodercontrol.cpp:32
MFAudioDecoderControl::sourceDevice
QIODevice * sourceDevice() const override
Definition
mfaudiodecodercontrol_p.h:36
MFAudioDecoderControl::start
void start() override
Definition
mfaudiodecodercontrol.cpp:131
MFAudioDecoderControl::~MFAudioDecoderControl
~MFAudioDecoderControl() override
Definition
mfaudiodecodercontrol.cpp:27
MFDecoderSourceReader
Definition
mfdecodersourcereader_p.h:31
MFDecoderSourceReader::finished
void finished()
MFDecoderSourceReader::readNextSample
void readNextSample()
Definition
mfdecodersourcereader.cpp:68
QMediaEnginePlayer
Definition
qmediaengineplayer_p.h:47
QWindowsCamera
Definition
qwindowscamera_p.h:26
QWindowsImageCapture
Definition
qwindowsimagecapture_p.h:26
QWindowsMediaCaptureService
Definition
qwindowsmediacapture_p.h:29
QWindowsMediaEncoder
Definition
qwindowsmediaencoder_p.h:30
QWindowsMediaIntegration
Definition
qwindowsintegration_p.h:27
QWindowsMediaIntegration::createVideoSink
q23::expected< QPlatformVideoSink *, QString > createVideoSink(QVideoSink *sink) override
Definition
qwindowsintegration.cpp:99
QWindowsMediaIntegration::createFormatInfo
QPlatformMediaFormatInfo * createFormatInfo() override
Definition
qwindowsintegration.cpp:59
QWindowsMediaIntegration::createAudioDecoder
q23::expected< QPlatformAudioDecoder *, QString > createAudioDecoder(QAudioDecoder *decoder) override
Definition
qwindowsintegration.cpp:74
QWindowsMediaIntegration::createCamera
q23::expected< QPlatformCamera *, QString > createCamera(QCamera *camera) override
Definition
qwindowsintegration.cpp:84
QWindowsMediaIntegration::createImageCapture
q23::expected< QPlatformImageCapture *, QString > createImageCapture(QImageCapture *imageCapture) override
Definition
qwindowsintegration.cpp:94
QWindowsMediaIntegration::createVideoDevices
QPlatformVideoDevices * createVideoDevices() override
Definition
qwindowsintegration.cpp:64
QWindowsMediaIntegration::~QWindowsMediaIntegration
~QWindowsMediaIntegration()
Definition
qwindowsintegration.cpp:54
QWindowsMediaIntegration::createRecorder
q23::expected< QPlatformMediaRecorder *, QString > createRecorder(QMediaRecorder *recorder) override
Definition
qwindowsintegration.cpp:89
QWindowsMediaIntegration::createPlayer
q23::expected< QPlatformMediaPlayer *, QString > createPlayer(QMediaPlayer *parent) override
Definition
qwindowsintegration.cpp:79
QWindowsMediaIntegration::createCaptureSession
q23::expected< QPlatformMediaCaptureSession *, QString > createCaptureSession() override
Definition
qwindowsintegration.cpp:69
QWindowsMediaPlugin
Definition
qwindowsintegration.cpp:25
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtmultimedia
src
plugins
multimedia
windows
decoder
mfdecodersourcereadercallback_p.h
Generated on
for Qt by
1.18.0