opencv: add headers with example launch lines
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 15 Dec 2015 15:56:19 +0000 (15:56 +0000)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 15 Dec 2015 20:55:00 +0000 (20:55 +0000)
Add description headers for all the OpenCV plugins missing them, so we can
have gst-launch-1.0 example launch lines for all of them.

ext/opencv/gstcvdilate.cpp
ext/opencv/gstcvequalizehist.cpp
ext/opencv/gstcverode.cpp
ext/opencv/gstcvlaplace.cpp
ext/opencv/gstcvsmooth.cpp
ext/opencv/gstcvsobel.cpp

index 9c1479d0240295871f04752e6dc3610b4c0a4fe8..bc6b032165df957cdda273de61eff1a3fb516af6 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+/**
+ * SECTION:element-cvdilate
+ *
+ * Dilates the image with the cvDilate OpenCV function.
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * |[
+ * gst-launch-1.0 videotestsrc ! cvdilate ! videoconvert ! autovideosink
+ * ]|
+ * </refsect2>
+ */
+
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
index c92497fc28d69babffae50ea3f175babab01f4c2..ea1db289fd8dc38540d33c5eb64546d381e6db7c 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+/**
+ * SECTION:element-cvequalizehist
+ *
+ * Equalizes the histogram of a grayscale image with the cvEqualizeHist OpenCV
+ * function.
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * |[
+ * gst-launch-1.0 videotestsrc pattern=23 ! cvequalizehist ! videoconvert ! autovideosink
+ * ]|
+ * </refsect2>
+ */
+
+
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
index 75e2a1bb81cb1be9dfb26426892e887bf2b86756..39b72be5723f75738f4c6264e91bf1c51f91c778 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+/**
+ * SECTION:element-cverode
+ *
+ * Erodes the image with the cvErode OpenCV function.
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * |[
+ * gst-launch-1.0 videotestsrc ! cverode ! videoconvert ! autovideosink
+ * ]|
+ * </refsect2>
+ */
+
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
index 56b74b2ec112be18c334e817a863c0b053f3c686..04cd575ae556ca74d87bc4f297b21ee4df14378b 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+/**
+ * SECTION:element-cvlaplace
+ *
+ * Applies cvLaplace OpenCV function to the image.
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * |[
+ * gst-launch-1.0 videotestsrc ! cvlaplace ! videoconvert ! autovideosink
+ * ]|
+ * </refsect2>
+ */
+
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
index 1bf3b60d20ffdae9ce96ca324c1de9aef3c7aa9b..92e070daac2c19364ce5e2c9c152e348599b73eb 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+/**
+ * SECTION:element-cvsmooth
+ *
+ * Smooths the image using thes cvSmooth OpenCV function.
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * |[
+ * gst-launch-1.0 videotestsrc ! cvsmooth ! videoconvert ! autovideosink
+ * ]|
+ * </refsect2>
+ */
+
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
index 2623cdca627613f0d4cba14ceb51cd8a400e9ac6..f1f67503e5a78c684057aa0b66d475bfee2444fc 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
+/**
+ * SECTION:element-cvsobel
+ *
+ * Applies the cvSobel OpenCV function to the image.
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * |[
+ * gst-launch-1.0 videotestsrc ! cvsobel ! videoconvert ! autovideosink
+ * ]|
+ * </refsect2>
+ */
+
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif