![]() |
Qt 6.x
The Qt SDK
|
#include "qwindowsvideodevices_p.h"#include <private/qcameradevice_p.h>#include <private/qwindowsmfdefs_p.h>#include <private/qwindowsmultimediautils_p.h>#include <private/qcomptr_p.h>#include <private/qcomtaskresource_p.h>#include <dbt.h>#include <mfapi.h>#include <mfreadwrite.h>#include <mferror.h>
Include dependency graph for qwindowsvideodevices.cpp:Go to the source code of this file.
Functions | |
| QT_BEGIN_NAMESPACE LRESULT QT_WIN_CALLBACK | deviceNotificationWndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
| static HWND | createMessageOnlyWindow () |
| static std::optional< QCameraFormat > | createCameraFormat (IMFMediaType *mediaFormat) |
| static QString | getString (IMFActivate *device, const IID &id) |
| static std::optional< QCameraDevice > | createCameraDevice (IMFActivate *device) |
| static QList< QCameraDevice > | readCameraDevices (IMFAttributes *attr) |
Variables | |
| static const auto | windowClassName = TEXT("QWindowsMediaDevicesMessageWindow") |
|
static |
Definition at line 146 of file qwindowsvideodevices.cpp.
References createCameraFormat(), device, getString(), i, info, and QString::toUtf8().
Referenced by readCameraDevices().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 103 of file qwindowsvideodevices.cpp.
References QVideoFrameFormat::Format_Invalid, and QWindowsMultimediaUtils::pixelFormatFromMediaSubtype().
Referenced by createCameraDevice().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 39 of file qwindowsvideodevices.cpp.
References deviceNotificationWndProc(), and windowClassName.
Referenced by QWindowsVideoDevices::QWindowsVideoDevices().
Here is the call graph for this function:
Here is the caller graph for this function:| QT_BEGIN_NAMESPACE LRESULT QT_WIN_CALLBACK deviceNotificationWndProc | ( | HWND | hWnd, |
| UINT | message, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) |
Definition at line 20 of file qwindowsvideodevices.cpp.
Referenced by createMessageOnlyWindow().
Here is the caller graph for this function:Definition at line 134 of file qwindowsvideodevices.cpp.
References device, QString::fromWCharArray(), and str.
Referenced by createCameraDevice(), and QLocaleData::numericData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 184 of file qwindowsvideodevices.cpp.
References createCameraDevice(), device, and i.
Referenced by QWindowsVideoDevices::videoDevices().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 37 of file qwindowsvideodevices.cpp.
Referenced by QWindowsVideoDevices::QWindowsVideoDevices(), QWindowsVideoDevices::~QWindowsVideoDevices(), WindowCreationData::create(), and createMessageOnlyWindow().