diff options
author | Philippe Renon <philippe_renon@yahoo.fr> | 2016-11-26 13:34:26 +0100 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2016-11-29 21:21:49 -0500 |
commit | f6021e001603ed45e63236608c16770299a04435 (patch) | |
tree | 9868dfd5551cdb911aa211d2e33f92de63a6bba5 /gst-libs/gst/opencv/gstopencvutils.h | |
parent | cfc420bf4d36076479a22b045fd892e6587f1b22 (diff) | |
download | gstreamer-plugins-bad-f6021e001603ed45e63236608c16770299a04435.tar.gz |
opencv: account for sparse/padded formats when converting caps to cv image type
https://bugzilla.gnome.org/show_bug.cgi?id=774576
Diffstat (limited to 'gst-libs/gst/opencv/gstopencvutils.h')
-rw-r--r-- | gst-libs/gst/opencv/gstopencvutils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gst-libs/gst/opencv/gstopencvutils.h b/gst-libs/gst/opencv/gstopencvutils.h index 4cd32d8b8..47d1c0686 100644 --- a/gst-libs/gst/opencv/gstopencvutils.h +++ b/gst-libs/gst/opencv/gstopencvutils.h @@ -29,7 +29,6 @@ #include <gst/gst.h> #include <gst/video/video.h> - G_BEGIN_DECLS gboolean gst_opencv_parse_iplimage_params_from_caps @@ -40,7 +39,11 @@ gboolean gst_opencv_iplimage_params_from_video_info (GstVideoInfo * info, gint * width, gint * height, gint * depth, gint * channels, GError ** err); +gboolean gst_opencv_cv_image_type_from_video_format (GstVideoFormat format, + int * cv_type, GError ** err); + GstCaps * gst_opencv_caps_from_cv_image_type (int cv_type); + G_END_DECLS #endif /* __GST_OPENCV_UTILS__ */ |