<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://avisynth.nl/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=ColourWarp</id>
		<title>ColourWarp - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=ColourWarp"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ColourWarp&amp;action=history"/>
		<updated>2026-04-20T02:05:55Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.24</generator>

	<entry>
		<id>http://avisynth.nl/index.php?title=ColourWarp&amp;diff=12045&amp;oldid=prev</id>
		<title>Reel.Deal: /* Requirements */</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ColourWarp&amp;diff=12045&amp;oldid=prev"/>
				<updated>2020-07-13T00:22:33Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Requirements&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 00:22, 13 July 2020&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Requirements ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Requirements ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [x86]: [[AviSynth+]] or [&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;http&lt;/del&gt;://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;forum&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;doom9.org&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;showthread.php?t=168764 &lt;/del&gt;AviSynth 2.6]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [x86]: [[AviSynth+]] or [&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;https&lt;/ins&gt;://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sourceforge&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;net/projects/avisynth2&lt;/ins&gt;/ AviSynth 2.6]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [x64]: [[AviSynth+]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [x64]: [[AviSynth+]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Supported color formats: [[YV12]], [[YV16]], [[YV24]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Supported color formats: [[YV12]], [[YV16]], [[YV24]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== [[Script variables|Syntax and Parameters]] ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== [[Script variables|Syntax and Parameters]] ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:{{Template:FuncDef|ColourWarp (clip, integers, clips, integers, bool &amp;quot;debug&amp;quot;, bool &amp;quot;invert&amp;quot;)}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:{{Template:FuncDef|ColourWarp (clip, integers, clips, integers, bool &amp;quot;debug&amp;quot;, bool &amp;quot;invert&amp;quot;)}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Reel.Deal</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=ColourWarp&amp;diff=11215&amp;oldid=prev</id>
		<title>Reel.Deal: ColourWarp: add documentation</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ColourWarp&amp;diff=11215&amp;oldid=prev"/>
				<updated>2020-04-24T14:04:53Z</updated>
		
		<summary type="html">&lt;p&gt;ColourWarp: add documentation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FilterCat5|External_filters|Plugins|Plugins_x64|Adjustment_filters|Levels and Chroma filters}}&lt;br /&gt;
{{Filter3&lt;br /&gt;
|{{Author/David Horman}}&lt;br /&gt;
|v0.1&lt;br /&gt;
|[http://horman.net/avisynth/download/ColourWarp.zip ColourWarp.zip]&lt;br /&gt;
|Levels and Chroma&lt;br /&gt;
|5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] ???&lt;br /&gt;
|6=[https://forum.doom9.org/showthread.php?t=177120 Doom9 Thread]}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
Smooth remapping of UV colour values using control points for colour correction. It only works on 8-bit YUV video at the moment, and it only remaps the UV channels. Colours are remapped by specifying control point pairs of UV values.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [x86]: [[AviSynth+]] or [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6]&lt;br /&gt;
* [x64]: [[AviSynth+]]&lt;br /&gt;
* Supported color formats: [[YV12]], [[YV16]], [[YV24]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Script variables|Syntax and Parameters]] ==&lt;br /&gt;
:{{Template:FuncDef|ColourWarp (clip, integers, clips, integers, bool &amp;quot;debug&amp;quot;, bool &amp;quot;invert&amp;quot;)}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2| |clip| }}&lt;br /&gt;
:::Input clip to be adjusted.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2| |int| }}&lt;br /&gt;
:::Integers (optional): a list of control points specifying colour remappings. Two pairs of UV values (range -128 to 128) specify a source and destination colour to be remapped.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2| |clip| }}&lt;br /&gt;
:::Clips (optional): source and destination and clips for colours to be taken from (see below).&lt;br /&gt;
:::If only one clip is specified here, it will be treated as destination, with the input clip treated as source.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2| |int| }}&lt;br /&gt;
:::Integers (optional): a list of control points specifying pairs of pixels from the source and destination clips. Pixels are specified as:&lt;br /&gt;
::::&amp;lt;code&amp;gt;[frame number, x coordinate, y coordinate]&amp;lt;/code&amp;gt;.&lt;br /&gt;
:::Example: ... 0,153,999, 10,1000,900 ... will specify a remapping from the colour of the pixel at [153,999] in frame 0 of the source clip to the colour of the pixel at [1000,900] in frame 10 of the destination clip.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|debug|bool|false}}&lt;br /&gt;
:::Set to true to display a visualization of the remapping.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|invert|bool|false}}&lt;br /&gt;
:::Invert the mapping (e.g., if control point pairs were accidentally specified in the wrong order).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ColourWarp(clip, 0,0, -64,-64)&lt;br /&gt;
# a single pair will shift the colours&lt;br /&gt;
&lt;br /&gt;
ColourWarp(clip, 0,0, 0,0, 64,64, 32,32)&lt;br /&gt;
# two pairs will scale/rotate (this example will reduce saturation of all colours - it fixes grey to grey and then scales 64,64 down to 32,32)&lt;br /&gt;
&lt;br /&gt;
ColourWarp(clip, 0,0, 0,0, 0,128, 0,0, -128,-128, -128,-128, 128,-128, 128,-128, -128,128, -128,128, 128,128, 128,128)&lt;br /&gt;
# this example fixes all the corners, and center, of the UV square, but remaps U=0,V=128 to U=0,V=0 (grey)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You can also specify up to two additional clips (if only one clip is specified, the input clip is assumed to the first &amp;quot;extra&amp;quot; clip). These two clips act as sources for you to pick specific pixels (any number parameters that come after the pixel source clips) to be remapped:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ColourWarp(clip, 0,0, 0,0, clip1, clip2, 0,100,150, 10,200,250)&lt;br /&gt;
# this example fixes grey to grey (the first four numbers),&lt;br /&gt;
# then maps the colour of pixel [100,150] from clip1, frame 0 to&lt;br /&gt;
# the colour of pixel [200,250] from clip2, frame 10)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Changelog ==&lt;br /&gt;
 Version      Date            Changes&amp;lt;br&amp;gt;&lt;br /&gt;
 v1.1         2019/11/27      - initial release&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Archived Downloads ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;; width=&amp;quot;600px&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!!width=&amp;quot;100px&amp;quot;| Version&lt;br /&gt;
!!width=&amp;quot;150px&amp;quot;| Download&lt;br /&gt;
!!width=&amp;quot;150px&amp;quot;| Mirror&lt;br /&gt;
|-&lt;br /&gt;
!v0.1&lt;br /&gt;
|[http://horman.net/avisynth/download/ColourWarp.zip ColourWarp.zip]&lt;br /&gt;
|[https://web.archive.org/web/20200424155608/http://horman.net/avisynth/download/ColourWarp.zip ColourWarp.zip]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External Links ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
-----------------------------------------------&lt;br /&gt;
'''Back to [[External_filters#Levels_and_Chroma|External Filters]] &amp;amp;larr;'''&lt;/div&gt;</summary>
		<author><name>Reel.Deal</name></author>	</entry>

	</feed>