mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 00:11:07 +00:00
0d868515a5
Internally libyuv uses malloc & free for short time dynamic memory allocation during image transformation. The converted images are such large, that the Libc allocator will create and destroy new Genode dataspace per image. In time sensitive code paths, the overhead can be noticeable by the caller of the image transformation. The patch adds the option to register callbacks in the libyuv library to implement the image allocation by users of the library. They may implement caching strategies to avoid the overhead, e.g. as seen with qemu-usb and the webcam model.
16 lines
511 B
Plaintext
16 lines
511 B
Plaintext
LICENSE := BSD-3-Clause
|
|
VERSION := git
|
|
DOWNLOADS := libyuv.git
|
|
|
|
URL(libyuv) := https://chromium.googlesource.com/libyuv/libyuv
|
|
DIR(libyuv) := src/lib/libyuv
|
|
REV(libyuv) := 8c8d907d29255ae0630f414e0e09ee9cca8f4bfc
|
|
|
|
DIRS := include include/libyuv
|
|
DIR_CONTENT(include) := src/lib/libyuv/include/libyuv.h
|
|
DIR_CONTENT(include/libyuv) := src/lib/libyuv/include/libyuv/*.h
|
|
|
|
PATCHES := src/lib/libyuv/constraints.patch src/lib/libyuv/memory.patch
|
|
PATCH_OPT := -d src/lib/libyuv -p1
|
|
|