Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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)
 
- 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)
 
- 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 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 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 165 of file androidcamera.cpp.

Constructor & Destructor Documentation

◆ AndroidCameraPrivate()

AndroidCameraPrivate::AndroidCameraPrivate ( )

Definition at line 885 of file androidcamera.cpp.

◆ ~AndroidCameraPrivate()

AndroidCameraPrivate::~AndroidCameraPrivate ( )

Definition at line 890 of file androidcamera.cpp.

Member Function Documentation

◆ applyParameters()

void AndroidCameraPrivate::applyParameters ( )

Definition at line 1740 of file androidcamera.cpp.

References m_camera, and m_parameters.

Referenced by setAutoExposureLock(), setAutoWhiteBalanceLock(), setExposureCompensation(), setFlashMode(), setFocusAreas(), setFocusMode(), setJpegQuality(), setPictureSize(), setPreviewFormat(), setSceneMode(), setWhiteBalance(), setZoom(), updatePreviewSize(), and updateRotation().

+ Here is the caller graph for this function:

◆ autoFocus()

void AndroidCameraPrivate::autoFocus ( )

Definition at line 1390 of file androidcamera.cpp.

References autoFocusStarted(), emit, m_camera, and m_cameraListener.

+ Here is the call graph for this function:

◆ autoFocusStarted

void AndroidCameraPrivate::autoFocusStarted ( )
signal

Referenced by autoFocus().

+ Here is the caller graph for this function:

◆ callParametersStringListMethod()

QStringList AndroidCameraPrivate::callParametersStringListMethod ( const QByteArray & methodName)

Definition at line 1748 of file androidcamera.cpp.

References QList< T >::append(), i, list, m_parameters, m_parametersMutex, methodName(), stringList, and toString().

+ Here is the call graph for this function:

◆ cancelAutoFocus()

void AndroidCameraPrivate::cancelAutoFocus ( )

Definition at line 1401 of file androidcamera.cpp.

References m_camera.

◆ fetchLastPreviewFrame()

void AndroidCameraPrivate::fetchLastPreviewFrame ( )

Definition at line 1707 of file androidcamera.cpp.

References arrayLength(), QByteArray::data(), emit, frame, lastPreviewFrameFetched(), m_cameraListener, qt_pixelFormatFromAndroidImageFormat(), and Qt::Uninitialized.

+ Here is the call graph for this function:

◆ getAutoExposureLock()

bool AndroidCameraPrivate::getAutoExposureLock ( )

Definition at line 1417 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getAutoWhiteBalanceLock()

bool AndroidCameraPrivate::getAutoWhiteBalanceLock ( )

Definition at line 1448 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getExposureCompensation()

int AndroidCameraPrivate::getExposureCompensation ( )

Definition at line 1469 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getExposureCompensationStep()

float AndroidCameraPrivate::getExposureCompensationStep ( )

Definition at line 1490 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getFacing()

AndroidCamera::CameraFacing AndroidCameraPrivate::getFacing ( )

Definition at line 973 of file androidcamera.cpp.

References m_info.

◆ getFlashMode()

QString AndroidCameraPrivate::getFlashMode ( )

Definition at line 1273 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getFocusAreas()

QList< QRect > AndroidCameraPrivate::getFocusAreas ( )

Definition at line 1341 of file androidcamera.cpp.

References QList< T >::append(), area(), areaToRect(), i, list, m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ getFocusMode()

QString AndroidCameraPrivate::getFocusMode ( )

Definition at line 1302 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getMaxExposureCompensation()

int AndroidCameraPrivate::getMaxExposureCompensation ( )

Definition at line 1510 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getMaxNumFocusAreas()

int AndroidCameraPrivate::getMaxNumFocusAreas ( )

Definition at line 1331 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getMaxZoom()

int AndroidCameraPrivate::getMaxZoom ( )

Definition at line 1220 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getMinExposureCompensation()

int AndroidCameraPrivate::getMinExposureCompensation ( )

Definition at line 1500 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getNativeOrientation()

int AndroidCameraPrivate::getNativeOrientation ( )

Definition at line 978 of file androidcamera.cpp.

References m_info.

◆ getPreferredPreviewSizeForVideo()

QSize AndroidCameraPrivate::getPreferredPreviewSizeForVideo ( )

Definition at line 983 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getPreviewFormat()

AndroidCamera::ImageFormat AndroidCameraPrivate::getPreviewFormat ( )

◆ getPreviewFpsRange() [1/2]

AndroidCamera::FpsRange AndroidCameraPrivate::getPreviewFpsRange ( )

Definition at line 1063 of file androidcamera.cpp.

References getPreviewFpsRange(), m_parameters, and m_parametersMutex.

Referenced by getPreviewFpsRange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPreviewFpsRange() [2/2]

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

Definition at line 1069 of file androidcamera.cpp.

◆ getPreviewSize()

QSize AndroidCameraPrivate::getPreviewSize ( )

Definition at line 1152 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getSceneMode()

QString AndroidCameraPrivate::getSceneMode ( )

Definition at line 1520 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getSupportedPictureSizes()

QList< QSize > AndroidCameraPrivate::getSupportedPictureSizes ( )

Definition at line 1588 of file androidcamera.cpp.

References QList< T >::append(), QList< T >::begin(), QList< T >::end(), i, list, m_parameters, m_parametersMutex, and qt_sizeLessThan().

+ Here is the call graph for this function:

◆ getSupportedPreviewFormats() [1/2]

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

Definition at line 1127 of file androidcamera.cpp.

References getSupportedPreviewFormats(), m_parameters, and m_parametersMutex.

Referenced by getSupportedPreviewFormats().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSupportedPreviewFormats() [2/2]

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

Definition at line 1133 of file androidcamera.cpp.

References QList< T >::append(), i, and list.

+ Here is the call graph for this function:

◆ getSupportedPreviewFpsRange()

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

Definition at line 1026 of file androidcamera.cpp.

References i, m_parameters, m_parametersMutex, and AndroidCamera::FpsRange::min.

◆ getSupportedPreviewSizes() [1/2]

QList< QSize > AndroidCameraPrivate::getSupportedPreviewSizes ( )

Definition at line 999 of file androidcamera.cpp.

References getSupportedPreviewSizes(), m_parameters, and m_parametersMutex.

Referenced by getSupportedPreviewSizes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSupportedPreviewSizes() [2/2]

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

Definition at line 1005 of file androidcamera.cpp.

References QList< T >::append(), QList< T >::begin(), QList< T >::end(), i, list, and qt_sizeLessThan().

+ Here is the call graph for this function:

◆ getSupportedVideoSizes()

QList< QSize > AndroidCameraPrivate::getSupportedVideoSizes ( )

Definition at line 1611 of file androidcamera.cpp.

References QList< T >::append(), QList< T >::begin(), QList< T >::end(), i, list, m_parameters, m_parametersMutex, and qt_sizeLessThan().

+ Here is the call graph for this function:

◆ getWhiteBalance()

QString AndroidCameraPrivate::getWhiteBalance ( )

Definition at line 1549 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getZoom()

int AndroidCameraPrivate::getZoom ( )

Definition at line 1252 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ getZoomRatios()

QList< int > AndroidCameraPrivate::getZoomRatios ( )

Definition at line 1230 of file androidcamera.cpp.

References i, m_parameters, and m_parametersMutex.

◆ init()

bool AndroidCameraPrivate::init ( int cameraId)

Definition at line 896 of file androidcamera.cpp.

References m_camera, m_cameraId, m_cameraListener, m_info, m_parameters, and s_activeCameras.

◆ isAutoExposureLockSupported()

bool AndroidCameraPrivate::isAutoExposureLockSupported ( )

Definition at line 1407 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ isAutoWhiteBalanceLockSupported()

bool AndroidCameraPrivate::isAutoWhiteBalanceLockSupported ( )

Definition at line 1438 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ isZoomSupported()

bool AndroidCameraPrivate::isZoomSupported ( )

Definition at line 1210 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ lastPreviewFrameFetched

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

Referenced by fetchLastPreviewFrame().

+ Here is the caller graph for this function:

◆ lock()

bool AndroidCameraPrivate::lock ( )

Definition at line 940 of file androidcamera.cpp.

References m_camera.

◆ notifyNewFrames()

void AndroidCameraPrivate::notifyNewFrames ( bool notify)

Definition at line 1702 of file androidcamera.cpp.

References m_cameraListener.

◆ previewFailedToStart

void AndroidCameraPrivate::previewFailedToStart ( )
signal

Referenced by startPreview().

+ Here is the caller graph for this function:

◆ previewSize()

Q_INVOKABLE QSize AndroidCameraPrivate::previewSize ( ) const
inline

Definition at line 197 of file androidcamera.cpp.

References m_previewSize.

◆ previewSizeChanged

void AndroidCameraPrivate::previewSizeChanged ( )
signal

Referenced by updatePreviewSize().

+ Here is the caller graph for this function:

◆ previewStarted

void AndroidCameraPrivate::previewStarted ( )
signal

Referenced by startPreview().

+ Here is the caller graph for this function:

◆ previewStopped

void AndroidCameraPrivate::previewStopped ( )
signal

Referenced by stopPreview().

+ Here is the caller graph for this function:

◆ reconnect()

bool AndroidCameraPrivate::reconnect ( )

Definition at line 962 of file androidcamera.cpp.

References m_camera.

◆ release()

void AndroidCameraPrivate::release ( )

Definition at line 928 of file androidcamera.cpp.

References QMutex::lock(), m_camera, m_cameraId, m_parameters, m_parametersMutex, m_previewSize, s_activeCameras, and QMutex::unlock().

+ Here is the call graph for this function:

◆ setAutoExposureLock()

void AndroidCameraPrivate::setAutoExposureLock ( bool toggle)

Definition at line 1427 of file androidcamera.cpp.

References applyParameters(), m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ setAutoWhiteBalanceLock()

void AndroidCameraPrivate::setAutoWhiteBalanceLock ( bool toggle)

Definition at line 1458 of file androidcamera.cpp.

References applyParameters(), m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ setDisplayOrientation()

void AndroidCameraPrivate::setDisplayOrientation ( int degrees)

Definition at line 1204 of file androidcamera.cpp.

References m_camera, and m_cameraListener.

◆ setExposureCompensation()

void AndroidCameraPrivate::setExposureCompensation ( int value)

Definition at line 1479 of file androidcamera.cpp.

References applyParameters(), m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ setFlashMode()

void AndroidCameraPrivate::setFlashMode ( const QString & value)

Definition at line 1289 of file androidcamera.cpp.

References applyParameters(), m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ setFocusAreas()

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

Definition at line 1365 of file androidcamera.cpp.

References applyParameters(), i, list, m_parameters, m_parametersMutex, and rectToArea().

+ Here is the call graph for this function:

◆ setFocusMode()

void AndroidCameraPrivate::setFocusMode ( const QString & value)

Definition at line 1318 of file androidcamera.cpp.

References applyParameters(), m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ setJpegQuality()

void AndroidCameraPrivate::setJpegQuality ( int quality)

Definition at line 1645 of file androidcamera.cpp.

References applyParameters(), m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ setPictureSize()

void AndroidCameraPrivate::setPictureSize ( const QSize & size)

Definition at line 1634 of file androidcamera.cpp.

References applyParameters(), m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ setPreviewDisplay()

bool AndroidCameraPrivate::setPreviewDisplay ( void * surfaceHolder)

Definition at line 1192 of file androidcamera.cpp.

References m_camera.

◆ setPreviewFormat()

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

Definition at line 1116 of file androidcamera.cpp.

References applyParameters(), fmt, m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ setPreviewFpsRange()

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

Definition at line 1094 of file androidcamera.cpp.

References m_parameters, and m_parametersMutex.

◆ setPreviewTexture()

bool AndroidCameraPrivate::setPreviewTexture ( void * surfaceTexture)

Definition at line 1180 of file androidcamera.cpp.

References m_camera.

◆ setSceneMode()

void AndroidCameraPrivate::setSceneMode ( const QString & value)

Definition at line 1536 of file androidcamera.cpp.

References applyParameters(), m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ setupPreviewFrameCallback()

void AndroidCameraPrivate::setupPreviewFrameCallback ( )

Definition at line 1697 of file androidcamera.cpp.

References m_camera, and m_cameraListener.

Referenced by startPreview().

+ Here is the caller graph for this function:

◆ setWhiteBalance()

void AndroidCameraPrivate::setWhiteBalance ( const QString & value)

Definition at line 1565 of file androidcamera.cpp.

References applyParameters(), emit, m_parameters, m_parametersMutex, and whiteBalanceChanged().

+ Here is the call graph for this function:

◆ setZoom()

void AndroidCameraPrivate::setZoom ( int value)

Definition at line 1262 of file androidcamera.cpp.

References applyParameters(), m_parameters, and m_parametersMutex.

+ Here is the call graph for this function:

◆ startPreview()

void AndroidCameraPrivate::startPreview ( )

Definition at line 1656 of file androidcamera.cpp.

References emit, m_camera, previewFailedToStart(), previewStarted(), and setupPreviewFrameCallback().

+ Here is the call graph for this function:

◆ stopPreview()

void AndroidCameraPrivate::stopPreview ( )

Definition at line 1670 of file androidcamera.cpp.

References emit, m_camera, m_cameraListener, and previewStopped().

+ Here is the call graph for this function:

◆ takePicture()

void AndroidCameraPrivate::takePicture ( )

Definition at line 1678 of file androidcamera.cpp.

References emit, m_camera, m_cameraListener, and takePictureFailed().

+ Here is the call graph for this function:

◆ takePictureFailed

void AndroidCameraPrivate::takePictureFailed ( )
signal

Referenced by takePicture().

+ Here is the caller graph for this function:

◆ unlock()

bool AndroidCameraPrivate::unlock ( )

Definition at line 951 of file androidcamera.cpp.

References m_camera.

◆ updatePreviewSize()

void AndroidCameraPrivate::updatePreviewSize ( )

Definition at line 1168 of file androidcamera.cpp.

References applyParameters(), emit, QSize::height(), QSize::isValid(), m_parameters, m_parametersMutex, m_previewSize, previewSizeChanged(), and QSize::width().

+ Here is the call graph for this function:

◆ updateRotation()

void AndroidCameraPrivate::updateRotation ( )

Definition at line 1580 of file androidcamera.cpp.

References applyParameters(), m_parameters, m_parametersMutex, and m_rotation.

+ Here is the call graph for this function:

◆ whiteBalanceChanged

void AndroidCameraPrivate::whiteBalanceChanged ( )
signal

Referenced by setWhiteBalance().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_camera

◆ m_cameraId

int AndroidCameraPrivate::m_cameraId

Definition at line 263 of file androidcamera.cpp.

Referenced by init(), and release().

◆ m_cameraListener

◆ m_info

QJniObject AndroidCameraPrivate::m_info

Definition at line 267 of file androidcamera.cpp.

Referenced by getFacing(), getNativeOrientation(), and init().

◆ m_parameters

◆ m_parametersMutex

◆ m_previewSize

QSize AndroidCameraPrivate::m_previewSize

Definition at line 265 of file androidcamera.cpp.

Referenced by previewSize(), release(), and updatePreviewSize().

◆ m_rotation

int AndroidCameraPrivate::m_rotation

Definition at line 266 of file androidcamera.cpp.

Referenced by updateRotation().


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