Update of /cvsroot/pure-data/externals/pdp/doc/introduction In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10914
Modified Files: Tag: branch-v0-39-2-extended control.pd input_output.pd quicktime.pd traffic.pd Log Message: switched to pdp_glx for output since it works on both Mac OS X and GNU/Linux
Index: quicktime.pd =================================================================== RCS file: /cvsroot/pure-data/externals/pdp/doc/introduction/quicktime.pd,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** quicktime.pd 16 Dec 2005 01:05:31 -0000 1.3 --- quicktime.pd 5 May 2007 20:35:06 -0000 1.3.2.1 *************** *** 1,5 **** #N canvas 400 126 715 814 10; #X obj 59 391 pdp_qt; ! #X obj 59 462 pdp_xv; #X floatatom 77 429 5 0 0; #X floatatom 127 430 5 0 0; --- 1,5 ---- #N canvas 400 126 715 814 10; #X obj 59 391 pdp_qt; ! #X obj 59 462 pdp_glx; #X floatatom 77 429 5 0 0; #X floatatom 127 430 5 0 0; *************** *** 36,40 **** the third outlet outputs the total number of frames in a movie when it is opened.; ! #X obj 56 786 pdp_xv; #X obj 56 715 pdp_qt~; #X obj 84 757 dac~; --- 36,40 ---- the third outlet outputs the total number of frames in a movie when it is opened.; ! #X obj 56 786 pdp_glx; #X obj 56 715 pdp_qt~; #X obj 84 757 dac~;
Index: traffic.pd =================================================================== RCS file: /cvsroot/pure-data/externals/pdp/doc/introduction/traffic.pd,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** traffic.pd 16 Dec 2005 01:05:31 -0000 1.3 --- traffic.pd 5 May 2007 20:35:06 -0000 1.3.2.1 *************** *** 3,7 **** #X obj 362 27 metro 40; #X obj 362 53 pdp_v4l; ! #X obj 32 524 pdp_xv; #X obj 847 336 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; --- 3,7 ---- #X obj 362 27 metro 40; #X obj 362 53 pdp_v4l; ! #X obj 32 524 pdp_glx; #X obj 847 336 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1;
Index: input_output.pd =================================================================== RCS file: /cvsroot/pure-data/externals/pdp/doc/introduction/input_output.pd,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -C2 -d -r1.4 -r1.4.2.1 *** input_output.pd 16 Dec 2005 01:05:31 -0000 1.4 --- input_output.pd 5 May 2007 20:35:06 -0000 1.4.2.1 *************** *** 1,57 **** ! #N canvas 250 34 894 848 10; ! #X obj 107 427 pdp_v4l; ! #X obj 107 53 metro 40; ! #X msg 159 14 stop; ! #X msg 107 14 bang; ! #X msg 51 14 bang; ! #X obj 107 695 pdp_xv; ! #X msg 209 93 open /dev/video0; ! #X msg 209 117 open /dev/video1; ! #X text 347 95 you can choose the input device using the 'open' message. the default is /dev/video0; ! #X msg 209 142 close; ! #X text 348 143 closes the video port; ! #X msg 209 168 type yv12; ! #X msg 209 192 type grey; ! #X text 348 171 type sets the ouput image package type. currently only yv12 (luma/chroma color) and greyscale are supported.; ! #X msg 210 221 dim 320 240; ! #X msg 210 244 dim 640 480; ! #X text 348 215 dim sets the dimensions of the captured frame. please note that in all objects dimensions and packet type (color/greyscale) have to be the same to be combined (i.e. mixed); ! #X msg 210 556 dim 320 240; ! #X msg 210 579 dim 640 480; ! #X text 349 559 dim sets the window dimensions; ! #X msg 210 510 create; ! #X msg 210 531 destroy; ! #X text 208 447 pdp_xv ouputs video in a window using the xVideo extension. if your graphics card/driver supports it you can have multiple output windows. if a pdp message is received and a window is not open , one is created automaticly.; ! #X text 349 513 use these messages to explicitly create/destroy the window; ! #X text 207 18 pdp_v4l grabs video from the video4linux device. it ! grabs a frame whenever a bang message is received. the output rate ! is limited by the maximum framerate of the video device. if there is ! no device opened , it will attempt to open /dev/video0; ! #X msg 212 627 cursor $1; ! #X obj 212 607 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; ! #X text 348 627 enables/disables cursor in xv window; ! #X msg 210 319 channel $1; ! #X floatatom 210 295 5 0 0 0 - - -; ! #X text 347 320 sets the v4l channel (like tuner , composite , svideo , ...); ! #X floatatom 210 359 5 0 0 0 - - -; ! #X msg 210 383 freq $1; ! #X floatatom 271 359 5 0 0 0 - - -; ! #X msg 271 383 freqMHz $1; ! #X text 346 359 sets the v4l tuner frequency (in v4l units and MHz) ; ! #X text 347 655 specify the x window display; ! #X msg 212 653 display :0; ! #X obj 107 748 print; ! #X text 211 745 the output channel sends mouse event messages (press/release/drag and individual p/r/d for each button); #X connect 0 0 5 0; --- 1,57 ---- ! #N canvas 148 22 825 773 10; ! #X obj 77 417 pdp_v4l; ! #X obj 77 43 metro 40; ! #X msg 129 4 stop; ! #X msg 77 4 bang; ! #X msg 21 4 bang; ! #X obj 77 685 pdp_glx; ! #X msg 179 83 open /dev/video0; ! #X msg 179 107 open /dev/video1; ! #X text 317 85 you can choose the input device using the 'open' message. the default is /dev/video0; ! #X msg 179 132 close; ! #X text 318 133 closes the video port; ! #X msg 179 158 type yv12; ! #X msg 179 182 type grey; ! #X text 318 161 type sets the ouput image package type. currently only yv12 (luma/chroma color) and greyscale are supported.; ! #X msg 180 211 dim 320 240; ! #X msg 180 234 dim 640 480; ! #X text 318 205 dim sets the dimensions of the captured frame. please note that in all objects dimensions and packet type (color/greyscale) have to be the same to be combined (i.e. mixed); ! #X msg 180 546 dim 320 240; ! #X msg 180 569 dim 640 480; ! #X text 319 549 dim sets the window dimensions; ! #X msg 180 500 create; ! #X msg 180 521 destroy; ! #X text 178 437 pdp_glx ouputs video in a window using the xVideo extension. if your graphics card/driver supports it you can have multiple output windows. if a pdp message is received and a window is not open , one is created automaticly.; ! #X text 319 503 use these messages to explicitly create/destroy the window; ! #X text 177 8 pdp_v4l grabs video from the video4linux device. it grabs ! a frame whenever a bang message is received. the output rate is limited ! by the maximum framerate of the video device. if there is no device ! opened , it will attempt to open /dev/video0; ! #X msg 182 617 cursor $1; ! #X obj 182 597 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; ! #X text 318 617 enables/disables cursor in xv window; ! #X msg 180 309 channel $1; ! #X floatatom 180 285 5 0 0 0 - - -; ! #X text 317 310 sets the v4l channel (like tuner , composite , svideo , ...); ! #X floatatom 180 349 5 0 0 0 - - -; ! #X msg 180 373 freq $1; ! #X floatatom 241 349 5 0 0 0 - - -; ! #X msg 241 373 freqMHz $1; ! #X text 316 349 sets the v4l tuner frequency (in v4l units and MHz) ; ! #X text 317 645 specify the x window display; ! #X msg 182 643 display :0; ! #X obj 77 738 print; ! #X text 181 735 the output channel sends mouse event messages (press/release/drag and individual p/r/d for each button); #X connect 0 0 5 0;
Index: control.pd =================================================================== RCS file: /cvsroot/pure-data/externals/pdp/doc/introduction/control.pd,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** control.pd 16 Dec 2005 01:05:31 -0000 1.3 --- control.pd 5 May 2007 20:35:06 -0000 1.3.2.1 *************** *** 1,4 **** #N canvas 372 355 668 154 10; ! #X obj 33 107 pdp_xv; #X obj 33 57 pdp_v4l; #X msg 33 12 bang; --- 1,4 ---- #N canvas 372 355 668 154 10; ! #X obj 33 107 pdp_glx; #X obj 33 57 pdp_v4l; #X msg 33 12 bang;