diff options
| author | MidAutumnMoon <me@418.im> | 2022-10-16 19:25:05 +0800 |
|---|---|---|
| committer | MidAutumnMoon <me@418.im> | 2022-10-17 12:35:40 +0800 |
| commit | 04fa38e3ff16fbd59b63ffe8073921a195ed28b2 (patch) | |
| tree | f1c3846b1100c60db23eff7e806f39e758278181 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | aef671963d2afc984c3033979e39142f381e48a4 (diff) | |
libavif: add libyuv as dependencies
libyuv could be used to optimize some operations,
applications use libavif may slightly benefit from that.
A trivial benchmark:
(Sample picture is converted with `avifenc pic.png pic.avif`)
- without libyuv
```
$ hyperfine --warmup 4 'avifdec pic.avif /tmp/pic.png'
Benchmark 1: avifdec pic.avif /tmp/pic.png
Time (mean ± σ): 641.4 ms ± 2.5 ms [User: 631.9 ms, System: 9.1 ms]
Range (min … max): 637.7 ms … 645.3 ms 10 runs
```
- with libyuv
```
$ hyperfine --warmup 4 './result/bin/avifdec pic.avif /tmp/pic.png'
Benchmark 1: ./result/bin/avifdec pic.avif /tmp/pic.png
Time (mean ± σ): 627.5 ms ± 4.6 ms [User: 618.0 ms, System: 9.0 ms]
Range (min … max): 622.4 ms … 635.9 ms 10 runs
```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
