commit c967205cae83d7a256957106a24b7d285105a151a8159197c54fc2aae9f2f5e5 Author: Adrian Schröter Date: Sat May 4 01:47:32 2024 +0200 Sync from SUSE:SLFO:Main vmaf revision 6de11de7777b2a53a79888b55ae92c3f diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..3b1a130 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libvmaf1 diff --git a/v2.3.1.tar.gz b/v2.3.1.tar.gz new file mode 100644 index 0000000..21ec504 --- /dev/null +++ b/v2.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d60b1ddab043ada25ff11ced821da6e0c37fd7730dd81c24f1fc12be7293ef2 +size 18388094 diff --git a/vmaf.changes b/vmaf.changes new file mode 100644 index 0000000..926b070 --- /dev/null +++ b/vmaf.changes @@ -0,0 +1,106 @@ +------------------------------------------------------------------- +Thu Mar 16 21:06:47 UTC 2023 - Jakob Lorenz + +- Fix "no such built-in model" due to missing build dependency + +------------------------------------------------------------------- +Wed Nov 9 10:26:11 UTC 2022 - Jan Engelhardt + +- Drop recommends on vmaf-data, the package is gone since vmaf 2.x. + Build model data into the library, since `make install` does not + do anything by default. [boo#1189023] + +------------------------------------------------------------------- +Mon Apr 11 19:21:40 UTC 2022 - Jan Engelhardt + +- Update to release 2.3.1 + * CAMBI extensions: full reference, PQ eotf, up to 16 bit-depth + support, max_log_contrast parameter. + * CAMBI: option to output heatmaps. + +------------------------------------------------------------------- +Sat Oct 16 21:44:07 UTC 2021 - Jan Engelhardt + +- Update to release 2.3.0 + * Added Contrast Aware Multiscale Banding Index. + * Added pixel format VMAF_PIX_FMT_YUV400P. + +------------------------------------------------------------------- +Tue Sep 21 19:19:48 UTC 2021 - Jan Engelhardt + +- Update to release 2.2.1 + * Fix a race condition in vmaf_thread_pool_wait(). + * Avoid chroma resampling for 420mpeg2 y4m input. + +------------------------------------------------------------------- +Fri Jul 2 19:00:31 UTC 2021 - Jan Engelhardt + +- Update to release 2.2.0 + * Fixed a CIEDE-2000 precision issue, where cross-platform + mismatches were seen. + * Added function vmaf_feature_dictionary_free(). + +------------------------------------------------------------------- +Mon Mar 8 11:22:01 UTC 2021 - Dirk Müller + +- update to 2.1.1: + * Fixes a SSIM/MS-SSIM precision bug where a lossless comparison did not + always result in a perfect 1.0 score. (#796). + * Adds feature extractor options to clip the dB scores for both PSNR/SSIM. + --aom_ctc v1.0 has been updated to use these clipping options according to + the AOM CTC. (#802). +- disable LTO build (fails at least since 2.1.0) + +------------------------------------------------------------------- +Thu Jan 7 15:37:35 UTC 2021 - ecsos + +- Update to 2.1.0 + * New features: + - Per-model feature overloading via new API + vmaf_model_feature_overload(). + - Multiple unique configurations of the same feature extractor + may be registered run at the same time. + - --aom_ctc v1.0 preset, encompassing all metrics specified by + the AOM CTC. +- Changes from 2.0.0 + * New features: + - Add PSNR-HVS and CIEDE2000 metrics. + - ci/actions: upload linux/macos artifacts (#738) + - libvmaf/feature: deprecate daala_ssim (#735) + - libvmaf: remove support for pkl models + - libvmaf/psnr: rewrite using integer types, 2x speedup + - vmaf: if no model is specified, enable v0.6.1 by default (#730) + - libvmaf/x86: add AVX2/AVX-512 optimizations for adm, vif and + motion + - ci/actions: add xxd to build dependencies for Windows + - libvmaf: add support for built-in models + - libvmaf/integer_vif: use symmetrical mirroring on edges + - Fix log2 by replacing log2f_approx with log2f + - libvmaf_rc: provide a backwards compatible compute_vmaf(), + link vmafossexec with libvmaf + - libvmaf: add framework support for json models + - libvmaf/libsvm: update libsvm to version 324 + - libvmaf/motion: add motion_force_zero to motion fex + - return sha1 if Asset string is longer than 255 + - Add CID/iCID Matlab source code + - build: unbreak x86 builds (Fixes: #374) + - Add 12bit and 16bit support for python YUV reader; add tests. + - Add PypsnrFeatureExtractor + - Add processes to FeatureAssembler. (#662) + * Fixed bugs: + - fix motion flush for single frame input + - Fixing the perf_metric for a single entry list input +- Drop 0001-build-unbreak-x86-builds.patch, because now in upstream. +- Remove data subpackage because models now build in. + +------------------------------------------------------------------- +Mon Oct 19 12:06:33 UTC 2020 - Jan Engelhardt + +- Add missing BuildRequires: pkg-config. This is still needed + for rpm to pick up .pc and generate pkgconfig() symbols. + +------------------------------------------------------------------- +Sat Oct 17 16:20:43 UTC 2020 - Jan Engelhardt + +- Initial package (version 1.5.3) for build.opensuse.org +- Add 0001-build-unbreak-x86-builds.patch diff --git a/vmaf.spec b/vmaf.spec new file mode 100644 index 0000000..916bad4 --- /dev/null +++ b/vmaf.spec @@ -0,0 +1,93 @@ +# +# spec file for package vmaf +# +# Copyright (c) 2023 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%define sonum 1 +%define lname libvmaf%sonum + +# undefined reference to `vmaf_cpu_cpuid' +%define _lto_cflags %nil +Name: vmaf +Version: 2.3.1 +Release: 0 +Summary: Perceptual video quality assessment algorithm +License: BSD-2-Clause-Patent AND BSD-3-Clause +Group: Productivity/Multimedia/Video/Editors and Convertors +URL: https://github.com/Netflix/vmaf +Source: https://github.com/Netflix/vmaf/archive/v%version.tar.gz +Source9: baselibs.conf +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: meson >= 0.47 +BuildRequires: nasm +BuildRequires: pkg-config +# Need /usr/bin/xxd for build +BuildRequires: vim +Provides: bundled(libsvm) = 3.18 + +%description +VMAF is a perceptual video quality assessment algorithm. + +%package -n %lname +Summary: Perceptual video quality assessment algorithm +Group: System/Libraries + +%description -n %lname +VMAF is a perceptual video quality assessment algorithm. + +%package devel +Summary: Development tools for Video Multi-Method Assessment Fusion +Group: Development/Libraries/C and C++ +Requires: %lname = %version-%release + +%description devel +VMAF is a perceptual video quality assessment algorithm developed by +Netflix. +This package contains the library API definitions. + +%prep +%autosetup + +%build +rm -rf third_party +pushd libvmaf/ +%meson -Dbuilt_in_models=true -Denable_float=true +%meson_build +popd + +%install +pushd libvmaf/ +%meson_install +popd +rm -f "%buildroot/%_libdir"/*.a +%fdupes %buildroot/%_prefix + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%_libdir/libvmaf.so.%{sonum}* + +%files devel +%_bindir/vmaf* +%_includedir/libvmaf/ +%_libdir/libvmaf.so +%_libdir/pkgconfig/*.pc +%license LICENSE +%doc README.md + +%changelog