FCBI

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Requirements)
(FCBI 1.0.1)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
{{FilterCat5|External_filters|Plugins|Plugins_x64|Adjustment_filters|Resizers}}
+
{{FilterCat6|External_filters|Plugins|Plugins_x64|Adjustment_filters|Resizers|Deep_color_tools}}
 
{{Filter3
 
{{Filter3
| {{Author/Chikuzen}}
+
| {{Author/Chikuzen}}, {{Author/Asd-g}}
|2=v0.0.0
+
|2=v1.0.1
|3=[https://github.com/chikuzen/FCBI/releases fcbi-0.0.0.zip]
+
|3=[https://github.com/Asd-g/AviSynth-FCBI/releases/ FCBI-1.0.1.7z]
 
|4=Resize  
 
|4=Resize  
|5=Open source
+
|5=[https://github.com/Asd-g/AviSynth-FCBI/blob/master-1/LICENSE GPLv3]
 
|6=
 
|6=
 
}}
 
}}
Line 18: Line 18:
 
* [x64]: [[AviSynth+]]
 
* [x64]: [[AviSynth+]]
 
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 +
**AviSynth+: all [[planar]] formats (8/10/12/14/16-bit, Y, YUV without alpha) are supported.
 
<br>
 
<br>
 
* Windows Vista SP2 or later
 
* Windows Vista SP2 or later
 
* [[SSE2]] capable CPU
 
* [[SSE2]] capable CPU
* Microsoft VisualC++ Redistributable Package 2015
+
* Microsoft VisualC++ Redistributable Package 2022
 
<br>
 
<br>
  
Line 28: Line 29:
 
<br>
 
<br>
 
::{{Par2| |clip| }}
 
::{{Par2| |clip| }}
:::Input clip.
+
:::A clip to process.
 +
:::Must be in YUV 8..16-bit planar format (except YV411).
 
<br>
 
<br>
 
::{{Par2|ed|bool|false}}
 
::{{Par2|ed|bool|false}}
Line 36: Line 38:
 
:::Threshold for edge detection.
 
:::Threshold for edge detection.
 
:::When <code>ed</code> is set to false, <code>tm</code> will be ignored.
 
:::When <code>ed</code> is set to false, <code>tm</code> will be ignored.
 +
:::Must be between 0 and range_max. Default: 30 * (2 ^ bit_depth - 1) / 255.
 +
<br>
 +
::{{Par2|opt|int|-1}}
 +
:::Sets which cpu optimizations to use.
 +
:::*-1 : Auto-detect.
 +
:::*0 : Use C++ code.
 +
:::*1 : Use SSE2 code.
 +
:::Default: -1.
 
<br>
 
<br>
 
== Examples ==  
 
== Examples ==  
 
FCBI with default settings:
 
FCBI with default settings:
 
  [[AviSource]]("blah.avi")
 
  [[AviSource]]("blah.avi")
  fcbi(ed=false, tm=30)
+
  fcbi(ed=false, tm=30, opt=-1)
  
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
 
  Version      Date            Changes<br>
 
  Version      Date            Changes<br>
  v0.0.0      2017/03/17      - initial release
+
v1.0.0      2022/06/20      - Fixed error message for opt.
 +
v1.0.0      2022/06/05      - Added support for 10..16-bit clips.
 +
                              - Frame properties passthrough.
 +
                              - Add opt parameter.
 +
                              - AviSynth+: self-registers as [[MT_NICE_FILTER]].<br>
 +
  v0.0.0      2017/03/17      - Initial release
 
<br>
 
<br>
 
== External Links ==
 
== External Links ==
*[https://github.com/chikuzen/FCBI GitHub] - Source code repository.
+
*[https://github.com/Asd-g/AviSynth-FCBI GitHub] - Source code repository (update).
 +
*[https://github.com/chikuzen/FCBI GitHub] - Source code repository (original).
 
<br>
 
<br>
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters#Resizers|External Filters]] &larr;'''
 
'''Back to [[External_filters#Resizers|External Filters]] &larr;'''

Latest revision as of 18:51, 17 May 2023

Abstract
Author Chikuzen, Asd-g
Version v1.0.1
Download FCBI-1.0.1.7z
Category Resize
License GPLv3
Discussion


Contents

[edit] Description

Fast Curvature Based Interpolation. More info here (Japanese).
Port of FCBI filter (https://github.com/yoya/image.js/blob/master/fcbi.js) to AviSynth.

[edit] Requirements


  • Windows Vista SP2 or later
  • SSE2 capable CPU
  • Microsoft VisualC++ Redistributable Package 2022


[edit] Syntax and Parameters

FCBI (clip, bool "ed", int "tm")


clip   =
A clip to process.
Must be in YUV 8..16-bit planar format (except YV411).


bool  ed = false
Use edge detection or not.


int  tm = 30
Threshold for edge detection.
When ed is set to false, tm will be ignored.
Must be between 0 and range_max. Default: 30 * (2 ^ bit_depth - 1) / 255.


int  opt = -1
Sets which cpu optimizations to use.
  • -1 : Auto-detect.
  • 0 : Use C++ code.
  • 1 : Use SSE2 code.
Default: -1.


[edit] Examples

FCBI with default settings:

AviSource("blah.avi")
fcbi(ed=false, tm=30, opt=-1)


[edit] Changelog

Version      Date            Changes
v1.0.0 2022/06/20 - Fixed error message for opt. v1.0.0 2022/06/05 - Added support for 10..16-bit clips. - Frame properties passthrough. - Add opt parameter. - AviSynth+: self-registers as MT_NICE_FILTER.
v0.0.0 2017/03/17 - Initial release


[edit] External Links

  • GitHub - Source code repository (update).
  • GitHub - Source code repository (original).




Back to External Filters

Personal tools