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.
2 lines
41 B
Plaintext
2 lines
41 B
Plaintext
d53528820b90c03e8b8d23ef6bae7ad4337a3cf3
|