Log in

View Full Version : MaskTools problem


redfordxx
31st May 2006, 18:46
I guess this should be same, only the latter is faster:
v2=v1.mt_edge("0 0 0 1 -1 1 0 0 0 1",0,255,0,255,y=3,u=3,v=3)
v2=v1.mt_convolution(horizontal="1 -1 1",vertical="1",total=1.0,y=3,u=3,v=3)

Far from it (at least on my comp;))
Am I missing something, have broken comp, or bug?

(not first time I have similar problem with convolution)

redfordxx
31st May 2006, 18:50
v2=v1.YV12Convolution(horizontal="1 -1 1",vertical="1",total=1,y=3,u=3,v=3)
works correctly

foxyshadis
31st May 2006, 20:02
The funny part is,
mt_convolution(horizontal="1 -1.0 1",vertical="1",total=1.0,y=3,u=3,v=3)
works correctly. (According to the readme, it switches to float processing when a float is used in the kernel.)

Manao
31st May 2006, 21:12
Fixed, see my sig.

A remark, however. Can you use the dedicated development thread (http://forum.doom9.org/showthread.php?p=701539#post701539), instead of starting a new one ? It's easier for me to manage bug reports that way.