|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include "gstqgcvideosinkbin.h"#include "gstqgcelements.h"#include <array>#include <initializer_list>#include <string>#include "GstQgcAllocation.h"#include "GstQgcCaps.h"
Include dependency graph for gstqgcvideosinkbin.cc:Go to the source code of this file.
Macros | |
| #define | GST_CAT_DEFAULT gst_qgc_debug |
| #define | gst_qgc_video_sink_bin_parent_class parent_class |
Enumerations | |
| enum | { PROP_0 , PROP_GPU_ZEROCOPY , PROP_CONVERSION_ELEMENT , PROP_DISABLE_PAR , PROP_SYNC , PROP_QOS , PROP_PROCESSING_DEADLINE , PROP_LAST } |
Functions | |
| G_DEFINE_FINAL_TYPE (GstQgcVideoSinkBin, gst_qgc_video_sink_bin, GST_TYPE_BIN) | |
| GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (qgcvideosinkbin, "qgcvideosinkbin", GST_RANK_NONE, GST_TYPE_QGC_VIDEO_SINK_BIN, qgc_element_init(plugin)) | |
| static void | gst_qgc_video_sink_bin_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) |
| static void | gst_qgc_video_sink_bin_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) |
| static void | gst_qgc_video_sink_bin_constructed (GObject *object) |
| static void | gst_qgc_video_sink_bin_dispose (GObject *object) |
| static GstStateChangeReturn | gst_qgc_video_sink_bin_change_state (GstElement *element, GstStateChange transition) |
| static void | gst_qgc_video_sink_bin_class_init (GstQgcVideoSinkBinClass *klass) |
| static void | gst_qgc_video_sink_bin_init (GstQgcVideoSinkBin *self) |
| static GstElement * | gst_qgc_video_sink_bin_make_conversion_element (GstQgcVideoSinkBin *self) |
| static gboolean | wireGpuPath (GstQgcVideoSinkBin *self, GstElement *videosink, GstElement *capsf) |
| static gboolean | wireCpuPath (GstQgcVideoSinkBin *self, GstElement *videosink, GstElement *capsf) |
| static void | gst_qgc_video_sink_bin_setup (GstQgcVideoSinkBin *self) |
| GstElement * | gst_qgc_video_sink_bin_get_qvideosink (GstQgcVideoSinkBin *self) |
| Returns the internal qgcqvideosink element, transfer-full (caller unrefs); NULL if not yet constructed. | |
| gboolean | gst_qgc_video_sink_bin_get_gpu_zerocopy (GstElement *bin) |
| Whether the bin built its GPU zero-copy pipeline (mirrors "gpu-zerocopy"); NULL-safe (FALSE). | |
Variables | |
| static GParamSpec * | properties [PROP_LAST] |
| static GstStaticPadTemplate | sink_factory |
| #define GST_CAT_DEFAULT gst_qgc_debug |
Definition at line 12 of file gstqgcvideosinkbin.cc.
| #define gst_qgc_video_sink_bin_parent_class parent_class |
Definition at line 157 of file gstqgcvideosinkbin.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| PROP_0 | |
| PROP_GPU_ZEROCOPY | |
| PROP_CONVERSION_ELEMENT | |
| PROP_DISABLE_PAR | |
| PROP_SYNC | |
| PROP_QOS | |
| PROP_PROCESSING_DEADLINE | |
| PROP_LAST | |
Definition at line 14 of file gstqgcvideosinkbin.cc.
| G_DEFINE_FINAL_TYPE | ( | GstQgcVideoSinkBin | , |
| gst_qgc_video_sink_bin | , | ||
| GST_TYPE_BIN | |||
| ) |
| GST_ELEMENT_REGISTER_DEFINE_WITH_CODE | ( | qgcvideosinkbin | , |
| "qgcvideosinkbin" | , | ||
| GST_RANK_NONE | , | ||
| GST_TYPE_QGC_VIDEO_SINK_BIN | , | ||
| qgc_element_init(plugin) | |||
| ) |
|
static |
Definition at line 476 of file gstqgcvideosinkbin.cc.
References gst_qgc_video_sink_bin_parent_class.
Referenced by gst_qgc_video_sink_bin_class_init().
|
static |
Definition at line 169 of file gstqgcvideosinkbin.cc.
References gst_qgc_video_sink_bin_change_state(), gst_qgc_video_sink_bin_constructed(), gst_qgc_video_sink_bin_dispose(), gst_qgc_video_sink_bin_get_property(), gst_qgc_video_sink_bin_set_property(), PROP_CONVERSION_ELEMENT, PROP_DISABLE_PAR, PROP_GPU_ZEROCOPY, PROP_LAST, PROP_PROCESSING_DEADLINE, PROP_QOS, PROP_SYNC, properties, and sink_factory.
|
static |
Definition at line 454 of file gstqgcvideosinkbin.cc.
References gst_qgc_video_sink_bin_parent_class, and gst_qgc_video_sink_bin_setup().
Referenced by gst_qgc_video_sink_bin_class_init().
|
static |
Definition at line 462 of file gstqgcvideosinkbin.cc.
References gst_qgc_video_sink_bin_parent_class.
Referenced by gst_qgc_video_sink_bin_class_init().
| gboolean gst_qgc_video_sink_bin_get_gpu_zerocopy | ( | GstElement * | bin | ) |
Whether the bin built its GPU zero-copy pipeline (mirrors "gpu-zerocopy"); NULL-safe (FALSE).
Definition at line 563 of file gstqgcvideosinkbin.cc.
Referenced by GStreamer::setupQVideoSinkElement().
|
static |
Definition at line 526 of file gstqgcvideosinkbin.cc.
References PROP_CONVERSION_ELEMENT, PROP_DISABLE_PAR, PROP_GPU_ZEROCOPY, PROP_PROCESSING_DEADLINE, PROP_QOS, and PROP_SYNC.
Referenced by gst_qgc_video_sink_bin_class_init().
| GstElement * gst_qgc_video_sink_bin_get_qvideosink | ( | GstQgcVideoSinkBin * | self | ) |
Returns the internal qgcqvideosink element, transfer-full (caller unrefs); NULL if not yet constructed.
Definition at line 557 of file gstqgcvideosinkbin.cc.
Referenced by GStreamer::setupQVideoSinkElement().
|
static |
Definition at line 218 of file gstqgcvideosinkbin.cc.
|
static |
Definition at line 234 of file gstqgcvideosinkbin.cc.
Referenced by wireCpuPath().
|
static |
Definition at line 488 of file gstqgcvideosinkbin.cc.
References PROP_CONVERSION_ELEMENT, PROP_DISABLE_PAR, PROP_GPU_ZEROCOPY, PROP_PROCESSING_DEADLINE, PROP_QOS, and PROP_SYNC.
Referenced by gst_qgc_video_sink_bin_class_init().
|
static |
Definition at line 416 of file gstqgcvideosinkbin.cc.
References GstQgc::videosinkQueryProbe(), wireCpuPath(), and wireGpuPath().
Referenced by gst_qgc_video_sink_bin_constructed().
|
static |
Definition at line 354 of file gstqgcvideosinkbin.cc.
References GstQgc::buildCpuCapsString(), and gst_qgc_video_sink_bin_make_conversion_element().
Referenced by gst_qgc_video_sink_bin_setup().
|
static |
Definition at line 256 of file gstqgcvideosinkbin.cc.
References GstQgc::buildGpuCapsString().
Referenced by gst_qgc_video_sink_bin_setup().
|
static |
Definition at line 26 of file gstqgcvideosinkbin.cc.
Referenced by gst_qgc_video_sink_bin_class_init().
|
static |
Definition at line 30 of file gstqgcvideosinkbin.cc.
Referenced by gst_qgc_video_sink_bin_class_init().