<?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=ResampleMT</id>
		<title>ResampleMT - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=ResampleMT"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ResampleMT&amp;action=history"/>
		<updated>2026-04-07T12:50:42Z</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=ResampleMT&amp;diff=11854&amp;oldid=prev</id>
		<title>Reel.Deal: add Deep_color_tools category</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ResampleMT&amp;diff=11854&amp;oldid=prev"/>
				<updated>2020-06-25T17:47:45Z</updated>
		
		<summary type="html">&lt;p&gt;add Deep_color_tools category&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 17:47, 25 June 2020&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;{{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;FilterCat5&lt;/del&gt;|External_filters|Plugins|Plugins_x64|Adjustment_filters|Resizers}}&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;{{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;FilterCat6&lt;/ins&gt;|External_filters|Plugins|Plugins_x64|Adjustment_filters|Resizers&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|Deep_color_tools&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;{{Filter3&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;{{Filter3&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;|1=[https://github.com/jpsdr jpsdr]&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;|1=[https://github.com/jpsdr jpsdr]&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=ResampleMT&amp;diff=11738&amp;oldid=prev</id>
		<title>Reel.Deal: ResampleMT: add documentation (mostly done)</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ResampleMT&amp;diff=11738&amp;oldid=prev"/>
				<updated>2020-06-11T17:59:16Z</updated>
		
		<summary type="html">&lt;p&gt;ResampleMT: add documentation (mostly done)&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|Resizers}}&lt;br /&gt;
{{Filter3&lt;br /&gt;
|1=[https://github.com/jpsdr jpsdr]&lt;br /&gt;
|2=v2.2.3&lt;br /&gt;
|3=[https://github.com/jpsdr/ResampleMT/releases ResampleMT_v2_2_3.7z]&lt;br /&gt;
|4=Resize &lt;br /&gt;
|5=[http://www.gnu.org/licenses/gpl-3.0.txt GPLv3]&lt;br /&gt;
|6=[https://forum.doom9.org/showthread.php?t=173772 Doom9 Thread] &amp;lt;br&amp;gt; [https://forum.doom9.org/showthread.php?t=174846 (Desampling functions)]}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Internaly multi-threaded resampling functions, also includes desampling functions (DeBilinear, DeBicubic,...). .&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6]&lt;br /&gt;
* [x64]: [[AviSynth+]]&lt;br /&gt;
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Script variables|Syntax and Parameters]] ==&lt;br /&gt;
'''Sampling Fucntions'''&lt;br /&gt;
:{{Template:FuncDef|BicubicResizeMT  (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;b&amp;quot;, float &amp;quot;c&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|BilinearResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;,  int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|BlackmanResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;taps&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|GaussResizeMT    (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, float &amp;quot;p&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|Lanczos4ResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int  int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|LanczosResizeMT  (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;taps&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;,  int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|PointResizeMT    (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|SincResizeMT     (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;taps&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;,  int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|Spline16ResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|Spline36ResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|Spline64ResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''Desampling Functions'''&lt;br /&gt;
:{{Template:FuncDef|DeBicubicResizeMT  (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;b&amp;quot;, float &amp;quot;c&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;accuracy&amp;quot;, int &amp;quot;order&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|DeBilinearResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;accuracy&amp;quot;, int &amp;quot;order&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|DeBlackmanResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;taps&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;accuracy&amp;quot;, int &amp;quot;order&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|DeGaussResizeMT    (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, float &amp;quot;p&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;accuracy&amp;quot;, int &amp;quot;order&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|DeLanczos4ResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;accuracy&amp;quot;, int &amp;quot;order&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|DeLanczosResizeMT  (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;taps&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;accuracy&amp;quot;, int &amp;quot;order&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|DeSincResizeMT     (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;taps&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;accuracy&amp;quot;, int &amp;quot;order&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|DeSpline16ResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;accuracy&amp;quot;, int &amp;quot;order&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|DeSpline36ResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;accuracy&amp;quot;, int &amp;quot;order&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|DeSpline64ResizeMT (clip, int &amp;quot;target_width&amp;quot;, int &amp;quot;target_height&amp;quot;, float &amp;quot;src_left&amp;quot;, float &amp;quot;src_top&amp;quot;, float &amp;quot;src_width&amp;quot;, float &amp;quot;src_height&amp;quot;, int &amp;quot;threads&amp;quot;, bool &amp;quot;logicalCores&amp;quot;, bool &amp;quot;MaxPhysCore&amp;quot;, bool &amp;quot;SetAffinity&amp;quot;, bool &amp;quot;sleep&amp;quot;, int &amp;quot;prefetch&amp;quot;, int &amp;quot;range&amp;quot;, int &amp;quot;accuracy&amp;quot;, int &amp;quot;order&amp;quot;, int &amp;quot;ThreadLevel&amp;quot;)}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2| |clip | }}&lt;br /&gt;
:::Input clip.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|target_width|int| }}&lt;br /&gt;
::{{Par2|target_height|int| }}&lt;br /&gt;
:::Output width and height in pixels. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|b|float|1.0/3.0}}&lt;br /&gt;
::{{Par2|c|float|1.0/3.0}}&lt;br /&gt;
:::Parameters for BicubicResizeMT and DeBicubicResizeMT only. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|src_left|float|0.0}}&lt;br /&gt;
::{{Par2|src_top|float|0.0}}&lt;br /&gt;
::{{Par2|src_width|float|}}&lt;br /&gt;
::{{Par2|src_height|float| }}&lt;br /&gt;
:::Optional crop syntax is the same as AviSynth's [[Resize|internal resizers]].&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|p|float|30.0}}&lt;br /&gt;
:::Parameter for GaussResizeMT and DeGaussResizeMT only. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|taps|int| }}&lt;br /&gt;
:::Parameter for BlackmanResizeMT, DeBlackmanResizeMT, LanczosResizeMT, DeLanczosResizeMT, SincResizeMT and DeSincResizeMT only.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|threads|int|0}}&lt;br /&gt;
:::Controls how many threads will be used for processing. If set to 0, threads will be set equal to the number of detected logical or physical cores,according logicalCores parameter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|logicalCores|bool|true}}&lt;br /&gt;
:::If &amp;lt;code&amp;gt;threads&amp;lt;/code&amp;gt; is set to 0, it will specify if the number of threads will be the number of logical CPU (true) or the number of physical cores (false). If your processor doesn't have hyper-threading or threads&amp;lt;&amp;gt;0, this parameter has no effect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|MaxPhysCore|bool|true}}&lt;br /&gt;
:::If true, the threads repartition will use the maximum of physical cores possible. If your processor doesn't have hyper-threading or the SetAffinity parameter is set to false, this parameter has no effect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|SetAffinity|bool|false}}&lt;br /&gt;
:::If this parameter is set to true, the pool of threads will set each thread to a specific core, according MaxPhysCore parameter. If set to false, it's leaved to the OS. If &amp;lt;code&amp;gt;prefecth&amp;lt;/code&amp;gt;&amp;gt;number of physical cores, it's automaticaly set to false.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|sleep|bool|false}}&lt;br /&gt;
::: If this parameter is set to true, once the filter has finished one frame, the threads of the threadpool will be suspended (instead of still running but waiting an event), and resume when the next frame will be processed.&lt;br /&gt;
:::If set to false, the threads of the threadpool are always running and waiting for a start event even between frames.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|prefetch|int|0}}&lt;br /&gt;
:::This parameter will allow to create more than one threadpool, to avoid mutual resources acces if &amp;quot;prefetch&amp;quot; is used in the avs script.&lt;br /&gt;
:::*0 : Will set automaticaly to the prefetch value use in the script. Well... that's what i wanted to do, but for now it's not possible for me to get this information when i need it, so, for now, 0 will result in 1. For now, if you're using &amp;quot;prefetch&amp;quot; in your script, put the same value on this parameter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|range|int|1}}&lt;br /&gt;
::: This parameter specify the range the output video data has to comply with. Limited range is 16-235 for Y, 16-240 for U/V. Full range is 0-255 for all planes. Alpha channel is not affected by this paramter, it's always full range. Values are adjusted according bit depth of course. This parameter has no effect for float datas.&lt;br /&gt;
:::*0 : Automatic mode. If video is YUV mode is limited range, if video is RGB mode is  full range, if video is greyscale (Y/Y8) mode is Y limited range.&lt;br /&gt;
:::*1 : Force full range whatever the video is.&lt;br /&gt;
:::*2 : Force limited Y range for greyscale video (Y/Y8), limited range for YUV video,  no effect for RGB video.&lt;br /&gt;
:::*3 : Force limited U/V range for greyscale video (Y/Y8), limited range for YUV video, no effect for RGB video.&lt;br /&gt;
:::*4 : Force special camera range (16-255) for greyscale video (Y/Y8) and YUV video, no effect for RGB video.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|accuracy|int|0}}&lt;br /&gt;
:::Will specify the accuracy used for the desampling.&lt;br /&gt;
:::*0 : Average&lt;br /&gt;
:::*1 : A little less than 0.&lt;br /&gt;
:::*2 : A little better than 0.&lt;br /&gt;
:::'''Note''': this parameter is only for the desampling functions.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|order|int|0}}&lt;br /&gt;
:::Will specify in what order the desampling will be done (process horizontal or vertical first).&lt;br /&gt;
:::*0 : Automatic, will choose according the same method implemented in the core filters.&lt;br /&gt;
:::*1 : Process vertical first.&lt;br /&gt;
:::*2 : Process horizontal first.&lt;br /&gt;
:::'''Note''': this parameter is only for the desampling functions.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|ThreadLevel|int|6}}&lt;br /&gt;
:::This parameter will set the priority level of the threads created for the processing (internal multithreading). No effect if threads=1.&lt;br /&gt;
:::*1 : Idle level.&lt;br /&gt;
:::*2 : Lowest level.&lt;br /&gt;
:::*3 : Below level.&lt;br /&gt;
:::*4 : Normal level.&lt;br /&gt;
:::*5 : Above level.&lt;br /&gt;
:::*6 : Highest level.&lt;br /&gt;
:::*7 : Time critical level (WARNING !!! use this level at your own risk)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Examples == &lt;br /&gt;
Upscale to 1920x1080 with {{Template:FuncDef3|Spline36ResizeMT}}:&lt;br /&gt;
 [[AviSource]](&amp;quot;Blah.avi&amp;quot;)&lt;br /&gt;
 Spline36ResizeMT(target_width=1920, target_height=1080)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Using the desampling functions'''&amp;lt;br&amp;gt;&lt;br /&gt;
The usage is the following: You have to enter in the parameters exactly the same that have been used for the original resampling, except the size of course, where you specify the original size you want back.&lt;br /&gt;
&lt;br /&gt;
For example, if the source file is a 1280x720 video:&lt;br /&gt;
&lt;br /&gt;
 Spline36ResizeMT(1920,1080, src_left=-0.2)&lt;br /&gt;
 # or Spline36Resize(1920,1080, src_left=-0.2)&lt;br /&gt;
 # To revert :&lt;br /&gt;
 DeSpline36ResizeMT(1280,720, src_left=-0.2)&lt;br /&gt;
&lt;br /&gt;
For more information, see [https://forum.doom9.org/showthread.php?t=174846 discussion thread].&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== External Links ==&lt;br /&gt;
*[https://github.com/jpsdr/ResampleMT GitHub] - Source code repository.&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#Resizers|External Filters]] &amp;amp;larr;'''&lt;/div&gt;</summary>
		<author><name>Reel.Deal</name></author>	</entry>

	</feed>