Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwindowsmediacapture_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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#ifndef QWINDOWSMEDIACAPTURE_H
4#define QWINDOWSMEDIACAPTURE_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <private/qplatformmediacapture_p.h>
18#include <private/qplatformmediaintegration_p.h>
19
21
23class QWindowsCamera;
27
29{
31
32public:
35
36 QPlatformCamera *camera() override;
37 void setCamera(QPlatformCamera *camera) override;
38
41
44
45 void setAudioInput(QPlatformAudioInput *) override;
46
48
49 void setVideoPreview(QVideoSink *sink) override;
50
52
53private:
54 QWindowsCamera *m_camera = nullptr;
55 QWindowsMediaDeviceSession *m_mediaDeviceSession = nullptr;
56 QWindowsImageCapture *m_imageCapture = nullptr;
57 QWindowsMediaEncoder *m_encoder = nullptr;
58};
59
61
62#endif // QWINDOWSMEDIAINTERFACE_H
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
QPlatformImageCapture * imageCapture() override
void setCamera(QPlatformCamera *camera) override
void setAudioInput(QPlatformAudioInput *) override
void setVideoPreview(QVideoSink *sink) override
QPlatformCamera * camera() override
QPlatformMediaRecorder * mediaRecorder() override
void setImageCapture(QPlatformImageCapture *imageCapture) override
void setAudioOutput(QPlatformAudioOutput *output) override
void setMediaRecorder(QPlatformMediaRecorder *recorder) override
QWindowsMediaDeviceSession * session() const
QMediaRecorder * recorder
Definition camera.cpp:20
Combined button and popup list for selecting options.
GLsizei GLenum GLboolean sink
#define Q_OBJECT
QT_BEGIN_NAMESPACE typedef uchar * output