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
qqnxmediacapturesession_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 Research In Motion
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef QQNXMEDIACAPTURESESSION_H
4#define QQNXMEDIACAPTURESESSION_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 <QObject>
18
19#include <private/qplatformmediacapture_p.h>
20
22
23class QQnxAudioInput;
27class QQnxVideoSink;
28
30{
32
33public:
36
37 QPlatformCamera *camera() override;
38 void setCamera(QPlatformCamera *camera) override;
39
42
45
47
48 void setVideoPreview(QVideoSink *sink) override;
49
51
53
54 QQnxVideoSink *videoSink() const;
55
56private:
57 QQnxPlatformCamera *m_camera = nullptr;
58 QQnxImageCapture *m_imageCapture = nullptr;
59 QQnxMediaRecorder *m_mediaRecorder = nullptr;
60 QQnxAudioInput *m_audioInput = nullptr;
61 QPlatformAudioOutput *m_audioOutput = nullptr;
62 QQnxVideoSink *m_videoSink = nullptr;
63};
64
66
67#endif
void setMediaRecorder(QPlatformMediaRecorder *mediaRecorder) override
void setAudioOutput(QPlatformAudioOutput *output) override
void setCamera(QPlatformCamera *camera) override
QPlatformCamera * camera() override
void setAudioInput(QPlatformAudioInput *input) override
QPlatformMediaRecorder * mediaRecorder() override
void setImageCapture(QPlatformImageCapture *imageCapture) override
QPlatformImageCapture * imageCapture() override
QQnxAudioInput * audioInput() const
QQnxVideoSink * videoSink() const
void setVideoPreview(QVideoSink *sink) override
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
Combined button and popup list for selecting options.
GLsizei GLenum GLboolean sink
GLenum GLenum GLenum input
#define Q_OBJECT
QT_BEGIN_NAMESPACE typedef uchar * output