gstreamer/gst/videofilter/gstvideoflip.h
Wim Taymans e85d1638c3 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.
2006-03-03 14:39:55 +00:00

88 lines
2.6 KiB
C

/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GST_VIDEO_FLIP_H__
#define __GST_VIDEO_FLIP_H__
#include <gst/video/gstvideofilter.h>
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,
GST_VIDEO_FLIP_METHOD_180,
GST_VIDEO_FLIP_METHOD_90L,
GST_VIDEO_FLIP_METHOD_HORIZ,
GST_VIDEO_FLIP_METHOD_VERT,
GST_VIDEO_FLIP_METHOD_TRANS,
GST_VIDEO_FLIP_METHOD_OTHER
} GstVideoFlipMethod;
#define GST_TYPE_VIDEO_FLIP \
(gst_video_flip_get_type())
#define GST_VIDEO_FLIP(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_FLIP,GstVideoFlip))
#define GST_VIDEO_FLIP_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEO_FLIP,GstVideoFlipClass))
#define GST_IS_VIDEO_FLIP(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_FLIP))
#define GST_IS_VIDEO_FLIP_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_FLIP))
typedef struct _GstVideoFlip GstVideoFlip;
typedef struct _GstVideoFlipClass GstVideoFlipClass;
/**
* GstVideoFlip:
*
* Opaque datastructure.
*/
struct _GstVideoFlip {
GstVideoFilter videofilter;
gint from_width, from_height;
gint to_width, to_height;
GstVideoFlipMethod method;
};
struct _GstVideoFlipClass {
GstVideoFilterClass parent_class;
};
GType gst_video_flip_get_type (void);
G_END_DECLS
#endif /* __GST_VIDEO_FLIP_H__ */