Commit e85d1638 authored by Wim Taymans's avatar Wim Taymans

docs/plugins/: Added videobalance and videoflip to the docs.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
Added videobalance and videoflip to the docs.
* gst/videofilter/Makefile.am:
* gst/videofilter/gstvideobalance.c:
(gst_video_balance_update_tables_planar411),
(gst_video_balance_is_passthrough),
(gst_video_balance_update_properties), (oil_tablelookup_u8),
(gst_video_balance_planar411_ip), (gst_video_balance_set_caps),
(gst_video_balance_transform_ip), (gst_video_balance_base_init),
(gst_video_balance_finalize), (gst_video_balance_class_init),
(gst_video_balance_init), (gst_video_balance_interface_supported),
(gst_video_balance_interface_init),
(gst_video_balance_colorbalance_list_channels),
(gst_video_balance_colorbalance_set_value),
(gst_video_balance_colorbalance_get_value),
(gst_video_balance_colorbalance_init),
(gst_video_balance_set_property), (gst_video_balance_get_property),
(gst_video_balance_get_type), (plugin_init):
* gst/videofilter/gstvideobalance.h:
Ported to 0.10. (Fixes #326160)
Added docs.
* gst/videofilter/gstvideoflip.c:
* gst/videofilter/gstvideoflip.h:
Added docs.
parent 6be283ef
2006-03-03 Wim Taymans <wim@fluendo.com>
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
Added videobalance and videoflip to the docs.
* gst/videofilter/Makefile.am:
* gst/videofilter/gstvideobalance.c:
(gst_video_balance_update_tables_planar411),
(gst_video_balance_is_passthrough),
(gst_video_balance_update_properties), (oil_tablelookup_u8),
(gst_video_balance_planar411_ip), (gst_video_balance_set_caps),
(gst_video_balance_transform_ip), (gst_video_balance_base_init),
(gst_video_balance_finalize), (gst_video_balance_class_init),
(gst_video_balance_init), (gst_video_balance_interface_supported),
(gst_video_balance_interface_init),
(gst_video_balance_colorbalance_list_channels),
(gst_video_balance_colorbalance_set_value),
(gst_video_balance_colorbalance_get_value),
(gst_video_balance_colorbalance_init),
(gst_video_balance_set_property), (gst_video_balance_get_property),
(gst_video_balance_get_type), (plugin_init):
* gst/videofilter/gstvideobalance.h:
Ported to 0.10. (Fixes #326160)
Added docs.
* gst/videofilter/gstvideoflip.c:
* gst/videofilter/gstvideoflip.h:
Added docs.
2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:
......
......@@ -91,6 +91,8 @@ EXTRA_HFILES = \
$(top_srcdir)/gst/multipart/multipartdemux.c \
$(top_srcdir)/gst/udp/gstudpsrc.h \
$(top_srcdir)/gst/udp/gstmultiudpsink.h \
$(top_srcdir)/gst/videofilter/gstvideoflip.h \
$(top_srcdir)/gst/videofilter/gstvideobalance.h \
$(top_srcdir)/gst/videomixer/videomixer.c
# example code that needs to be converted to xml and placed in xml/
......
......@@ -29,6 +29,8 @@
<xi:include href="xml/element-multiudpsink.xml" />
<xi:include href="xml/element-multipartmux.xml" />
<xi:include href="xml/element-multipartdemux.xml" />
<xi:include href="xml/element-videobalance.xml" />
<xi:include href="xml/element-videoflip.xml" />
<xi:include href="xml/element-videomixer.xml" />
</chapter>
......@@ -73,6 +75,7 @@
<xi:include href="xml/plugin-speex.xml" />
<xi:include href="xml/plugin-udp.xml" />
<xi:include href="xml/plugin-videobox.xml" />
<xi:include href="xml/plugin-videobalance.xml" />
<xi:include href="xml/plugin-videoflip.xml" />
<xi:include href="xml/plugin-videomixer.xml" />
<xi:include href="xml/plugin-wavenc.xml" />
......
......@@ -159,6 +159,35 @@ GST_UDPSRC_CLASS
GST_IS_UDPSRC_CLASS
</SECTION>
<SECTION>
<FILE>element-videoflip</FILE>
GstVideoFlip
GstVideoFlipMethod
<TITLE>videoflip</TITLE>
<SUBSECTION Standard>
GstVideoFlipClass
GST_VIDEO_FLIP
GST_IS_VIDEO_FLIP
GST_TYPE_VIDEO_FLIP
gst_video_flip_get_type
GST_VIDEO_FLIP_CLASS
GST_IS_VIDEO_FLIP_CLASS
</SECTION>
<SECTION>
<FILE>element-videobalance</FILE>
GstVideoBalance
<TITLE>videobalance</TITLE>
<SUBSECTION Standard>
GstVideoBalanceClass
GST_VIDEO_BALANCE
GST_IS_VIDEO_BALANCE
GST_TYPE_VIDEO_BALANCE
gst_video_balance_get_type
GST_VIDEO_BALANCE_CLASS
GST_IS_VIDEO_BALANCE_CLASS
</SECTION>
<SECTION>
<FILE>element-videomixer</FILE>
GstVideoMixer
......
......@@ -48,6 +48,7 @@ GObject
GstBaseTransform
GstCairoTimeOverlay
GstVideoFilter
GstVideoBalance
GstVideoFlip
GstEdgeTV
GstAgingTV
......
# noinst_LTLIBRARIES = libgstvideoexample.la
plugin_LTLIBRARIES = libgstvideoflip.la
plugin_LTLIBRARIES = libgstvideoflip.la libgstvideobalance.la
noinst_HEADERS = gstvideoflip.h
noinst_HEADERS = gstvideoflip.h gstvideobalance.h
EXTRA_DIST = gstvideotemplate.c make_filter
CLEANFILES = gstvideoexample.c
......@@ -17,10 +17,12 @@ libgstvideoflip_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
libgstvideoflip_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ $(GST_BASE_LIBS) $(GST_LIBS)
libgstvideoflip_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
# libgstvideobalance_la_SOURCES = gstvideobalance.c
# libgstvideobalance_la_CFLAGS = $(GST_CFLAGS) $(LIBOIL_CFLAGS)
# libgstvideobalance_la_LIBADD = $(top_builddir)/gst-libs/gst/libgstinterfaces-$(GST_MAJORMINOR).la
# libgstvideobalance_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(LIBOIL_LIBS) -lm
libgstvideobalance_la_SOURCES = gstvideobalance.c
libgstvideobalance_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS)
libgstvideobalance_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ \
-lgstinterfaces-@GST_MAJORMINOR@ $(GST_BASE_LIBS) $(GST_LIBS)
libgstvideobalance_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
# libgstgamma_la_SOURCES = gstgamma.c
# libgstgamma_la_CFLAGS = $(GST_CFLAGS)
......
This diff is collapsed.
......@@ -18,47 +18,61 @@
*/
#ifndef __GST_VIDEOBALANCE_H__
#define __GST_VIDEOBALANCE_H__
#ifndef __GST_VIDEO_BALANCE_H__
#define __GST_VIDEO_BALANCE_H__
#include "gstvideofilter.h"
#include <gst/video/gstvideofilter.h>
G_BEGIN_DECLS
#define GST_TYPE_VIDEOBALANCE \
(gst_videobalance_get_type())
#define GST_VIDEOBALANCE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEOBALANCE,GstVideobalance))
#define GST_VIDEOBALANCE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEOBALANCE,GstVideobalanceClass))
#define GST_IS_VIDEOBALANCE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEOBALANCE))
#define GST_IS_VIDEOBALANCE_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEOBALANCE))
#define GST_TYPE_VIDEO_BALANCE \
(gst_video_balance_get_type())
#define GST_VIDEO_BALANCE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_BALANCE,GstVideoBalance))
#define GST_VIDEO_BALANCE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEO_BALANCE,GstVideoBalanceClass))
#define GST_IS_VIDEO_BALANCE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_BALANCE))
#define GST_IS_VIDEO_BALANCE_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_BALANCE))
typedef struct _GstVideobalance GstVideobalance;
typedef struct _GstVideobalanceClass GstVideobalanceClass;
typedef struct _GstVideoBalance GstVideoBalance;
typedef struct _GstVideoBalanceClass GstVideoBalanceClass;
struct _GstVideobalance {
GstVideofilter videofilter;
/**
* GstVideoBalance:
*
* Opaque data structure.
*/
struct _GstVideoBalance {
GstVideoFilter videofilter;
guint8 *tabley, **tableu, **tablev;
gboolean needupdate;
/* channels for interface */
GList *channels;
/* properties */
gdouble contrast;
gdouble brightness;
gdouble hue;
gdouble saturation;
GList *channels;
gboolean passthru;
/* format */
gint width;
gint height;
gint size;
/* tables */
guint8 *tabley, **tableu, **tablev;
};
struct _GstVideobalanceClass {
GstVideofilterClass parent_class;
struct _GstVideoBalanceClass {
GstVideoFilterClass parent_class;
};
GType gst_videobalance_get_type(void);
GType gst_video_balance_get_type(void);
G_END_DECLS
#endif /* __GST_VIDEOBALANCE_H__ */
#endif /* __GST_VIDEO_BALANCE_H__ */
......@@ -22,6 +22,25 @@
* This file was (probably) generated from gstvideoflip.c,
* gstvideoflip.c,v 1.7 2003/11/08 02:48:59 dschleef Exp
*/
/**
* SECTION:element-videoflip
*
* <refsect2>
* <para>
* Flips and rotates video.
* </para>
* <title>Example launch line</title>
* <para>
* <programlisting>
* gst-launch videotestsrc ! videoflip method=clockwise ! ffmpegcolorspace ! ximagesink
* </programlisting>
* This pipeline flips the test image 90 degrees clockwise.
* </para>
* </refsect2>
*
* Last reviewed on 2006-03-03 (0.10.3)
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
......
......@@ -24,6 +24,19 @@
G_BEGIN_DECLS
/**
* GstVideoFlipMethod:
* @GST_VIDEO_FLIP_METHOD_IDENTITY: Identity (no rotation)
* @GST_VIDEO_FLIP_METHOD_90R: Rotate clockwise 90 degrees
* @GST_VIDEO_FLIP_METHOD_180: Rotate 180 degrees
* @GST_VIDEO_FLIP_METHOD_90L: Rotate counter-clockwise 90 degrees
* @GST_VIDEO_FLIP_METHOD_HORIZ: Flip horizontally
* @GST_VIDEO_FLIP_METHOD_VERT: Flip vertically
* @GST_VIDEO_FLIP_METHOD_TRANS: Flip across upper left/lower right diagonal
* @GST_VIDEO_FLIP_METHOD_OTHER: Flip across upper right/lower left diagonal
*
* The different flip methods.
*/
typedef enum {
GST_VIDEO_FLIP_METHOD_IDENTITY,
GST_VIDEO_FLIP_METHOD_90R,
......@@ -49,6 +62,11 @@ typedef enum {
typedef struct _GstVideoFlip GstVideoFlip;
typedef struct _GstVideoFlipClass GstVideoFlipClass;
/**
* GstVideoFlip:
*
* Opaque datastructure.
*/
struct _GstVideoFlip {
GstVideoFilter videofilter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment