RemoveGrain v1.0b/Repair/Repair

From Avisynth wiki
Jump to: navigation, search

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