summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/gstv4l2vidorient.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2006-10-03 18:23:21 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2006-10-03 18:23:21 +0000
commitca7c4c657ce03ce9ab8fa059ba73fa35e8770b2b (patch)
treee98eaa34939eb432b544aa0ae708a4dd857b1a11 /sys/v4l2/gstv4l2vidorient.c
parent321d0c208c6692386c54088c2c52247ceb623545 (diff)
downloadgst-plugins-bad-ca7c4c657ce03ce9ab8fa059ba73fa35e8770b2b.tar.gz
gst-plugins-bad-ca7c4c657ce03ce9ab8fa059ba73fa35e8770b2b.tar.bz2
gst-plugins-bad-ca7c4c657ce03ce9ab8fa059ba73fa35e8770b2b.zip
moved to gst-plugins-good
Original commit message from CVS: * configure.ac: * sys/Makefile.am: * sys/v4l2/Makefile.am: * sys/v4l2/README: * sys/v4l2/gstv4l2.c: * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2colorbalance.h: * sys/v4l2/gstv4l2object.c: * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: * sys/v4l2/gstv4l2src.h: * sys/v4l2/gstv4l2tuner.c: * sys/v4l2/gstv4l2tuner.h: * sys/v4l2/gstv4l2vidorient.c: * sys/v4l2/gstv4l2vidorient.h: * sys/v4l2/gstv4l2xoverlay.c: * sys/v4l2/gstv4l2xoverlay.h: * sys/v4l2/v4l2_calls.c: * sys/v4l2/v4l2_calls.h: * sys/v4l2/v4l2src_calls.c: * sys/v4l2/v4l2src_calls.h: moved to gst-plugins-good
Diffstat (limited to 'sys/v4l2/gstv4l2vidorient.c')
-rw-r--r--sys/v4l2/gstv4l2vidorient.c96
1 files changed, 0 insertions, 96 deletions
diff --git a/sys/v4l2/gstv4l2vidorient.c b/sys/v4l2/gstv4l2vidorient.c
deleted file mode 100644
index 07ac412b..00000000
--- a/sys/v4l2/gstv4l2vidorient.c
+++ /dev/null
@@ -1,96 +0,0 @@
-/* GStreamer
- *
- * Copyright (C) 2006 Edgard Lima <edgard.lima@indt.org.br>
- *
- * gstv4l2vidorient.c: video orientation interface implementation for V4L2
- *
- * 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.
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <gst/gst.h>
-
-#include "gstv4l2vidorient.h"
-#include "gstv4l2object.h"
-#include "v4l2_calls.h"
-#include "v4l2src_calls.h"
-
-GST_DEBUG_CATEGORY_STATIC (v4l2vo_debug);
-#define GST_CAT_DEFAULT v4l2vo_debug
-
-void
-gst_v4l2_video_orientation_interface_init (GstVideoOrientationInterface * klass)
-{
- GST_DEBUG_CATEGORY_INIT (v4l2vo_debug, "v4l2vo", 0,
- "V4L2 VideoOrientation interface debugging");
-}
-
-
-gboolean
-gst_v4l2_video_orientation_get_hflip (GstV4l2Object * v4l2object,
- gboolean * flip)
-{
-
- return gst_v4l2_get_attribute (v4l2object, V4L2_CID_HFLIP, flip);
-}
-
-gboolean
-gst_v4l2_video_orientation_get_vflip (GstV4l2Object * v4l2object,
- gboolean * flip)
-{
- return gst_v4l2_get_attribute (v4l2object, V4L2_CID_VFLIP, flip);
-}
-
-gboolean
-gst_v4l2_video_orientation_get_hcenter (GstV4l2Object * v4l2object,
- gint * center)
-{
- return gst_v4l2_get_attribute (v4l2object, V4L2_CID_HCENTER, center);
-}
-
-gboolean
-gst_v4l2_video_orientation_get_vcenter (GstV4l2Object * v4l2object,
- gint * center)
-{
- return gst_v4l2_get_attribute (v4l2object, V4L2_CID_VCENTER, center);
-}
-
-gboolean
-gst_v4l2_video_orientation_set_hflip (GstV4l2Object * v4l2object, gboolean flip)
-{
- return gst_v4l2_set_attribute (v4l2object, V4L2_CID_HFLIP, flip);
-}
-
-gboolean
-gst_v4l2_video_orientation_set_vflip (GstV4l2Object * v4l2object, gboolean flip)
-{
- return gst_v4l2_set_attribute (v4l2object, V4L2_CID_VFLIP, flip);
-}
-
-gboolean
-gst_v4l2_video_orientation_set_hcenter (GstV4l2Object * v4l2object, gint center)
-{
- return gst_v4l2_set_attribute (v4l2object, V4L2_CID_HCENTER, center);
-}
-
-gboolean
-gst_v4l2_video_orientation_set_vcenter (GstV4l2Object * v4l2object, gint center)
-{
- return gst_v4l2_set_attribute (v4l2object, V4L2_CID_VCENTER, center);
-}