From cc70130c6f2d84f59297b12de3c33ce58dd155be Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Fri, 18 Nov 2011 12:16:22 +0100 Subject: [PATCH] [475/906] docs: add glmosaic and glshader to docs --- gst/gl/gstglmosaic.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gst/gl/gstglmosaic.c b/gst/gl/gstglmosaic.c index 67473d1156..2c27836c14 100644 --- a/gst/gl/gstglmosaic.c +++ b/gst/gl/gstglmosaic.c @@ -18,6 +18,23 @@ * Boston, MA 02111-1307, USA. */ +/** + * SECTION:element-glmosaic + * + * glmixer sub element. N gl sink pads to 1 source pad. + * N + 1 OpenGL contexts shared together. + * N <= 6 because the rendering is more a like a cube than a mosaic + * Each opengl input stream is rendered on a cube face + * + * + * Examples + * |[ + * gst-launch-0.10 videotestsrc ! "video/x-raw-yuv, format=(fourcc)YUY2" ! glupload ! queue ! glmosaic name=m ! glimagesink videotestsrc pattern=12 ! "video/x-raw-yuv, format=(fourcc)I420, framerate=(fraction)5/1, width=100, height=200" ! glupload ! queue ! m. videotestsrc ! "video/x-raw-rgb, framerate=(fraction)15/1, width=1500, height=1500" ! glupload ! gleffects effect=3 ! queue ! m. videotestsrc ! glupload ! gleffects effect=2 ! queue ! m. videotestsrc ! glupload ! glfiltercube ! queue ! m. videotestsrc ! glupload ! gleffects effect=6 ! queue ! m. + * ]| + * FBO (Frame Buffer Object) is required. + * + */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif