FTurn

From Avisynth wiki
Jump to: navigation, search
Abstract
Author tp7
Version v1.4
Download fturn-25.dll - [AviSynth 2.5.8]

fturn-26.dll - [AviSynth 2.6.0]

Category Rotation
License MIT but binaries are GPLv2
Discussion Doom9 Thread

Contents

[edit] 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.

Note: FTurn is only recommended for AviSynth. The optimized code is integrated into the AviSynth+ core, thus making FTurn obsolete.

[edit] Requirements

  • AviSynth 2.5.8, or 2.6.0 or greater
  • Supported color formats: Y8, YV12, YV24
** AviSynth 2.5.8 only supports YV12


[edit] Syntax and Parameters

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


clip   =
Input clip.


bool  chroma = true
When set to false chroma will not be processed.
This is useful 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 when mt=true (default).


[edit] Examples

fturnleft with default settings:

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


[edit] 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


[edit] External Links




Back to External Filters

Personal tools