StaticNoiseC: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Created page with "{{FilterCat|External_filters|Adjustment_filters|Effects}} {{Filter |histamine |20110108b |[http://www.nmm-hd.org/upload/get~YnWFecZw0Uo/StaticNoiseC20110108b.zip StaticNoiseC2..."
 
m Format
Line 12: Line 12:
:Generates static noise by using the [http://en.wikipedia.org/wiki/Mersenne_twister Mersenne Twister] random number generator.
:Generates static noise by using the [http://en.wikipedia.org/wiki/Mersenne_twister Mersenne Twister] random number generator.
<br>
<br>
== Requirements: ==
== Requirements ==
:- AviSynth 2.5.8 or later
:- AviSynth 2.5.8 or later
:- Supported color formats: [[YV12]]
:- Supported color formats: [[YV12]]
Line 18: Line 18:
<br>
<br>
== Syntax and Parameters ==
== Syntax and Parameters ==
:{{Template:FuncDef|StaticNoiseC ( clip, int "var", int "seed", bool "Y", bool "UV" )}}
:{{Template:FuncDef|StaticNoiseC (''clip'', ''int'' "var", ''int'' "seed", ''bool'' "Y", ''bool'' "UV" )}}
<br>
<br>
::{{Par|var|int|2}}
::{{Par2|var|int|2}}
:::Controls the amount of static noise.
:::Controls the amount of static noise.
::::Range: 2 - 100
::::Range: 2 - 100
<br>
<br>
::{{Par|seed|int|-1}}
::{{Par2|seed|int|-1}}
:::Specifies a repeatable grain sequence. Value must be greather than or equal to -1.
:::Specifies a repeatable grain sequence. Value must be greather than or equal to -1.
<br>
<br>
::{{Par|Y|bool|true}}
::{{Par2|Y|bool|true}}
:::Dictates if the Y plane gets processed or not.
:::Dictates if the Y plane gets processed or not.
<br>
<br>
::{{Par|UV|bool|false}}
::{{Par2|UV|bool|false}}
:::Dictates if the UV planes gets processed or not.
:::Dictates if the UV planes gets processed or not.
<br>
<br>
== Examples ==
== Examples ==
StaticNoiseC with default settings:
  [[AviSource]]("Blah.avi")
  [[AviSource]]("Blah.avi")
  StaticNoiseC(var=2, seed=-1, Y=true, UV=false)
  StaticNoiseC(var=2, seed=-1, Y=true, UV=false)
<br>
<br>
== Changelog ==
== Changelog ==
  Changes [http://www.nmm-hd.org/newbbs/viewtopic.php?f=8&t=118&start=20#p772 2011-01-08:]
Version          Date            Changes<br>
      - Optimize<br>
[http://www.nmm-hd.org/newbbs/viewtopic.php?f=8&t=118&start=20#p772 20110108b]      2011/01/08     - Optimize<br>
  Changes [http://www.nmm-hd.org/newbbs/viewtopic.php?f=8&t=118&start=20#p769 2011-01-08:]
[http://www.nmm-hd.org/newbbs/viewtopic.php?f=8&t=118&start=20#p769 20110108]      2011/01/08     - Initial release
      - Initial release


== Links ==
== Links ==
*[http://forum.doom9.org/showthread.php?t=141303 NNM-HD Forum] - StaticNoiseC discussion. [Foreign language]
*[http://forum.doom9.org/showthread.php?t=141303 NNM-HD Forum] - StaticNoiseC discussion. [Foreign language]
*[http://web.archive.org/web/20131228160225/http://www.nmm-hd.org/upload/get~YnWFecZw0Uo/StaticNoiseC20110108b.zip Archive.org] - Archived download.
<br>
<br>
<br>
<br>

Revision as of 14:01, 23 February 2014

Abstract
Author histamine
Version 20110108b
Download StaticNoiseC20110108b.zip
Category Effects
Requirements
  • YV12
License GPLv2
Discussion


Description

Generates static noise by using the Mersenne Twister random number generator.


Requirements

- AviSynth 2.5.8 or later
- Supported color formats: YV12
- Progressive input only


Syntax and Parameters

StaticNoiseC (clip, int "var", int "seed", bool "Y", bool "UV" )


int  var = 2
Controls the amount of static noise.
Range: 2 - 100


int  seed = -1
Specifies a repeatable grain sequence. Value must be greather than or equal to -1.


bool  Y = true
Dictates if the Y plane gets processed or not.


bool  UV = false
Dictates if the UV planes gets processed or not.


Examples

StaticNoiseC with default settings:

AviSource("Blah.avi")
StaticNoiseC(var=2, seed=-1, Y=true, UV=false)


Changelog

Version          Date            Changes
20110108b 2011/01/08 - Optimize
20110108 2011/01/08 - Initial release





Back to External Filters