summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-03-20 15:37:42 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-03-20 15:37:42 +0100
commitdd819ddc6b15a8321b160ceea4bbfedce3b5aa12 (patch)
tree447ad4a16e877e4e505077d3afb14a117fd02907
parent2ad7e8f217ccedd74f3a0755d148661284076fcc (diff)
downloadgstreamer-plugins-base-dd819ddc6b15a8321b160ceea4bbfedce3b5aa12.tar.gz
orc: avoid precompilation
Avoid compiling all the functions at startup but compile only what's needed when needed.
-rw-r--r--gst/adder/gstadder.c2
-rw-r--r--gst/adder/gstadderorc.orc2
-rw-r--r--gst/videoscale/gstvideoscale.c2
-rw-r--r--gst/videoscale/gstvideoscaleorc.orc2
-rw-r--r--gst/videotestsrc/gstvideotestsrc.c2
-rw-r--r--gst/videotestsrc/gstvideotestsrcorc.orc2
-rw-r--r--gst/volume/gstvolume.c2
-rw-r--r--gst/volume/gstvolumeorc.orc2
8 files changed, 0 insertions, 16 deletions
diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c
index 0e8af87e6..f569a1713 100644
--- a/gst/adder/gstadder.c
+++ b/gst/adder/gstadder.c
@@ -1341,8 +1341,6 @@ plugin_init (GstPlugin * plugin)
GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "adder", 0,
"audio channel mixing element");
- 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 f8c3caf03..e37f4a915 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/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c
index bc5dc9089..f2b7dab48 100644
--- a/gst/videoscale/gstvideoscale.c
+++ b/gst/videoscale/gstvideoscale.c
@@ -1429,8 +1429,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 81623e231..92ddf201d 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 a813c431d..3cdb98acd 100644
--- a/gst/videotestsrc/gstvideotestsrc.c
+++ b/gst/videotestsrc/gstvideotestsrc.c
@@ -891,8 +891,6 @@ gst_video_test_src_stop (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 a2fc80b49..30097fd87 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 8bda5a00e..7de525c94 100644
--- a/gst/volume/gstvolume.c
+++ b/gst/volume/gstvolume.c
@@ -958,8 +958,6 @@ volume_get_property (GObject * object, guint prop_id, GValue * value,
static gboolean
plugin_init (GstPlugin * plugin)
{
- gst_volume_orc_init ();
-
GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "volume", 0, "Volume gain");
/* ref class from a thread-safe context to work around missing bit of
diff --git a/gst/volume/gstvolumeorc.orc b/gst/volume/gstvolumeorc.orc
index 5fdf174b1..d116f54c9 100644
--- a/gst/volume/gstvolumeorc.orc
+++ b/gst/volume/gstvolumeorc.orc
@@ -1,6 +1,4 @@
-.init gst_volume_orc_init
-
.function orc_scalarmultiply_f64_ns
.dest 8 d1 double
.doubleparam 8 p1