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
qqnxvideosink_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 Research In Motion
2// Copyright (C) 2021 The Qt Company
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4#ifndef QQNXVIDFEOSINK_P_H
5#define QQNXVIDFEOSINK_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 <private/qplatformvideosink_p.h>
19
21
23class QVideoSink;
24
26{
28public:
29 explicit QQnxVideoSink(QVideoSink *parent = 0);
30
31 void setRhi(QRhi *) override;
32
33 QRhi *rhi() const;
34
35private:
36 QRhi *m_rhi = nullptr;
37};
38
39QT_END_NAMESPACE
40
41#endif
QQnxCameraFrameBuffer(const camera_buffer_t *buffer, QRhi *rhi=nullptr)
QQnxCameraFrameBuffer & operator=(const QQnxCameraFrameBuffer &)=delete
QQnxCameraFrameBuffer(const QQnxCameraFrameBuffer &)=delete
QVideoFrameFormat::PixelFormat pixelFormat() const
MapData map(QVideoFrame::MapMode mode) override
Maps the planes of a video buffer to memory.
void unmap() override
Releases the memory mapped by the map() function.
bool open(camera_unit_t unit, uint32_t mode)
QQnxCameraHandle(const QQnxCameraHandle &)=delete
camera_handle_t get() const
QQnxCameraHandle()=default
camera_error_t lastError() const
QQnxCameraHandle(QQnxCameraHandle &&other)
QQnxCameraHandle & operator=(QQnxCameraHandle &&other)
QQnxCameraHandle(camera_handle_t h)
QList< camera_vfmode_t > supportedVfModes() const
void setManualIsoSensitivity(uint32_t value)
void setCustomFocusPoint(const QPointF &point)
bool setCameraFormat(uint32_t width, uint32_t height, double frameRate)
camera_whitebalancemode_t whiteBalanceMode() const
void setEvOffset(float ev)
int maxFocusStep() const
void minimumZoomFactorChanged(double factor)
std::unique_ptr< QQnxCameraFrameBuffer > takeCurrentFrame()
camera_handle_t handle() const
QList< camera_frametype_t > supportedRecordingFrameTypes() const
QList< uint32_t > supportedWhiteBalanceValues() const
double zoomRatio(uint32_t zoomLevel) const
bool setZoomFactor(uint32_t factor)
bool isFocusModeSupported(camera_focusmode_t mode) const
void stopVideoRecording()
uint32_t manualIsoSensitivity() const
double manualExposureTime() const
QList< camera_focusmode_t > supportedFocusModes() const
void frameAvailable()
uint32_t maximumZoomLevel() const
QList< double > specifiedVfFrameRates(camera_frametype_t frameType, camera_res_t resolution) const
bool startVideoRecording(const QString &filename)
bool isValid() const
bool hasFeature(camera_feature_t feature) const
friend QDebug & operator<<(QDebug &, const VideoFormat &)
QList< camera_frametype_t > supportedVfFrameTypes() const
void setManualFocusStep(int step)
QSize viewFinderSize() const
bool isActive() const
bool isSmoothZoom() const
void setWhiteBalanceMode(camera_whitebalancemode_t mode)
QList< camera_res_t > supportedVfResolutions() const
void customFocusPointChanged(const QPointF &point)
uint32_t minimumZoomLevel() const
bool hasContinuousWhiteBalanceValues() const
camera_focusmode_t focusMode() const
void setManualWhiteBalance(uint32_t value)
uint32_t manualWhiteBalance() const
void setManualExposureTime(double seconds)
bool setFocusMode(camera_focusmode_t mode)
int manualFocusStep() const
camera_unit_t unit() const
double maximumZoomFactorChanged(double factor)
QString name() const
static QList< camera_unit_t > supportedUnits()
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
QRhi * rhi() const
void setRhi(QRhi *) override
Q_CORE_EXPORT QDebug operator<<(QDebug debug, QDir::Filters filters)
Definition qdir.cpp:2568
static QString statusToString(camera_devstatus_t status)