<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 14, 2016 at 3:41 AM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.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="">On Fr, 2016-05-13 at 08:34 -0400, Aaron Boxer wrote:<br>
> I have a question about how the streaming architecture works with GPU acceleration.<br>
><br>
> Since discrete cards are sitting on the PCI bus, best performance happens when data is<br>
> moved to the card in a pipeline and the host gets notified when data has been processed<br>
> and moved back to the host.<br>
><br>
> Also, it is sometimes more efficient to process N frames at a time.<br>
><br>
> So, for best perf, the flow would be:<br>
><br>
> A) host keeps a list of N host-side memory buffers<br>
> B) host waits for a host buffer to become available<br>
> C) when buffer is available, host copies memory into that buffer, and queues the buffer<br>
> to be copied over to the card<br>
> D) when N buffers have been processed, and copied back to host, the host receives an event<br>
> E) host can use the processed buffers, and when it is finished, that buffers becomes available<br>
> for another frame<br>
><br>
> Would this workflow work with GStreamer? <br>
<br>
</span>Yes, you just need to ensure that latency is reported accordingly by<br>
your element.<br></blockquote><div><br><br></div><div>Thanks. So, you mean to update the time stamp on the frame?<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
</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="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div></div>