Skip to content

Jaded-Encoding-Thaumaturgy/vapoursynth-SNEEDIF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setsugen No Ensemble of Edge Directed Interpolation Functions

Like NNEDI3CL but made by Setsugennoao.

NNEDI3

sneedif.NNEDI3(clip, int field[, bint dh=False, bint dw=False, int[] planes=[0, 1, 2], int nsize=6, int nns=1, int qual=1, int etype=0, int pscrn=2, bint transpose_first=False, int device=-1])
  • transpose_first: Transpose the clip before processing.

Device Information

These functions return information about the available OpenCL environment and devices.

ListDevices

sneedif.ListDevices()

Returns a dictionary:

  • numDevices: int — Total number of devices found.
  • deviceNames: str[] — List of device names.
  • platformNames: str[] — List of platform names.

PlatformInfo

sneedif.PlatformInfo([int device=-1])

Returns a dictionary for the specified device:

  • name: str
  • vendor: str
  • version: str
  • profile: str

DeviceInfo

sneedif.DeviceInfo([int device=-1])

Returns a dictionary containing detailed specifications for the specified device:

  • name, vendor, profile, version, opencl_c_version: str
  • max_compute_units, max_work_group_size, image2D_max_width, image2D_max_height: int
  • max_work_item_sizes: int[]
  • image_support, available, compiler_available, linker_available: int (boolean)
  • global_memory_cache_type, local_memory_type: str
  • global_memory_cache, global_memory_size, max_constant_buffer_size, max_constant_arguments, local_memory_size, image_max_buffer_size: int

Installation

pip install vapoursynth-sneedif

Note: Only wheels for Linux and Windows 64-bit are provided.

Compilation

Windows

Requirements:

  1. Open MSYS2 UCRT64 terminal.

  2. Install dependencies:

    pacman -S mingw-w64-ucrt-x86_64-{cmake,meson,ninja,pkgconf,toolchain,boost,opencl-headers,opencl-icd,uv}
  3. Build the wheel:

    uv build --wheel

Linux

Requirements:

  1. Install dependencies:

    # Fedora / RHEL
    dnf install cmake gcc-c++ boost-devel opencl-headers ocl-icd-devel
    
    # Ubuntu / Debian
    apt install cmake g++ libboost-all-dev opencl-headers ocl-icd-opencl-dev
  2. Build the wheel:

    uv build --wheel

About

S.N.E.E.D.I.F. Setsugen No Ensemble of Edge Directed Interpolation Functions

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages