View Full Version : dnr2 (yv12)
digitize
26th January 2003, 21:01
Hello, Im trying to use dnr2 (yv12, http://members.tripod.co.jp/kiraru2002/#dnr2) for avs 2.5. But I am getting an error while loading, my friend said it's probably because of the rivision of the avs api, and that dnr2 still uses the old one, and it just needs a function renaming and recompile. I was wondering if anyone could help me with this.
Guest
27th January 2003, 05:40
The source at the referenced site has the correct calls for compatibility with the latest Avisynth 2.5. The included DLL, Dnr2_for_25.dll, works just fine. Did you grab the wrong DLL (Dnr2.dll)? If not, what is the exact error message you are getting?
digitize
27th January 2003, 05:59
@neuron, you know what, im completely retarded. I dl'ed this awhile back, and i was still using 2.07, and must've just deleted or put the 2.5 dll somewhere else (i was just using dnr2.dll). Thanks for the help.
kilg0r3
22nd May 2003, 15:16
Is there an English readme somewhere. Can' seem to understand how it works by reading the japanese/chinese :confused: readme file.
DNR2 (threshY_hi, threshY_lo, threshU_hi, threshU_lo, threshV_hi, threshV_lo and type)
ThreshY_hi Brightness of the pixel of the frame data where one ago was accumulated (Y) threshold value 1
[ Default = 8 ]
ThreshY_lo Brightness of the pixel of the frame data where one ago was accumulated (Y) threshold value 2
[ Default = threshY_hi / 2 + 1 ]
ThreshU_hi Color difference information U of the pixel of the frame data where one ago was accumulated (the Cb) threshold value 1
[ Default = threshY_hi * 3 / 4 (YUY2/YV12): ThreshY_hi (RGB) ]
ThreshU_lo Color difference information U of the pixel of the frame data where one ago was accumulated (the Cb) threshold value 2
[ Default = threshU_hi / 2 + 1 ]
ThreshV_hi Color difference information V of the pixel of the frame data where one ago was accumulated (the Cr) threshold value 1
[ Default = threshY_hi * 3 / 4 (YUY2/YV12): ThreshY_hi (RGB) ]
ThreshV_lo Color difference information V of the pixel of the frame data where one ago was accumulated (the Cr) threshold value 2
[ Default = threshV_hi / 2 + 1 ]
Type " DNR2 " (or "") [ default ] OR " DNR1 "
In the CPU which supports MMX MMX is used.
Recommendation value 7 of threshold_hi - 12
Furthermore, in case of the RGB32, it corresponds to the respective Y:U:V = R:G:B.
Processing summary
Each point of the present frame and the point of the same position of the DNR processing end frame of one ago are compared,
It increases levels. Whether or not the difference within threshold with processing differs.
Case1: Type= " " OR " dnr2 " (default)
Presently the pixel = current of the frame, it makes the pixel = previous of the frame of one ago when
If |current - previous|
If |current - previous| > threshold_lo
Then new = (2 * current + previous) / 3 //current values to approach
Else new = (current + 3 * previous) / 4 //previous values to approach
Else new = current
Case2: Type= " dnr1 "
Presently the pixel = current of the frame, it makes the pixel = previous of the frame of one ago when
If |current - previous|
If |current - previous| > threshold_lo
Then new = (2 * current + previous) / 3 //current values to approach
Else new = previous
Else new = current
As for the DNR1 of the type and the difference of the DNR2, the DNR2 is high picture quality, but it does not become help of MPEG compression,
It becomes help of the high pressure reduction in regard to the point, the DNR1 MPEG compression.
Sample
DNR2(8,4,6,3,6,3,"dnr1")
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.