File vapoursynth-tdeint.spec of Package vapoursynth-tdeint
#
# spec file for package vapoursynth-tdeint
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: vapoursynth-tdeint
Version: 10.1~git20190717T171956
Release: 0
License: GPL-2.0
Summary: A deinterlacing library and filter for VapourSynth
Url: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TDeintMod
Group: Productivity/Graphics/Bitmap Editors
Source: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TDeintMod/archive/%{version}.tar.gz#/%{name}-%{version}.tar.xz
BuildRequires: vapoursynth-devel
BuildRequires: meson
BuildRequires: gcc-c++
Requires: vapoursynth
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
TDeintMod is a combination of TDeint and TMM,
which are both ported from tritical's AviSynth plugin:
http://bengal.missouri.edu/~kes25c/.
IsCombed is a utility function to check whether or not a frame is combed and
stores the result (0 or 1) as a frame property named _Combed. It's intended
to be used within std.FrameEval to process only combed frames and
leave non-combed frames untouched.
Only a few functionality of TDeint is kept in TDeintMod, either because some use
inline asm and there is no equivalent C code in the source, or some are very
rarely used by people nowadays. For example, the biggest change is that TDeint's
internal building of motion mask is entirely dropped, and be replaced with
TMM's motion mask. The second is that only cubic interpolation is kept as the
only one internal interpolation method, all the others (ELA interpolation,
kernel interpolation and blend interpolation) are dropped. Cubic interpolation
is kept only for testing purpose, and people should really specify an externally
interpolated clip via edeint argument for practical use.
%prep
%autosetup -p1
%build
%meson || cat build/meson-logs/meson-log.txt
%meson_build %{?_smp_mflags} || cat build/meson-logs/meson-log.txt
%install
%meson_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%license LICENSE
%doc README.md
%{_libdir}/vapoursynth