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
AndroidCameraPrivate Class Reference
Inheritance diagram for AndroidCameraPrivate:
Collaboration diagram for AndroidCameraPrivate:

Signals

void previewSizeChanged ()
void previewStarted ()
void previewFailedToStart ()
void previewStopped ()
void autoFocusStarted ()
void whiteBalanceChanged ()
void takePictureFailed ()
void lastPreviewFrameFetched (const QVideoFrame &frame)
void previewSizeChanged ()
void previewStarted ()
void previewFailedToStart ()
void previewStopped ()
void autoFocusStarted ()
void whiteBalanceChanged ()
void takePictureFailed ()
void lastPreviewFrameFetched (const QVideoFrame &frame)
Signals inherited from QObject
void destroyed (QObject *=nullptr)
 This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked.
void objectNameChanged (const QString &objectName, QPrivateSignal)
 This signal is emitted after the object's name has been changed.

Public Member Functions

 AndroidCameraPrivate ()
 ~AndroidCameraPrivate ()
Q_INVOKABLE bool init (int cameraId)
Q_INVOKABLE void release ()
Q_INVOKABLE bool lock ()
Q_INVOKABLE bool unlock ()
Q_INVOKABLE bool reconnect ()
Q_INVOKABLE AndroidCamera::CameraFacing getFacing ()
Q_INVOKABLE int getNativeOrientation ()
Q_INVOKABLE QSize getPreferredPreviewSizeForVideo ()
Q_INVOKABLE QList< QSizegetSupportedPreviewSizes ()
Q_INVOKABLE QList< AndroidCamera::FpsRangegetSupportedPreviewFpsRange ()
Q_INVOKABLE AndroidCamera::FpsRange getPreviewFpsRange ()
Q_INVOKABLE void setPreviewFpsRange (int min, int max)
Q_INVOKABLE AndroidCamera::ImageFormat getPreviewFormat ()
Q_INVOKABLE void setPreviewFormat (AndroidCamera::ImageFormat fmt)
Q_INVOKABLE QList< AndroidCamera::ImageFormatgetSupportedPreviewFormats ()
Q_INVOKABLE QSize previewSize () const
Q_INVOKABLE QSize getPreviewSize ()
Q_INVOKABLE void updatePreviewSize ()
Q_INVOKABLE bool setPreviewTexture (void *surfaceTexture)
Q_INVOKABLE bool setPreviewDisplay (void *surfaceHolder)
Q_INVOKABLE void setDisplayOrientation (int degrees)
Q_INVOKABLE bool isZoomSupported ()
Q_INVOKABLE int getMaxZoom ()
Q_INVOKABLE QList< int > getZoomRatios ()
Q_INVOKABLE int getZoom ()
Q_INVOKABLE void setZoom (int value)
Q_INVOKABLE QString getFlashMode ()
Q_INVOKABLE void setFlashMode (const QString &value)
Q_INVOKABLE QString getFocusMode ()
Q_INVOKABLE void setFocusMode (const QString &value)
Q_INVOKABLE int getMaxNumFocusAreas ()
Q_INVOKABLE QList< QRectgetFocusAreas ()
Q_INVOKABLE void setFocusAreas (const QList< QRect > &areas)
Q_INVOKABLE void autoFocus ()
Q_INVOKABLE void cancelAutoFocus ()
Q_INVOKABLE bool isAutoExposureLockSupported ()
Q_INVOKABLE bool getAutoExposureLock ()
Q_INVOKABLE void setAutoExposureLock (bool toggle)
Q_INVOKABLE bool isAutoWhiteBalanceLockSupported ()
Q_INVOKABLE bool getAutoWhiteBalanceLock ()
Q_INVOKABLE void setAutoWhiteBalanceLock (bool toggle)
Q_INVOKABLE int getExposureCompensation ()
Q_INVOKABLE void setExposureCompensation (int value)
Q_INVOKABLE float getExposureCompensationStep ()
Q_INVOKABLE int getMinExposureCompensation ()
Q_INVOKABLE int getMaxExposureCompensation ()
Q_INVOKABLE QString getSceneMode ()
Q_INVOKABLE void setSceneMode (const QString &value)
Q_INVOKABLE QString getWhiteBalance ()
Q_INVOKABLE void setWhiteBalance (const QString &value)
Q_INVOKABLE void updateRotation ()
Q_INVOKABLE QList< QSizegetSupportedPictureSizes ()
Q_INVOKABLE QList< QSizegetSupportedVideoSizes ()
Q_INVOKABLE void setPictureSize (const QSize &size)
Q_INVOKABLE void setJpegQuality (int quality)
Q_INVOKABLE void startPreview ()
Q_INVOKABLE void stopPreview ()
Q_INVOKABLE void takePicture ()
Q_INVOKABLE void setupPreviewFrameCallback ()
Q_INVOKABLE void notifyNewFrames (bool notify)
Q_INVOKABLE void fetchLastPreviewFrame ()
Q_INVOKABLE void applyParameters ()
Q_INVOKABLE QStringList callParametersStringListMethod (const QByteArray &methodName)
 AndroidCameraPrivate ()
 ~AndroidCameraPrivate ()
Q_INVOKABLE bool init (int cameraId)
Q_INVOKABLE void release ()
Q_INVOKABLE bool lock ()
Q_INVOKABLE bool unlock ()
Q_INVOKABLE bool reconnect ()
Q_INVOKABLE AndroidCamera::CameraFacing getFacing ()
Q_INVOKABLE int getNativeOrientation ()
Q_INVOKABLE QSize getPreferredPreviewSizeForVideo ()
Q_INVOKABLE QList< QSizegetSupportedPreviewSizes ()
Q_INVOKABLE QList< AndroidCamera::FpsRangegetSupportedPreviewFpsRange ()
Q_INVOKABLE AndroidCamera::FpsRange getPreviewFpsRange ()
Q_INVOKABLE void setPreviewFpsRange (int min, int max)
Q_INVOKABLE AndroidCamera::ImageFormat getPreviewFormat ()
Q_INVOKABLE void setPreviewFormat (AndroidCamera::ImageFormat fmt)
Q_INVOKABLE QList< AndroidCamera::ImageFormatgetSupportedPreviewFormats ()
Q_INVOKABLE QSize previewSize () const
Q_INVOKABLE QSize getPreviewSize ()
Q_INVOKABLE void updatePreviewSize ()
Q_INVOKABLE bool setPreviewTexture (void *surfaceTexture)
Q_INVOKABLE bool setPreviewDisplay (void *surfaceHolder)
Q_INVOKABLE void setDisplayOrientation (int degrees)
Q_INVOKABLE bool isZoomSupported ()
Q_INVOKABLE int getMaxZoom ()
Q_INVOKABLE QList< int > getZoomRatios ()
Q_INVOKABLE int getZoom ()
Q_INVOKABLE void setZoom (int value)
Q_INVOKABLE QString getFlashMode ()
Q_INVOKABLE void setFlashMode (const QString &value)
Q_INVOKABLE QString getFocusMode ()
Q_INVOKABLE void setFocusMode (const QString &value)
Q_INVOKABLE int getMaxNumFocusAreas ()
Q_INVOKABLE QList< QRectgetFocusAreas ()
Q_INVOKABLE void setFocusAreas (const QList< QRect > &areas)
Q_INVOKABLE void autoFocus ()
Q_INVOKABLE void cancelAutoFocus ()
Q_INVOKABLE bool isAutoExposureLockSupported ()
Q_INVOKABLE bool getAutoExposureLock ()
Q_INVOKABLE void setAutoExposureLock (bool toggle)
Q_INVOKABLE bool isAutoWhiteBalanceLockSupported ()
Q_INVOKABLE bool getAutoWhiteBalanceLock ()
Q_INVOKABLE void setAutoWhiteBalanceLock (bool toggle)
Q_INVOKABLE int getExposureCompensation ()
Q_INVOKABLE void setExposureCompensation (int value)
Q_INVOKABLE float getExposureCompensationStep ()
Q_INVOKABLE int getMinExposureCompensation ()
Q_INVOKABLE int getMaxExposureCompensation ()
Q_INVOKABLE QString getSceneMode ()
Q_INVOKABLE void setSceneMode (const QString &value)
Q_INVOKABLE QString getWhiteBalance ()
Q_INVOKABLE void setWhiteBalance (const QString &value)
Q_INVOKABLE void updateRotation ()
Q_INVOKABLE QList< QSizegetSupportedPictureSizes ()
Q_INVOKABLE QList< QSizegetSupportedVideoSizes ()
Q_INVOKABLE void setPictureSize (const QSize &size)
Q_INVOKABLE void setJpegQuality (int quality)
Q_INVOKABLE void startPreview ()
Q_INVOKABLE void stopPreview ()
Q_INVOKABLE void takePicture ()
Q_INVOKABLE void setupPreviewFrameCallback ()
Q_INVOKABLE void notifyNewFrames (bool notify)
Q_INVOKABLE void fetchLastPreviewFrame ()
Q_INVOKABLE void applyParameters ()
Q_INVOKABLE QStringList callParametersStringListMethod (const QByteArray &methodName)
Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 Constructs an object with parent object parent.
virtual ~QObject ()
 Destroys the object, deleting all its child objects.
virtual bool event (QEvent *event)
 This virtual function receives events to an object and should return true if the event e was recognized and processed.
virtual bool eventFilter (QObject *watched, QEvent *event)
 Filters events if this object has been installed as an event filter for the watched object.
QString objectName () const
Q_WEAK_OVERLOAD void setObjectName (const QString &name)
 Sets the object's name to name.
void setObjectName (QAnyStringView name)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
QBindable< QStringbindableObjectName ()
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false.
bool isWindowType () const
 Returns true if the object is a window; otherwise returns false.
bool isQuickItemType () const
 Returns true if the object is a QQuickItem; otherwise returns false.
bool isQmlObjectType () const
 Returns whether the object has been created by the QML engine or ownership has been explicitly set via QJSEngine::setObjectOwnership().
bool signalsBlocked () const noexcept
 Returns true if signals are blocked; otherwise returns false.
bool blockSignals (bool b) noexcept
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it).
QThreadthread () const
 Returns the thread in which the object lives.
bool moveToThread (QThread *thread QT6_DECL_NEW_OVERLOAD_TAIL)
 Changes the thread affinity for this object and its children and returns true on success.
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds.
int startTimer (std::chrono::nanoseconds time, Qt::TimerType timerType=Qt::CoarseTimer)
void killTimer (int id)
 Kills the timer with timer identifier, id.
void killTimer (Qt::TimerId id)
template<typename T>
findChild (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object.
template<typename T>
QList< T > findChildren (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects.
template<typename T>
findChild (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<typename T>
QList< T > findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
const QObjectListchildren () const
 Returns a list of child objects.
void setParent (QObject *parent)
 Makes the object a child of parent.
void installEventFilter (QObject *filterObj)
 Installs an event filter filterObj on this object.
void removeEventFilter (QObject *obj)
 Removes an event filter object obj from this object.
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const
bool disconnect (const QObject *receiver, const char *member=nullptr) const
void dumpObjectTree () const
 Dumps a tree of children to the debug output.
void dumpObjectInfo () const
 Dumps information about signal connections, etc.
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value.
bool setProperty (const char *name, QVariant &&value)
QVariant property (const char *name) const
 Returns the value of the object's name property.
QList< QByteArraydynamicPropertyNames () const
QBindingStoragebindingStorage ()
const QBindingStoragebindingStorage () const
QObjectparent () const
 Returns a pointer to the parent object.
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false.

Static Public Member Functions

static QList< QSizegetSupportedPreviewSizes (QJniObject &parameters)
static AndroidCamera::FpsRange getPreviewFpsRange (QJniObject &parameters)
static QList< AndroidCamera::ImageFormatgetSupportedPreviewFormats (QJniObject &parameters)
static QList< QSizegetSupportedPreviewSizes (QJniObject &parameters)
static AndroidCamera::FpsRange getPreviewFpsRange (QJniObject &parameters)
static QList< AndroidCamera::ImageFormatgetSupportedPreviewFormats (QJniObject &parameters)
Static Public Member Functions inherited from QObject
static QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 \threadsafe
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
template<typename Func1, typename Func2>
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType type=Qt::AutoConnection)
template<typename Func1, typename Func2>
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot)
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 \threadsafe
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
static bool disconnect (const QMetaObject::Connection &)
 Disconnect a connection.
template<typename Func1, typename Func2>
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot)
template<typename Func1>
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero)

Public Attributes

int m_cameraId
QRecursiveMutex m_parametersMutex
QSize m_previewSize
int m_rotation
QJniObject m_info
QJniObject m_parameters
QJniObject m_camera
QJniObject m_cameraListener

Additional Inherited Members

Public Slots inherited from QObject
void deleteLater ()
 \threadsafe
Protected Member Functions inherited from QObject
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr.
int senderSignalIndex () const
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal.
bool isSignalConnected (const QMetaMethod &signal) const
virtual void timerEvent (QTimerEvent *event)
 This event handler can be reimplemented in a subclass to receive timer events for the object.
virtual void childEvent (QChildEvent *event)
 This event handler can be reimplemented in a subclass to receive child events.
virtual void customEvent (QEvent *event)
 This event handler can be reimplemented in a subclass to receive custom events.
virtual void connectNotify (const QMetaMethod &signal)
virtual void disconnectNotify (const QMetaMethod &signal)
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)
Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
Properties inherited from QObject
QString objectName
 the name of this object

Detailed Description

Definition at line 170 of file androidcamera.cpp.

Constructor & Destructor Documentation

◆ AndroidCameraPrivate() [1/2]

AndroidCameraPrivate::AndroidCameraPrivate ( )

Definition at line 890 of file androidcamera.cpp.

◆ ~AndroidCameraPrivate() [1/2]

AndroidCameraPrivate::~AndroidCameraPrivate ( )

Definition at line 895 of file androidcamera.cpp.

◆ AndroidCameraPrivate() [2/2]

AndroidCameraPrivate::AndroidCameraPrivate ( )

◆ ~AndroidCameraPrivate() [2/2]

AndroidCameraPrivate::~AndroidCameraPrivate ( )

Member Function Documentation

◆ applyParameters() [1/2]

void AndroidCameraPrivate::applyParameters ( )

Definition at line 1748 of file androidcamera.cpp.

◆ applyParameters() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::applyParameters ( )

◆ autoFocus() [1/2]

void AndroidCameraPrivate::autoFocus ( )

Definition at line 1395 of file androidcamera.cpp.

◆ autoFocus() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::autoFocus ( )

◆ autoFocusStarted [1/2]

void AndroidCameraPrivate::autoFocusStarted ( )
signal

◆ autoFocusStarted [2/2]

void AndroidCameraPrivate::autoFocusStarted ( )
signal

◆ callParametersStringListMethod() [1/2]

QStringList AndroidCameraPrivate::callParametersStringListMethod ( const QByteArray & methodName)

Definition at line 1756 of file androidcamera.cpp.

◆ callParametersStringListMethod() [2/2]

Q_INVOKABLE QStringList AndroidCameraPrivate::callParametersStringListMethod ( const QByteArray & methodName)

◆ cancelAutoFocus() [1/2]

void AndroidCameraPrivate::cancelAutoFocus ( )

Definition at line 1406 of file androidcamera.cpp.

◆ cancelAutoFocus() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::cancelAutoFocus ( )

◆ fetchLastPreviewFrame() [1/2]

void AndroidCameraPrivate::fetchLastPreviewFrame ( )

Definition at line 1712 of file androidcamera.cpp.

◆ fetchLastPreviewFrame() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::fetchLastPreviewFrame ( )

◆ getAutoExposureLock() [1/2]

bool AndroidCameraPrivate::getAutoExposureLock ( )

Definition at line 1422 of file androidcamera.cpp.

◆ getAutoExposureLock() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::getAutoExposureLock ( )

◆ getAutoWhiteBalanceLock() [1/2]

bool AndroidCameraPrivate::getAutoWhiteBalanceLock ( )

Definition at line 1453 of file androidcamera.cpp.

◆ getAutoWhiteBalanceLock() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::getAutoWhiteBalanceLock ( )

◆ getExposureCompensation() [1/2]

int AndroidCameraPrivate::getExposureCompensation ( )

Definition at line 1474 of file androidcamera.cpp.

◆ getExposureCompensation() [2/2]

Q_INVOKABLE int AndroidCameraPrivate::getExposureCompensation ( )

◆ getExposureCompensationStep() [1/2]

float AndroidCameraPrivate::getExposureCompensationStep ( )

Definition at line 1495 of file androidcamera.cpp.

◆ getExposureCompensationStep() [2/2]

Q_INVOKABLE float AndroidCameraPrivate::getExposureCompensationStep ( )

◆ getFacing() [1/2]

AndroidCamera::CameraFacing AndroidCameraPrivate::getFacing ( )

Definition at line 978 of file androidcamera.cpp.

◆ getFacing() [2/2]

Q_INVOKABLE AndroidCamera::CameraFacing AndroidCameraPrivate::getFacing ( )

◆ getFlashMode() [1/2]

QString AndroidCameraPrivate::getFlashMode ( )

Definition at line 1278 of file androidcamera.cpp.

◆ getFlashMode() [2/2]

Q_INVOKABLE QString AndroidCameraPrivate::getFlashMode ( )

◆ getFocusAreas() [1/2]

QList< QRect > AndroidCameraPrivate::getFocusAreas ( )

Definition at line 1346 of file androidcamera.cpp.

◆ getFocusAreas() [2/2]

Q_INVOKABLE QList< QRect > AndroidCameraPrivate::getFocusAreas ( )

◆ getFocusMode() [1/2]

QString AndroidCameraPrivate::getFocusMode ( )

Definition at line 1307 of file androidcamera.cpp.

◆ getFocusMode() [2/2]

Q_INVOKABLE QString AndroidCameraPrivate::getFocusMode ( )

◆ getMaxExposureCompensation() [1/2]

int AndroidCameraPrivate::getMaxExposureCompensation ( )

Definition at line 1515 of file androidcamera.cpp.

◆ getMaxExposureCompensation() [2/2]

Q_INVOKABLE int AndroidCameraPrivate::getMaxExposureCompensation ( )

◆ getMaxNumFocusAreas() [1/2]

int AndroidCameraPrivate::getMaxNumFocusAreas ( )

Definition at line 1336 of file androidcamera.cpp.

◆ getMaxNumFocusAreas() [2/2]

Q_INVOKABLE int AndroidCameraPrivate::getMaxNumFocusAreas ( )

◆ getMaxZoom() [1/2]

int AndroidCameraPrivate::getMaxZoom ( )

Definition at line 1225 of file androidcamera.cpp.

◆ getMaxZoom() [2/2]

Q_INVOKABLE int AndroidCameraPrivate::getMaxZoom ( )

◆ getMinExposureCompensation() [1/2]

int AndroidCameraPrivate::getMinExposureCompensation ( )

Definition at line 1505 of file androidcamera.cpp.

◆ getMinExposureCompensation() [2/2]

Q_INVOKABLE int AndroidCameraPrivate::getMinExposureCompensation ( )

◆ getNativeOrientation() [1/2]

int AndroidCameraPrivate::getNativeOrientation ( )

Definition at line 983 of file androidcamera.cpp.

◆ getNativeOrientation() [2/2]

Q_INVOKABLE int AndroidCameraPrivate::getNativeOrientation ( )

◆ getPreferredPreviewSizeForVideo() [1/2]

QSize AndroidCameraPrivate::getPreferredPreviewSizeForVideo ( )

Definition at line 988 of file androidcamera.cpp.

◆ getPreferredPreviewSizeForVideo() [2/2]

Q_INVOKABLE QSize AndroidCameraPrivate::getPreferredPreviewSizeForVideo ( )

◆ getPreviewFormat() [1/2]

AndroidCamera::ImageFormat AndroidCameraPrivate::getPreviewFormat ( )

Definition at line 1111 of file androidcamera.cpp.

◆ getPreviewFormat() [2/2]

Q_INVOKABLE AndroidCamera::ImageFormat AndroidCameraPrivate::getPreviewFormat ( )

◆ getPreviewFpsRange() [1/4]

AndroidCamera::FpsRange AndroidCameraPrivate::getPreviewFpsRange ( )

Definition at line 1068 of file androidcamera.cpp.

◆ getPreviewFpsRange() [2/4]

Q_INVOKABLE AndroidCamera::FpsRange AndroidCameraPrivate::getPreviewFpsRange ( )

◆ getPreviewFpsRange() [3/4]

AndroidCamera::FpsRange AndroidCameraPrivate::getPreviewFpsRange ( QJniObject & parameters)
static

Definition at line 1074 of file androidcamera.cpp.

◆ getPreviewFpsRange() [4/4]

AndroidCamera::FpsRange AndroidCameraPrivate::getPreviewFpsRange ( QJniObject & parameters)
static

◆ getPreviewSize() [1/2]

QSize AndroidCameraPrivate::getPreviewSize ( )

Definition at line 1157 of file androidcamera.cpp.

◆ getPreviewSize() [2/2]

Q_INVOKABLE QSize AndroidCameraPrivate::getPreviewSize ( )

◆ getSceneMode() [1/2]

QString AndroidCameraPrivate::getSceneMode ( )

Definition at line 1525 of file androidcamera.cpp.

◆ getSceneMode() [2/2]

Q_INVOKABLE QString AndroidCameraPrivate::getSceneMode ( )

◆ getSupportedPictureSizes() [1/2]

QList< QSize > AndroidCameraPrivate::getSupportedPictureSizes ( )

Definition at line 1593 of file androidcamera.cpp.

◆ getSupportedPictureSizes() [2/2]

Q_INVOKABLE QList< QSize > AndroidCameraPrivate::getSupportedPictureSizes ( )

◆ getSupportedPreviewFormats() [1/4]

QList< AndroidCamera::ImageFormat > AndroidCameraPrivate::getSupportedPreviewFormats ( )

Definition at line 1132 of file androidcamera.cpp.

◆ getSupportedPreviewFormats() [2/4]

Q_INVOKABLE QList< AndroidCamera::ImageFormat > AndroidCameraPrivate::getSupportedPreviewFormats ( )

◆ getSupportedPreviewFormats() [3/4]

QList< AndroidCamera::ImageFormat > AndroidCameraPrivate::getSupportedPreviewFormats ( QJniObject & parameters)
static

Definition at line 1138 of file androidcamera.cpp.

◆ getSupportedPreviewFormats() [4/4]

QList< AndroidCamera::ImageFormat > AndroidCameraPrivate::getSupportedPreviewFormats ( QJniObject & parameters)
static

◆ getSupportedPreviewFpsRange() [1/2]

QList< AndroidCamera::FpsRange > AndroidCameraPrivate::getSupportedPreviewFpsRange ( )

Definition at line 1031 of file androidcamera.cpp.

◆ getSupportedPreviewFpsRange() [2/2]

Q_INVOKABLE QList< AndroidCamera::FpsRange > AndroidCameraPrivate::getSupportedPreviewFpsRange ( )

◆ getSupportedPreviewSizes() [1/4]

QList< QSize > AndroidCameraPrivate::getSupportedPreviewSizes ( )

Definition at line 1004 of file androidcamera.cpp.

◆ getSupportedPreviewSizes() [2/4]

Q_INVOKABLE QList< QSize > AndroidCameraPrivate::getSupportedPreviewSizes ( )

◆ getSupportedPreviewSizes() [3/4]

QList< QSize > AndroidCameraPrivate::getSupportedPreviewSizes ( QJniObject & parameters)
static

Definition at line 1010 of file androidcamera.cpp.

◆ getSupportedPreviewSizes() [4/4]

QList< QSize > AndroidCameraPrivate::getSupportedPreviewSizes ( QJniObject & parameters)
static

◆ getSupportedVideoSizes() [1/2]

QList< QSize > AndroidCameraPrivate::getSupportedVideoSizes ( )

Definition at line 1616 of file androidcamera.cpp.

◆ getSupportedVideoSizes() [2/2]

Q_INVOKABLE QList< QSize > AndroidCameraPrivate::getSupportedVideoSizes ( )

◆ getWhiteBalance() [1/2]

QString AndroidCameraPrivate::getWhiteBalance ( )

Definition at line 1554 of file androidcamera.cpp.

◆ getWhiteBalance() [2/2]

Q_INVOKABLE QString AndroidCameraPrivate::getWhiteBalance ( )

◆ getZoom() [1/2]

int AndroidCameraPrivate::getZoom ( )

Definition at line 1257 of file androidcamera.cpp.

◆ getZoom() [2/2]

Q_INVOKABLE int AndroidCameraPrivate::getZoom ( )

◆ getZoomRatios() [1/2]

QList< int > AndroidCameraPrivate::getZoomRatios ( )

Definition at line 1235 of file androidcamera.cpp.

◆ getZoomRatios() [2/2]

Q_INVOKABLE QList< int > AndroidCameraPrivate::getZoomRatios ( )

◆ init() [1/2]

bool AndroidCameraPrivate::init ( int cameraId)

Definition at line 901 of file androidcamera.cpp.

◆ init() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::init ( int cameraId)

◆ isAutoExposureLockSupported() [1/2]

bool AndroidCameraPrivate::isAutoExposureLockSupported ( )

Definition at line 1412 of file androidcamera.cpp.

◆ isAutoExposureLockSupported() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::isAutoExposureLockSupported ( )

◆ isAutoWhiteBalanceLockSupported() [1/2]

bool AndroidCameraPrivate::isAutoWhiteBalanceLockSupported ( )

Definition at line 1443 of file androidcamera.cpp.

◆ isAutoWhiteBalanceLockSupported() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::isAutoWhiteBalanceLockSupported ( )

◆ isZoomSupported() [1/2]

bool AndroidCameraPrivate::isZoomSupported ( )

Definition at line 1215 of file androidcamera.cpp.

◆ isZoomSupported() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::isZoomSupported ( )

◆ lastPreviewFrameFetched [1/2]

void AndroidCameraPrivate::lastPreviewFrameFetched ( const QVideoFrame & frame)
signal

◆ lastPreviewFrameFetched [2/2]

void AndroidCameraPrivate::lastPreviewFrameFetched ( const QVideoFrame & frame)
signal

◆ lock() [1/2]

bool AndroidCameraPrivate::lock ( )

Definition at line 945 of file androidcamera.cpp.

◆ lock() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::lock ( )

◆ notifyNewFrames() [1/2]

void AndroidCameraPrivate::notifyNewFrames ( bool notify)

Definition at line 1707 of file androidcamera.cpp.

◆ notifyNewFrames() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::notifyNewFrames ( bool notify)

◆ previewFailedToStart [1/2]

void AndroidCameraPrivate::previewFailedToStart ( )
signal

◆ previewFailedToStart [2/2]

void AndroidCameraPrivate::previewFailedToStart ( )
signal

◆ previewSize() [1/2]

Q_INVOKABLE QSize AndroidCameraPrivate::previewSize ( ) const
inline

Definition at line 202 of file androidcamera.cpp.

◆ previewSize() [2/2]

Q_INVOKABLE QSize AndroidCameraPrivate::previewSize ( ) const
inline

Definition at line 202 of file androidcamera.cpp.

◆ previewSizeChanged [1/2]

void AndroidCameraPrivate::previewSizeChanged ( )
signal

◆ previewSizeChanged [2/2]

void AndroidCameraPrivate::previewSizeChanged ( )
signal

◆ previewStarted [1/2]

void AndroidCameraPrivate::previewStarted ( )
signal

◆ previewStarted [2/2]

void AndroidCameraPrivate::previewStarted ( )
signal

◆ previewStopped [1/2]

void AndroidCameraPrivate::previewStopped ( )
signal

◆ previewStopped [2/2]

void AndroidCameraPrivate::previewStopped ( )
signal

◆ reconnect() [1/2]

bool AndroidCameraPrivate::reconnect ( )

Definition at line 967 of file androidcamera.cpp.

◆ reconnect() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::reconnect ( )

◆ release() [1/2]

void AndroidCameraPrivate::release ( )

Definition at line 933 of file androidcamera.cpp.

◆ release() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::release ( )

◆ setAutoExposureLock() [1/2]

void AndroidCameraPrivate::setAutoExposureLock ( bool toggle)

Definition at line 1432 of file androidcamera.cpp.

◆ setAutoExposureLock() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setAutoExposureLock ( bool toggle)

◆ setAutoWhiteBalanceLock() [1/2]

void AndroidCameraPrivate::setAutoWhiteBalanceLock ( bool toggle)

Definition at line 1463 of file androidcamera.cpp.

◆ setAutoWhiteBalanceLock() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setAutoWhiteBalanceLock ( bool toggle)

◆ setDisplayOrientation() [1/2]

void AndroidCameraPrivate::setDisplayOrientation ( int degrees)

Definition at line 1209 of file androidcamera.cpp.

◆ setDisplayOrientation() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setDisplayOrientation ( int degrees)

◆ setExposureCompensation() [1/2]

void AndroidCameraPrivate::setExposureCompensation ( int value)

Definition at line 1484 of file androidcamera.cpp.

◆ setExposureCompensation() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setExposureCompensation ( int value)

◆ setFlashMode() [1/2]

void AndroidCameraPrivate::setFlashMode ( const QString & value)

Definition at line 1294 of file androidcamera.cpp.

◆ setFlashMode() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setFlashMode ( const QString & value)

◆ setFocusAreas() [1/2]

void AndroidCameraPrivate::setFocusAreas ( const QList< QRect > & areas)

Definition at line 1370 of file androidcamera.cpp.

◆ setFocusAreas() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setFocusAreas ( const QList< QRect > & areas)

◆ setFocusMode() [1/2]

void AndroidCameraPrivate::setFocusMode ( const QString & value)

Definition at line 1323 of file androidcamera.cpp.

◆ setFocusMode() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setFocusMode ( const QString & value)

◆ setJpegQuality() [1/2]

void AndroidCameraPrivate::setJpegQuality ( int quality)

Definition at line 1650 of file androidcamera.cpp.

◆ setJpegQuality() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setJpegQuality ( int quality)

◆ setPictureSize() [1/2]

void AndroidCameraPrivate::setPictureSize ( const QSize & size)

Definition at line 1639 of file androidcamera.cpp.

◆ setPictureSize() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setPictureSize ( const QSize & size)

◆ setPreviewDisplay() [1/2]

bool AndroidCameraPrivate::setPreviewDisplay ( void * surfaceHolder)

Definition at line 1197 of file androidcamera.cpp.

◆ setPreviewDisplay() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::setPreviewDisplay ( void * surfaceHolder)

◆ setPreviewFormat() [1/2]

void AndroidCameraPrivate::setPreviewFormat ( AndroidCamera::ImageFormat fmt)

Definition at line 1121 of file androidcamera.cpp.

◆ setPreviewFormat() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setPreviewFormat ( AndroidCamera::ImageFormat fmt)

◆ setPreviewFpsRange() [1/2]

void AndroidCameraPrivate::setPreviewFpsRange ( int min,
int max )

Definition at line 1099 of file androidcamera.cpp.

◆ setPreviewFpsRange() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setPreviewFpsRange ( int min,
int max )

◆ setPreviewTexture() [1/2]

bool AndroidCameraPrivate::setPreviewTexture ( void * surfaceTexture)

Definition at line 1185 of file androidcamera.cpp.

◆ setPreviewTexture() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::setPreviewTexture ( void * surfaceTexture)

◆ setSceneMode() [1/2]

void AndroidCameraPrivate::setSceneMode ( const QString & value)

Definition at line 1541 of file androidcamera.cpp.

◆ setSceneMode() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setSceneMode ( const QString & value)

◆ setupPreviewFrameCallback() [1/2]

void AndroidCameraPrivate::setupPreviewFrameCallback ( )

Definition at line 1702 of file androidcamera.cpp.

◆ setupPreviewFrameCallback() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setupPreviewFrameCallback ( )

◆ setWhiteBalance() [1/2]

void AndroidCameraPrivate::setWhiteBalance ( const QString & value)

Definition at line 1570 of file androidcamera.cpp.

◆ setWhiteBalance() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setWhiteBalance ( const QString & value)

◆ setZoom() [1/2]

void AndroidCameraPrivate::setZoom ( int value)

Definition at line 1267 of file androidcamera.cpp.

◆ setZoom() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::setZoom ( int value)

◆ startPreview() [1/2]

void AndroidCameraPrivate::startPreview ( )

Definition at line 1661 of file androidcamera.cpp.

◆ startPreview() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::startPreview ( )

◆ stopPreview() [1/2]

void AndroidCameraPrivate::stopPreview ( )

Definition at line 1675 of file androidcamera.cpp.

◆ stopPreview() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::stopPreview ( )

◆ takePicture() [1/2]

void AndroidCameraPrivate::takePicture ( )

Definition at line 1683 of file androidcamera.cpp.

◆ takePicture() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::takePicture ( )

◆ takePictureFailed [1/2]

void AndroidCameraPrivate::takePictureFailed ( )
signal

◆ takePictureFailed [2/2]

void AndroidCameraPrivate::takePictureFailed ( )
signal

◆ unlock() [1/2]

bool AndroidCameraPrivate::unlock ( )

Definition at line 956 of file androidcamera.cpp.

◆ unlock() [2/2]

Q_INVOKABLE bool AndroidCameraPrivate::unlock ( )

◆ updatePreviewSize() [1/2]

void AndroidCameraPrivate::updatePreviewSize ( )

Definition at line 1173 of file androidcamera.cpp.

◆ updatePreviewSize() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::updatePreviewSize ( )

◆ updateRotation() [1/2]

void AndroidCameraPrivate::updateRotation ( )

Definition at line 1585 of file androidcamera.cpp.

◆ updateRotation() [2/2]

Q_INVOKABLE void AndroidCameraPrivate::updateRotation ( )

◆ whiteBalanceChanged [1/2]

void AndroidCameraPrivate::whiteBalanceChanged ( )
signal

◆ whiteBalanceChanged [2/2]

void AndroidCameraPrivate::whiteBalanceChanged ( )
signal

Member Data Documentation

◆ m_camera

QJniObject AndroidCameraPrivate::m_camera

Definition at line 274 of file androidcamera.cpp.

◆ m_cameraId

int AndroidCameraPrivate::m_cameraId

Definition at line 268 of file androidcamera.cpp.

◆ m_cameraListener

QJniObject AndroidCameraPrivate::m_cameraListener

Definition at line 275 of file androidcamera.cpp.

◆ m_info

QJniObject AndroidCameraPrivate::m_info

Definition at line 272 of file androidcamera.cpp.

◆ m_parameters

QJniObject AndroidCameraPrivate::m_parameters

Definition at line 273 of file androidcamera.cpp.

◆ m_parametersMutex

QRecursiveMutex AndroidCameraPrivate::m_parametersMutex

Definition at line 269 of file androidcamera.cpp.

◆ m_previewSize

QSize AndroidCameraPrivate::m_previewSize

Definition at line 270 of file androidcamera.cpp.

◆ m_rotation

int AndroidCameraPrivate::m_rotation

Definition at line 271 of file androidcamera.cpp.


The documentation for this class was generated from the following file: