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
qandroidimagecapture_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QANDROIDCAMERAIMAGECAPTURECONTROL_H
5#define QANDROIDCAMERAIMAGECAPTURECONTROL_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/qplatformimagecapture_p.h>
19
21
24
26{
28public:
29 explicit QAndroidImageCapture(QImageCapture *parent = nullptr);
30
31 bool isReadyForCapture() const override;
32
33 int capture(const QString &fileName) override;
35
36 QImageEncoderSettings imageSettings() const override;
37 void setImageSettings(const QImageEncoderSettings &settings) override;
38
39 void setCaptureSession(QPlatformMediaCaptureSession *session);
40
41private:
42 QAndroidCameraSession *m_session;
44};
45
46QT_END_NAMESPACE
47
48#endif // QANDROIDCAMERAIMAGECAPTURECONTROL_H
void setVideoSink(QVideoSink *surface)
void setCaptureSession(QPlatformMediaCaptureSession *session) override
void setExposureCompensation(float bias) override
void setFocusMode(QCamera::FocusMode mode) override
void setExposureMode(QCamera::ExposureMode mode) override
bool isTorchModeSupported(QCamera::TorchMode mode) const override
void setFlashMode(QCamera::FlashMode mode) override
bool isWhiteBalanceModeSupported(QCamera::WhiteBalanceMode mode) const override
void zoomTo(float factor, float rate) override
void setCamera(const QCameraDevice &camera) override
bool isFocusModeSupported(QCamera::FocusMode mode) const override
bool setCameraFormat(const QCameraFormat &format) override
bool isFlashReady() const override
void setWhiteBalanceMode(QCamera::WhiteBalanceMode mode) override
bool isFlashModeSupported(QCamera::FlashMode mode) const override
virtual ~QAndroidCamera()
void setActive(bool active) override
bool isActive() const override
bool isExposureModeSupported(QCamera::ExposureMode mode) const override
void setTorchMode(QCamera::TorchMode mode) override
void setCameraSession(QAndroidCameraSession *cameraSession=0)
QImageEncoderSettings imageSettings() const override
void setImageSettings(const QImageEncoderSettings &settings) override
int capture(const QString &fileName) override
bool isReadyForCapture() const override
void setCamera(QPlatformCamera *camera) override
void setAudioOutput(QPlatformAudioOutput *output) override
void setVideoPreview(QVideoSink *sink) override
QPlatformCamera * camera() override
QPlatformMediaRecorder * mediaRecorder() override
void setImageCapture(QPlatformImageCapture *imageCapture) override
QAndroidCaptureSession * captureSession() const
QAndroidCameraSession * cameraSession() const
QPlatformImageCapture * imageCapture() override
void setAudioInput(QPlatformAudioInput *input) override
void setMediaRecorder(QPlatformMediaRecorder *recorder) override