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
qffmpegmediaintegration_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
4#ifndef QGSTREAMERINTEGRATION_H
5#define QGSTREAMERINTEGRATION_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 <private/qplatformmediaintegration_p.h>
19
21
23
25{
26public:
28
29 QMaybe<QPlatformAudioDecoder *> createAudioDecoder(QAudioDecoder *decoder) override;
30 QMaybe<std::unique_ptr<QPlatformAudioResampler>> createAudioResampler(const QAudioFormat &inputFormat, const QAudioFormat &outputFormat) override;
31 QMaybe<QPlatformMediaCaptureSession *> createCaptureSession() override;
32 QMaybe<QPlatformMediaPlayer *> createPlayer(QMediaPlayer *player) override;
33 QMaybe<QPlatformCamera *> createCamera(QCamera *) override;
36 QMaybe<QPlatformMediaRecorder *> createRecorder(QMediaRecorder *) override;
37 QMaybe<QPlatformImageCapture *> createImageCapture(QImageCapture *) override;
38
39 QMaybe<QPlatformVideoSink *> createVideoSink(QVideoSink *sink) override;
40
41 QMaybe<QPlatformAudioInput *> createAudioInput(QAudioInput *input) override;
42// QPlatformAudioOutput *createAudioOutput(QAudioOutput *) override;
43
45 const QVideoFrameFormat &destFormat) override;
46
47protected:
49
51
53};
54
56
57#endif
QMediaPlayer player
Definition audio.cpp:213
The QAudioDecoder class implements decoding audio.
The QAudioFormat class stores audio stream parameter information.
\qmltype AudioInput \instantiates QAudioInput
Definition qaudioinput.h:19
The QCamera class provides interface for system camera devices.
Definition qcamera.h:28
QMaybe< std::unique_ptr< QPlatformAudioResampler > > createAudioResampler(const QAudioFormat &inputFormat, const QAudioFormat &outputFormat) override
QPlatformMediaFormatInfo * createFormatInfo() override
QPlatformSurfaceCapture * createScreenCapture(QScreenCapture *) override
QMaybe< QPlatformMediaPlayer * > createPlayer(QMediaPlayer *player) override
QMaybe< QPlatformVideoSink * > createVideoSink(QVideoSink *sink) override
QVideoFrame convertVideoFrame(QVideoFrame &srcFrame, const QVideoFrameFormat &destFormat) override
QMaybe< QPlatformAudioInput * > createAudioInput(QAudioInput *input) override
QMaybe< QPlatformAudioDecoder * > createAudioDecoder(QAudioDecoder *decoder) override
QMaybe< QPlatformImageCapture * > createImageCapture(QImageCapture *) override
QMaybe< QPlatformMediaRecorder * > createRecorder(QMediaRecorder *) override
QMaybe< QPlatformMediaCaptureSession * > createCaptureSession() override
QMaybe< QPlatformCamera * > createCamera(QCamera *) override
QPlatformVideoDevices * createVideoDevices() override
QPlatformCapturableWindows * createCapturableWindows() override
QPlatformSurfaceCapture * createWindowCapture(QWindowCapture *) override
\inmodule QtMultimedia
The QMediaPlayer class allows the playing of a media files.
\inmodule QtMultimedia
\inmodule QtMultimedia
The QVideoFrameFormat class specifies the stream format of a video presentation surface.
The QVideoFrame class represents a frame of video data.
Definition qvideoframe.h:27
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
\inmodule QtMultimedia
Combined button and popup list for selecting options.
GLsizei GLenum GLboolean sink
GLenum GLenum GLenum input