it may be a bit heavy handed to align *all* buffers to page boundary, but you could do that by using the --with-buffer-alignment argument to gstreamer core configure script<div><br></div><div>BR,</div><div>-R<br><div><div>
<br><div class="gmail_quote">On Fri, Jan 7, 2011 at 7:22 AM, vaishnavi <span dir="ltr">&lt;<a href="mailto:vaish05_s@yahoo.com">vaish05_s@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
We are developing a plug-in which has interface with Hardware driver for<br>
transcoding.<br>
<br>
To avoid copying, in the driver, we use get_user_pages to map user space<br>
memory to the<br>
<br>
kernel space.<br>
<br>
<br>
<br>
When we use filesrc to read from the file and pass on to this plug-in, we<br>
are currently<br>
<br>
copying the buffer passed from filesrc to another memory which is allocated<br>
using<br>
<br>
posix_memalign in the plug-in.<br>
<br>
<br>
<br>
Is there a way where we can avoid this copying by asking filesrc to do page<br>
alignment<br>
<br>
when it allocates a buffer for reading from the file?<br>
<br>
<br>
Thank you<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Buffer-copying-tp3179110p3179110.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Buffer-copying-tp3179110p3179110.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
------------------------------------------------------------------------------<br>
Gaining the trust of online customers is vital for the success of any company<br>
that requires sensitive data to be transmitted over the Web.   Learn how to<br>
best implement a security strategy that keeps consumers&#39; information secure<br>
and instills the confidence they need to proceed with transactions.<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div></div></div>