BSD Ports

graphics/libplacebo 7.360.1 FreeBSD

Reusable library for GPU-accelerated video/image rendering

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL21+
Categories
graphics
Package size
539.1 KiB, 1646.5 KiB installed

Description

libplacebo is essentially the core rendering algorithms and ideas of mpv turned into a library. This grew out of an interest to accomplish the following goals:

  • Clean up mpv's internal rendering abstraction API and make it reusable for other projects.
  • Provide a standard library of useful GPU-accelerated image processing primitives based on GLSL, so projects like VLC or Firefox can use them without incurring a heavy dependency on libmpv.
  • Rewrite core parts of mpv's GPU-accelerated video renderer on top of redesigned abstractions. (Basically, I wanted to eliminate stateful APIs like shader_cache.c and totally redesign gpu/video.c)

In the other systems

SystemPortVersion
FreeBSDgraphics/libplacebo7.360.1
OpenBSDgraphics/libplacebo7.351.0v0
NetBSDmultimedia/libplacebo7.360.1
DragonFlygraphics/libplacebo7.349.0
MidnightBSDgraphics/libplacebo7.351.0_2

Install

Binary package:

pkg install libplacebo

From the ports tree:

cd /usr/ports/graphics/libplacebo/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libplacebo>0:graphics/libplacebo
LIB_DEPENDS=	libplacebo.so:graphics/libplacebo

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest7.360.17.360.15.229.27.351.0_17.360.1
FreeBSD:14:quarterly7.360.17.360.1n/a7.351.07.360.1
FreeBSD:15:latest7.360.17.360.1n/a7.351.0_17.351.0_1
FreeBSD:15:quarterly7.360.17.360.1n/an/an/a
FreeBSD:16:latest7.360.17.360.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 37
Run dependencies 27

Configuration

Options name: graphics_libplacebo

OptionDefaultDescription
GLSLANGoffglslang SPIR-V compiler
LCMS2onLittle CMS 2.x support
LIBUNWINDonUse libunwind for stacktraces
OPENGLon2D/3D rendering support via OpenGL
SHADERConlibshaderc SPIR-V compiler
TESToffBuild and/or run tests
VULKANoffVulkan-based renderer
XXHASHonFaster replacement for internal siphash
USES
compiler:c11 localbase:ldflags meson pkgconfig python:build
Service scripts
none

Files

pkg-plist 37
  • include/libplacebo/cache.h
  • include/libplacebo/colorspace.h
  • include/libplacebo/common.h
  • include/libplacebo/config.h
  • include/libplacebo/d3d11.h
  • include/libplacebo/dispatch.h
  • include/libplacebo/dither.h
  • include/libplacebo/dummy.h
  • include/libplacebo/filters.h
  • include/libplacebo/gamut_mapping.h
  • include/libplacebo/gpu.h
  • include/libplacebo/log.h
  • include/libplacebo/opengl.h
  • include/libplacebo/options.h
  • include/libplacebo/renderer.h
  • include/libplacebo/shaders.h
  • include/libplacebo/shaders/colorspace.h
  • include/libplacebo/shaders/custom.h
  • include/libplacebo/shaders/deinterlacing.h
  • include/libplacebo/shaders/dithering.h
  • include/libplacebo/shaders/film_grain.h
  • include/libplacebo/shaders/icc.h
  • include/libplacebo/shaders/lut.h
  • include/libplacebo/shaders/sampling.h
  • include/libplacebo/swapchain.h
  • include/libplacebo/tone_mapping.h
  • include/libplacebo/utils/dav1d.h
  • include/libplacebo/utils/dav1d_internal.h
  • include/libplacebo/utils/dolbyvision.h
  • include/libplacebo/utils/frame_queue.h
  • include/libplacebo/utils/libav.h
  • include/libplacebo/utils/libav_internal.h
  • include/libplacebo/utils/upload.h
  • include/libplacebo/vulkan.h
  • lib/libplacebo.so
  • lib/libplacebo.so.360
  • libdata/pkgconfig/libplacebo.pc
distinfo 3
FileSizeSHA256
fastfloat-fast_float-v8.2.2_GH0.tar.gz120128e64b5fff88e04959154adbd5fb83331d91f2e04ac06454671cdfcbdff172b158
Dav1dde-glad-v2.0.8_GH0.tar.gz64559344f06f9195427c7017f5028d0894f57eb216b0a8f7c4eda7ce883732aeb2d0fc
libplacebo-v7.360.1.tar.bz2713536937aa5eeea596798b3274d362de2e3bd32bc537a66d149dd85043349c74dffb6

Commit history 0

No commits in the history this site was built from.