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

On Fri, Mar 6, 2009 at 12:59 PM, B. Bogart <ben@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@iem.at
http://lists.puredata.info/listinfo/gem-dev