This GStreamer plugin is responsible for getting the images from the thermal imaging camera, FLIR A320, and publishing them through IPC. More...
![]() |
Data Structures | |
struct | _GstpublishimageIPC |
struct | _GstpublishimageIPCClass |
Defines | |
#define | GST_PLUGIN_VERSION "0.10.0.1" |
#define | GST_PLUGIN_VERSION_RELEASE "0.20100317.211943" |
#define | HAVE_DLFCN_H 1 |
#define | HAVE_INTTYPES_H 1 |
#define | HAVE_MEMORY_H 1 |
#define | HAVE_STDINT_H 1 |
#define | HAVE_STDLIB_H 1 |
#define | HAVE_STRINGS_H 1 |
#define | HAVE_STRING_H 1 |
#define | HAVE_SYS_STAT_H 1 |
#define | HAVE_SYS_TYPES_H 1 |
#define | HAVE_UNISTD_H 1 |
#define | LT_OBJDIR ".libs/" |
#define | PACKAGE "gst-LAR" |
#define | PACKAGE_BUGREPORT "" |
#define | PACKAGE_NAME "" |
#define | PACKAGE_STRING "" |
#define | PACKAGE_TARNAME "" |
#define | PACKAGE_VERSION "" |
#define | STDC_HEADERS 1 |
#define | VERSION "0.10.0.1" |
#define | GST_CAT_DEFAULT gst_publishimageIPC_debug |
#define | GST_TYPE_PUBLISHIMAGEIPC (gst_publishimageIPC_get_type()) |
#define | GST_PUBLISHIMAGEIPC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_PUBLISHIMAGEIPC,GstpublishimageIPC)) |
#define | GST_PUBLISHIMAGEIPC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PUBLISHIMAGEIPC,GstpublishimageIPCClass)) |
#define | GST_IS_PUBLISHIMAGEIPC(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PUBLISHIMAGEIPC)) |
#define | GST_IS_PUBLISHIMAGEIPC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PUBLISHIMAGEIPC)) |
#define | GSTLAR_IMAGE_MESSAGE_NAME (char*)"FLIR_pointcloud" |
#define | GSTLAR_IMAGE_MESSAGE_FMT CAMERA_N0_IMAGE_FMT |
Typedefs | |
typedef struct _GstpublishimageIPC | GstpublishimageIPC |
typedef struct _GstpublishimageIPCClass | GstpublishimageIPCClass |
Enumerations | |
enum | { LAST_SIGNAL } |
enum | { PROP_0, PROP_DISPLAY, PROP_PROFILE } |
Functions | |
GST_DEBUG_CATEGORY_STATIC (gst_publishimageIPC_debug) | |
GST_BOILERPLATE (GstpublishimageIPC, gst_publishimageIPC, GstElement, GST_TYPE_ELEMENT) | |
static void | gst_publishimageIPC_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) |
static void | gst_publishimageIPC_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) |
static gboolean | gst_publishimageIPC_set_caps (GstPad *pad, GstCaps *caps) |
static GstFlowReturn | gst_publishimageIPC_chain (GstPad *pad, GstBuffer *buf) |
static void | gst_publishimageIPC_load_profile (GstpublishimageIPC *filter) |
static void | gst_publishimageIPC_finalize (GObject *obj) |
static void | gst_publishimageIPC_base_init (gpointer gclass) |
static void | gst_publishimageIPC_class_init (GstpublishimageIPCClass *klass) |
static void | gst_publishimageIPC_init (GstpublishimageIPC *filter, GstpublishimageIPCClass *gclass) |
gboolean | gst_publishimageIPC_plugin_init (GstPlugin *plugin) |
GType | gst_publishimageIPC_get_type (void) |
void | gstlar_publish_information (camera_image_message *msg) |
static gboolean | plugin_init (GstPlugin *plugin) |
Variables | |
static GstStaticPadTemplate | sink_factory |
static GstStaticPadTemplate | src_factory |
GstPad * | _GstpublishimageIPC::sinkpad |
GstPad * | _GstpublishimageIPC::srcpad |
IplImage * | _GstpublishimageIPC::cvImage |
CvMemStorage * | _GstpublishimageIPC::cvStorage |
camera_image_message | FLIR_message |
This GStreamer plugin is responsible for getting the images from the thermal imaging camera, FLIR A320, and publishing them through IPC.
#define GST_CAT_DEFAULT gst_publishimageIPC_debug |
#define GST_IS_PUBLISHIMAGEIPC | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PUBLISHIMAGEIPC)) |
#define GST_IS_PUBLISHIMAGEIPC_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PUBLISHIMAGEIPC)) |
#define GST_PLUGIN_VERSION "0.10.0.1" |
#define GST_PLUGIN_VERSION_RELEASE "0.20100317.211943" |
#define GST_PUBLISHIMAGEIPC | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_PUBLISHIMAGEIPC,GstpublishimageIPC)) |
Referenced by gst_publishimageIPC_chain(), gst_publishimageIPC_finalize(), and gst_publishimageIPC_set_caps().
#define GST_PUBLISHIMAGEIPC_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PUBLISHIMAGEIPC,GstpublishimageIPCClass)) |
#define GST_TYPE_PUBLISHIMAGEIPC (gst_publishimageIPC_get_type()) |
#define GSTLAR_IMAGE_MESSAGE_FMT CAMERA_N0_IMAGE_FMT |
#define GSTLAR_IMAGE_MESSAGE_NAME (char*)"FLIR_pointcloud" |
#define HAVE_DLFCN_H 1 |
#define HAVE_INTTYPES_H 1 |
#define HAVE_MEMORY_H 1 |
#define HAVE_STDINT_H 1 |
#define HAVE_STDLIB_H 1 |
#define HAVE_STRING_H 1 |
#define HAVE_STRINGS_H 1 |
#define HAVE_SYS_STAT_H 1 |
#define HAVE_SYS_TYPES_H 1 |
#define HAVE_UNISTD_H 1 |
#define LT_OBJDIR ".libs/" |
#define PACKAGE "gst-LAR" |
#define PACKAGE_BUGREPORT "" |
#define PACKAGE_NAME "" |
#define PACKAGE_STRING "" |
#define PACKAGE_TARNAME "" |
#define PACKAGE_VERSION "" |
#define STDC_HEADERS 1 |
#define VERSION "0.10.0.1" |
typedef struct _GstpublishimageIPC GstpublishimageIPC |
typedef struct _GstpublishimageIPCClass GstpublishimageIPCClass |
GST_BOILERPLATE | ( | GstpublishimageIPC | , | |
gst_publishimageIPC | , | |||
GstElement | , | |||
GST_TYPE_ELEMENT | ||||
) |
GST_DEBUG_CATEGORY_STATIC | ( | gst_publishimageIPC_debug | ) |
SECTION:element-publishimageIPC
this GST plugin is used to get an rgb image from the pipeline and publish it through Carnegie Melon IPC to be used elsewhere, whilst still making it available for viewing through an optional source
<refsect2> <title>Example launch line</title> |[ gst-launch-0.10 videotestsrc ! decodebin ! ffmpegcolorspace ! "This plugin" ! ffmpegcolorspace ! xvimagesink ]| </refsect2>
static void gst_publishimageIPC_base_init | ( | gpointer | gclass | ) | [static] |
References sink_factory.
static GstFlowReturn gst_publishimageIPC_chain | ( | GstPad * | pad, | |
GstBuffer * | buf | |||
) | [static] |
ATTENTION : Image format may not be the correct one for your case!
References camera_image_message::bytes_per_pixel, _GstpublishimageIPC::cvImage, _GstpublishimageIPC::cvStorage, firsttime, FLIR_message, GST_PUBLISHIMAGEIPC, gstlar_publish_information(), camera_image_message::height, camera_image_message::host, camera_image_message::image, camera_image_message::image_size, _GstpublishimageIPC::srcpad, camera_image_message::timestamp, and camera_image_message::width.
Referenced by gst_publishimageIPC_init().
static void gst_publishimageIPC_class_init | ( | GstpublishimageIPCClass * | klass | ) | [static] |
References gst_publishimageIPC_finalize(), gst_publishimageIPC_get_property(), and gst_publishimageIPC_set_property().
static void gst_publishimageIPC_finalize | ( | GObject * | obj | ) | [static] |
References _GstpublishimageIPC::cvImage, and GST_PUBLISHIMAGEIPC.
Referenced by gst_publishimageIPC_class_init().
static void gst_publishimageIPC_get_property | ( | GObject * | object, | |
guint | prop_id, | |||
GValue * | value, | |||
GParamSpec * | pspec | |||
) | [static] |
GType gst_publishimageIPC_get_type | ( | void | ) |
static void gst_publishimageIPC_init | ( | GstpublishimageIPC * | filter, | |
GstpublishimageIPCClass * | gclass | |||
) | [static] |
References gst_publishimageIPC_chain(), gst_publishimageIPC_load_profile(), gst_publishimageIPC_set_caps(), sink_factory, _GstpublishimageIPC::sinkpad, and _GstpublishimageIPC::srcpad.
static void gst_publishimageIPC_load_profile | ( | GstpublishimageIPC * | filter | ) | [static] |
gboolean gst_publishimageIPC_plugin_init | ( | GstPlugin * | plugin | ) |
static gboolean gst_publishimageIPC_set_caps | ( | GstPad * | pad, | |
GstCaps * | caps | |||
) | [static] |
References _GstpublishimageIPC::cvImage, _GstpublishimageIPC::cvStorage, GST_PUBLISHIMAGEIPC, height, _GstpublishimageIPC::sinkpad, _GstpublishimageIPC::srcpad, and width.
Referenced by gst_publishimageIPC_init().
static void gst_publishimageIPC_set_property | ( | GObject * | object, | |
guint | prop_id, | |||
const GValue * | value, | |||
GParamSpec * | pspec | |||
) | [static] |
void gstlar_publish_information | ( | camera_image_message * | msg | ) |
static gboolean plugin_init | ( | GstPlugin * | plugin | ) | [static] |
References FALSE, gst_publishimageIPC_plugin_init(), and TRUE.
IplImage* _GstpublishimageIPC::cvImage [inherited] |
Referenced by gst_publishimageIPC_chain(), gst_publishimageIPC_finalize(), and gst_publishimageIPC_set_caps().
CvMemStorage* _GstpublishimageIPC::cvStorage [inherited] |
Referenced by gst_publishimageIPC_chain(), and gst_publishimageIPC_set_caps().
Referenced by gst_publishimageIPC_chain().
GstStaticPadTemplate sink_factory [static] |
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
)
Referenced by gst_publishimageIPC_base_init(), and gst_publishimageIPC_init().
GstPad* _GstpublishimageIPC::sinkpad [inherited] |
Referenced by gst_publishimageIPC_init(), and gst_publishimageIPC_set_caps().
GstStaticPadTemplate src_factory [static] |
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
)
GstPad * _GstpublishimageIPC::srcpad [inherited] |
Referenced by gst_publishimageIPC_chain(), gst_publishimageIPC_init(), and gst_publishimageIPC_set_caps().