opencv: extract some base code to a lib

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

opencv: extract some base code to a lib

filnet
Hi,

I would like to extract some opencv base code from the opencv plugin to a library.
This would allow plugin writers to create their own opencv easily.

The opencv plugin is in gst-plugins-bad/ext/opencv.

I would like to move gstopencvutils.[h|cpp] and gstopencvvideofilter.[h|cpp] to gst-plugins-bad/gst-libs/gst/opencv.
gstopencvutils provides a number of utilities and gstopencvvideofilter is the base class for writing opencv filter elements.

I think I know how to do it and it will be inspired from the similarly organized ext/gl and gst-libs/gst/gl modules.

My issue is library name:
The gl libraries are named libgstopengl (for the plugin) and libgstgl-@GST_API_VERSION@ for the library.
Shortening opencv to cv will probably not be accepted.
Having two libgstopencv libraries that differ only in one having a version postfix will probably not be accepted too.

Suggestions are welcome...

Philippe.





_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: opencv: extract some base code to a lib

Sebastian Dröge-3
On Mon, 2016-11-07 at 16:25 +0000, philippe renon wrote:

> Hi,
>
> I would like to extract some opencv base code from the opencv plugin
> to a library.
> This would allow plugin writers to create their own opencv easily.
>
> The opencv plugin is in gst-plugins-bad/ext/opencv.
>
> I would like to move gstopencvutils.[h|cpp] and
> gstopencvvideofilter.[h|cpp] to gst-plugins-bad/gst-libs/gst/opencv.
> gstopencvutils provides a number of utilities and
> gstopencvvideofilter is the base class for writing opencv filter
> elements.
>
> I think I know how to do it and it will be inspired from the
> similarly organized ext/gl and gst-libs/gst/gl modules.
>
> My issue is library name:
> The gl libraries are named libgstopengl (for the plugin) and libgstgl
> -@GST_API_VERSION@ for the library.
> Shortening opencv to cv will probably not be accepted.
> Having two libgstopencv libraries that differ only in one having a
> version postfix will probably not be accepted too.
The latter is the situation of libgstapp-1.0 and libgstapp (plugin).
I see no problem here :)

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment