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>.
|
Public Member Functions | |
bool | setFormat (const QCameraFormat &format) |
void | onReadSample (HRESULT status, LONGLONG timestamp, IMFSample *sample) |
void | onFlush () |
~ActiveCamera () | |
Static Public Member Functions | |
static std::unique_ptr< ActiveCamera > | create (QWindowsCamera &wc, const QCameraDevice &device, const QCameraFormat &format) |
Definition at line 146 of file qwindowscamera.cpp.
|
inline |
Definition at line 225 of file qwindowscamera.cpp.
|
inlinestatic |
Definition at line 148 of file qwindowscamera.cpp.
References createCameraReader(), createCameraSource(), and device.
Referenced by QWindowsCamera::setActive().
|
inline |
Definition at line 220 of file qwindowscamera.cpp.
References QSemaphore::release().
Referenced by CameraReaderCallback::OnFlush().
Definition at line 185 of file qwindowscamera.cpp.
References QCamera::CameraError, emit, QPlatformCamera::error(), frame, QString::fromStdString(), and QPlatformVideoSource::newVideoFrame().
Referenced by CameraReaderCallback::OnReadSample().
|
inline |
Definition at line 167 of file qwindowscamera.cpp.
References calculateVideoFrameStride(), findVideoType(), QVideoFrameFormat::pixelFormat(), and setCameraReaderFormat().