RemoveGrain v1.0b/Repair/Repair

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Examples)
m (Syntax and Parameters)
Line 10: Line 10:
 
== Syntax and Parameters ==
 
== Syntax and Parameters ==
 
:{{Template:FuncDef|Repair (''clip'', ''clip'', ''int'' "mode", ''int'' "modeU", ''int'' "modeV", ''bool'' "planar")}}
 
:{{Template:FuncDef|Repair (''clip'', ''clip'', ''int'' "mode", ''int'' "modeU", ''int'' "modeV", ''bool'' "planar")}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Mandatory input clip to be repaired. Usually the processed clip.
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Mandatory input clip. Usually the original unprocessed clip.
 
<br>
 
<br>
 
::{{Par2|mode |int|2}}
 
::{{Par2|mode |int|2}}
Line 42: Line 48:
 
:::See SSETools Interleaved2Planar.
 
:::See SSETools Interleaved2Planar.
 
<br>
 
<br>
 +
 
== Examples ==
 
== Examples ==
 
Repair with default values:
 
Repair with default values:

Revision as of 07:30, 20 January 2014

Back to Repair

Contents

Description

Repairs unwanted artifacts created by plugins included in the RemoveGrain v1.0b package.


Requirements

- Progressive input only
- Supported color formats: YUY2, YV12


Syntax and Parameters

Repair (clip, clip, int "mode", int "modeU", int "modeV", bool "planar")


clip   =
Mandatory input clip to be repaired. Usually the processed clip.


clip   =
Mandatory input clip. Usually the original unprocessed clip.


int  mode = 2
int  modeU = mode
int  modeV = modeU
Independently control the processing mode for each plane.
  • -1 : Bypass - input plane is trashed thus faster than mode 1
  • 0 : Copy - input plane is left intact
  • 1 :
  • 2 : Default
  • 3 :
  • 4 :
  • 5 :
  • 6 :
  • 7 :
  • 8 :
  • 9 :
  • 10 :
  • 11 :
  • 12 :
  • 13 :
  • 14 :
  • 15 :
  • 16 :
  • 17 :
  • 18 :
By default if modeU is not set it defaults to the value of mode. If modeV is not set it defaults to the value of modeU


bool  planar = false
See SSETools Interleaved2Planar.


Examples

Repair with default values:

Unprocessed = AviSource("Blah.avi")
Processed   = RemoveGrain(Unprocessed, mode=2, modeU=2, modeV=2, planar=false)
Repair(Processed, Unprocessed, mode=2, modeU=2, modeV=2, planar=false)


Links





Back to Repair

Personal tools