![]() |
Qt 6.x
The Qt SDK
|
#include <qvsp2blendingdevice.h>
Collaboration diagram for QVsp2BlendingDevice:Public Member Functions | |
| QVsp2BlendingDevice (const QSize &screenSize) | |
| bool | enableInput (int i, const QRect &bufferGeometry, uint drmFormat, uint bytesPerLine) |
| int | enableInput (const QRect &bufferGeometry, uint drmFormat, uint bytesPerLine) |
| bool | disableInput (int i) |
| bool | setInputBuffer (int index, int dmabufFd) |
| bool | setInputPosition (int index, const QPoint &position) |
| bool | setInputAlpha (int index, qreal alpha) |
| bool | blend (int outputDmabufFd) |
| int | numInputs () const |
| bool | isDirty () const |
| bool | hasContinuousLayers () const |
Definition at line 17 of file qvsp2blendingdevice.h.
| QVsp2BlendingDevice::QVsp2BlendingDevice | ( | const QSize & | screenSize | ) |
Definition at line 46 of file qvsp2blendingdevice.cpp.
References QList< T >::append(), arg, QLinuxMediaDevice::deviceName(), QLinuxMediaDevice::enableLink(), i, Input, QLinuxMediaDevice::model(), numInputs(), QLinuxMediaDevice::openVideoDevice(), QLinuxMediaDevice::parseLink(), QLinuxMediaDevice::parsePad(), qWarning, QLinuxMediaDevice::CaptureSubDevice::requestBuffer(), QLinuxMediaDevice::CaptureSubDevice::setFormat(), and QLinuxMediaDevice::setSubdevFormat().
Here is the call graph for this function:| bool QVsp2BlendingDevice::blend | ( | int | outputDmabufFd | ) |
Definition at line 181 of file qvsp2blendingdevice.cpp.
References QLinuxMediaDevice::CaptureSubDevice::dequeueBuffer(), hasContinuousLayers(), i, QLinuxMediaDevice::CaptureSubDevice::queueBuffer(), qWarning, and QList< T >::size().
Referenced by QEglFSKmsVsp2Screen::blendAndFlipDrm().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QVsp2BlendingDevice::disableInput | ( | int | i | ) |
Definition at line 128 of file qvsp2blendingdevice.cpp.
References QLinuxMediaDevice::disableLink(), i, qCDebug, and qWarning.
Referenced by QEglFSKmsVsp2Screen::blendAndFlipDrm(), enableInput(), and QEglFSKmsVsp2Screen::removeLayer().
Here is the call graph for this function:
Here is the caller graph for this function:| int QVsp2BlendingDevice::enableInput | ( | const QRect & | bufferGeometry, |
| uint | drmFormat, | ||
| uint | bytesPerLine | ||
| ) |
Definition at line 118 of file qvsp2blendingdevice.cpp.
References enableInput(), i, qWarning, and QList< T >::size().
Here is the call graph for this function:| bool QVsp2BlendingDevice::enableInput | ( | int | i, |
| const QRect & | bufferGeometry, | ||
| uint | drmFormat, | ||
| uint | bytesPerLine | ||
| ) |
Definition at line 91 of file qvsp2blendingdevice.cpp.
References disableInput(), drmFormatToV4l2PixelFormat(), QLinuxMediaDevice::enableLink(), i, Input, QRect::isValid(), qCDebug, and qWarning.
Referenced by QEglFSKmsVsp2Screen::addLayer(), enableInput(), and QEglFSKmsVsp2Screen::initQtLayer().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QVsp2BlendingDevice::hasContinuousLayers | ( | ) | const |
Definition at line 248 of file qvsp2blendingdevice.cpp.
Referenced by blend().
Here is the caller graph for this function:
|
inline |
Definition at line 29 of file qvsp2blendingdevice.h.
Referenced by QEglFSKmsVsp2Screen::blendAndFlipDrm().
Here is the caller graph for this function:| int QVsp2BlendingDevice::numInputs | ( | ) | const |
Definition at line 243 of file qvsp2blendingdevice.cpp.
References QList< T >::size().
Referenced by QVsp2BlendingDevice().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QVsp2BlendingDevice::setInputAlpha | ( | int | index, |
| qreal | alpha | ||
| ) |
Definition at line 170 of file qvsp2blendingdevice.cpp.
References Input, and QLinuxMediaDevice::setSubdevAlpha().
Referenced by QEglFSKmsVsp2Screen::setLayerAlpha().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QVsp2BlendingDevice::setInputBuffer | ( | int | index, |
| int | dmabufFd | ||
| ) |
Definition at line 141 of file qvsp2blendingdevice.cpp.
References Input, and qWarning.
Referenced by QEglFSKmsVsp2Screen::addLayer(), QEglFSKmsVsp2Screen::blendAndFlipDrm(), and QEglFSKmsVsp2Screen::setLayerBuffer().
Here is the caller graph for this function:| bool QVsp2BlendingDevice::setInputPosition | ( | int | index, |
| const QPoint & | position | ||
| ) |
Definition at line 158 of file qvsp2blendingdevice.cpp.
References Input, position(), and QLinuxMediaDevice::setSubdevCompose().
Referenced by QEglFSKmsVsp2Screen::setLayerPosition().
Here is the call graph for this function:
Here is the caller graph for this function: