View Single Post
Old 19th July 2020, 10:27   #564  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Dogway View Post
It's not quality issues but performance/stability, maybe an avisynth bug, just updated AVS+ and plugins to latest yesterday.


By the way I fixed a stability issue in "Stabilization Tools Pack", do you want me to PR it?

Code:
UVfix ? eval("""
clpDith=Dither_convert_8_to_16()

ScriptClip ("
blue=round((AverageChromaU(clp) - AverageChromaU()) * 256.0)
red=round((AverageChromaV(clp) - AverageChromaV()) * 256.0)

SmoothTweak16(clpDith,saturation=1.0,hue1=min(384,blue),hue2=min(384,red),HQ=true)
DitherPost(stacked=true,prot=false,mode=6)
", args="clp,clpDith" )
""") : last
It would be wise to convert this to internal avisynth but I couldn't find a U and V axis based HUE function, read on Tweak or ColorYUV. (I think I can swap planes as a dirty trick tho)
I didn't get what "PR it" mean

I think UV bug fixed in some update of depan plugin

and indeed HBD is slower than lsb (not nlsb) in case of nnedi3_resize16, since lsb use 8bit for nnedi3 (it will be 16bit if you set nlsb to true), also some new script functions (like I said in case of slimit_dif vs Dither_limit_dif16 in the old link) not as fast as the old dither functions (I think it used asm optimization)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote