Log in

View Full Version : AddGrainC (now with Chroma noise & YUY2, RGB)


Pages : 1 [2]

Reino
27th October 2011, 00:20
Wow, that's quick! Thanks a lot cretindesalpes. It works like a charm.

kypec
27th October 2011, 05:27
EDIT: Link now points to v1.5.3 instead of 1.5.2, I also fixed a bug occurring with RGB24 colorspace, causing unwanted coloration.

You might want to update "AddGrain.txt" version history section with that fix as well.;)
:thanks:

SSH4
27th October 2011, 12:26
cretindesalpes can you check bug from TurboPascal7 post http://forum.doom9.org/showpost.php?p=1453356&postcount=46 ?

cretindesalpes
27th October 2011, 20:54
cretindesalpes can you check bug from TurboPascal7 post http://forum.doom9.org/showpost.php?p=1453356&postcount=46 ?

AddGrainC 1.5.4 (http://ldesoras.free.fr/src/avs/old/AddGrainC-1.5.4.7z) fixes this problem, as well as other minor issues.

LaTo
28th October 2011, 21:05
I took some minutes to add SSE2 code, now it's about 50% faster.
To turn off SSE2 and return to MMX set "sse2=false".

Here is the new version: AddGrainC 1.6.0 (http://latoninf.free.fr/d9/AddGrainC-1.6.0.7z)

LaTo
29th October 2011, 11:29
Just a one line update to add automatic switch to MMX if your cpu doesn't support SSE2.

Here: AddGrainC 1.6.1 (http://latoninf.free.fr/d9/AddGrainC-1.6.1.7z)

leeperry
3rd November 2011, 17:07
I took some minutes to add SSE2 code, now it's about 50% faster.
To turn off SSE2 and return to MMX set "sse2=false".

Here is the new version: AddGrainC 1.6.0 (http://latoninf.free.fr/d9/AddGrainC-1.6.0.7z)awesomeness, :thanks:

cretindesalpes
16th August 2012, 00:29
AddGrainC 1.7.0 (http://ldesoras.free.fr/src/avs/AddGrainC-1.7.0.7z)

This version supports the new Avisynth 2.6 colorspaces: Y8, YV16, YV24 and YV411.

Overdrive80
16th August 2012, 01:21
Thanks very much for your effort

Reel.Deel
16th August 2012, 01:44
AddGrainC 1.7.0 (http://ldesoras.free.fr/src/avs/AddGrainC-1.7.0.7z)

This version supports the new Avisynth 2.6 colorspaces: Y8, YV16, YV24 and YV411.

Wow cretindesalpes, your on a roll! Kudos to you. :)

Any future plans for the lsb in/out parameters?

StainlessS
16th August 2012, 02:45
Thank you for being cretindesalpes.

Motenai Yoda
29th September 2012, 15:53
hi!
There is a way to change the seed on scenechange?
I want try to use a different fixed pattern for scene.

Tanbheer
11th January 2013, 14:20
I have a question can I use this version 1.6.1 or 1.7 with GradFun2DBmod? Will it work like same. Because the link of the original version of Tom barry's 1.4.0 is dead

cretindesalpes
11th January 2013, 16:32
Yes you can.

foxyshadis
20th March 2013, 02:51
cretindesalpes and LaTo, you guys are awesome. I added you to the first post.

Motenai Yoda, maybe, but it would be better done by having another filter find the scenes first. I'd have to think about a good way to do it.

filler56789
20th March 2013, 05:28
@foxyshadis: Thanks for the update :) :) :)

Adub
20th March 2013, 23:50
Good to see you back foxyshadis!

Motenai Yoda
12th April 2013, 20:38
hi!
There is a way to change the seed on scenechange?
I want try to use a different fixed pattern for scene.

I came out with

global seed=0

scriptclip("""global seed = ydifferencefromprevious() < 50 ? seed : seed+1
addgrainc(last,50,0,0.2,0.2,seed,constant=true)
""")

cretindesalpes
25th November 2013, 23:32
AddGrainC 1.7.1 (https://ldesoras.fr/src/avs/AddGrainC-1.7.1.7z):
Added a 64-bit version. Compiled with MSVC 2012 (requires the 2012 runtime libraries)

ultim
2nd March 2014, 18:52
Hi cretindesalpes,

AddGrainC cannot tolerate negative frame indices. Here is the description of at least one occurance where this causes a crash: https://github.com/AviSynth/AviSynthPlus/issues/38
Can you please have a look at that?

cretindesalpes
2nd March 2014, 21:58
OK, I will look at this issue.

pinterf
9th March 2021, 11:34
New build with packed RGB fix (e.g. RGB32)

- 1.8.3 2021/03/09
Fix: possible crash for packed RGB formats
https://github.com/pinterf/AddGrainC/releases/

real.finder
9th March 2021, 21:41
New build with packed RGB fix (e.g. RGB32)

- 1.8.3 2021/03/09
Fix: possible crash for packed RGB formats
https://github.com/pinterf/AddGrainC/releases/

thanks, is it possible to add soft and maxts to AddGrainC from Dither_add_grain16?

pinterf
10th March 2021, 08:57
thanks, is it possible to add soft and maxts to AddGrainC from Dither_add_grain16?
Dither_add_grain16 is not a plugin filter but a script in dither.avsi.
It's using AddGrainC, TemporalSoften, mt_lut, SelectEven, ConvertFPS (see Dither_gen_grain_internal), I think there is no point to put this very same sequence into a binary plugin.
EDIT: that means that a Dither_add_grain_hbd is needed which is based on Dither_add_grain16 in order to avoid the lsb hack and/or use high bit depth clips when calling AddGrainC.

real.finder
10th March 2021, 19:06
Dither_add_grain16 is not a plugin filter but a script in dither.avsi.
It's using AddGrainC, TemporalSoften, mt_lut, SelectEven, ConvertFPS (see Dither_gen_grain_internal), I think there is no point to put this very same sequence into a binary plugin.
EDIT: that means that a Dither_add_grain_hbd is needed which is based on Dither_add_grain16 in order to avoid the lsb hack and/or use high bit depth clips when calling AddGrainC.

you right, I think I will make a clone of it to do HBD

kedautinh12
18th February 2022, 23:43
1.8.4 was released
https://github.com/pinterf/AddGrainC/releases