I'm not sure why single-header is an advantage over powerful libraries such as GEGL.
Re: Show HN: PlutoFilter- A single-header, zero-allocation image filter library in C
#11easy to test and integrate to your project.
11–18 of 18 posts
I'm not sure why single-header is an advantage over powerful libraries such as GEGL.
I'm not sure why single-header is an advantage over powerful libraries such as GEGL.
Really easy to add it into an existing project,
Written in C99...
Great job!
I was wondering how it would do arbitrary-sized kernels without dynamic allocation (my guess was that it would use the input/output buffer as a temporary storage). The answer is that there's a _slight_ asterix to the 'zero-allocation' - the allocation is on the stack [0], but it's small-ish (2kb) and fixed size. So in an embedded context you'd just want to make sure you have headroom for this. [0] https://github.com/…