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
Hans-Christoph Steiner 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.?
i fear there is no documentation for both of them (apart from the source)
probably there is a bit of docu in my talk at the pd~convention, but nothing like an API-documentation.
on the pd-side, a gemlist ist a message [gem_state $1 $2( where $1 is a pointer to GemState and $2 a pointer to GemCache.
these 2 structs do handle with floats,... but they are not exposed to pd.
iirc, pdp-packets are numbers (with a special selector), which represent the packet id, but i don't really know.
mfg.asd.r IOhannes
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.
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.
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