diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-03-20 15:38:33 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-03-20 15:38:33 +0100 |
commit | c7f9558cc42a8a75c8326f521fe6d84ba5f04a2e (patch) | |
tree | 9c00da454ddbb9f3b6ff6008700bea5debc4f88a | |
parent | eea0b288cd111227170beb88c3c92e7ec5815362 (diff) |
orc: don't compile everything at startup
-rw-r--r-- | gst/fieldanalysis/gstfieldanalysis.c | 4 | ||||
-rw-r--r-- | gst/fieldanalysis/gstfieldanalysisorc.orc | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/gst/fieldanalysis/gstfieldanalysis.c b/gst/fieldanalysis/gstfieldanalysis.c index bc6e4c561..50314269b 100644 --- a/gst/fieldanalysis/gstfieldanalysis.c +++ b/gst/fieldanalysis/gstfieldanalysis.c @@ -1601,7 +1601,7 @@ gst_field_analysis_process_buffer (GstFieldAnalysis * filter, && telecine_matches & FIELD_ANALYSIS_BOTTOM_TOP)) { /* held is opposite to matched => need both field from prev */ /* if t_b, hold bottom from prev and top from current, else vice-versa */ - res1->holding = 1 + !!(telecine_matches & FIELD_ANALYSIS_TOP_BOTTOM); + res1->holding = 1 + ! !(telecine_matches & FIELD_ANALYSIS_TOP_BOTTOM); res0->holding = 1 + !(telecine_matches & FIELD_ANALYSIS_TOP_BOTTOM); /* push prev TCM */ outbuf = @@ -1801,8 +1801,6 @@ fieldanalysis_init (GstPlugin * fieldanalysis) GST_DEBUG_CATEGORY_INIT (gst_field_analysis_debug, "fieldanalysis", 0, "Video field analysis"); - gst_fieldanalysis_orc_init (); - return gst_element_register (fieldanalysis, "fieldanalysis", GST_RANK_NONE, GST_TYPE_FIELDANALYSIS); } diff --git a/gst/fieldanalysis/gstfieldanalysisorc.orc b/gst/fieldanalysis/gstfieldanalysisorc.orc index 42ae22230..95ae0cf47 100644 --- a/gst/fieldanalysis/gstfieldanalysisorc.orc +++ b/gst/fieldanalysis/gstfieldanalysisorc.orc @@ -1,7 +1,4 @@ -.init gst_fieldanalysis_orc_init - - .function orc_same_parity_sad_planar_yuv .accumulator 4 a1 guint32 .source 1 s1 |