4#ifndef QPIPEWIRE_VIDEOFORMAT_SUPPORT_P_H
5#define QPIPEWIRE_VIDEOFORMAT_SUPPORT_P_H
18#include <QtMultimedia/private/qtmultimediaglobal_p.h>
19#include <QtMultimedia/qvideoframeformat.h>
21#include <spa/param/video/raw.h>
22#include <spa/utils/defs.h>
50 .width = uint32_t(size.width()),
51 .height = uint32_t(size.height()),
spa_video_format toSpaVideoFormat(QVideoFrameFormat::PixelFormat pixelFormat)
FrameRate rateFromFps(qreal fps)
QVideoFrameFormat::PixelFormat toQtPixelFormat(spa_video_format spaVideoFormat)
constexpr spa_rectangle toSpaRectangle(QSize size)
constexpr QSize toQSize(spa_rectangle rect)