orc: don't compile everything at startup
This commit is contained in:
parent
eea0b288cd
commit
c7f9558cc4
@ -1601,7 +1601,7 @@ gst_field_analysis_process_buffer (GstFieldAnalysis * filter,
|
|||||||
&& telecine_matches & FIELD_ANALYSIS_BOTTOM_TOP)) {
|
&& telecine_matches & FIELD_ANALYSIS_BOTTOM_TOP)) {
|
||||||
/* held is opposite to matched => need both field from prev */
|
/* held is opposite to matched => need both field from prev */
|
||||||
/* if t_b, hold bottom from prev and top from current, else vice-versa */
|
/* 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);
|
res0->holding = 1 + !(telecine_matches & FIELD_ANALYSIS_TOP_BOTTOM);
|
||||||
/* push prev TCM */
|
/* push prev TCM */
|
||||||
outbuf =
|
outbuf =
|
||||||
@ -1801,8 +1801,6 @@ fieldanalysis_init (GstPlugin * fieldanalysis)
|
|||||||
GST_DEBUG_CATEGORY_INIT (gst_field_analysis_debug, "fieldanalysis",
|
GST_DEBUG_CATEGORY_INIT (gst_field_analysis_debug, "fieldanalysis",
|
||||||
0, "Video field analysis");
|
0, "Video field analysis");
|
||||||
|
|
||||||
gst_fieldanalysis_orc_init ();
|
|
||||||
|
|
||||||
return gst_element_register (fieldanalysis, "fieldanalysis", GST_RANK_NONE,
|
return gst_element_register (fieldanalysis, "fieldanalysis", GST_RANK_NONE,
|
||||||
GST_TYPE_FIELDANALYSIS);
|
GST_TYPE_FIELDANALYSIS);
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
|
|
||||||
.init gst_fieldanalysis_orc_init
|
|
||||||
|
|
||||||
|
|
||||||
.function orc_same_parity_sad_planar_yuv
|
.function orc_same_parity_sad_planar_yuv
|
||||||
.accumulator 4 a1 guint32
|
.accumulator 4 a1 guint32
|
||||||
.source 1 s1
|
.source 1 s1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user