8 pname = "libde265-test-corpus-decode";
9 version = "unstable-2020-02-19";
11 src = fetchFromGitHub {
13 repo = "libde265-data";
14 rev = "bdfdfdbe682f514c5185c270c74eac42731a7fa8";
15 sha256 = "sha256-fOgu7vMoyH30Zzbkfm4a6JVDZtYLO/0R2syC2Wux+Z8=";
22 nativeCheckInputs = [ libde265 ];
23 # based on invocations in https://github.com/strukturag/libde265/blob/0b1752abff97cb542941d317a0d18aa50cb199b1/scripts/ci-run.sh
25 echo "Single-threaded:"
26 find . -name '*.bin' | while read f; do
30 dec265 -q --disable-deblocking --disable-sao $f
32 echo "Multi-threaded:"
33 find RandomAccess/ -name '*.bin' | while read f; do
36 dec265 -t 4 -0 -q -c $f
37 dec265 -t 4 -q --disable-deblocking --disable-sao $f
40 # a larger corpus of files can be found
41 # as an ubuntu package libde265-teststreams @
42 # https://launchpad.net/~strukturag/+archive/ubuntu/libde265/+packages
43 # but it is *much* larger