<div dir="ltr"><div>I haven't looked it to just yet. But, I looked at the code in the videocrop, I don't think it could be much faster, with the simple format the way it is, maybe threading it, but that adds complications to everything else that could slow things down. <br></div><div><br></div><div>Also, typo. I meant to say that I will look a lot into speeding it up. =P</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">---</div><div dir="ltr">Tim Bradt<div>1st Year Masters: CpE</div><div>Phone: <span title="Call with Google Voice"><span title="Call with Google Voice">616-516-0646</span></span></div><div>email: <a href="mailto:tjbradt@mtu.edu" target="_blank">tjbradt@mtu.edu</a></div><div><a href="https://github.com/btaidm" target="_blank"><img src="http://www.turshija.com/signature/github.png"></a> <a href="http://www.linkedin.com/in/timbradt/" target="_blank"><img src="http://developer.linkedin.com/sites/default/files/LinkedIn_Logo16px.png"></a><br></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, May 22, 2015 at 4:14 PM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas.dufresne@collabora.com" target="_blank">nicolas.dufresne@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le Friday 22 May 2015 à 12:18 -0700, Tim Bradt a écrit :<br>
> I will take a lot into speeding up the crop routine<br>
<br>
</span>In RGB, you could check if downstream support GstVideoMeta (ximagesink<br>
do), and simply play with the start pointer and stride. No need to<br>
actually do a copy. Though, ximagesink will be doing a copy, since the<br>
memory will not already be in a shared memory with X11.<br>
<br>
It would be nice to pinpoint where you found videocrop isn't performant<br>
. The RGB code is very simple, so it would be nice to share with<br>
upstream what you think could be improved.<br>
<span class="HOEnZb"><font color="#888888"><br>
Nicolas</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>