<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 21, 2017 at 8:07 AM, HermannSW <span dir="ltr"><<a href="mailto:hermann@stamm-wilbrandt.de" target="_blank">hermann@stamm-wilbrandt.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I will write my own plugin (GRAY8 in, GRAY8 out) and compare its performance<br>
with similar pipeline then.</blockquote><div><br></div><div>threshold0r uses a LUT which should be quite fast. Of course in your case there's a GRAY8->RGBA->GRAY8 conversion, so direct on GRAY8 should be faster than what you're seeing with frei0r. Consider adding this in the opencv plugin located in gst-plugins-bad, it will make some things a little easier, and would be nice to add, or at least use GstVideoFilter. Be sure to implement both transform and transform_ip. If you roll your own, I'd be curious how orc's cmpgtsb opcode compares to a LUT, both should be very fast.<br></div></div></div></div>