genode/repos/libports/recipes/api/libyuv/content.mk
Alexander Boettcher 0d868515a5 libyuv: add support to overwrite default allocator
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.
2023-10-04 13:22:06 +02:00

16 lines
286 B
Makefile

content: include lib/symbols/libyuv LICENSE
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/libyuv)
include:
mkdir $@
cp -r $(PORT_DIR)/include/* $@/
cp -r $(REP_DIR)/include/libyuv $@/
lib/symbols/libyuv:
$(mirror_from_rep_dir)
LICENSE:
cp $(PORT_DIR)/src/lib/libyuv/LICENSE $@