Skip to content

Optimized image similarity evaluation algorithms in Vapoursynth (x86_64 only)

License

Notifications You must be signed in to change notification settings

AmusementClub/vs-ComparePlane

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vs-ComparePlane

Optimize for several algorithms for compare images.

Usage

core.complane.PSNR(clip clip1, clip clip2, int opt, int cache)

The both input clips must be of GRAY colorFamily and their format must be exactly same. Both 8-16 int and float sample type are allowed. The res will be reserved into the frame props of output.

  1. Args:
  • clip1: The clip you want to complete, the result have the same frame data and props (except the added by filter) as this clip.
  • clip2: The other clip.
  • propname(Default:"PlanePSNR"): The name of the PSNR score in frameprops you want to set.
  • opt: Optimize level:
    • 0: auto detect(default)
    • 1: avx
    • 2: avx2
  • cache: Whether the output should be cache or not. Disabling cache maybe imporove a little bit of performance. If you want to access them later, it's recommand to enable cache.
    • 0: disable
    • 1: enable(default)
core.complane.Version()

Get Version.

Build

you can use the code below to build the plugin by youself.

# if built for windows, place VapourSynth.h and VSHelper.h under Complane.
CXX=clang++ meson build
ninja -C build

About

Optimized image similarity evaluation algorithms in Vapoursynth (x86_64 only)

Resources

License

Stars

Watchers

Forks

Languages

  • C++ 90.0%
  • Meson 5.3%
  • Batchfile 3.0%
  • C 1.7%