video: move some interfaces
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 29 Nov 2011 18:10:01 +0000 (19:10 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 29 Nov 2011 18:10:01 +0000 (19:10 +0100)
Move some interfaces to the video library

22 files changed:
docs/libs/gst-plugins-base-libs-sections.txt
docs/libs/gst-plugins-base-libs.types
gst-libs/gst/interfaces/Makefile.am
gst-libs/gst/video/Makefile.am
gst-libs/gst/video/colorbalance.c [moved from gst-libs/gst/interfaces/colorbalance.c with 98% similarity]
gst-libs/gst/video/colorbalance.h [moved from gst-libs/gst/interfaces/colorbalance.h with 97% similarity]
gst-libs/gst/video/colorbalancechannel.c [moved from gst-libs/gst/interfaces/colorbalancechannel.c with 100% similarity]
gst-libs/gst/video/colorbalancechannel.h [moved from gst-libs/gst/interfaces/colorbalancechannel.h with 100% similarity]
gst-libs/gst/video/video-marshal.list [new file with mode: 0644]
gst-libs/gst/video/videoorientation.c [moved from gst-libs/gst/interfaces/videoorientation.c with 99% similarity]
gst-libs/gst/video/videoorientation.h [moved from gst-libs/gst/interfaces/videoorientation.h with 100% similarity]
gst-libs/gst/video/videooverlay.c [moved from gst-libs/gst/interfaces/videooverlay.c with 100% similarity]
gst-libs/gst/video/videooverlay.h [moved from gst-libs/gst/interfaces/videooverlay.h with 100% similarity]
sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c
tests/check/libs/gstlibscpp.cc
tests/check/libs/libsabi.c
tests/examples/overlay/Makefile.am
tests/examples/overlay/qt-videooverlay.cpp
tests/examples/overlay/qtgv-videooverlay.cpp
tests/icles/Makefile.am
tests/icles/stress-videooverlay.c

index 2170a4b..425b7c5 100644 (file)
@@ -565,7 +565,7 @@ KISS_FFT_F64_SIN
 
 <SECTION>
 <FILE>gstcolorbalance</FILE>
-<INCLUDE>gst/interfaces/color.h</INCLUDE>
+<INCLUDE>gst/video/colorbalance.h</INCLUDE>
 GstColorBalance
 GstColorBalanceInterface
 GstColorBalanceType
@@ -587,7 +587,7 @@ gst_color_balance_type_get_type
 
 <SECTION>
 <FILE>gstcolorbalancechannel</FILE>
-<INCLUDE>gst/interfaces/colorbalancechannel.h</INCLUDE>
+<INCLUDE>gst/video/colorbalancechannel.h</INCLUDE>
 GstColorBalanceChannel
 GstColorBalanceChannelClass
 <SUBSECTION Standard>
@@ -862,7 +862,7 @@ gst_tuner_norm_get_type
 
 <SECTION>
 <FILE>gstvideoorientation</FILE>
-<INCLUDE>gst/interfaces/videoorientation.h</INCLUDE>
+<INCLUDE>gst/video/videoorientation.h</INCLUDE>
 GstVideoOrientation
 GstVideoOrientationInterface
 gst_video_orientation_get_hcenter
@@ -883,7 +883,7 @@ gst_video_orientation_get_type
 
 <SECTION>
 <FILE>gstvideooverlay</FILE>
-<INCLUDE>gst/interfaces/videooverlay.h</INCLUDE>
+<INCLUDE>gst/video/videooverlay.h</INCLUDE>
 GstXOverlay
 GstXOverlayIface
 gst_video_overlay_got_window_handle
index b091845..04ac2b7 100644 (file)
@@ -22,9 +22,6 @@ gst_audio_base_src_get_type
 #include <gst/audio/gstaudioringbuffer.h>
 gst_audio_ring_buffer_get_type
 
-#include <gst/interfaces/colorbalance.h>
-gst_color_balance_get_type
-gst_color_balance_channel_get_type
 #include <gst/interfaces/mixer.h>
 gst_mixer_get_type
 gst_mixer_options_get_type
@@ -39,10 +36,6 @@ gst_tuner_channel_get_type
 gst_tuner_norm_get_type
 #include <gst/interfaces/streamvolume.h>
 gst_stream_volume_get_type
-#include <gst/interfaces/videoorientation.h>
-gst_video_orientation_get_type
-#include <gst/interfaces/videooverlay.h>
-gst_video_overlay_get_type
 
 
 #include <gst/rtp/gstrtpbasedepayload.h>
@@ -57,6 +50,13 @@ gst_rtp_base_audio_payload_get_type
 gst_video_filter_get_type
 #include <gst/video/gstvideosink.h>
 gst_video_sink_get_type
+#include <gst/video/colorbalance.h>
+gst_color_balance_get_type
+gst_color_balance_channel_get_type
+#include <gst/video/videoorientation.h>
+gst_video_orientation_get_type
+#include <gst/video/videooverlay.h>
+gst_video_overlay_get_type
 
 #include <gst/pbutils/pbutils.h>
 gst_discoverer_get_type
index 85693a5..4e0f2b9 100644 (file)
@@ -3,8 +3,6 @@ libgstinterfacesincludedir = \
         $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/interfaces
 
 headers_interfaces =           \
-       colorbalance.h          \
-       colorbalancechannel.h   \
        mixer.h                 \
        mixeroptions.h          \
        mixertrack.h            \
@@ -13,9 +11,7 @@ headers_interfaces =          \
        streamvolume.h          \
        tuner.h                 \
        tunernorm.h             \
-       tunerchannel.h          \
-       videoorientation.h      \
-       videooverlay.h
+       tunerchannel.h
 
 # variables used for enum/marshal generation
 glib_enum_headers = $(headers_interfaces)
@@ -38,8 +34,6 @@ nodist_libgstinterfacesinclude_HEADERS = \
        interfaces-enumtypes.h
 
 libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES = \
-       colorbalance.c          \
-       colorbalancechannel.c   \
        mixer.c                 \
        mixeroptions.c          \
        mixertrack.c            \
@@ -48,9 +42,7 @@ libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES = \
        streamvolume.c          \
        tuner.c                 \
        tunernorm.c             \
-       tunerchannel.c          \
-       videoorientation.c      \
-       videooverlay.c
+       tunerchannel.c
 
 nodist_libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES =  \
        $(built_sources)                                \
index aeda56f..f66b471 100644 (file)
@@ -1,19 +1,31 @@
 # variables used for enum/marshal generation
-glib_enum_headers = video.h
+glib_enum_headers = video.h colorbalance.h
 glib_enum_define = GST_VIDEO
 glib_gen_prefix = gst_video
 glib_gen_basename = video
 
-built_sources = video-enumtypes.c
-built_headers = video-enumtypes.h
+built_sources = video-enumtypes.c video-marshal.c
+built_headers = video-enumtypes.h video-marshal.h
 BUILT_SOURCES = $(built_sources) $(built_headers)
 
 lib_LTLIBRARIES = libgstvideo-@GST_MAJORMINOR@.la
 
 CLEANFILES = $(BUILT_SOURCES)
 
+EXTRA_DIST = video-marshal.list
+
 libgstvideo_@GST_MAJORMINOR@_la_SOURCES = \
-       video.c gstvideosink.c gstvideofilter.c convertframe.c gstvideometa.c gstvideopool.c
+       colorbalance.c          \
+       colorbalancechannel.c   \
+       video.c                 \
+       gstvideosink.c          \
+       gstvideofilter.c        \
+       convertframe.c          \
+       gstvideometa.c          \
+       gstvideopool.c          \
+       videoorientation.c      \
+       videooverlay.c
+
 nodist_libgstvideo_@GST_MAJORMINOR@_la_SOURCES = $(BUILT_SOURCES)
 
 libgstvideo_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/video
similarity index 98%
rename from gst-libs/gst/interfaces/colorbalance.c
rename to gst-libs/gst/video/colorbalance.c
index 31d49b0..a73c7d7 100644 (file)
@@ -25,7 +25,7 @@
 #endif
 
 #include "colorbalance.h"
-#include "interfaces-marshal.h"
+#include "video-marshal.h"
 
 /**
  * SECTION:gstcolorbalance
@@ -100,7 +100,7 @@ gst_color_balance_class_init (GstColorBalanceInterface * iface)
         GST_TYPE_COLOR_BALANCE, G_SIGNAL_RUN_LAST,
         G_STRUCT_OFFSET (GstColorBalanceInterface, value_changed),
         NULL, NULL,
-        gst_interfaces_marshal_VOID__OBJECT_INT,
+        gst_video_marshal_VOID__OBJECT_INT,
         G_TYPE_NONE, 2, GST_TYPE_COLOR_BALANCE_CHANNEL, G_TYPE_INT);
 
     initialized = TRUE;
similarity index 97%
rename from gst-libs/gst/interfaces/colorbalance.h
rename to gst-libs/gst/video/colorbalance.h
index 76eebd4..8cc4276 100644 (file)
@@ -23,8 +23,7 @@
 #define __GST_COLOR_BALANCE_H__
 
 #include <gst/gst.h>
-#include <gst/interfaces/colorbalancechannel.h>
-#include <gst/interfaces/interfaces-enumtypes.h>
+#include <gst/video/colorbalancechannel.h>
 
 G_BEGIN_DECLS
 
diff --git a/gst-libs/gst/video/video-marshal.list b/gst-libs/gst/video/video-marshal.list
new file mode 100644 (file)
index 0000000..b9d0c49
--- /dev/null
@@ -0,0 +1 @@
+VOID:OBJECT,INT
similarity index 99%
rename from gst-libs/gst/interfaces/videoorientation.c
rename to gst-libs/gst/video/videoorientation.c
index 6b6001a..0f8ede4 100644 (file)
@@ -24,7 +24,7 @@
 #endif
 
 #include "videoorientation.h"
-#include "interfaces-marshal.h"
+#include "video-marshal.h"
 
 #include <string.h>
 
index f9420e3..20b958e 100644 (file)
 
 /* Our interfaces */
 #include <gst/interfaces/navigation.h>
-#include <gst/interfaces/videooverlay.h>
+#include <gst/video/videooverlay.h>
 
 #include <gst/video/gstvideometa.h>
 
index a876f57..4c217b1 100644 (file)
 
 /* Our interfaces */
 #include <gst/interfaces/navigation.h>
-#include <gst/interfaces/videooverlay.h>
-#include <gst/interfaces/colorbalance.h>
 #include <gst/interfaces/propertyprobe.h>
+#include <gst/video/videooverlay.h>
+#include <gst/video/colorbalance.h>
 /* Helper functions */
 #include <gst/video/gstvideometa.h>
 
index 1b73efe..c5c9d95 100644 (file)
@@ -47,8 +47,6 @@
 #include <gst/fft/gstffts16.h>
 #include <gst/fft/gstffts32.h>
 
-#include <gst/interfaces/colorbalancechannel.h>
-#include <gst/interfaces/colorbalance.h>
 #include <gst/interfaces/interfaces-enumtypes.h>
 #include <gst/interfaces/interfaces-marshal.h>
 #include <gst/interfaces/mixer.h>
@@ -60,8 +58,6 @@
 #include <gst/interfaces/tunerchannel.h>
 #include <gst/interfaces/tuner.h>
 #include <gst/interfaces/tunernorm.h>
-#include <gst/interfaces/videoorientation.h>
-#include <gst/interfaces/videooverlay.h>
 
 #include <gst/pbutils/codec-utils.h>
 #include <gst/pbutils/descriptions.h>
 #include <gst/video/gstvideofilter.h>
 #include <gst/video/gstvideosink.h>
 #include <gst/video/video-enumtypes.h>
+#include <gst/video/video-marshal.h>
 #include <gst/video/video.h>
+#include <gst/video/colorbalancechannel.h>
+#include <gst/video/colorbalance.h>
+#include <gst/video/videoorientation.h>
+#include <gst/video/videooverlay.h>
 
 /* we mostly just want to make sure that our library headers don't
  * contain anything a C++ compiler might not like */
index bf8d1c5..2ab56ae 100644 (file)
 #include <gst/fft/gstffts32.h>
 #include <gst/fft/gstfftf32.h>
 #include <gst/fft/gstfftf64.h>
-#include <gst/interfaces/colorbalance.h>
 #include <gst/interfaces/mixer.h>
 #include <gst/interfaces/navigation.h>
 #include <gst/interfaces/propertyprobe.h>
 #include <gst/interfaces/streamvolume.h>
 #include <gst/interfaces/tuner.h>
-#include <gst/interfaces/videoorientation.h>
-#include <gst/interfaces/videooverlay.h>
 #include <gst/pbutils/pbutils.h>
 #include <gst/riff/riff-media.h>
 #include <gst/riff/riff-read.h>
@@ -69,6 +66,9 @@
 #include <gst/video/video.h>
 #include <gst/video/gstvideofilter.h>
 #include <gst/video/gstvideosink.h>
+#include <gst/video/colorbalance.h>
+#include <gst/video/videoorientation.h>
+#include <gst/video/videooverlay.h>
 
 /* initial version of the file was generated using:
  * grep -A1 "<STRUCT>" ../../docs/libs/gst-plugins-base-libs-decl.txt | \
index 31615b4..23c2546 100644 (file)
@@ -8,7 +8,7 @@ EXAMPLES += gtk-videooverlay
 gtk_videooverlay_SOURCES = gtk-videooverlay.c
 gtk_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
 gtk_videooverlay_LDADD = \
-       $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
+       $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la \
        $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS)
 endif
 
@@ -18,7 +18,7 @@ EXAMPLES += qt-videooverlay
 qt_videooverlay_SOURCES = qt-videooverlay.cpp
 qt_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS)
 qt_videooverlay_LDADD = \
-       $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
+       $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la \
        $(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS)
 endif
 
@@ -28,7 +28,7 @@ EXAMPLES += qtgv-videooverlay
 qtgv_videooverlay_SOURCES = qtgv-videooverlay.cpp qtgv-videooverlay.h
 qtgv_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS)
 qtgv_videooverlay_LDADD = \
-       $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
+       $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la \
        $(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS)
 
 # qt moc support, according to http://qtnode.net/wiki/Qt_with_autotools
index e102280..d33c51d 100644 (file)
@@ -25,7 +25,7 @@
 
 #include <glib.h>
 #include <gst/gst.h>
-#include <gst/interfaces/videooverlay.h>
+#include <gst/video/videooverlay.h>
 
 #include <QApplication>
 #include <QTimer>
index fea8c52..cc82107 100644 (file)
@@ -28,7 +28,7 @@
 #include <QApplication>
 #include <QTimer>
 
-#include <gst/interfaces/videooverlay.h>
+#include <gst/video/videooverlay.h>
 
 SinkPipeline::SinkPipeline(QGraphicsView *parent) : QObject(parent)
 {
index de853c4..d671c56 100644 (file)
@@ -8,7 +8,7 @@ stress_videooverlay_SOURCES = stress-videooverlay.c
 stress_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
        $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS)
 stress_videooverlay_LDADD = \
-       $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
+       $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la \
        $(GST_LIBS) $(X_LIBS) $(LIBM)
 
 if HAVE_GTK_X11
@@ -18,14 +18,14 @@ test_colorkey_SOURCES = test-colorkey.c
 test_colorkey_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
        $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
 test_colorkey_LDADD = \
-       $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
+       $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la \
        $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS)
 
 test_videooverlay_SOURCES = test-videooverlay.c
 test_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
        $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
 test_videooverlay_LDADD = \
-       $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
+       $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la \
        $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS)
 endif
 
index bcbe7dc..b007222 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 #include <gst/gst.h>
-#include <gst/interfaces/videooverlay.h>
+#include <gst/video/videooverlay.h>
 
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>