FCBI
From Avisynth wiki
(Difference between revisions)
(Created page with "{{FilterCat5|External_filters|Plugins|Plugins_x64|Adjustment_filters|Resizers}} {{Filter3 | {{Author/Chikuzen}} |2=v0.0.0 |3=[https://github.com/chikuzen/FCBI/releases fcbi-0....") |
(FCBI 1.0.1) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat6|External_filters|Plugins|Plugins_x64|Adjustment_filters|Resizers|Deep_color_tools}} |
{{Filter3 | {{Filter3 | ||
− | | {{Author/Chikuzen}} | + | | {{Author/Chikuzen}}, {{Author/Asd-g}} |
− | |2= | + | |2=v1.0.1 |
− | |3=[https://github.com/ | + | |3=[https://github.com/Asd-g/AviSynth-FCBI/releases/ FCBI-1.0.1.7z] |
|4=Resize | |4=Resize | ||
− | |5= | + | |5=[https://github.com/Asd-g/AviSynth-FCBI/blob/master-1/LICENSE GPLv3] |
|6= | |6= | ||
}} | }} | ||
Line 15: | Line 15: | ||
<br> | <br> | ||
== Requirements == | == Requirements == | ||
− | * [x86]: [[AviSynth+]] or [ | + | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6] |
* [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 | + | * Microsoft VisualC++ Redistributable Package 2022 |
<br> | <br> | ||
+ | |||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
:{{Template:FuncDef|FCBI (clip, bool "ed", int "tm")}} | :{{Template:FuncDef|FCBI (clip, bool "ed", int "tm")}} | ||
<br> | <br> | ||
::{{Par2| |clip| }} | ::{{Par2| |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 35: | 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 - | + | 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]] ←''' | '''Back to [[External_filters#Resizers|External Filters]] ←''' |
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
- [x86]: AviSynth+ or AviSynth 2.6
- [x64]: AviSynth+
- Supported color formats: Y8, YV12, YV16, YV24
- AviSynth+: all planar formats (8/10/12/14/16-bit, Y, YUV without alpha) are supported.
- 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).
- clip =
- bool ed = false
- Use edge detection or not.
- bool ed = false
- 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 tm = 30
- int opt = -1
- Sets which cpu optimizations to use.
- -1 : Auto-detect.
- 0 : Use C++ code.
- 1 : Use SSE2 code.
- Default: -1.
- Sets which cpu optimizations to use.
- int opt = -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
Back to External Filters ←