[GEM-dev] pix_buffer_share?

chris clepper cgclepper at gmail.com
Fri Mar 6 21:13:04 CET 2009


pix_share does do exactly what you ask.  The same buffer is used for both
read and write and I moved 1920x1080 at 30fps between processes with no
problem.

On Fri, Mar 6, 2009 at 12:59 PM, B. Bogart <ben at ekran.org> wrote:

> Hey all,
>
> Is there a way to share a whole pix_buffer between PD processes?
>
> I'm running my SOM stuff in a second PD instance (to make use of the
> second core in my installation machine). But as I'm developing both PD
> instances are getting more coupled and I'd like to share a whole
> pix_buffer.
>
> The alternative is using two [pix_share]s, one for input the other for
> output, controlled by netsend. The problem with this is that I need to
> send a lot of data quickly, 10ms between new images, and I think that
> could cause lots of problems.
>
> I don't think I'll be able to get the CPU usage of the second patch down
> low enough to not interfere with rendering in the main PD patch.
>
> Thanks,
> B.
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20090306/8f160d65/attachment.htm>


More information about the GEM-dev mailing list