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
qavfcapturephotooutputdelegate_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 QAVFCAPTUREPHOTOOUTPUTDELEGATE_P_H
5#define QAVFCAPTUREPHOTOOUTPUTDELEGATE_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/qtconfigmacros.h>
19
20#include <QtFFmpegMediaPluginImpl/private/qavfstillphotonotifier_p.h>
21
22#import <AVFoundation/AVFoundation.h>
23
24// This class allows us to track the progress of an on-going camera still photo capture
25@interface QT_MANGLE_NAMESPACE(QAVFCapturePhotoOutputDelegate) : NSObject <AVCapturePhotoCaptureDelegate>
26
27- (instancetype) init:(AVCaptureDevice *)device;
28
29- (QT_PREPEND_NAMESPACE(QFFmpeg::QAVFStillPhotoNotifier) &)notifier;
30
31- (void) captureOutput:(AVCapturePhotoOutput *)output
32 didFinishProcessingPhoto:(AVCapturePhoto *)photo
33 error:(NSError *) error;
34
35@end
36
37#endif // QAVFCAPTUREPHOTOOUTPUTDELEGATE_P_H