RemoveGrain v1.0b/Repair/Repair: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Repair
 
m category
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Plugin_Filters]]
[[Category:Limiting]]
'''Back to [[RemoveGrain v1.0b/Repair|Repair]] ←'''
'''Back to [[RemoveGrain v1.0b/Repair|Repair]] ←'''
== Description ==
== Description ==
Line 10: Line 12:
== 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 50:
:::See SSETools Interleaved2Planar.
:::See SSETools Interleaved2Planar.
<br>
<br>
== Examples ==
== Examples ==
Repair with default values:
Repair with default values:
  Unprocessed = [[AviSource]]("Blah.avi")
  Unprocessed = [[AviSource]]("Blah.avi")
  Processed  = RemoveGrain(Unprocessed, mode=2, modeU=2, modeV=2, planar=false)<br>
  Processed  = RemoveGrain(Unprocessed, mode=2, modeU=2, modeV=2, planar=false)<br>
  Repair(Unprocessed, Processed, mode=2, modeU=2, modeV=2, planar=false)
  Repair(Processed, Unprocessed, mode=2, modeU=2, modeV=2, planar=false)
<br>
<br>



Latest revision as of 00:18, 24 August 2014

Back to Repair ←

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)






Back to Repair ←