Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
25th April 2007, 09:31 | #221 | Link |
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
|
Someones got a bug in there code. This is typical when one doesn't clamp arithmetic results to 0 at the low end and 255 at the high end.
In 8 bit unsigned arithmetic 0-1=255 (0=black, 255=white) |
1st August 2007, 21:00 | #222 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
New version : v2.0a31
Changelog : Code:
* fixed : mt_hysteresis was randomly crashing. * fixed : mt_polish is back. * added : round, clip, min, max and = for lut. * adapted : to msvc8 / yasm.
__________________
|
1st August 2007, 21:03 | #223 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
Didee : what you asked for isn't possible with a lut, it would require too big a lut.
Dr Khron, foxyshadis : does anybody still have the problem on the edges reported by Dr Khron ? If yes, can I have something to help me reproduce it ?
__________________
|
2nd August 2007, 19:08 | #226 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
I didn't do anything to make it faster.
__________________
|
5th August 2007, 14:27 | #227 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
New version : v2.0a32
Changelog : Code:
* added : mt_lutxyz * added : mt_lutsx * fixed : small memory leak in mt_luts
__________________
|
20th December 2007, 03:18 | #229 | Link |
dumber every day
Join Date: Dec 2006
Location: Planet Earth
Posts: 154
|
Not so much a bug as an observation or just a plain mistake on my part.
I was using mt_lutf to see if a frame was over / under a very low threshold, something like: lutf(mask,mask,mode="avg",expr="x 0.1 > y 0 ?") and comparing the results to: ConditionalFilter(mask, nullclp, mask, "AverageLuma()", "<", string(0.1),false) I was getting different results on what frames got through and realized the mt_lutf was doing the comparison not on the float but on the rounded value of average. I know the final result is a round but expected the float to be maintained through the comparison. Also found that the averageluma approach was about 30% faster. |
20th December 2007, 03:41 | #230 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
Interesting finding on the rounding thing.
The speed difference probably isn't surprising: averageluma operates on just one single clip. LutF/LutS always operate on two input clips, could be this makes the internal pixel shuffling a bit slower.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
20th December 2007, 06:58 | #231 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
LutF/S are completely unoptimized, so it doesn't suprises me if they are slow.
As for the rounding, I'll add that to the documentation. It makes sense for me, since the average becomes an entry to a LUT, it must be rounded, but I guess that a programmer's POV, not really a user's POV
__________________
|
28th February 2008, 10:24 | #233 | Link |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
using in Avisynth 2.57 planar YUY2
Hi folks!
Can I use MaskTools V.2 in Avisynth 2.57 with planar YUY2? I can get planar using SSETools. Code:
AVISource("a.avi")#YUY2 source SeparateFields() Interleaved2Planar() MaskTools V.2 function Planar2Interleaved() Weave() yup. |
28th February 2008, 10:28 | #234 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
MaskTools requires YV12 input, so you need to convert to YV12 before using any MaskTools functions.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
28th February 2008, 10:44 | #235 | Link | |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
Hi Boulder!
This sentence from document. Quote:
yup. |
|
28th February 2008, 10:47 | #236 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
I don't know the inner workings of MaskTools, it could (and probably does) mean that the MaskTools code needs some rewriting too.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
28th February 2008, 10:58 | #237 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
Internally, it supports everything from 4:0:0 to 4:4:4 planar. I'll see what I can do for avs 2.5 and interleave2planar. It already works for avs 2.6.
__________________
|
28th February 2008, 19:56 | #238 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
__________________
|
29th February 2008, 04:18 | #240 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
I can quickly make a x64 version with assembly disabled. I don't think that's what you want, but without having a 64bit OS, I won't do anything more.
__________________
|
|
|