[gst-devel] Buffer copying

Clark, Rob rob at ti.com
Fri Jan 7 16:54:31 CET 2011


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

BR,
-R

On Fri, Jan 7, 2011 at 7:22 AM, vaishnavi <vaish05_s at yahoo.com> wrote:

>
> We are developing a plug-in which has interface with Hardware driver for
> transcoding.
>
> To avoid copying, in the driver, we use get_user_pages to map user space
> memory to the
>
> kernel space.
>
>
>
> When we use filesrc to read from the file and pass on to this plug-in, we
> are currently
>
> copying the buffer passed from filesrc to another memory which is allocated
> using
>
> posix_memalign in the plug-in.
>
>
>
> Is there a way where we can avoid this copying by asking filesrc to do page
> alignment
>
> when it allocates a buffer for reading from the file?
>
>
> Thank you
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Buffer-copying-tp3179110p3179110.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any
> company
> that requires sensitive data to be transmitted over the Web.   Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110107/bc231a91/attachment.htm>


More information about the gstreamer-devel mailing list