QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstHwVideoInfo.h
Go to the documentation of this file.
1#pragma once
2
3#include <gst/gst.h>
4#include <gst/video/video-info.h>
5
6namespace GstHw {
7
10bool dmaDrmAwareVideoInfo(GstCaps* caps, GstVideoInfo* info);
11
14bool hasCpuLayout(GstCaps* caps);
15
19int planeHeight(const GstVideoInfo& info, int plane);
20
23int planeRowBytes(const GstVideoInfo& info, int plane);
24
27bool setFrameSize(GstVideoInfo& info, int width, int height);
28
29} // namespace GstHw
Defined only in builds with the DMABuf path (QGC_HAS_GST_DMABUF_GPU_PATH) on GStreamer 1....
int planeHeight(const GstVideoInfo &info, int plane)
int planeRowBytes(const GstVideoInfo &info, int plane)
bool hasCpuLayout(GstCaps *caps)
bool dmaDrmAwareVideoInfo(GstCaps *caps, GstVideoInfo *info)
bool setFrameSize(GstVideoInfo &info, int width, int height)