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
qandroidmultimediautils_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QANDROIDMULTIMEDIAUTILS_H
5#define QANDROIDMULTIMEDIAUTILS_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <qglobal.h>
19#include <qsize.h>
21
22QT_BEGIN_NAMESPACE
23
24// return the index of the closest value to <value> in <list>
25// (binary search)
26int qt_findClosestValue(const QList<int> &list, int value);
27
28bool qt_sizeLessThan(const QSize &s1, const QSize &s2);
29
31AndroidCamera::ImageFormat qt_androidImageFormatFromPixelFormat(QVideoFrameFormat::PixelFormat f);
32
34
37
38QT_END_NAMESPACE
39
40#endif // QANDROIDMULTIMEDIAUTILS_H
Definition qlist.h:80
QT_BEGIN_NAMESPACE int qt_findClosestValue(const QList< int > &list, int value)
AndroidCamera::ImageFormat qt_androidImageFormatFromPixelFormat(QVideoFrameFormat::PixelFormat f)
bool qt_androidCheckMicrophonePermission()
QVideoFrameFormat::PixelFormat qt_pixelFormatFromAndroidImageFormat(AndroidCamera::ImageFormat f)
bool qt_androidRequestWriteStoragePermission()
static bool androidRequestPermission(const QString &permission)
bool qt_androidCheckCameraPermission()
static bool androidCheckPermission(const QPermission &permission)
bool qt_sizeLessThan(const QSize &s1, const QSize &s2)