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
qlinuxmediadevice.cpp File Reference

(bd6d7d4d74e34b96217388c50f14dbd0df620be6)

#include "qeglfsintegration_p.h"
#include "qlinuxmediadevice.h"
#include <qeglfskmshelpers_p.h>
#include <QtCore/QLoggingCategory>
#include <QtCore/QSize>
#include <QtCore/QRect>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <cstdlib>
#include <mediactl/mediactl.h>
#include <mediactl/v4l2subdev.h>
+ Include dependency graph for qlinuxmediadevice.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE QString mediaBusFmtToString (uint code)
 
static QDebug operator<< (QDebug debug, const struct v4l2_mbus_framefmt &format)
 
static QDebug operator<< (QDebug debug, const struct v4l2_pix_format_mplane &format)
 
static struct media_entity * safeGetEntity (struct media_entity *(get_entity_by_name_fn)(struct media_device *, const char *), struct media_device *device, const QString &name)
 
static struct media_entity * safeGetEntity (struct media_entity *(get_entity_by_name_fn)(struct media_device *, const char *, size_t), struct media_device *device, const QString &name)
 

Function Documentation

◆ mediaBusFmtToString()

static QT_BEGIN_NAMESPACE QString mediaBusFmtToString ( uint code)
static

Definition at line 25 of file qlinuxmediadevice.cpp.

Referenced by operator<<(), and QLinuxMediaDevice::setSubdevFormat().

+ Here is the caller graph for this function:

◆ operator<<() [1/2]

static QDebug operator<< ( QDebug debug,
const struct v4l2_mbus_framefmt & format )
static

Definition at line 137 of file qlinuxmediadevice.cpp.

References debug, and mediaBusFmtToString().

+ Here is the call graph for this function:

◆ operator<<() [2/2]

static QDebug operator<< ( QDebug debug,
const struct v4l2_pix_format_mplane & format )
static

Definition at line 146 of file qlinuxmediadevice.cpp.

References debug, and q_fourccToString().

+ Here is the call graph for this function:

◆ safeGetEntity() [1/2]

static struct media_entity * safeGetEntity ( struct media_entity * get_entity_by_name_fn)(struct media_device *, const char *,
struct media_device * device,
const QString & name )
static

Definition at line 248 of file qlinuxmediadevice.cpp.

References device.

Referenced by QLinuxMediaDevice::getEntity().

+ Here is the caller graph for this function:

◆ safeGetEntity() [2/2]

static struct media_entity * safeGetEntity ( struct media_entity * get_entity_by_name_fn)(struct media_device *, const char *, size_t,
struct media_device * device,
const QString & name )
static

Definition at line 254 of file qlinuxmediadevice.cpp.

References device.