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

(0f46f14756132ddbed0ec784f6ed26e11e9a5f46)

#include <QtTest/qtestcase.h>
#include <private/qplatformmediaintegration_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/qpa/qplatformintegration.h>
Include dependency graph for mediabackendutils_p.h:

Go to the source code of this file.

Namespaces

namespace  BackendUtilsImpl

Macros

#define QSKIP_IF(checker, defaultMessage, ...)
#define QSKIP_GSTREAMER(...)
#define QSKIP_IF_NOT_FFMPEG(...)
#define QSKIP_FFMPEG(...)
#define QEXPECT_FAIL_GSTREAMER(dataIndex, comment, mode)

Functions

bool BackendUtilsImpl::isGStreamerPlatform ()
bool BackendUtilsImpl::isQNXPlatform ()
bool BackendUtilsImpl::isDarwinPlatform ()
bool BackendUtilsImpl::isAndroidPlatform ()
bool BackendUtilsImpl::isFFMPEGPlatform ()
bool BackendUtilsImpl::isWindowsPlatform ()
bool BackendUtilsImpl::isRhiRenderingSupported ()
bool BackendUtilsImpl::isOpenGLSupported ()
bool BackendUtilsImpl::isCI ()

Macro Definition Documentation

◆ QEXPECT_FAIL_GSTREAMER

#define QEXPECT_FAIL_GSTREAMER ( dataIndex,
comment,
mode )
Value:
do { \
QEXPECT_FAIL(dataIndex, comment, mode); \
} while (0)
GLenum mode
static QRegularExpression * comment
Definition tokenizer.cpp:90

Definition at line 93 of file mediabackendutils_p.h.

◆ QSKIP_FFMPEG

#define QSKIP_FFMPEG ( ...)
Value:
QSKIP_IF(isFFMPEGPlatform(), "The feature is not supported on FFmpeg", __VA_ARGS__)
#define QSKIP_IF(checker, defaultMessage,...)

Definition at line 90 of file mediabackendutils_p.h.

◆ QSKIP_GSTREAMER

#define QSKIP_GSTREAMER ( ...)
Value:
QSKIP_IF(isGStreamerPlatform(), "The feature is not supported on GStreamer", __VA_ARGS__)

Definition at line 84 of file mediabackendutils_p.h.

◆ QSKIP_IF

#define QSKIP_IF ( checker,
defaultMessage,
... )
Value:
do { \
if (checker) \
QSKIP(strlen(__VA_ARGS__ "") ? __VA_ARGS__ "" : defaultMessage); \
} while (0)

Definition at line 78 of file mediabackendutils_p.h.

◆ QSKIP_IF_NOT_FFMPEG

#define QSKIP_IF_NOT_FFMPEG ( ...)
Value:
QSKIP_IF(!isFFMPEGPlatform(), "The feature is only supported on FFmpeg", __VA_ARGS__)

Definition at line 87 of file mediabackendutils_p.h.