Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qavfstillphotonotifier_p.h
Go to the documentation of this file.
1
// Copyright (C) 2025 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
QAVFSTILLPHOTONOTIFIER_P_H
5
#
define
QAVFSTILLPHOTONOTIFIER_P_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
#
include
<
QtCore
/
qstring
.
h
>
20
#
include
<
QtCore
/
qtconfigmacros
.
h
>
21
22
#
include
<
QtMultimedia
/
qimagecapture
.
h
>
23
#
include
<
QtMultimedia
/
qvideoframe
.
h
>
24
25
QT_BEGIN_NAMESPACE
26
27
namespace
QFFmpeg
{
28
29
// Helper class for QAVFCapturePhotoOutputDelegate, that allows
30
// us to emit success/failure events from background threads
31
// in thread-safe manner.
32
class
QAVFStillPhotoNotifier
:
public
QObject
{
33
Q_OBJECT
34
signals:
35
void
succeeded
(
QVideoFrame
);
36
void
failed
(
QImageCapture
::
Error
,
QString
);
37
};
38
39
}
// namespace QFFmpeg
40
41
QT_END_NAMESPACE
42
43
#
endif
// QAVFSTILLPHOTONOTIFIER_P_H
QFFmpeg::QAVFStillPhotoNotifier
Definition
qavfstillphotonotifier_p.h:32
QFFmpeg::QAVFStillPhotoNotifier::failed
void failed(QImageCapture::Error, QString)
QFFmpeg::AvioWriteBufferType
std::conditional_t< QT_FFMPEG_AVIO_WRITE_CONST, const uint8_t *, uint8_t * > AvioWriteBufferType
Definition
qffmpegioutils_p.h:29
qtmultimedia
src
plugins
multimedia
ffmpeg
darwin
qavfstillphotonotifier_p.h
Generated on
for Qt by
1.14.0