Anime4KCPP
From Avisynth wiki
(Difference between revisions)
(→Examples: add example) |
m (→listGPUs) |
||
Line 52: | Line 52: | ||
This function will list the available platform IDs and device IDs by throwing an error, you can use them to specify the GPU for processing. | This function will list the available platform IDs and device IDs by throwing an error, you can use them to specify the GPU for processing. | ||
− | :{{Template:FuncDef| listGPUs()}} | + | :{{Template:FuncDef| listGPUs ()}} |
<br> | <br> | ||
+ | |||
== Examples == | == Examples == | ||
Anime4KCPP with default settings: | Anime4KCPP with default settings: |
Revision as of 16:38, 25 May 2020
Abstract | |
---|---|
Author | TianZerL |
Version | beta (2020/05/24) |
Download | Anime4KCPP_AviSynthPlus_plugin-beta-Win64-msvc.7z |
Category | Resize |
License | MIT |
Discussion |
Contents |
Description
Anime4K is a simple high-quality anime upscale algorithm for anime. it does not use any machine learning approaches, and can be very fast in real-time processing or pretreatment.
Requirements
Syntax and Parameters
Anime4KCPP
- Anime4KCPP (clip "src", int "passes", int "pushColorCount", float "strengthColor", float "strengthGradient", int "zoomFactor", bool "GPUMode", int "platformID", int "deviceID")
- clip src =
- Input clip must be RGB24
- clip src =
- int passes = 2
- Passes for processing.
- int passes = 2
- int pushColorCount = 2
- Limit the number of color pushes, make sure the edge won't be too thin
- int pushColorCount = 2
- float strengthColor = 0.3
- Strength for pushing color, range 0.0 to 1.0, higher for thinner.
- float strengthColor = 0.3
- float strengthGradient = 1.0
- Strength for pushing gradient, range 0.0 to 1.0, higher for sharper.
- float strengthGradient = 1.0
- float zoomFactor = 1.0
- Upscaling ratio for resizing.
- float zoomFactor = 1.0
- bool GPUMode = false
- Enable GPU acceleration
- bool GPUMode = false
- int platformID = 0
- int deviceID = 0
- For specifying the GPU.
- int platformID = 0
listGPUs
This function will list the available platform IDs and device IDs by throwing an error, you can use them to specify the GPU for processing.
- listGPUs ()
Examples
Anime4KCPP with default settings:
AviSource("Blah.avi") Anime4KCPP(passes=2, pushColorCount=2, strengthColor=0.3, strengthGradient=1.0, zoomFactor=1.0, GPUMode=false, platformID=0, deviceID=0)
Changelog
Version Date Changes
beta 2020/05/24 - Initial release
External Links
- GitHub - Source code repository.
Back to External Filters ←