it's not really YV12, but it has the same layout. the difference is that while the components in standard YV12 are unsigned char, in the pdp packet they are 16bit signed integers, with chroma (0,0) indicating gray scale.
it's one of these per packet. the protocol for passing them within pd refers to the packets with an integer id, and has 3 phases:
register_rw (if you want to modify it) register_ro (if you want to only read it) process (the actuall process tick)
On Tue, Feb 07, 2006 at 02:34:17PM -0500, Hans-Christoph Steiner wrote:
So basically, its one video frame in YV12 format per packet? Is that the most basic element?
.hc
On Feb 7, 2006, at 12:14 PM, Ed Kelly wrote:
Hi Hans,
The format of pdp packets is YV12. This page should give you more information - I would think source code for pdp_scan~ and pdp_scanxy~ would give you some clues...
http://www.fourcc.org/yuv.php#YV12
Happy pixels, Ed
Hans-Christoph Steiner hans@eds.org wrote:
Is there any documentation of the formats of gemlist and pdp packet? Can either of these formats be broken down into lesser elements within Pd, like floats, etc.?
.hc
__ ____
"Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies."
- Amy Smith
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
-> -> --> ---> -----> --------> -------------> (insert quote here)
Win a BlackBerry device from O2 with Yahoo!. Enter now.
"The arc of history bends towards justice." - Dr. Martin Luther King, Jr.
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev