ChromaShiftSP
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) (redirect for convenient searching) |
(add documentation) |
||
Line 1: | Line 1: | ||
− | + | {{FilterCat4|External_filters|Scripts|Restoration_filters|Chroma correction}} | |
− | {{ | + | {{Filter3 |
+ | |IanB, McCauley | ||
+ | | | ||
+ | |3=[[Media:ChromaShiftSP.avsi|ChromaShiftSP.avsi]] | ||
+ | |4=Chroma Correction | ||
+ | |5= | ||
+ | |6=[http://forum.doom9.org/showthread.php?t=139959 Doom9 Thread]}} | ||
+ | == Description == | ||
+ | Shift chroma with subpixel accuracy. | ||
+ | <br> | ||
+ | <br> | ||
+ | == Requirements == | ||
+ | * AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater] | ||
+ | * [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only | ||
+ | * Supported color formats: [[YV24]], [[YV16]], [[YV12]], [[YV411]] | ||
+ | <br> | ||
+ | == [[Script variables|Syntax and Parameters]] == | ||
+ | :{{Template:FuncDef|ChromaShiftSP (clip clp, float "X", float "Y")}} | ||
+ | <br> | ||
+ | ::{{Par2| |clip| }} | ||
+ | :::Input clip. | ||
+ | <br> | ||
+ | ::{{Par2|X|float|0.0}} | ||
+ | ::{{Par2|Y|float|0.0}} | ||
+ | :::*{{Template:FuncDef3|X}} is the horizontal shift, positive values shift the chroma to left, negative values to right. | ||
+ | :::*{{Template:FuncDef3|Y}} is the vertical shift, positive values shift the chroma upwards, negative values downwards. | ||
+ | <br> | ||
+ | == Examples == | ||
+ | Move chroma left 3.2 pixels and down 1.6 pixels: | ||
+ | [[AviSource]]("Blah.avi") | ||
+ | ChromaShiftSP(X=3.2, Y=-1.6) | ||
+ | |||
+ | <br> | ||
+ | == Changelog == | ||
+ | Version Date(D/M/Y) Changes<br> | ||
+ | 13/02/2009 - Initial release (basic function by IanB, made standalone by McCauley) | ||
+ | <br> | ||
+ | == External Links == | ||
+ | *[http://forum.doom9.org/showthread.php?t=119370 Doom9 Forum] - How to offset chroma planes? | ||
+ | <br> | ||
+ | <br> | ||
+ | ----------------------------------------------- | ||
+ | '''Back to [[External_filters#Chroma_correction|External Filters]] ←''' |
Latest revision as of 16:39, 9 December 2015
Abstract | |
---|---|
Author | IanB, McCauley |
Version | |
Download | ChromaShiftSP.avsi |
Category | Chroma Correction |
License | |
Discussion | Doom9 Thread |
Contents |
[edit] Description
Shift chroma with subpixel accuracy.
[edit] Requirements
[edit] Syntax and Parameters
- ChromaShiftSP (clip clp, float "X", float "Y")
- clip =
- Input clip.
- clip =
- float X = 0.0
- float Y = 0.0
- X is the horizontal shift, positive values shift the chroma to left, negative values to right.
- Y is the vertical shift, positive values shift the chroma upwards, negative values downwards.
- float X = 0.0
[edit] Examples
Move chroma left 3.2 pixels and down 1.6 pixels:
AviSource("Blah.avi") ChromaShiftSP(X=3.2, Y=-1.6)
[edit] Changelog
Version Date(D/M/Y) Changes
13/02/2009 - Initial release (basic function by IanB, made standalone by McCauley)
[edit] External Links
- Doom9 Forum - How to offset chroma planes?
Back to External Filters ←