bufferpool: is it possible wait all memory writalbe, nor free the buffer?

Bing Song Kevin.Song at freescale.com
Mon Jan 12 18:02:57 PST 2015


Thanks. Will try to pooling the memory in allocator.

Regards,
Song Bing.

-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Nicolas Dufresne
Sent: Monday, January 12, 2015 1:38 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: bufferpool: is it possible wait all memory writalbe, nor free the buffer?


Le 2015-01-11 11:04, Bing Song a écrit :
> We are developing camera application based on camerabin. This is blocking issue we are facing. We have custom allocator based on V4L2 and use default video buffer pool. What's your suggestion to fix the issue? Is you solution ready?
If buffer don't get back to the pool in GstV4l2BufferPool I would not worry to much since the GstV4L2Allocator already have this pooling behaviour Sebastian mention. I also did myself some test to try and measure the performance when buffer are being discarded and re-allocatate. I could not get any significant difference. The fact is that for V4L2 case, re-allocation does not require any OS call, since everything is pre-allocated.

cheers,
Nicolas
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list