Alfred Klomp
Alfred Klomp
This pull request provides SSE2 vectorized implementations of `alg_update_reference_frame()` and `alg_noise_tune()`. Profiling with Callgrind on my Atom server showed that the first was the most expensive single function call. Rewriting...
The proper idiom for calculating an image's memory size from a pointer using `sizeof()` is: ``` c ptr = malloc(width * height * sizeof(*ptr)); ``` The sizeof() dereferences the pointer's...
This is a placeholder issue to make sure this gets noted somewhere. It looks like the [`gf2p8affineqb`](https://www.felixcloutier.com/x86/gf2p8affineqb) instruction can [do arbitrary bit permutations](https://wunkolo.github.io/post/2020/11/gf2p8affineqb-int8-shifting/) on 8-bit characters. This could be very...
As discussed somewhat in #114, this library should export a macro to simplify calculating the buffer sizes. Two cases are needed: - Get encoded size from raw size. - Get...
The current license is BSD 2-clause. I don't quite remember why I chose that; I think I wanted something very open while still retaining some rights. But if we change...
Benchmark results are currently "stored" in a big table in the [README](https://github.com/aklomp/base64/blob/master/README.md#benchmarks) which is getting ungainly and hard to modify. The results are presented in text form, which makes it...
When providing a library, it is good practice to only globally export symbols that the user is expected to link against. All other symbols should be hidden from view so...
Add a usable CMake setup to this repo. This is not strictly needed (the `Makefile` works and is simple enough), but is a nice exercise in working with `cmake`. It's...
Libsmbclient has various functions for printing to print shares, getting print queues and so on. We should add them, because it's easy to do so within the framework that we...
Found this while writing testcases. This innocent-looking script will generate a 4.1GB sparse file on my machine: ``` php