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
qvideoframeconverter_p.h File Reference

(926d68df7ec166fd015f6bcfab4a07ae224867f4)

#include <qvideoframe.h>
Include dependency graph for qvideoframeconverter_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Q_MULTIMEDIA_EXPORT QImage qImageFromVideoFrame (const QVideoFrame &frame, const VideoTransformation &transformation, bool forceCpu=false)
Q_MULTIMEDIA_EXPORT QImage qImageFromVideoFrame (const QVideoFrame &frame, bool forceCpu=false)
Q_MULTIMEDIA_EXPORT QImage videoFramePlaneAsImage (QVideoFrame &frame, int plane, QImage::Format targetFromat, QSize targetSize)
 Maps the video frame and returns an image having a shared ownership for the video frame and referencing to its mapped data.

Function Documentation

◆ qImageFromVideoFrame() [1/2]

Q_MULTIMEDIA_EXPORT QImage qImageFromVideoFrame ( const QVideoFrame & frame,
bool forceCpu = false )

Definition at line 230 of file qvideoframeconverter.cpp.

◆ qImageFromVideoFrame() [2/2]

Q_MULTIMEDIA_EXPORT QImage qImageFromVideoFrame ( const QVideoFrame & frame,
const VideoTransformation & transformation,
bool forceCpu = false )

Definition at line 237 of file qvideoframeconverter.cpp.

◆ videoFramePlaneAsImage()

Q_MULTIMEDIA_EXPORT QImage videoFramePlaneAsImage ( QVideoFrame & frame,
int plane,
QImage::Format targetFromat,
QSize targetSize )

Maps the video frame and returns an image having a shared ownership for the video frame and referencing to its mapped data.

Definition at line 376 of file qvideoframeconverter.cpp.

References QVideoFramePrivate::handle().

Here is the call graph for this function: