[Gridflow-cvs] [svn] commit: r5553 - /trunk/abstractions/#camera.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue Apr 27 00:10:25 EDT 2010


Author: pboivin
Date: Tue Apr 27 00:10:23 2010
New Revision: 5553

Log:
select quicktimeapple as default api on OSX

Modified:
    trunk/abstractions/#camera.pd

Modified: trunk/abstractions/#camera.pd
==============================================================================
--- trunk/abstractions/#camera.pd (original)
+++ trunk/abstractions/#camera.pd Tue Apr 27 00:10:23 2010
@@ -3,58 +3,57 @@
 -66577 0;
 #X obj 215 34 hradio 12 1 0 4 \$0-s_channel \$0-channel _0_1_2_3 -2
 7 1 8 -233017 -195568 -195568 0;
-#N canvas 462 0 764 694 camera 0;
-#X obj 226 384 outlet;
-#X obj 11 12 inlet;
-#X obj 134 269 t a;
-#X obj 134 348 spigot;
-#X obj -9 106 args (device a -1);
-#X obj 11 162 s \$0-device;
-#X obj 134 367 route pwc;
-#X msg 134 386 pwc \$1 \, get;
-#X obj 107 9 list split 1;
-#X obj 107 28 makefilename \$0-%s;
-#X obj 120 87 s;
-#X obj 120 68 list;
-#X obj 120 49 t b s;
-#X obj 251 71 list prepend;
-#X obj 251 90 list trim;
-#X obj 261 169 foreach;
-#X obj 261 188 makefilename \$0-%s;
-#X msg 261 207 \; \$1 color 10 20 20;
-#X msg 110 162 \; \$1 color 18 17 22;
-#X obj 171 310 t b a b b;
-#X obj 415 411 r \$0-s_device;
-#X msg 222 331 0;
-#X msg 171 329 1;
-#X obj 444 693 s \$0-title;
-#X msg 444 674 label \$1;
-#X obj 372 655 r \$0-name;
-#X obj 372 674 route color;
-#X msg 454 636 close;
-#X msg 454 655 label No_camera_selected;
-#X msg 261 241 label Unknown_camera;
-#X obj 261 260 s \$0-title;
-#X obj 613 672 s \$0-minsize;
-#X msg 613 653 0 0;
-#X obj 641 653 s \$0-maxsize;
-#X obj 415 430 t a b;
-#X obj 116 411 r \$0-palette;
-#X obj 188 449 s \$0-palette2;
-#X msg 188 430 label \$1;
-#X obj 107 106 route minsize maxsize;
-#X obj 116 430 route color;
-#X obj 11 31 route not_open;
-#X obj 251 13 receives \$0-s_ channel tuner frequency brightness contrast
+#N canvas 387 22 812 737 camera 0;
+#X obj 253 393 outlet;
+#X obj 38 21 inlet;
+#X obj 161 278 t a;
+#X obj 161 357 spigot;
+#X obj 38 171 s \$0-device;
+#X obj 161 376 route pwc;
+#X msg 161 395 pwc \$1 \, get;
+#X obj 134 18 list split 1;
+#X obj 134 37 makefilename \$0-%s;
+#X obj 147 96 s;
+#X obj 147 77 list;
+#X obj 147 58 t b s;
+#X obj 278 80 list prepend;
+#X obj 278 99 list trim;
+#X obj 288 178 foreach;
+#X obj 288 197 makefilename \$0-%s;
+#X msg 288 216 \; \$1 color 10 20 20;
+#X msg 137 171 \; \$1 color 18 17 22;
+#X obj 198 319 t b a b b;
+#X obj 442 420 r \$0-s_device;
+#X msg 249 340 0;
+#X msg 198 338 1;
+#X obj 471 702 s \$0-title;
+#X msg 471 683 label \$1;
+#X obj 399 664 r \$0-name;
+#X obj 399 683 route color;
+#X msg 481 645 close;
+#X msg 481 664 label No_camera_selected;
+#X msg 288 250 label Unknown_camera;
+#X obj 288 269 s \$0-title;
+#X obj 640 681 s \$0-minsize;
+#X msg 640 662 0 0;
+#X obj 668 662 s \$0-maxsize;
+#X obj 442 439 t a b;
+#X obj 143 420 r \$0-palette;
+#X obj 215 458 s \$0-palette2;
+#X msg 215 439 label \$1;
+#X obj 134 115 route minsize maxsize;
+#X obj 143 439 route color;
+#X obj 38 40 route not_open;
+#X obj 278 22 receives \$0-s_ channel tuner frequency brightness contrast
 colour hue whiteness white_mode white_red white_blue white_speed white_delay
 auto_gain framerate noise_reduction compression pwc size colorspace
 norm;
-#X msg 261 111 list channel tuner frequency brightness contrast colour
+#X msg 288 120 list channel tuner frequency brightness contrast colour
 hue whiteness white_mode white_red white_blue white_speed white_delay
 auto_gain framerate noise_reduction compression pwc size colorspace
 norm;
-#X obj -9 125 mod 9;
-#N canvas 0 0 450 300 colorspace 0;
+#X obj 18 134 mod 9;
+#N canvas 0 22 450 300 colorspace 0;
 #X obj 29 156 outlet;
 #X msg 29 137 colorspace \$1;
 #X obj 29 80 s \$0-colorspace_e;
@@ -70,36 +69,36 @@
 #X connect 5 0 4 0;
 #X connect 6 0 2 0;
 #X connect 7 0 1 0;
-#X restore 134 250 pd colorspace;
-#X obj 415 449 moses 8;
-#X obj 328 449 shunt 7 \, \,;
-#X obj 297 394 s \$0-rect;
-#X obj 297 375 t a;
-#X msg 297 356 color 15;
-#X obj 379 359 r \$0-s_api_e;
-#X obj 420 263 gf.error unknown api '%s';
-#X obj 420 244 symbol;
-#X obj 458 359 s \$0-device;
-#X obj 420 215 sel -1;
-#X msg 345 544 open v4l2 /dev/video\$1 0 \, get;
-#X msg 321 634 get;
-#X obj 321 615 t b a;
-#X obj 321 653 t a;
-#X msg 370 487 open quicktimecamera \$1;
-#X msg 353 525 open v4l2 /dev/video\$1 1;
-#X msg 362 506 open dc1394;
-#X obj 11 68 delay 200;
-#X msg 336 563 open videodev /dev/video\$1 1;
-#X msg 328 582 open videodev /dev/video\$1 0;
-#X obj 458 302 t f;
-#X obj 458 321 sel 6;
-#X msg 494 321 color 15 22 \, 8;
-#X msg 458 340 color 10 20 \, 8;
-#X obj 420 170 r \$0-api;
-#X obj 458 283 r \$0-s_api_e;
-#X obj 462 215 s \$0-api_e;
-#X msg 11 87 set 8;
-#N canvas 0 0 450 300 detect_default_api 0;
+#X restore 161 259 pd colorspace;
+#X obj 442 458 moses 8;
+#X obj 355 458 shunt 7 \, \,;
+#X obj 324 403 s \$0-rect;
+#X obj 324 384 t a;
+#X msg 324 365 color 15;
+#X obj 406 368 r \$0-s_api_e;
+#X obj 447 272 gf.error unknown api '%s';
+#X obj 447 253 symbol;
+#X obj 556 420 s \$0-device;
+#X obj 447 224 sel -1;
+#X msg 372 553 open v4l2 /dev/video\$1 0 \, get;
+#X msg 348 643 get;
+#X obj 348 624 t b a;
+#X obj 348 662 t a;
+#X msg 397 496 open quicktimecamera \$1;
+#X msg 380 534 open v4l2 /dev/video\$1 1;
+#X msg 389 515 open dc1394;
+#X obj 38 77 delay 200;
+#X msg 363 572 open videodev /dev/video\$1 1;
+#X msg 355 591 open videodev /dev/video\$1 0;
+#X obj 556 363 t f;
+#X obj 556 382 sel 6;
+#X msg 592 382 color 15 22 \, 8;
+#X msg 556 401 color 10 20 \, 8;
+#X obj 447 179 r \$0-api;
+#X obj 556 315 r \$0-s_api_e;
+#X obj 489 224 s \$0-api_e;
+#X msg 38 96 set 8;
+#N canvas 0 22 450 300 detect_default_api 0;
 #X obj 142 261 outlet;
 #X obj 10 10 loadbang;
 #X obj 10 48 class_exists;
@@ -124,6 +123,7 @@
 #X connect 7 0 0 0;
 #X connect 8 0 6 0;
 #X connect 8 1 4 0;
+#X connect 9 0 12 0;
 #X connect 9 1 7 0;
 #X connect 10 0 11 0;
 #X connect 11 0 14 0;
@@ -131,99 +131,102 @@
 #X connect 12 0 10 0;
 #X connect 13 0 0 0;
 #X connect 14 0 0 0;
-#X restore 482 302 pd detect_default_api;
-#X obj 379 468 gf.error sorry;
-#X obj 420 196 listfind v4l1 libv4l1 v4l2 libv4l2 dc1394 quicktime
+#X restore 568 334 pd detect_default_api;
+#X obj 406 477 gf.error sorry;
+#X obj 447 205 listfind v4l1 libv4l1 v4l2 libv4l2 dc1394 quicktime
 sorry;
-#X obj -5 673 listread v4l1 libv4l1 v4l2 libv4l2 dc1394 quicktime sorry
+#X obj 22 682 listread v4l1 libv4l1 v4l2 libv4l2 dc1394 quicktime sorry
 ;
-#X connect 1 0 40 0;
+#X obj 18 115 args (device a -1);
+#X obj 580 363 s \$0-api_e;
+#X connect 1 0 39 0;
 #X connect 2 0 3 0;
-#X connect 3 0 6 0;
-#X connect 4 0 43 0;
-#X connect 6 0 7 0;
-#X connect 6 1 0 0;
-#X connect 7 0 19 0;
-#X connect 8 0 9 0;
-#X connect 8 1 11 1;
-#X connect 9 0 12 0;
-#X connect 9 0 38 0;
+#X connect 3 0 5 0;
+#X connect 5 0 6 0;
+#X connect 5 1 0 0;
+#X connect 6 0 18 0;
+#X connect 7 0 8 0;
+#X connect 7 1 10 1;
+#X connect 8 0 11 0;
+#X connect 8 0 37 0;
+#X connect 10 0 9 0;
 #X connect 11 0 10 0;
-#X connect 12 0 11 0;
-#X connect 12 1 10 1;
-#X connect 13 0 14 0;
-#X connect 14 0 2 0;
+#X connect 11 1 9 1;
+#X connect 12 0 13 0;
+#X connect 13 0 2 0;
+#X connect 14 0 15 0;
 #X connect 15 0 16 0;
-#X connect 16 0 17 0;
-#X connect 19 0 22 0;
-#X connect 19 1 0 0;
-#X connect 19 2 29 0;
-#X connect 19 2 42 0;
-#X connect 19 3 21 0;
-#X connect 20 0 34 0;
+#X connect 18 0 21 0;
+#X connect 18 1 0 0;
+#X connect 18 2 28 0;
+#X connect 18 2 41 0;
+#X connect 18 3 20 0;
+#X connect 19 0 33 0;
+#X connect 20 0 3 1;
 #X connect 21 0 3 1;
-#X connect 22 0 3 1;
-#X connect 24 0 23 0;
-#X connect 25 0 26 0;
-#X connect 26 1 24 0;
-#X connect 27 0 28 0;
-#X connect 27 0 32 0;
-#X connect 27 0 58 0;
-#X connect 28 0 23 0;
-#X connect 29 0 30 0;
-#X connect 32 0 31 0;
-#X connect 32 0 33 0;
-#X connect 34 0 45 0;
-#X connect 34 1 32 0;
-#X connect 35 0 39 0;
-#X connect 37 0 36 0;
-#X connect 38 2 18 0;
-#X connect 39 1 37 0;
-#X connect 40 0 62 0;
-#X connect 40 1 8 0;
-#X connect 41 0 13 0;
-#X connect 41 1 13 1;
-#X connect 42 0 15 0;
-#X connect 43 0 5 0;
-#X connect 44 0 2 0;
-#X connect 45 0 46 0;
-#X connect 45 1 27 0;
-#X connect 46 0 64 0;
-#X connect 46 1 63 0;
-#X connect 46 2 55 0;
-#X connect 46 3 60 0;
-#X connect 46 4 61 0;
-#X connect 46 5 59 0;
-#X connect 46 6 74 0;
-#X connect 48 0 36 0;
+#X connect 23 0 22 0;
+#X connect 24 0 25 0;
+#X connect 25 1 23 0;
+#X connect 26 0 27 0;
+#X connect 26 0 31 0;
+#X connect 26 0 57 0;
+#X connect 27 0 22 0;
+#X connect 28 0 29 0;
+#X connect 31 0 30 0;
+#X connect 31 0 32 0;
+#X connect 33 0 44 0;
+#X connect 33 1 31 0;
+#X connect 34 0 38 0;
+#X connect 36 0 35 0;
+#X connect 37 2 17 0;
+#X connect 38 1 36 0;
+#X connect 39 0 61 0;
+#X connect 39 1 7 0;
+#X connect 40 0 12 0;
+#X connect 40 1 12 1;
+#X connect 41 0 14 0;
+#X connect 42 0 4 0;
+#X connect 43 0 2 0;
+#X connect 44 0 45 0;
+#X connect 44 1 26 0;
+#X connect 45 0 63 0;
+#X connect 45 1 62 0;
+#X connect 45 2 54 0;
+#X connect 45 3 59 0;
+#X connect 45 4 60 0;
+#X connect 45 5 58 0;
+#X connect 45 6 73 0;
+#X connect 47 0 35 0;
+#X connect 47 0 46 0;
 #X connect 48 0 47 0;
-#X connect 49 0 48 0;
-#X connect 50 0 46 1;
-#X connect 52 0 51 0;
-#X connect 54 0 52 0;
-#X connect 54 1 71 0;
+#X connect 49 0 45 1;
+#X connect 51 0 50 0;
+#X connect 53 0 51 0;
+#X connect 53 1 70 0;
+#X connect 54 0 56 0;
 #X connect 55 0 57 0;
-#X connect 56 0 58 0;
-#X connect 57 0 56 0;
-#X connect 57 1 58 0;
-#X connect 58 0 19 0;
-#X connect 59 0 57 0;
-#X connect 60 0 57 0;
-#X connect 61 0 57 0;
-#X connect 62 0 72 0;
-#X connect 63 0 57 0;
-#X connect 64 0 57 0;
-#X connect 65 0 66 0;
-#X connect 66 0 68 0;
-#X connect 66 1 67 0;
-#X connect 67 0 53 0;
-#X connect 68 0 53 0;
-#X connect 69 0 52 1;
-#X connect 69 0 75 0;
-#X connect 70 0 65 0;
-#X connect 72 0 5 0;
-#X connect 73 0 65 0;
-#X connect 75 0 54 0;
+#X connect 56 0 55 0;
+#X connect 56 1 57 0;
+#X connect 57 0 18 0;
+#X connect 58 0 56 0;
+#X connect 59 0 56 0;
+#X connect 60 0 56 0;
+#X connect 61 0 71 0;
+#X connect 62 0 56 0;
+#X connect 63 0 56 0;
+#X connect 64 0 65 0;
+#X connect 65 0 67 0;
+#X connect 65 1 66 0;
+#X connect 66 0 52 0;
+#X connect 67 0 52 0;
+#X connect 68 0 51 1;
+#X connect 68 0 74 0;
+#X connect 69 0 64 0;
+#X connect 71 0 4 0;
+#X connect 72 0 64 0;
+#X connect 72 0 77 0;
+#X connect 74 0 53 0;
+#X connect 76 0 42 0;
 #X restore 152 408 pd camera;
 #X obj 125 446 outlet image;
 #X obj 7 372 inlet;
@@ -239,28 +242,28 @@
 #X obj 342 31 cnv 15 144 178 empty \$0-rect empty 20 12 0 14 -233017
 -66577 0;
 #X obj 384 66 nbx 5 14 -1e+37 1e+37 0 0 \$0-s_height \$0-height empty
-0 -6 1 10 -233017 -195568 -195568 0 256;
+0 -6 1 10 -62784 -44926 -1 240 256;
 #X obj 432 66 nbx 5 14 -1e+37 1e+37 0 0 \$0-s_width \$0-width empty
-0 -6 1 10 -233017 -195568 -195568 0 256;
+0 -6 1 10 -62784 -44926 -1 320 256;
 #X text 347 65 size:;
 #X text 387 35 height;
 #X text 437 35 width;
 #X obj 401 124 bng 12 250 50 0 \$0-size0 \$0-sizec 120x160 -46 6 1
-8 -233017 -195568 -195568;
+8 -62784 -44926 -1;
 #X obj 416 124 bng 12 250 50 0 \$0-size1 \$0-sizec 120x180 16 6 1 8
--233017 -195568 -195568;
+-62784 -44926 -1;
 #X obj 401 136 bng 12 250 50 0 \$0-size2 \$0-sizec 240x320 -46 6 1
-8 -233017 -195568 -195568;
+8 -62784 -44926 -1;
 #X obj 416 136 bng 12 250 50 0 \$0-size3 \$0-sizec 240x360 16 6 1 8
--233017 -195568 -195568;
+-62784 -44926 -1;
 #X obj 401 148 bng 12 250 50 0 \$0-size4 \$0-sizec 480x640 -46 6 1
-8 -233017 -195568 -195568;
+8 -62784 -44926 -1;
 #X obj 416 148 bng 12 250 50 0 \$0-size5 \$0-sizec 480x720 16 6 1 8
--233017 -195568 -195568;
+-62784 -44926 -1;
 #X obj 416 160 bng 12 250 50 0 \$0-size6 \$0-sizec 576x720 16 6 1 8
--233017 -195568 -195568;
+-62784 -44926 -1;
 #X obj 416 172 bng 12 250 50 0 \$0-size7 \$0-sizec 288x352 16 6 1 8
--233017 -195568 -195568;
+-62784 -44926 -1;
 #X obj 432 191 nbx 5 14 -1e+37 1e+37 0 0 \$0-s_framerate \$0-framerate
 empty 0 -6 1 10 -233017 -195568 -195568 0 256;
 #X obj 155 178 tgl 12 0 \$0-s_white_mode \$0-white_mode manual_white_balance
@@ -275,7 +278,7 @@
 -195568 0 1;
 #X text 25 170 use PWC;
 #X obj 417 232 vradio 12 1 0 6 \$0-s_colorspace_e \$0-colorspace_e
-empty 0 -8 0 10 -233017 -195568 -195568 0;
+empty 0 -8 0 10 -62784 -44926 -1 2;
 #X text 431 228 y (grey);
 #X text 431 240 yuv;
 #X text 430 253 rgb;
@@ -287,16 +290,16 @@
 #X text 286 45 NTSC;
 #X text 285 57 SECAM;
 #X text 285 68 auto;
-#X obj 6 6 cnv 15 480 20 empty \$0-title Unknown_camera 4 10 1 12 -1
--262144 0;
+#X obj 6 6 cnv 15 480 20 empty \$0-title USB_Video_Class_Video 4 10
+1 12 -1 -262144 0;
 #X obj 384 52 nbx 5 14 -1e+37 1e+37 0 0 empty \$0-minheight empty 0
--6 1 10 -233017 -1 -195568 0 256;
+-6 1 10 -233017 -1 -195568 24 256;
 #X obj 432 52 nbx 5 14 -1e+37 1e+37 0 0 empty \$0-minwidth empty 0
--6 1 10 -233017 -1 -195568 0 256;
+-6 1 10 -233017 -1 -195568 32 256;
 #X obj 384 80 nbx 5 14 -1e+37 1e+37 0 0 empty \$0-maxheight empty 0
--6 1 10 -233017 -1 -195568 0 256;
+-6 1 10 -233017 -1 -195568 4096 256;
 #X obj 432 80 nbx 5 14 -1e+37 1e+37 0 0 empty \$0-maxwidth empty 0
--6 1 10 -233017 -1 -195568 0 256;
+-6 1 10 -233017 -1 -195568 4096 256;
 #X text 347 79 max:;
 #X text 347 51 min:;
 #X text 369 214 Palette:;
@@ -313,7 +316,7 @@
 #X text 431 289 none(bad);
 #X text 431 276 magic;
 #X text 430 265 rgba;
-#N canvas 0 0 471 405 size_presets 0;
+#N canvas 0 22 471 405 size_presets 0;
 #X msg 123 314 size \$1 \$2;
 #X obj 48 13 r \$0-size0;
 #X msg 123 13 120 160;
@@ -388,7 +391,7 @@
 #X text 43 312 sorry;
 #X text 9 30 pick a camera:;
 #X obj 24 49 vradio 15 1 0 9 \$0-s_device \$0-device empty 0 -8 0 10
--241291 -1 -1 8;
+-241291 -1 -1 0;
 #X text 42 46 0;
 #X text 42 61 1;
 #X text 42 77 2;
@@ -401,7 +404,7 @@
 #X obj 155 229 gf.nbxhsl \$0 white_delay;
 #X obj 155 241 gf.nbxhsl \$0 auto_gain;
 #X obj 89 229 doc_accolade \, color 10;
-#N canvas 0 0 450 300 minmaxsize 0;
+#N canvas 0 22 450 300 minmaxsize 0;
 #X obj 12 13 r \$0-minsize;
 #X obj 12 51 unpack 0 0;
 #X obj 69 70 s \$0-minwidth;



More information about the Gridflow-cvs mailing list