Commit Graph

20 Commits

Author SHA1 Message Date
ql 17c0115f3c ASTC-encoder update to 4.7.0
Signed-off-by: zhaonan287 <zhaonan34@huawei.com>
2024-05-16 10:11:13 +08:00
pete e6993d496d Fix /W4 warnings on VS2019 2021-06-17 15:55:20 +01:00
pete abd8955115 Use initializer not assignment 2021-06-14 15:36:46 +01:00
pete 04082f7f2e Use { 0 } array initializers 2021-05-23 22:03:16 +01:00
pete 34e4140b06 Make more use of unsigned ints 2 2021-05-22 14:24:06 +01:00
pete 5543738c58 Reflow comments on 100 character lines 2021-05-19 09:39:26 +01:00
pete a8ef6f98c9 Cleanup API for partition_tables 2021-05-16 19:50:07 +01:00
pete e410b471b1 Cleanup API for integer_sequence 2021-05-15 23:51:28 +01:00
pete f45070b7ce Add some loop count promises 2021-04-30 23:07:00 +01:00
pete 7f857f16ab Update some copyright years 2021-02-12 21:11:14 +00:00
pete 0fb0f0e88f Syntax tidyup around array initializers 2021-01-29 00:23:23 +00:00
pete 9dd2c23297 Optimize encode_ise()
- Specialize for writing out bits/trits/quints
- Remove temporary buffers
- Unroll whole trits/quints blocks
- Pack trit and quint LSBs with trailing T bits before write
2021-01-29 00:03:02 +00:00
pete a1fb47e8b3 Shorten (un)quantize to quant in many places 2021-01-26 23:59:50 +00:00
pete 66fe3e9dbb Use a table-driven approach for computing ISE sizes 2021-01-26 23:52:15 +00:00
pete d9fe0e3062 Use static table for ise_encoding 2021-01-25 23:47:44 +00:00
pete 8591d7294a Cleanly handle covered-defaults for enum switches 2021-01-20 22:29:01 +00:00
pete e8510eada4 Add promises for common for loops in hot functions 2021-01-07 21:48:01 +00:00
pete 3cfec33030 Cleanup sym_to_phy and phy_to_sym
- Pass by reference for singular values (mostly so we
  can distinguish singletons and arrays in code reviews).
- Pass PCB by ref rather than relying on write elision.
- Add some missing statics for module local functions
2020-10-06 22:46:52 +01: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