Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgst.cpp File Reference

(244f83dd0f4c6c98f2c62e7e0535d1557e1d603a)

#include <common/qgst_p.h>
#include <common/qgst_debug_p.h>
#include <common/qgstpipeline_p.h>
#include <common/qgstreamermessage_p.h>
#include <common/qgstutils_p.h>
#include <common/qgstvideobuffer_p.h>
#include <QtCore/qdebug.h>
#include <QtMultimedia/private/qvideoframe_p.h>
#include <QtMultimedia/qcameradevice.h>
#include <array>
#include <thread>
Include dependency graph for qgst.cpp:

Go to the source code of this file.

Classes

struct  QT_BEGIN_NAMESPACE::VideoFormat

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Functions

GstVideoFormat qGstVideoFormatFromPixelFormat (QVideoFrameFormat::PixelFormat format)
QVideoFrameFormat::PixelFormat qPixelFormatFromGstVideoFormat (GstVideoFormat format)
QString qGstErrorMessageCannotFindElement (std::string_view element)
QVideoFrameFormat qVideoFrameFormatFromGstVideoInfo (const QGstVideoInfo &qtVideoInfo)
QGstCaps::MemoryFormat qMemoryFormatFromGstBuffer (GstBuffer *buffer)
QVideoFrame qCreateFrameFromGstBuffer (QGstBufferHandle buffer, const QGstVideoInfo &videoInfo)

Variables

constexpr std::array< VideoFormat, 19 > QT_BEGIN_NAMESPACE::qt_videoFormatLookup

Function Documentation

◆ qCreateFrameFromGstBuffer()

QVideoFrame qCreateFrameFromGstBuffer ( QGstBufferHandle buffer,
const QGstVideoInfo & videoInfo )

Definition at line 1717 of file qgst.cpp.

◆ qGstErrorMessageCannotFindElement()

QString qGstErrorMessageCannotFindElement ( std::string_view element)

Definition at line 1600 of file qgst.cpp.

◆ qGstVideoFormatFromPixelFormat()

GstVideoFormat qGstVideoFormatFromPixelFormat ( QVideoFrameFormat::PixelFormat format)

Definition at line 104 of file qgst.cpp.

◆ qMemoryFormatFromGstBuffer()

QGstCaps::MemoryFormat qMemoryFormatFromGstBuffer ( GstBuffer * buffer)

Definition at line 1698 of file qgst.cpp.

References QGstCaps::CpuMemory.

◆ qPixelFormatFromGstVideoFormat()

QVideoFrameFormat::PixelFormat qPixelFormatFromGstVideoFormat ( GstVideoFormat format)

Definition at line 113 of file qgst.cpp.

◆ qVideoFrameFormatFromGstVideoInfo()

QVideoFrameFormat qVideoFrameFormatFromGstVideoInfo ( const QGstVideoInfo & qtVideoInfo)

Definition at line 1606 of file qgst.cpp.