aboutsummaryrefslogtreecommitdiff
path: root/doc/pdp_ocanvas-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pdp_ocanvas-help.pd')
-rw-r--r--doc/pdp_ocanvas-help.pd190
1 files changed, 190 insertions, 0 deletions
diff --git a/doc/pdp_ocanvas-help.pd b/doc/pdp_ocanvas-help.pd
new file mode 100644
index 0000000..34ade8e
--- /dev/null
+++ b/doc/pdp_ocanvas-help.pd
@@ -0,0 +1,190 @@
+#N canvas 507 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 0
+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 187 138 metro 70;
+#X obj 124 178 pdp_yqt;
+#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 35 577 pdp_ocanvas : displaying several video sources with
+overlay;
+#X text 34 591 constructor : pdp_canvas <width> <height> <nb inputs>
+;
+#X text 419 495 <-- 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 430 137 metro 70;
+#X obj 367 177 pdp_yqt;
+#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 632 174 pdp_yqt;
+#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 530 349 Change offsets of first video source;
+#X obj 534 303 pack f f;
+#X floatatom 639 304 5 0 0 0 - - -;
+#X floatatom 699 304 5 0 0 0 - - -;
+#X obj 597 302 t b f;
+#X text 679 302 X;
+#X text 740 304 Y;
+#X msg 534 327 offset 1 \$1 \$2;
+#X obj 81 315 loadbang;
+#X msg 173 540 select \$1 \$2;
+#X msg 279 539 drag \$1 \$2;
+#X msg 367 538 unselect;
+#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 234 497 route press drag release;
+#X msg 535 438 average \$1;
+#X obj 615 439 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X text 533 461 Average sources at intersections;
+#X text 533 473 ( default = 0 );
+#X msg 104 476 cursor 0;
+#X obj 224 425 pdp_ocanvas 640 480 3;
+#X obj 234 469 pdp_glx;
+#X msg 96 417 dim 640 480;
+#X obj 228 449 pdp_scale 320 240;
+#X msg 105 446 cursor 1;
+#X obj 358 315 pdp_i 5000;
+#X obj 535 369 pack f f;
+#X floatatom 640 370 5 0 0 0 - - -;
+#X floatatom 737 370 5 0 0 0 - - -;
+#X obj 598 368 t b f;
+#X msg 535 393 alpha \$1 \$2;
+#X text 680 368 S;
+#X text 531 415 Change alpha values for each source;
+#X text 697 391 Alpha [0.0-1.0];
+#X obj 696 368 / 100;
+#X connect 0 0 7 0;
+#X connect 1 0 8 0;
+#X connect 2 0 1 0;
+#X connect 3 0 8 0;
+#X connect 4 0 3 0;
+#X connect 5 0 4 0;
+#X connect 6 0 7 0;
+#X connect 7 0 8 0;
+#X connect 8 0 67 0;
+#X connect 9 0 67 0;
+#X connect 10 0 9 0;
+#X connect 11 0 10 0;
+#X connect 12 0 10 0;
+#X connect 13 0 15 0;
+#X connect 14 0 17 0;
+#X connect 15 0 14 0;
+#X connect 17 0 16 0;
+#X connect 19 0 8 1;
+#X connect 23 0 30 0;
+#X connect 24 0 31 0;
+#X connect 25 0 24 0;
+#X connect 26 0 31 0;
+#X connect 27 0 26 0;
+#X connect 28 0 27 0;
+#X connect 29 0 30 0;
+#X connect 30 0 31 0;
+#X connect 31 0 68 0;
+#X connect 32 0 68 0;
+#X connect 33 0 32 0;
+#X connect 34 0 33 0;
+#X connect 35 0 33 0;
+#X connect 36 0 31 1;
+#X connect 37 0 44 0;
+#X connect 38 0 45 0;
+#X connect 39 0 38 0;
+#X connect 40 0 45 0;
+#X connect 41 0 40 0;
+#X connect 42 0 41 0;
+#X connect 43 0 44 0;
+#X connect 44 0 45 0;
+#X connect 45 0 69 0;
+#X connect 46 0 69 0;
+#X connect 47 0 46 0;
+#X connect 48 0 47 0;
+#X connect 49 0 47 0;
+#X connect 50 0 45 1;
+#X connect 54 0 60 0;
+#X connect 55 0 54 0;
+#X connect 56 0 57 0;
+#X connect 57 0 54 0;
+#X connect 57 1 54 1;
+#X connect 60 0 76 0;
+#X connect 61 0 65 0;
+#X connect 61 0 66 0;
+#X connect 62 0 76 0;
+#X connect 63 0 76 0;
+#X connect 64 0 76 0;
+#X connect 65 0 76 0;
+#X connect 66 0 76 0;
+#X connect 67 0 76 1;
+#X connect 68 0 76 2;
+#X connect 69 0 76 3;
+#X connect 70 0 62 0;
+#X connect 70 1 63 0;
+#X connect 70 2 64 0;
+#X connect 71 0 76 0;
+#X connect 72 0 71 0;
+#X connect 75 0 77 0;
+#X connect 76 0 79 0;
+#X connect 77 0 70 0;
+#X connect 78 0 77 0;
+#X connect 79 0 77 0;
+#X connect 80 0 77 0;
+#X connect 81 0 76 3;
+#X connect 82 0 86 0;
+#X connect 83 0 82 0;
+#X connect 84 0 90 0;
+#X connect 85 0 82 0;
+#X connect 85 1 82 1;
+#X connect 86 0 76 0;
+#X connect 90 0 85 0;