Commit dd819ddc authored by Wim Taymans's avatar Wim Taymans
Browse files

orc: avoid precompilation

Avoid compiling all the functions at startup but compile only what's needed when
needed.
parent 2ad7e8f2
......@@ -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;
}
......
.init gst_adder_orc_init
.function add_int32
.dest 4 d1 gint32
.source 4 s1 gint32
......
......@@ -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;
......
.init gst_videoscale_orc_init
.function orc_merge_linear_u8
.dest 1 d1
.source 1 s1
......
......@@ -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");
......
.init gst_videotestsrc_orc_init
.function gst_orc_splat_u8
.dest 1 d1 guint8
.param 1 p1
......
......@@ -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
......
.init gst_volume_orc_init
.function orc_scalarmultiply_f64_ns
.dest 8 d1 double
.doubleparam 8 p1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment