![]() |
Qt 6.x
The Qt SDK
|
#include "qandroidcamera_p.h"#include <jni.h>#include <QMediaFormat>#include <memory>#include <optional>#include <qmediadevices.h>#include <qguiapplication.h>#include <qscreen.h>#include <QDebug>#include <qloggingcategory.h>#include <QtCore/qcoreapplication.h>#include <QtCore/qpermissions.h>#include <QtCore/private/qandroidextras_p.h>#include <private/qcameradevice_p.h>#include <QReadWriteLock>#include <private/qvideoframeconverter_p.h>#include <private/qvideotexturehelper_p.h>#include <qffmpegvideobuffer_p.h>#include <qandroidcameraframe_p.h>#include <utility>#include "libavutil/hwcontext.h"#include "libavutil/pixfmt.h"
Include dependency graph for qandroidcamera.cpp:Go to the source code of this file.
Macros | |
| #define | GET_CAMERA(cameraId) |
Typedefs | |
| typedef QMap< QString, QAndroidCamera * > | QAndroidCameraMap |
Functions | |
| Q_DECLARE_JNI_CLASS (QtCamera2, "org/qtproject/qt/android/multimedia/QtCamera2") | |
| Q_DECLARE_JNI_CLASS (QtVideoDeviceManager, "org/qtproject/qt/android/multimedia/QtVideoDeviceManager") | |
| Q_DECLARE_JNI_CLASS (AndroidImageFormat, "android/graphics/ImageFormat") | |
| static QT_BEGIN_NAMESPACE | Q_LOGGING_CATEGORY (qLCAndroidCamera, "qt.multimedia.ffmpeg.androidCamera") |
| static void | deleteFrame (void *opaque, uint8_t *data) |
| static void | onFrameAvailable (JNIEnv *env, jobject obj, jstring cameraId, QtJniTypes::AndroidImage image) |
| static void | onPhotoAvailable (JNIEnv *env, jobject obj, jstring cameraId, QtJniTypes::AndroidImage image) |
| static void | onCameraOpened (JNIEnv *env, jobject obj, jstring cameraId) |
| static void | onCameraDisconnect (JNIEnv *env, jobject obj, jstring cameraId) |
| static void | onCameraError (JNIEnv *env, jobject obj, jstring cameraId, jint error) |
| static void | onCaptureSessionConfigured (JNIEnv *env, jobject obj, jstring cameraId) |
| static void | onCaptureSessionConfigureFailed (JNIEnv *env, jobject obj, jstring cameraId) |
| static void | onSessionActive (JNIEnv *env, jobject obj, jstring cameraId) |
| static void | onSessionClosed (JNIEnv *env, jobject obj, jstring cameraId) |
| static void | onCaptureSessionFailed (JNIEnv *env, jobject obj, jstring cameraId, jint reason, jlong framenumber) |
| #define GET_CAMERA | ( | cameraId | ) |
Definition at line 547 of file qandroidcamera.cpp.
| typedef QMap<QString, QAndroidCamera *> QAndroidCameraMap |
Definition at line 46 of file qandroidcamera.cpp.
Definition at line 143 of file qandroidcamera.cpp.
References frame, and Q_UNUSED.
Referenced by QAndroidCamera::frameAvailable().
Here is the caller graph for this function:
|
static |
Definition at line 589 of file qandroidcamera.cpp.
References camera, GET_CAMERA, and Q_UNUSED.
Referenced by QAndroidCamera::registerNativeMethods().
Here is the caller graph for this function:
|
static |
Definition at line 599 of file qandroidcamera.cpp.
References camera, error, GET_CAMERA, and Q_UNUSED.
Referenced by QAndroidCamera::registerNativeMethods().
Here is the caller graph for this function:
|
static |
Definition at line 579 of file qandroidcamera.cpp.
References camera, GET_CAMERA, and Q_UNUSED.
Referenced by QAndroidCamera::registerNativeMethods().
Here is the caller graph for this function:
|
static |
Definition at line 609 of file qandroidcamera.cpp.
References camera, GET_CAMERA, and Q_UNUSED.
Referenced by QAndroidCamera::registerNativeMethods().
Here is the caller graph for this function:
|
static |
Definition at line 619 of file qandroidcamera.cpp.
References camera, GET_CAMERA, and Q_UNUSED.
Referenced by QAndroidCamera::registerNativeMethods().
Here is the caller graph for this function:
|
static |
Definition at line 649 of file qandroidcamera.cpp.
References camera, GET_CAMERA, and Q_UNUSED.
Referenced by QAndroidCamera::registerNativeMethods().
Here is the caller graph for this function:
|
static |
Definition at line 556 of file qandroidcamera.cpp.
References camera, GET_CAMERA, and Q_UNUSED.
Referenced by QAndroidCamera::registerNativeMethods().
Here is the caller graph for this function:
|
static |
Definition at line 567 of file qandroidcamera.cpp.
References camera, GET_CAMERA, and Q_UNUSED.
Referenced by QAndroidCamera::registerNativeMethods().
Here is the caller graph for this function:
|
static |
Definition at line 629 of file qandroidcamera.cpp.
References camera, GET_CAMERA, and Q_UNUSED.
Referenced by QAndroidCamera::registerNativeMethods().
Here is the caller graph for this function:
|
static |
Definition at line 639 of file qandroidcamera.cpp.
References camera, GET_CAMERA, and Q_UNUSED.
Referenced by QAndroidCamera::registerNativeMethods().
Here is the caller graph for this function:| Q_DECLARE_JNI_CLASS | ( | AndroidImageFormat | , |
| "android/graphics/ImageFormat" | |||
| ) |
| Q_DECLARE_JNI_CLASS | ( | QtCamera2 | , |
| "org/qtproject/qt/android/multimedia/QtCamera2" | |||
| ) |
| Q_DECLARE_JNI_CLASS | ( | QtVideoDeviceManager | , |
| "org/qtproject/qt/android/multimedia/QtVideoDeviceManager" | |||
| ) |
|
static |