gnu: Add movit.

* gnu/packages/video.scm (movit): New variable.

Change-Id: I65dacb0a60d41f8c2f3ca73f298c0881da5f062e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Brendan Tildesley 2025-11-22 15:30:10 +08:00 committed by Ludovic Courtès
parent 2a1f1162e5
commit c517ea78b4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -25,7 +25,7 @@
;;; Copyright © 2018-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2018, 2019, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2018, 2019, 2020, 2022 Leo Famulari <leo@famulari.name>
;;; Copyright © 2018 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2018, 2025 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2018 Mark Meyer <mark@ofosos.org>
@ -1563,6 +1563,51 @@ support in old parsers.
libebml is a C++ library to read and write EBML files.")
(license license:lgpl2.1)))
(define-public movit
(package
(name "movit")
(version "1.7.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://movit.sesse.net/movit-" version ".tar.gz"))
(sha256
(base32 "1mg8rxgbd51h0mqcn4f6b30m2mv11aps3dybfn6f7ly28s71zb00"))))
(build-system gnu-build-system)
(arguments
(list
#:tests? #f
;; Rendering tests fail due to differing results, but they fail on other
;; other distros too and still requires the test suite to compile.
;; Failed tests: deinterlace_effect_test ycbcr_conversion_effect_test
;; resample_effect_test colorspace_conversion_effect_test
;; effect_chain_test
#:make-flags
#~(list (string-append
"GTEST_DIR="
#$(this-package-native-input "googletest-source")
"/googletest"))))
(native-inputs
`(("pkg-config" ,pkg-config)
("googletest-source" ,(package-source googletest))))
(inputs (list eigen
fftw
libepoxy ;; for tests
sdl2)) ;; for tests
(home-page "https://movit.sesse.net")
(synopsis "High-performance GPU-accelerated video filtering library")
(description
"Movit is a high-quality, high-performance library for GPU-accelerated
video filtering built on modern OpenGL. It provides a compact set of
carefully implemented filters designed for predictable real-time performance
and visually accurate results, supporting OpenGL 3.0 or GLES 3.0.
Included filters provide blur, diffusion, FFT-based convolution, glow,
color correction (lift/gamma/gain), mirror, luma-based transitions, PorterDuff
overlay composition, bilinear and Lanczos scaling, sharpening (unsharp mask
and Wiener), saturation, vignette, white balance and YADIF deinterlacing.")
(license license:gpl2+)))
(define-public libplacebo
(package
(name "libplacebo")