8 Commits

Author SHA1 Message Date
pete 5543738c58 Reflow comments on 100 character lines 2021-05-19 09:39:26 +01:00
Pete Harris fe730105a4 Make code OS/architecture invariant
This change makes the output of the codec invariant across operating systems (removed std::math dependency), and across CPU architectures (NEON vector code now matches the halving reduction patterns used by x86-64).
2021-03-01 13:20:05 +00:00
pete 7f857f16ab Update some copyright years 2021-02-12 21:11:14 +00:00
pete b301e0c78c Vectors are now .rgba, not .xyzw 2020-11-09 00:01:26 +00:00
pete 386e007d53 Remove old atan2 implementation 2020-10-29 08:12:20 +00:00
pete 5b1b6a47b9 Have a single definition of PI 2020-10-27 22:46:01 +00:00
Pete Harris 9fce19699c Merge increment
* Update test data reference CSV

* Formatting cleanups

* Make image data type flexible
- No new types supported yet, but it's a precursor to just supporting f32 as an interface type.
2020-09-04 22:59:08 +01:00
Pete Harris 2b8fd08fc7 First phase of the front-end to codec API split (#125)
This phase introduces the first phase of the API split between the API front-end and the CODEC backed. However, some aspects of the final design are not yet supported:

This build only only supports automatic multi-threading; no user owned thread pools are supported.

Some memory allocations still tied to the compression pass, not the context, so reusing the context will have higher than planned CPU overhead due to the repeated memory allocation (although the impact is probably small unless compression small image).

The input image layout is still the legacy format and must be pre-padded by the caller for any pass using the area-based perceptual metrics.
2020-07-02 21:17:21 +01:00