orc: don't compile everything at startup
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 20 Mar 2012 14:38:33 +0000 (15:38 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 20 Mar 2012 14:38:33 +0000 (15:38 +0100)
gst/fieldanalysis/gstfieldanalysis.c
gst/fieldanalysis/gstfieldanalysisorc.orc

index bc6e4c561a54479d1aff7924182832e5e1213ef8..50314269b2eb42ddb9f23d8698e40038b547b315 100644 (file)
@@ -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);
 }
index 42ae222302f60b192c3347d0e865c2db57d11020..95ae0cf479ef1498dd11e26682861a0f9f216216 100644 (file)
@@ -1,7 +1,4 @@
 
-.init gst_fieldanalysis_orc_init
-
-
 .function orc_same_parity_sad_planar_yuv
 .accumulator 4 a1 guint32
 .source 1 s1