diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 2f492dd..0000000 --- a/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -warning_flags = -Wall -Wextra -Wno-unused-parameter -Wno-ignored-attributes -common_cflags = -O3 -ffast-math -fvisibility=hidden $(warning_flags) $(MFLAGS) -AM_CXXFLAGS = -std=c++14 $(common_cflags) - -AM_CPPFLAGS = $(VapourSynth_CFLAGS) -DNNEDI3_DATADIR='"$(pkgdatadir)"' - -dist_pkgdata_DATA = NNEDI3CL/nnedi3_weights.bin - -lib_LTLIBRARIES = libnnedi3cl.la - -libnnedi3cl_la_SOURCES = NNEDI3CL/NNEDI3CL.cpp - -libnnedi3cl_la_LDFLAGS = -no-undefined -avoid-version -lboost_filesystem -lboost_system $(PLUGINLDFLAGS) $(OPENCLLDFLAGS) diff --git a/README.md b/README.md index 577e5f9..a55c15a 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Usage The file `nnedi3_weights.bin` is required. On Windows, it must be located in the same folder as `NNEDI3CL.dll`. Everywhere else it can be located either in the same folder as `libnnedi3cl.so`/`libnnedi3cl.dylib`, or in `$prefix/share/NNEDI3CL/`. The build system installs it at the latter location automatically. - nnedi3cl.NNEDI3CL(clip, int field[, bint dh=False, bint dw=False, int[] planes, int nsize=6, int nns=1, int qual=1, int etype=0, int pscrn=2, int device=-1, bint list_device=False, bint info=False]) + nnedi3cl.NNEDI3CL(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, int device=-1, bint list_device=False, bint info=False]) * clip: Clip to process. Any planar format with either integer sample type of 8-16 bit depth or float sample type of 32 bit depth is supported. @@ -25,7 +25,7 @@ The file `nnedi3_weights.bin` is required. On Windows, it must be located in the * dw: Doubles the width of the input. It does the same thing as `Transpose().nnedi3(dh=True).Transpose()` but also avoids unnecessary data copies when you scale both dimensions. -* planes: A list of the planes to process. By default all planes are processed. +* planes: Sets which planes will be processed. Any unprocessed planes will be simply copied. * nsize: Sets the size of the local neighborhood around each pixel (x_diameter x y_diameter) that is used by the predictor neural network. For image enlargement it is recommended to use 0 or 4. Larger y_diameter settings will result in sharper output. For deinterlacing larger x_diameter settings will allow connecting lines of smaller slope. However, what setting to use really depends on the amount of aliasing (lost information) in the source. If the source was heavily low-pass filtered before interlacing then aliasing will be low and a large x_diameter setting wont be needed, and vice versa. * 0 = 8x6 @@ -69,11 +69,3 @@ Requires `Boost`. meson build ninja -C build ``` - -or - -``` -./autogen.sh -./configure -make -``` diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index a8fd885..0000000 --- a/autogen.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -autoreconf --verbose --install --force diff --git a/configure.ac b/configure.ac deleted file mode 100644 index c582f95..0000000 --- a/configure.ac +++ /dev/null @@ -1,54 +0,0 @@ -AC_INIT([NNEDI3CL], [7], [https://github.com/HomeOfVapourSynthEvolution/VapourSynth-NNEDI3CL/issues], [NNEDI3CL], [https://github.com/HomeOfVapourSynthEvolution/VapourSynth-NNEDI3CL/]) - -: ${CXXFLAGS=""} - -AM_INIT_AUTOMAKE([foreign no-dist-gzip dist-xz subdir-objects no-define]) -AM_SILENT_RULES([yes]) - -LT_INIT([disable-static win32-dll]) - -AC_CANONICAL_HOST - -AC_PROG_CXX - - -X86="false" -OPENCLLDFLAGS="-lOpenCL" - -AS_CASE( - [$host_cpu], - [i?86], [BITS="32" X86="true"], - [x86_64], [BITS="64" X86="true"] -) - -AS_CASE( - [$host_os], - [darwin*], - [ - OPENCLLDFLAGS="-framework OpenCL" - ], - [cygwin*|mingw*], - [ - AS_IF( - [test "x$BITS" = "x32"], - [ - AC_SUBST([PLUGINLDFLAGS], ["-Wl,--kill-at"]) - ] - ) - ] -) - -AS_IF( - [test "x$X86" = "xtrue"], - [ - AC_SUBST([MFLAGS], ["-mfpmath=sse -msse2"]) - ] -) - -AC_SUBST([OPENCLLDFLAGS]) - - -PKG_CHECK_MODULES([VapourSynth], [vapoursynth]) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT