FTurn

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(FTurn)
 
(almost finished)
Line 10: Line 10:
 
<br>
 
<br>
 
== Description ==
 
== Description ==
:Fast implementation of [[TurnLeft]](), [[TurnRight]]() and [[Turn180]]() AviSynth functions. {{Template:FuncDef|fturn180}} rotates a clip 180 degress, {{Template:FuncDef|fturnleft}} rotates 90 degrees counter clock wise, and {{Template:FuncDef|fturnright}} rotates 90 degrees clockwise.
+
:Fast implementation of [[TurnLeft]](), [[TurnRight]]() and [[Turn180]]() AviSynth functions. {{Template:FuncDef|fturn180}} rotates a clip 180 degress,  
 +
:{{Template:FuncDef|fturnleft}} rotates 90 degrees counter clock wise, and {{Template:FuncDef|fturnright}} rotates 90 degrees clockwise. In addition, FTurn is
 +
:internally multithreaded and is [[SSE2]] and [[SSSE3]] optimized, if your CPU supports [[SSSE3]] you can assume a slightly better performance.
 
<br>
 
<br>
 
== Requirements ==
 
== Requirements ==
:- AviSynth 2.5.8 or [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or later
+
:- AviSynth 2.5.8 or [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or greater
 
:- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only  
 
:- [[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: [[Y8]], [[YV12]], [[YV24]]
 
:- Supported color formats: [[Y8]], [[YV12]], [[YV24]]
 
:: <span style="color:red">**</span> If you're using AviSynth 2.5.8, [[YV12]] will be the only colorspace supported.
 
:: <span style="color:red">**</span> If you're using AviSynth 2.5.8, [[YV12]] will be the only colorspace supported.
 
<br>
 
<br>
:- [[SSE2]] capable CPU
+
:- [[SSE2]]/[[SSSE3]] capable CPU
 
<br>
 
<br>
 
== Syntax and Parameters ==
 
== Syntax and Parameters ==
Line 34: Line 36:
 
<br>
 
<br>
 
== Examples ==
 
== Examples ==
UnsharpHQ with default settings:
+
fturnleft with default settings:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  UnsharpHQ(THRESHOLD=20, SHARPSTR=4.0, SMOOTH=0.5, SHOW=false)
+
  fturnleft(chroma=true, mt-true)
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
 
  Version      Date            Changes<br>
 
  Version      Date            Changes<br>
  v0.3        2011/02/21     - Initial public release
+
  v1.4        2013/11/12      - 20-30% better performance of FTurnLeft/FTurnRight, lower memory usage.
 +
                              - 5-10% better performance of FTurn180 on SSE2.<br>
 +
v1.3.5      2013/07/29      - This release contains some performance improvements.
 +
                              - You can expect 10-15% faster execution compared to 1.3 on all processors.<br>
 +
v1.3        2013/07/29      - This plugin now requires only SSE2.
 +
                              - SSSE3 version is still here and will be used if your CPU supports it.<br>
 +
v1.2.1      2013/07/26      - Migration to Avisynth 2.6 alpha 4 API. This plugin won't work with alpha 3 anymore.<br>
 +
v1.2        2013/07/08      - Now includes FTurn180() function.<br>
 +
v1.1        2013/07/06      - Now includes YV24 and Y8 support (only in 2.6 version).<br>
 +
v1.0.1      2013/07/06     - public release
 
<br>
 
<br>
 
== External Links ==
 
== External Links ==
Line 49: Line 60:
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
'''Back to [[External_filters#Sharpeners|External Filters]] &larr;'''
+
'''Back to [[External_filters#Rotate|External Filters]] &larr;'''

Revision as of 14:20, 30 May 2014

Abstract
Author tp7


Version v1.4
Download fturn-25.dll - [Avisynth 2.5.8]

fturn-26.dll - [Avisynth 2.6]

Category Rotation
License MIT but binaries are GPLv2
Discussion


Contents

Description

Fast implementation of TurnLeft(), TurnRight() and Turn180() AviSynth functions. fturn180 rotates a clip 180 degress,
fturnleft rotates 90 degrees counter clock wise, and fturnright rotates 90 degrees clockwise. In addition, FTurn is
internally multithreaded and is SSE2 and SSSE3 optimized, if your CPU supports SSSE3 you can assume a slightly better performance.


Requirements

- AviSynth 2.5.8 or AviSynth 2.6.0 Alpha5 or greater
- Progressive input only
- Supported color formats: Y8, YV12, YV24
** If you're using AviSynth 2.5.8, YV12 will be the only colorspace supported.


- SSE2/SSSE3 capable CPU


Syntax and Parameters

fturn180 (clip, bool "chroma")
fturnleft (clip, bool "chroma", bool "mt")
fturnright (clip, bool "chroma", bool "mt")


bool  chroma = true
When set to false chroma will not be processed.
This isuseful when chroma processing is not needed (almost often in anti aliasing scripts).


bool  mt = true
FTurn is internally multithreaded; set to false to disable.
Chroma is processed in a separate thread with mt=true (default).


Examples

fturnleft with default settings:

AviSource("Blah.avi")
fturnleft(chroma=true, mt-true)


Changelog

Version      Date            Changes
v1.4 2013/11/12 - 20-30% better performance of FTurnLeft/FTurnRight, lower memory usage. - 5-10% better performance of FTurn180 on SSE2.
v1.3.5 2013/07/29 - This release contains some performance improvements. - You can expect 10-15% faster execution compared to 1.3 on all processors.
v1.3 2013/07/29 - This plugin now requires only SSE2. - SSSE3 version is still here and will be used if your CPU supports it.
v1.2.1 2013/07/26 - Migration to Avisynth 2.6 alpha 4 API. This plugin won't work with alpha 3 anymore.
v1.2 2013/07/08 - Now includes FTurn180() function.
v1.1 2013/07/06 - Now includes YV24 and Y8 support (only in 2.6 version).
v1.0.1 2013/07/06 - public release


External Links





Back to External Filters

Personal tools