[gst-devel] Buffer copying

vaishnavi vaish05_s at yahoo.com
Fri Jan 7 14:22:01 CET 2011


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.




More information about the gstreamer-devel mailing list