diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-12-15 11:59:00 +0000 |
---|---|---|
committer | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-12-15 12:01:00 +0000 |
commit | ef53eabee3f5323be3b0dcf11d3672752900ef0e (patch) | |
tree | a39e0c9fd09695cddf5f01882627d52c08655189 | |
parent | 7c42ba97d7ca394c0a2db097a65d3a895f6b5605 (diff) |
geometrictransform: add headers with example launch lines
Add description headers for all geometrictransform elements so we can have
gst-launch-1.0 example launch lines for all of them.
-rw-r--r-- | gst/geometrictransform/gstbulge.c | 15 | ||||
-rw-r--r-- | gst/geometrictransform/gstcircle.c | 14 | ||||
-rw-r--r-- | gst/geometrictransform/gstdiffuse.c | 14 | ||||
-rw-r--r-- | gst/geometrictransform/gstfisheye.c | 15 | ||||
-rw-r--r-- | gst/geometrictransform/gstkaleidoscope.c | 14 | ||||
-rw-r--r-- | gst/geometrictransform/gstmarble.c | 14 | ||||
-rw-r--r-- | gst/geometrictransform/gstmirror.c | 15 | ||||
-rw-r--r-- | gst/geometrictransform/gstperspective.c | 14 | ||||
-rw-r--r-- | gst/geometrictransform/gstpinch.c | 13 | ||||
-rw-r--r-- | gst/geometrictransform/gstrotate.c | 13 | ||||
-rw-r--r-- | gst/geometrictransform/gstsphere.c | 13 | ||||
-rw-r--r-- | gst/geometrictransform/gstsquare.c | 14 | ||||
-rw-r--r-- | gst/geometrictransform/gststretch.c | 14 | ||||
-rw-r--r-- | gst/geometrictransform/gsttunnel.c | 15 | ||||
-rw-r--r-- | gst/geometrictransform/gsttwirl.c | 13 | ||||
-rw-r--r-- | gst/geometrictransform/gstwaterripple.c | 13 |
16 files changed, 223 insertions, 0 deletions
diff --git a/gst/geometrictransform/gstbulge.c b/gst/geometrictransform/gstbulge.c index 4baf22357..98a7849ba 100644 --- a/gst/geometrictransform/gstbulge.c +++ b/gst/geometrictransform/gstbulge.c @@ -41,6 +41,21 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION:element-bulge + * @see_also: geometrictransform + * + * Bugle is a geometric image transform element. It adds a protuberance in the + * center point. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! bulge ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ + #ifdef HAVE_CONFIG_H # include <config.h> #endif diff --git a/gst/geometrictransform/gstcircle.c b/gst/geometrictransform/gstcircle.c index cf6ab01d9..da4f48b0d 100644 --- a/gst/geometrictransform/gstcircle.c +++ b/gst/geometrictransform/gstcircle.c @@ -47,6 +47,20 @@ * his code. */ +/** + * SECTION:element-circle + * @see_also: geometrictransform + * + * Circle is a geometric image transform element. It warps the picture into an + * arc shaped form. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! circle ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ #ifdef HAVE_CONFIG_H # include <config.h> diff --git a/gst/geometrictransform/gstdiffuse.c b/gst/geometrictransform/gstdiffuse.c index 97225c13a..03009c724 100644 --- a/gst/geometrictransform/gstdiffuse.c +++ b/gst/geometrictransform/gstdiffuse.c @@ -47,6 +47,20 @@ * his code. */ +/** + * SECTION:element-diffuse + * @see_also: geometrictransform + * + * Diffuse is a geometric image transform element. It diffuses the image by + * moving its pixels in random directions. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! diffuse ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ #ifdef HAVE_CONFIG_H # include <config.h> diff --git a/gst/geometrictransform/gstfisheye.c b/gst/geometrictransform/gstfisheye.c index 0d9f2b9c2..d08069c2c 100644 --- a/gst/geometrictransform/gstfisheye.c +++ b/gst/geometrictransform/gstfisheye.c @@ -41,6 +41,21 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION:element-fisheye + * @see_also: geometrictransform + * + * Fisheye is a geometric image transform element. It simulates a fisheye lens + * by zooming on the center of the image and compressing the edges. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! fisheye ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ + #ifdef HAVE_CONFIG_H # include <config.h> #endif diff --git a/gst/geometrictransform/gstkaleidoscope.c b/gst/geometrictransform/gstkaleidoscope.c index 554655851..bb1bdfcb8 100644 --- a/gst/geometrictransform/gstkaleidoscope.c +++ b/gst/geometrictransform/gstkaleidoscope.c @@ -47,6 +47,20 @@ * his code. */ +/** + * SECTION:element-kaleidoscope + * @see_also: geometrictransform + * + * The kaleidscope element applies 'kaleidoscope' geometric transform to the + * image. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! kaleidoscope ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ #ifdef HAVE_CONFIG_H # include <config.h> diff --git a/gst/geometrictransform/gstmarble.c b/gst/geometrictransform/gstmarble.c index a268a3d6d..689845366 100644 --- a/gst/geometrictransform/gstmarble.c +++ b/gst/geometrictransform/gstmarble.c @@ -47,6 +47,20 @@ * his code. */ +/** + * SECTION:element-marble + * @see_also: geometrictransform + * + * Marble is a geometric image transform element. It applies a marbling effect + * to the image. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! marble ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ #ifdef HAVE_CONFIG_H # include <config.h> diff --git a/gst/geometrictransform/gstmirror.c b/gst/geometrictransform/gstmirror.c index dceb3c58e..df18234d4 100644 --- a/gst/geometrictransform/gstmirror.c +++ b/gst/geometrictransform/gstmirror.c @@ -41,6 +41,21 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION:element-mirror + * @see_also: geometrictransform + * + * Mirror is a geometric transform element. It splits the image into two halves + * and reflects one over each other. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! mirror ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ + #ifdef HAVE_CONFIG_H # include <config.h> #endif diff --git a/gst/geometrictransform/gstperspective.c b/gst/geometrictransform/gstperspective.c index e9ed2300c..bafa1fc5d 100644 --- a/gst/geometrictransform/gstperspective.c +++ b/gst/geometrictransform/gstperspective.c @@ -47,6 +47,20 @@ * http://docs.oracle.com/cd/E17802_01/products/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PerspectiveTransform.html */ +/** + * SECTION:element-perspective + * @see_also: geometrictransform + * + * The perspective element applies a 2D perspective transform. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! perspective ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ + /* FIXME: suppress warnings for deprecated API such as GValueArray * with newer GLib versions (>= 2.31.0) * diff --git a/gst/geometrictransform/gstpinch.c b/gst/geometrictransform/gstpinch.c index 296b84ab0..d68dcd168 100644 --- a/gst/geometrictransform/gstpinch.c +++ b/gst/geometrictransform/gstpinch.c @@ -47,6 +47,19 @@ * his code. */ +/** + * SECTION:element-pinch + * @see_also: geometrictransform + * + * Pinch applies a 'pinch' geometric transform to the image. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! pinch ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ #ifdef HAVE_CONFIG_H # include <config.h> diff --git a/gst/geometrictransform/gstrotate.c b/gst/geometrictransform/gstrotate.c index 693c89885..1e03339bf 100644 --- a/gst/geometrictransform/gstrotate.c +++ b/gst/geometrictransform/gstrotate.c @@ -47,6 +47,19 @@ * his code. */ +/** + * SECTION:element-rotate + * @see_also: geometrictransform + * + * The rotate element transforms the image by rotating it by a specified angle. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! rotate angle=0.78 ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ #ifdef HAVE_CONFIG_H # include <config.h> diff --git a/gst/geometrictransform/gstsphere.c b/gst/geometrictransform/gstsphere.c index a425470f6..5f39a4765 100644 --- a/gst/geometrictransform/gstsphere.c +++ b/gst/geometrictransform/gstsphere.c @@ -47,6 +47,19 @@ * his code. */ +/** + * SECTION:element-sphere + * @see_also: geometrictransform + * + * The sphere element applies a 'sphere' geometric transform to the image. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! sphere ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ #ifdef HAVE_CONFIG_H # include <config.h> diff --git a/gst/geometrictransform/gstsquare.c b/gst/geometrictransform/gstsquare.c index ba0d2bf4f..4b044f194 100644 --- a/gst/geometrictransform/gstsquare.c +++ b/gst/geometrictransform/gstsquare.c @@ -41,6 +41,20 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION:element-square + * @see_also: geometrictransform + * + * The square element distorts the center part of the image into a square. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! square zoom=100 ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ + #ifdef HAVE_CONFIG_H # include <config.h> #endif diff --git a/gst/geometrictransform/gststretch.c b/gst/geometrictransform/gststretch.c index f0c7998fe..61eed37f0 100644 --- a/gst/geometrictransform/gststretch.c +++ b/gst/geometrictransform/gststretch.c @@ -41,6 +41,20 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION:element-stretch + * @see_also: geometrictransform + * + * The stretch element stretches the image in a circle around the center point. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! stretch ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ + #ifdef HAVE_CONFIG_H # include <config.h> #endif diff --git a/gst/geometrictransform/gsttunnel.c b/gst/geometrictransform/gsttunnel.c index a71f0ef0a..94b6070cc 100644 --- a/gst/geometrictransform/gsttunnel.c +++ b/gst/geometrictransform/gsttunnel.c @@ -41,6 +41,21 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION:element-tunnel + * @see_also: geometrictransform + * + * Tunnel is a geometric image transform element. It applies a light tunnel + * effect. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! tunnel ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ + #ifdef HAVE_CONFIG_H # include <config.h> #endif diff --git a/gst/geometrictransform/gsttwirl.c b/gst/geometrictransform/gsttwirl.c index 33222c859..962d3ba6d 100644 --- a/gst/geometrictransform/gsttwirl.c +++ b/gst/geometrictransform/gsttwirl.c @@ -47,6 +47,19 @@ * his code. */ +/** + * SECTION:element-twirl + * @see_also: geometrictransform + * + * The twirl element twists the image from the center out. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! twirl ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ #ifdef HAVE_CONFIG_H # include <config.h> diff --git a/gst/geometrictransform/gstwaterripple.c b/gst/geometrictransform/gstwaterripple.c index 4daff2a42..96af6e8d7 100644 --- a/gst/geometrictransform/gstwaterripple.c +++ b/gst/geometrictransform/gstwaterripple.c @@ -47,6 +47,19 @@ * his code. */ +/** + * SECTION:element-waterripple + * @see_also: geometrictransform + * + * The waterripple element creates a water ripple effect on the image. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch-1.0 -v videotestsrc ! waterripple ! videoconvert ! autovideosink + * ]| + * </refsect2> + */ #ifdef HAVE_CONFIG_H # include <config.h> |