aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/help-pdp_xcanvas.pd158
1 files changed, 158 insertions, 0 deletions
diff --git a/doc/help-pdp_xcanvas.pd b/doc/help-pdp_xcanvas.pd
new file mode 100644
index 0000000..ed78dac
--- /dev/null
+++ b/doc/help-pdp_xcanvas.pd
@@ -0,0 +1,158 @@
+#N canvas 121 0 828 668 10;
+#X obj 227 100 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 123 139 loop \$1;
+#X obj 124 117 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1
+1;
+#X msg 119 80 open \$1;
+#X obj 118 56 openpanel;
+#X obj 103 39 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 184 101 stop;
+#X obj 36 177 pdp_v4l;
+#X obj 36 145 metro 70;
+#X obj 83 104 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 40 105 stop;
+#X obj 716 529 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 716 581 pdp_control;
+#X msg 716 554 thread \$1;
+#X floatatom 716 642 5 0 0 0 - - -;
+#X obj 716 613 route pdp_drop;
+#X text 35 641 written by Yves Degoyon ( ydegoyon@free.fr );
+#X floatatom 189 169 5 0 0 0 - - -;
+#X text 413 470 <-- you can move video sources by dragging them around
+;
+#X obj 470 99 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 366 138 loop \$1;
+#X obj 367 116 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
+1;
+#X msg 362 79 open \$1;
+#X obj 361 55 openpanel;
+#X obj 346 38 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 427 100 stop;
+#X obj 283 178 pdp_v4l;
+#X obj 290 154 metro 70;
+#X obj 337 113 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 294 114 stop;
+#X floatatom 432 168 5 0 0 0 - - -;
+#X obj 735 96 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 631 135 loop \$1;
+#X obj 632 113 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
+1;
+#X msg 627 76 open \$1;
+#X obj 626 52 openpanel;
+#X obj 611 35 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 692 97 stop;
+#X obj 695 134 metro 70;
+#X obj 548 176 pdp_v4l;
+#X obj 548 152 metro 70;
+#X obj 595 111 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 552 112 stop;
+#X floatatom 697 165 5 0 0 0 - - -;
+#X text 36 605 note : the maximum number of inputs is 10;
+#X text 36 618 ( easily hackable in the code );
+#X text 544 397 Change offsets of first video source;
+#X obj 548 351 pack f f;
+#X floatatom 549 312 5 0 0 0 - - -;
+#X floatatom 599 312 5 0 0 0 - - -;
+#X obj 589 331 t b f;
+#X text 564 294 X;
+#X text 609 293 Y;
+#X msg 548 375 offset 1 \$1 \$2;
+#X obj 81 315 loadbang;
+#X msg 172 514 select \$1 \$2;
+#X msg 278 513 drag \$1 \$2;
+#X msg 366 512 unselect;
+#X msg 84 399 cursor 1;
+#X msg 82 341 offset 2 320 0;
+#X msg 81 365 offset 3 256 240;
+#X obj 134 258 pdp_scale 320 240;
+#X obj 307 255 pdp_scale 320 240;
+#X obj 496 254 pdp_scale 320 240;
+#X obj 233 471 route press drag release;
+#X obj 187 138 metro 40;
+#X obj 431 137 metro 40;
+#X obj 121 177 pdp_yqt;
+#X obj 367 177 pdp_yqt;
+#X obj 632 174 pdp_yqt;
+#X obj 234 432 pdp_xcanvas 640 480 3;
+#X text 34 591 constructor : pdp_xcanvas <width> <height> <nb inputs>
+;
+#X text 35 565 pdp_xcanvas : displaying several video sources;
+#X text 35 578 pdp_xcanvas = pdp_canvas + pdp_xv;
+#X connect 0 0 65 0;
+#X connect 1 0 67 0;
+#X connect 2 0 1 0;
+#X connect 3 0 67 0;
+#X connect 4 0 3 0;
+#X connect 5 0 4 0;
+#X connect 6 0 65 0;
+#X connect 7 0 61 0;
+#X connect 8 0 7 0;
+#X connect 9 0 8 0;
+#X connect 10 0 8 0;
+#X connect 11 0 13 0;
+#X connect 12 0 15 0;
+#X connect 13 0 12 0;
+#X connect 15 0 14 0;
+#X connect 17 0 67 1;
+#X connect 19 0 66 0;
+#X connect 20 0 68 0;
+#X connect 21 0 20 0;
+#X connect 22 0 68 0;
+#X connect 23 0 22 0;
+#X connect 24 0 23 0;
+#X connect 25 0 66 0;
+#X connect 26 0 62 0;
+#X connect 27 0 26 0;
+#X connect 28 0 27 0;
+#X connect 29 0 27 0;
+#X connect 30 0 68 1;
+#X connect 31 0 38 0;
+#X connect 32 0 69 0;
+#X connect 33 0 32 0;
+#X connect 34 0 69 0;
+#X connect 35 0 34 0;
+#X connect 36 0 35 0;
+#X connect 37 0 38 0;
+#X connect 38 0 69 0;
+#X connect 39 0 63 0;
+#X connect 40 0 39 0;
+#X connect 41 0 40 0;
+#X connect 42 0 40 0;
+#X connect 43 0 69 1;
+#X connect 47 0 53 0;
+#X connect 48 0 47 0;
+#X connect 49 0 50 0;
+#X connect 50 0 47 0;
+#X connect 50 1 47 1;
+#X connect 53 0 70 0;
+#X connect 54 0 59 0;
+#X connect 54 0 60 0;
+#X connect 55 0 70 0;
+#X connect 56 0 70 0;
+#X connect 57 0 70 0;
+#X connect 58 0 70 0;
+#X connect 59 0 70 0;
+#X connect 60 0 70 0;
+#X connect 61 0 70 1;
+#X connect 62 0 70 2;
+#X connect 63 0 70 3;
+#X connect 64 0 55 0;
+#X connect 64 1 56 0;
+#X connect 64 2 57 0;
+#X connect 65 0 67 0;
+#X connect 66 0 68 0;
+#X connect 67 0 61 0;
+#X connect 68 0 62 0;
+#X connect 69 0 63 0;
+#X connect 70 0 58 0;
+#X connect 70 0 64 0;