![]() |
Qt 6.x
The Qt SDK
|
#include "androidcamera_p.h"#include "androidsurfacetexture_p.h"#include "androidsurfaceview_p.h"#include "qandroidmultimediautils_p.h"#include "qandroidglobal_p.h"#include <qhash.h>#include <qstringlist.h>#include <qdebug.h>#include <QtCore/qthread.h>#include <QtCore/qreadwritelock.h>#include <QtCore/qmutex.h>#include <QtMultimedia/private/qmemoryvideobuffer_p.h>#include <QtCore/qcoreapplication.h>#include <mutex>#include "androidcamera.moc"#include "moc_androidcamera_p.cpp"
Include dependency graph for androidcamera.cpp:Go to the source code of this file.
Classes | |
| class | AndroidCameraPrivate |
Typedefs | |
| typedef QHash< int, AndroidCamera * > | CameraMap |
Functions | |
| static QT_BEGIN_NAMESPACE | Q_LOGGING_CATEGORY (lcAndroidCamera, "qt.multimedia.android.camera") static const char QtCameraListenerClassName[] |
| static QRect | areaToRect (jobject areaObj) |
| static QJniObject | rectToArea (const QRect &rect) |
| static void | notifyAutoFocusComplete (JNIEnv *, jobject, int id, jboolean success) |
| static void | notifyPictureExposed (JNIEnv *, jobject, int id) |
| static void | notifyPictureCaptured (JNIEnv *env, jobject, int id, jbyteArray data) |
| static void | notifyNewPreviewFrame (JNIEnv *env, jobject, int id, jbyteArray data, int width, int height, int format, int bpl) |
| static void | notifyFrameAvailable (JNIEnv *, jobject, int id) |
Variables | |
| static qint32 | s_activeCameras = 0 |
| typedef QHash<int, AndroidCamera *> CameraMap |
Definition at line 28 of file androidcamera.cpp.
|
static |
Definition at line 32 of file androidcamera.cpp.
Referenced by AndroidCameraPrivate::getFocusAreas().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 57 of file androidcamera.cpp.
References QSet< T >::cend(), QSet< T >::constFind(), it, Q_EMIT, and Q_UNLIKELY.
Referenced by AndroidCamera::registerNativeMethods().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 156 of file androidcamera.cpp.
References QSet< T >::cend(), QSet< T >::constFind(), it, and Q_UNLIKELY.
Referenced by AndroidCamera::registerNativeMethods(), and AndroidSurfaceTexture::registerNativeMethods().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 134 of file androidcamera.cpp.
References arrayLength(), QSet< T >::cend(), QSet< T >::constFind(), QByteArray::data(), frame, it, Q_EMIT, Q_UNLIKELY, qt_pixelFormatFromAndroidImageFormat(), and Qt::Uninitialized.
Referenced by AndroidCamera::registerNativeMethods().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 77 of file androidcamera.cpp.
References arrayLength(), camera, QSet< T >::cend(), QSet< T >::constFind(), QByteArray::data(), emit, frame, it, AndroidCamera::NV21, Q_UNLIKELY, qCWarning, qt_pixelFormatFromAndroidImageFormat(), AndroidCamera::RGB565, Qt::Uninitialized, AndroidCamera::UnknownImageFormat, QSize::width(), AndroidCamera::YUY2, and AndroidCamera::YV12.
Referenced by AndroidCamera::registerNativeMethods().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 67 of file androidcamera.cpp.
References QSet< T >::cend(), QSet< T >::constFind(), it, Q_EMIT, and Q_UNLIKELY.
Referenced by AndroidCamera::registerNativeMethods().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 43 of file androidcamera.cpp.
Referenced by AndroidCameraPrivate::setFocusAreas().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 895 of file androidcamera.cpp.
Referenced by AndroidCameraPrivate::init(), and AndroidCameraPrivate::release().