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
qandroidmultimediautils_p.h File Reference

(bea75b36c62ed730c46603326ab4e08bfedd9e36)

#include <qglobal.h>
#include <qsize.h>
#include "androidcamera_p.h"
+ Include dependency graph for qandroidmultimediautils_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE int qt_findClosestValue (const QList< int > &list, int value)
 
bool qt_sizeLessThan (const QSize &s1, const QSize &s2)
 
QVideoFrameFormat::PixelFormat qt_pixelFormatFromAndroidImageFormat (AndroidCamera::ImageFormat f)
 
AndroidCamera::ImageFormat qt_androidImageFormatFromPixelFormat (QVideoFrameFormat::PixelFormat f)
 
bool qt_androidRequestWriteStoragePermission ()
 
bool qt_androidCheckCameraPermission ()
 
bool qt_androidCheckMicrophonePermission ()
 

Function Documentation

◆ qt_androidCheckCameraPermission()

bool qt_androidCheckCameraPermission ( )

Definition at line 97 of file qandroidmultimediautils.cpp.

References androidCheckPermission(), and qCDebug.

Referenced by AndroidCamera::getNumberOfCameras(), AndroidCamera::open(), and QAndroidCaptureSession::start().

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

◆ qt_androidCheckMicrophonePermission()

bool qt_androidCheckMicrophonePermission ( )

Definition at line 106 of file qandroidmultimediautils.cpp.

References androidCheckPermission(), and qCDebug.

Referenced by QAndroidCaptureSession::start().

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

◆ qt_androidImageFormatFromPixelFormat()

◆ qt_androidRequestWriteStoragePermission()

bool qt_androidRequestWriteStoragePermission ( )

Definition at line 115 of file qandroidmultimediautils.cpp.

References androidRequestPermission(), qCDebug, and QStringLiteral.

Referenced by QAndroidMediaEncoder::setOutputLocation().

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

◆ qt_findClosestValue()

QT_BEGIN_NAMESPACE int qt_findClosestValue ( const QList< int > & list,
int value )

Definition at line 14 of file qandroidmultimediautils.cpp.

References QList< T >::at(), begin(), list, and QList< T >::size().

Referenced by QAndroidCamera::zoomTo().

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

◆ qt_pixelFormatFromAndroidImageFormat()

QVideoFrameFormat::PixelFormat qt_pixelFormatFromAndroidImageFormat ( AndroidCamera::ImageFormat f)

◆ qt_sizeLessThan()

bool qt_sizeLessThan ( const QSize & s1,
const QSize & s2 )

Definition at line 40 of file qandroidmultimediautils.cpp.

References s2.

Referenced by AndroidCameraPrivate::getSupportedPictureSizes(), AndroidCameraPrivate::getSupportedPreviewSizes(), and AndroidCameraPrivate::getSupportedVideoSizes().

+ Here is the caller graph for this function: