nixpkgs/pkgs
Dominik Honnef 90cd27e4a0 x265: build a single shared library for all bit-depths
This builds the 10-bit and 12-bit versions of x265 as static
libraries, which then get linked into the 8-bit dynamic library and
executable. This causes x265 to default to 8-bit, but make 10- and
12-bit available to callers that use introspection, such as ffmpeg.

    $ x265 -V
    x265 [info]: HEVC encoder version 3.2
    x265 [info]: build info [Linux][GCC 9.3.0][64 bit] 8bit+10bit+12bit
    x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

    $ ffmpeg -h encoder=libx265
    [...]
        Supported pixel formats: yuv420p yuvj420p yuv422p yuvj422p yuv444p yuvj444p gbrp yuv420p10le yuv422p10le yuv444p10le gbrp10le yuv420p12le yuv422p12le yuv444p12le gbrp12le gray gray10le gray12le

Inspired by @codyopel's comment on #80405.
2020-08-15 08:59:31 +02:00
..
applications Merge pull request #95062 from cryptix/update-aliza 2020-08-13 22:47:05 +03:00
build-support Merge pull request #92412 from matthewbauer/blas-cross 2020-08-15 08:55:57 +02:00
common-updater treewide: use nix-update updateScript for packages I maintain 2020-07-29 12:33:39 -04:00
data Merge pull request #94823 from romildo/upd.theme-jade-1 2020-08-13 09:28:15 -03:00
desktops gnome3.gnome-desktop: 3.36.4 -> 3.36.5 2020-08-14 12:30:19 +02:00
development x265: build a single shared library for all bit-depths 2020-08-15 08:59:31 +02:00
games Merge pull request #94018 from r-ryantm/auto-update/gthree 2020-08-11 23:35:50 +02:00
misc Merge pull request #95244 from afreakk/tmux-fingers-rtp-filepath-fix 2020-08-12 23:58:12 -05:00
os-specific Merge branch 'staging-next' into staging 2020-08-13 21:59:15 +02:00
pkgs-lib
servers postgresql_12: 12.3 -> 12.4 2020-08-13 20:04:00 -05:00
shells Merge pull request #95268 from r-ryantm/auto-update/pure-prompt 2020-08-12 19:15:32 -05:00
stdenv gnu-config: 2019-04-15 -> 2020-05-04 2020-08-02 22:37:39 +02:00
test stdenv: make -nostdinc work as intended 2020-07-23 08:39:46 +01:00
tools rhash: 1.3.9 -> 1.4.0 2020-08-15 08:52:15 +02:00
top-level Merge branch 'staging-next' into staging 2020-08-13 21:59:15 +02:00