mirror of
https://github.com/team-charls/charls
synced 2025-03-28 21:03:13 +00:00

The main purpose of golomb_code_match is to see if there is a precomputed match which allows to just skip the bytes. Rename the struct to make it clear it is not the actual glomb code itself. Update the golomb_code_match struct back into a POD. The Windows x64 ABI cannot return non-POD structs in a single register even when the would fit.
Benchmark
The Visual Studio project in this folder contains benchmarks to analyze different way of decoding and encoding functions.
The project expects that the Google Benchmark framework has been installed with vcpkg.
This can be done with: vcpkg install benchmark