opencv: mark symbols explicitly for export with GST_EXPORT

This commit is contained in:
Tim-Philipp Müller 2017-07-18 01:16:28 +01:00
parent 659fa31cf9
commit 00bc9d7070
2 changed files with 8 additions and 1 deletions

View file

@ -31,17 +31,21 @@
G_BEGIN_DECLS
GST_EXPORT
gboolean gst_opencv_parse_iplimage_params_from_caps
(GstCaps * caps, gint * width, gint * height, gint * depth,
gint * channels, GError ** err);
GST_EXPORT
gboolean gst_opencv_iplimage_params_from_video_info
(GstVideoInfo * info, gint * width, gint * height, gint * depth,
gint * channels, GError ** err);
GST_EXPORT
gboolean gst_opencv_cv_image_type_from_video_format (GstVideoFormat format,
int * cv_type, GError ** err);
GST_EXPORT
GstCaps * gst_opencv_caps_from_cv_image_type (int cv_type);
G_END_DECLS

View file

@ -101,10 +101,13 @@ struct _GstOpencvVideoFilterClass
GstOpencvVideoFilterSetCaps cv_set_caps;
};
GST_EXPORT
GType gst_opencv_video_filter_get_type (void);
GST_EXPORT
void gst_opencv_video_filter_set_in_place (GstOpencvVideoFilter * transform,
gboolean ip);
gboolean ip);
G_END_DECLS
#endif /* __GST_OPENCV_VIDEO_FILTER_H__ */