mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
orc: avoid precompilation
Avoid compiling all the functions at startup but compile only what's needed when needed.
This commit is contained in:
parent
2ad7e8f217
commit
dd819ddc6b
8 changed files with 0 additions and 16 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
|
||||
.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;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
|
||||
.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");
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
|
||||
.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
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
|
||||
.init gst_volume_orc_init
|
||||
|
||||
.function orc_scalarmultiply_f64_ns
|
||||
.dest 8 d1 double
|
||||
.doubleparam 8 p1
|
||||
|
|
Loading…
Reference in a new issue