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
QVsp2BlendingDevice Class Reference

#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
 

Detailed Description

Definition at line 17 of file qvsp2blendingdevice.h.

Constructor & Destructor Documentation

◆ QVsp2BlendingDevice()

QVsp2BlendingDevice::QVsp2BlendingDevice ( const QSize & screenSize)

Definition at line 46 of file qvsp2blendingdevice.cpp.

References QList< T >::append(), arg, i, numInputs(), QLinuxMediaDevice::openVideoDevice(), qWarning, QLinuxMediaDevice::CaptureSubDevice::requestBuffer(), QLinuxMediaDevice::CaptureSubDevice::setFormat(), and QLinuxMediaDevice::setSubdevFormat().

+ Here is the call graph for this function:

Member Function Documentation

◆ blend()

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:

◆ disableInput()

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:

◆ enableInput() [1/2]

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:

◆ enableInput() [2/2]

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, 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:

◆ hasContinuousLayers()

bool QVsp2BlendingDevice::hasContinuousLayers ( ) const

Definition at line 248 of file qvsp2blendingdevice.cpp.

Referenced by blend().

+ Here is the caller graph for this function:

◆ isDirty()

bool QVsp2BlendingDevice::isDirty ( ) const
inline

Definition at line 29 of file qvsp2blendingdevice.h.

Referenced by QEglFSKmsVsp2Screen::blendAndFlipDrm().

+ Here is the caller graph for this function:

◆ numInputs()

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:

◆ setInputAlpha()

bool QVsp2BlendingDevice::setInputAlpha ( int index,
qreal alpha )

Definition at line 170 of file qvsp2blendingdevice.cpp.

References QLinuxMediaDevice::setSubdevAlpha().

Referenced by QEglFSKmsVsp2Screen::setLayerAlpha().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setInputBuffer()

bool QVsp2BlendingDevice::setInputBuffer ( int index,
int dmabufFd )

Definition at line 141 of file qvsp2blendingdevice.cpp.

References qWarning.

Referenced by QEglFSKmsVsp2Screen::addLayer(), QEglFSKmsVsp2Screen::blendAndFlipDrm(), and QEglFSKmsVsp2Screen::setLayerBuffer().

+ Here is the caller graph for this function:

◆ setInputPosition()

bool QVsp2BlendingDevice::setInputPosition ( int index,
const QPoint & position )

Definition at line 158 of file qvsp2blendingdevice.cpp.

References position(), and QLinuxMediaDevice::setSubdevCompose().

Referenced by QEglFSKmsVsp2Screen::setLayerPosition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: