XML Feeds

.

[jitter] cc.uyvy2rgba.jxs and optimization

Tyler Nitsch neurovous at yahoo.com
Thu Nov 22 18:42:40 MST 2007


Upon vades suggestion and searching the archives....

http://www.cycling74.com/forums/index.php?t=msg&goto=113246&rid=0&S=12672e78d4a9aad871b2693f9a7bbb5b#msg_113246

I tried implementing this conversion on the gpu.  The problem is I get funny colored purpley/greeny/red distorted lines on the output window... and when I try to use either dx | qt.grab the screen is distorted.  

The good news is my fps is WAY BETTER!!! without using @colormode uyvy on the qt.movie I can only get 100fps on the patch I'm posting whereas with the shader doing the conversion I get up to 160 fps !!???!!  So weird.  Any help would greatly be appreciated.

I'm using windows XP PRO on an AMD s939 4800X2 with the latest max and jitter.and a Viper ATI Radeon HD 3870 gpu.  

#P window setfont "Sans Serif" 9.;
#P number 418 72 35 9 1 3 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 403 193 214 9109513 jit.qt.movie 720 480 @unique 1 @colormode argb;
#P newex 403 228 77 9109513 jit.gl.slab window;
#P user jit.fpsgui 155 341 60 9109513 0;
#P message 621 156 30 9109513 close;
#P newex 623 121 57 9109513 select 1 2 3;
#P message 652 156 28 9109513 open;
#P newex 388 154 42 9109513 gate 3 1;
#P newex 623 193 267 9109513 jit.dx.grab 720 480 @vdevice 0 @unique 1 @colormode uyvy;
#P message 80 398 62 9109513 fullscreen \$1;
#P toggle 80 380 15 0;
#P newex 58 330 40 9109513 key;
#P newex 80 357 46 9109513 select 27;
#P newex 141 227 250 9109513 jit.gl.slab window @file cc.uyvy2rgba.jxs @dimscale 2. 1.;
#P newex 308 30 48 9109513 loadbang;
#P newex 139 84 30 9109513 t b b;
#P toggle 138 40 15 0;
#P newex 138 64 45 9109513 qmetro 5;
#P newex 75 121 111 9109513 t b b erase;
#P newex 193 308 192 9109513 jit.gl.videoplane window @transform_reset 2;
#P newex 142 188 219 9109513 jit.qt.movie 720 480 @unique 1 @colormode uyvy;
#P message 310 117 76 9109513 read bball.mov;
#P newex 69 426 199 9109513 jit.window window @depthbuffer 1 @floating 1;
#P newex 75 299 86 9109513 jit.gl.render window;
#P connect 18 2 17 0;
#P connect 16 2 15 0;
#P connect 19 0 15 0;
#P connect 17 0 15 0;
#P connect 23 0 16 0;
#P connect 23 0 18 0;
#P connect 18 1 19 0;
#P connect 18 0 19 0;
#P connect 5 1 16 1;
#P connect 22 0 21 0;
#P connect 16 1 22 0;
#P fasten 2 0 3 0 315 144 147 144;
#P connect 2 0 22 0;
#P connect 9 0 2 0;
#P connect 10 0 4 0;
#P connect 21 0 4 0;
#P connect 0 0 20 0;
#P connect 16 0 3 0;
#P fasten 3 0 10 0 147 218 146 218;
#P fasten 15 0 10 0 628 218 146 218;
#P connect 6 0 8 0;
#P connect 7 0 6 0;
#P connect 13 0 14 0;
#P connect 11 0 13 0;
#P connect 12 0 11 0;
#P connect 5 0 0 0;
#P connect 5 2 0 0;
#P fasten 8 0 5 0 144 108 80 108;
#P connect 14 0 1 0;
#P window clipboard copycount 24;




More information about the jitter mailing list