From: Wim Taymans Date: Fri, 27 Aug 2010 09:49:47 +0000 (+0200) Subject: Revert "Use init functions for Orc code" X-Git-Tag: RELEASE-0.10.31~271 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93aa13639d74449dc68296427e5dbcfe8aca5f51;p=platform%2Fupstream%2Fgst-plugins-base.git Revert "Use init functions for Orc code" This reverts commit b2051090b43f82b23bb01826f09053479bbd7874. Fixes the build again until someone pushes the regenerated .c/.h files too. --- diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index 7cd2858..3d092e7 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -1310,8 +1310,6 @@ gst_adder_change_state (GstElement * element, GstStateChange transition) static gboolean plugin_init (GstPlugin * plugin) { - gst_adder_orc_init (); - if (!gst_element_register (plugin, "adder", GST_RANK_NONE, GST_TYPE_ADDER)) { return FALSE; } diff --git a/gst/adder/gstadderorc.orc b/gst/adder/gstadderorc.orc index f8c3caf..e37f4a9 100644 --- a/gst/adder/gstadderorc.orc +++ b/gst/adder/gstadderorc.orc @@ -1,6 +1,4 @@ -.init gst_adder_orc_init - .function add_int32 .dest 4 d1 gint32 .source 4 s1 gint32 diff --git a/gst/audioconvert/gstaudioconvertorc.orc b/gst/audioconvert/gstaudioconvertorc.orc index ba45ece..a78718e 100644 --- a/gst/audioconvert/gstaudioconvertorc.orc +++ b/gst/audioconvert/gstaudioconvertorc.orc @@ -1,6 +1,4 @@ -.init gst_audio_convert_orc_init - .function orc_audio_convert_unpack_u8 .dest 4 d1 gint32 .source 1 s1 guint8 diff --git a/gst/audioconvert/plugin.c b/gst/audioconvert/plugin.c index 45882dc..643737a 100644 --- a/gst/audioconvert/plugin.c +++ b/gst/audioconvert/plugin.c @@ -26,13 +26,10 @@ #include "plugin.h" #include -#include "gstaudioconvertorc.h" static gboolean plugin_init (GstPlugin * plugin) { - gst_audio_convert_orc_init (); - /* ensure GstAudioChannelPosition type is registered */ if (!gst_audio_channel_position_get_type ()) return FALSE; diff --git a/gst/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c index b0f8f43..b3aeb21 100644 --- a/gst/videoscale/gstvideoscale.c +++ b/gst/videoscale/gstvideoscale.c @@ -79,7 +79,6 @@ #include #include "gstvideoscale.h" -#include "gstvideoscaleorc.h" #include "vs_image.h" #include "vs_4tap.h" #include "vs_fill_borders.h" @@ -1290,8 +1289,6 @@ gst_video_scale_src_event (GstBaseTransform * trans, GstEvent * event) static gboolean plugin_init (GstPlugin * plugin) { - gst_videoscale_orc_init (); - if (!gst_element_register (plugin, "videoscale", GST_RANK_NONE, GST_TYPE_VIDEO_SCALE)) return FALSE; diff --git a/gst/videoscale/gstvideoscaleorc.orc b/gst/videoscale/gstvideoscaleorc.orc index 561f411..45434fc 100644 --- a/gst/videoscale/gstvideoscaleorc.orc +++ b/gst/videoscale/gstvideoscaleorc.orc @@ -1,6 +1,4 @@ -.init gst_videoscale_orc_init - .function orc_merge_linear_u8 .dest 1 d1 .source 1 s1 diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c index fb27830..d897582 100644 --- a/gst/videotestsrc/gstvideotestsrc.c +++ b/gst/videotestsrc/gstvideotestsrc.c @@ -37,7 +37,6 @@ #include "config.h" #endif #include "gstvideotestsrc.h" -#include "gstvideotestsrcorc.h" #include "videotestsrc.h" #include @@ -896,8 +895,6 @@ gst_video_test_src_start (GstBaseSrc * basesrc) static gboolean plugin_init (GstPlugin * plugin) { - gst_videotestsrc_orc_init (); - GST_DEBUG_CATEGORY_INIT (video_test_src_debug, "videotestsrc", 0, "Video Test Source"); diff --git a/gst/videotestsrc/gstvideotestsrcorc.orc b/gst/videotestsrc/gstvideotestsrcorc.orc index a2fc80b..30097fd 100644 --- a/gst/videotestsrc/gstvideotestsrcorc.orc +++ b/gst/videotestsrc/gstvideotestsrcorc.orc @@ -1,6 +1,4 @@ -.init gst_videotestsrc_orc_init - .function gst_orc_splat_u8 .dest 1 d1 guint8 .param 1 p1 diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c index 565236d..dbe826a 100644 --- a/gst/volume/gstvolume.c +++ b/gst/volume/gstvolume.c @@ -1087,8 +1087,6 @@ volume_get_property (GObject * object, guint prop_id, GValue * value, static gboolean plugin_init (GstPlugin * plugin) { - gst_volume_orc_init (); - /* initialize gst controller library */ gst_controller_init (NULL, NULL); diff --git a/gst/volume/gstvolumeorc.orc b/gst/volume/gstvolumeorc.orc index 8e100a4..0f6da91 100644 --- a/gst/volume/gstvolumeorc.orc +++ b/gst/volume/gstvolumeorc.orc @@ -1,6 +1,4 @@ -.init gst_volume_orc_init - .function orc_scalarmultiply_f32_ns .dest 4 d1 float .source 4 s1 float