![]() |
Qt 6.x
The Qt SDK
|
#include <qgst_p.h>
Public Types | |
enum | RefMode { HasRef , NeedsRef } |
enum | MemoryFormat { CpuMemory , GLTexture , DMABuf } |
Public Member Functions | |
QGstCaps ()=default | |
QGstCaps (GstCaps *c, RefMode mode) | |
QGstCaps (const QGstCaps &other) | |
~QGstCaps () | |
QGstCaps & | operator= (const QGstCaps &other) |
bool | isNull () const |
QByteArray | toString () const |
int | size () const |
QGstStructure | at (int index) const |
GstCaps * | get () const |
MemoryFormat | memoryFormat () const |
QVideoFrameFormat | formatForCaps (GstVideoInfo *info) const |
void | addPixelFormats (const QList< QVideoFrameFormat::PixelFormat > &formats, const char *modifier=nullptr) |
Static Public Member Functions | |
static QGstCaps | create () |
static QByteArray | toString (const GstCaps *caps) |
static QGstCaps | fromCameraFormat (const QCameraFormat &format) |
enum QGstCaps::RefMode |
|
default |
|
inlineexplicit |
void QGstCaps::addPixelFormats | ( | const QList< QVideoFrameFormat::PixelFormat > & | formats, |
const char * | modifier = nullptr |
||
) |
Definition at line 289 of file qgstutils.cpp.
References item, list, and size().
|
inline |
Definition at line 201 of file qgst_p.h.
Referenced by QGstUtils::audioFormatForCaps(), getImageFormatList(), and QGstreamerVideoOverlay::probeCaps().
|
inlinestatic |
Definition at line 215 of file qgst_p.h.
References QGstCaps(), and HasRef.
Referenced by fromCameraFormat().
QVideoFrameFormat QGstCaps::formatForCaps | ( | GstVideoInfo * | info | ) | const |
Definition at line 190 of file qgstutils.cpp.
References QVideoFrameFormat::ColorRange_Full, QVideoFrameFormat::ColorRange_Unknown, QVideoFrameFormat::ColorRange_Video, QVideoFrameFormat::ColorSpace_AdobeRgb, QVideoFrameFormat::ColorSpace_BT2020, QVideoFrameFormat::ColorSpace_BT601, QVideoFrameFormat::ColorSpace_BT709, QVideoFrameFormat::ColorSpace_Undefined, QVideoFrameFormat::ColorTransfer_BT601, QVideoFrameFormat::ColorTransfer_BT709, QVideoFrameFormat::ColorTransfer_Gamma22, QVideoFrameFormat::ColorTransfer_Gamma28, QVideoFrameFormat::ColorTransfer_Linear, QVideoFrameFormat::ColorTransfer_ST2084, QVideoFrameFormat::ColorTransfer_STD_B67, QVideoFrameFormat::ColorTransfer_Unknown, and info.
|
static |
Definition at line 322 of file qgstutils.cpp.
References create(), and QVideoFrameFormat::Format_Jpeg.
Referenced by QGstreamerCamera::setCamera(), and QGstreamerCamera::setCameraFormat().
|
inline |
Definition at line 197 of file qgst_p.h.
Referenced by QGstVideoRenderer::start().
|
inline |
|
inline |
Definition at line 200 of file qgst_p.h.
Referenced by addPixelFormats(), and getImageFormatList().
|
inline |
Definition at line 199 of file qgst_p.h.
References toString().
Referenced by QGstVideoRenderer::start(), and toString().
|
inlinestatic |