FTurn

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(almost finished)
m (Description)
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,
+
:Fast implementation of [[TurnLeft]](), [[TurnRight]]() and [[Turn180]]() AviSynth functions. FTurn is internally multithreaded
:{{Template:FuncDef|fturnleft}} rotates 90 degrees counter clock wise, and {{Template:FuncDef|fturnright}} rotates 90 degrees clockwise. In addition, FTurn is
+
:and is [[SSE2]] and [[SSSE3]] optimized, if your CPU supports [[SSSE3]] you can assume slightly better performance.
:internally multithreaded and is [[SSE2]] and [[SSSE3]] optimized, if your CPU supports [[SSSE3]] you can assume a slightly better performance.
+
:FTurn has the following functions:
 +
::*{{Template:FuncDef|fturn180}} - rotates a 180 degrees.
 +
::*{{Template:FuncDef|fturnleft}} - rotates 90 degrees counter clock wise.
 +
::*{{Template:FuncDef|fturnright}} - rotates 90 degrees clockwise.
 
<br>
 
<br>
 +
 
== Requirements ==
 
== Requirements ==
 
:- AviSynth 2.5.8 or [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or greater
 
:- AviSynth 2.5.8 or [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or greater

Revision as of 04:31, 3 June 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. FTurn is internally multithreaded
and is SSE2 and SSSE3 optimized, if your CPU supports SSSE3 you can assume slightly better performance.
FTurn has the following functions:
  • fturn180 - rotates a 180 degrees.
  • fturnleft - rotates 90 degrees counter clock wise.
  • fturnright - rotates 90 degrees clockwise.


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